AA 518 then FX 9791 at O'Hare
San Diego → Chicago → Anchorage
Timetable, Chicago time
12:42AA 518 from San Diego at the gate
04:00FX 9791 to Anchorage leaves the gate
15 h 18 apart on the timetable, overnight
FX 9791 leaves 15 h 18 after AA 518 arrives on the timetable: more than half a day, so not a connection we count.