AA 3040 then FX 9791 at O'Hare
Atlanta → Chicago → Anchorage
Timetable, Chicago time
08:33AA 3040 from Atlanta at the gate
04:00FX 9791 to Anchorage leaves the gate
19 h 27 apart on the timetable, overnight
FX 9791 leaves 19 h 27 after AA 3040 arrives on the timetable: more than half a day, so not a connection we count.