UA 5195 then AA 597 at O'Hare
Macon → Chicago → San Francisco
Timetable, Chicago time
14:30UA 5195 from Macon at the gate
13:24AA 597 to San Francisco leaves the gate
22 h 54 apart on the timetable, overnight
AA 597 leaves 22 h 54 after UA 5195 arrives on the timetable: more than half a day, so not a connection we count.