AA 6513 then AA 2627 at Phoenix
Palm Springs → Phoenix → Santa Barbara
Timetable, Phoenix time
18:09AA 6513 from Palm Springs at the gate
17:48AA 2627 to Santa Barbara leaves the gate
23 h 39 apart on the timetable, overnight
AA 2627 leaves 23 h 39 after AA 6513 arrives on the timetable: more than half a day, so not a connection we count.