CA 3107 then AA 517 at O'Hare
Anchorage → Chicago → San Francisco
Timetable, Chicago time
10:23CA 3107 from Anchorage at the gate
08:05AA 517 to San Francisco leaves the gate
21 h 42 apart on the timetable, overnight
AA 517 leaves 21 h 42 after CA 3107 arrives on the timetable: more than half a day, so not a connection we count.