AA 9909 then AA 3794 at Phoenix
Salt Lake City → Phoenix → Bakersfield
Timetable, Phoenix time
14:30AA 9909 from Salt Lake City at the gate
11:44AA 3794 to Bakersfield leaves the gate
21 h 14 apart on the timetable, overnight
AA 3794 leaves 21 h 14 after AA 9909 arrives on the timetable: more than half a day, so not a connection we count.