AA 9950 then AA 2036 at O'Hare
Philadelphia → Chicago → Philadelphia
Timetable, Chicago time
13:49AA 9950 from Philadelphia at the gate
12:59AA 2036 to Philadelphia leaves the gate
23 h 10 apart on the timetable, overnight
AA 2036 leaves 23 h 10 after AA 9950 arrives on the timetable: more than half a day, so not a connection we count.