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