AA 3172 then AA 3288 at Phoenix
Chicago O'Hare → Phoenix → Bakersfield
Timetable, Phoenix time
09:45AA 3172 from Chicago O'Hare at the gate
22:59AA 3288 to Bakersfield leaves the gate
13 h 14 apart on the timetable
AA 3288 leaves 13 h 14 after AA 3172 arrives on the timetable: more than half a day, so not a connection we count.