UA 4717 then AA 1004 at LAX
Phoenix Sky Harbor → Los Angeles → Chicago O'Hare
Timetable, Los Angeles time
15:10UA 4717 from Phoenix Sky Harbor at the gate
12:47AA 1004 to Chicago O'Hare leaves the gate
21 h 37 apart on the timetable, overnight
AA 1004 leaves 21 h 37 after UA 4717 arrives on the timetable: more than half a day, so not a connection we count.