AA 1948 then UA 4789 at O'Hare
San Francisco → Chicago → Fargo
Timetable, Chicago time
20:55AA 1948 from San Francisco at the gate
19:45UA 4789 to Fargo leaves the gate
22 h 50 apart on the timetable, overnight
UA 4789 leaves 22 h 50 after AA 1948 arrives on the timetable: more than half a day, so not a connection we count.