AA 9866 then UA 2610 at O'Hare
Marquette → Chicago → San Francisco
Timetable, Chicago time
10:30AA 9866 from Marquette at the gate
08:55UA 2610 to San Francisco leaves the gate
22 h 25 apart on the timetable, overnight
UA 2610 leaves 22 h 25 after AA 9866 arrives on the timetable: more than half a day, so not a connection we count.