UA 4717 then AA 2891 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:36AA 2891 to Chicago O'Hare leaves the gate
21 h 26 apart on the timetable, overnight
AA 2891 leaves 21 h 26 after UA 4717 arrives on the timetable: more than half a day, so not a connection we count.