UA 5297 then AA 9785 at O'Hare
Lincoln → Chicago → Los Angeles
Timetable, Chicago time
17:05UA 5297 from Lincoln at the gate
06:45AA 9785 to Los Angeles leaves the gate
13 h 40 apart on the timetable, overnight
AA 9785 leaves 13 h 40 after UA 5297 arrives on the timetable: more than half a day, so not a connection we count.