UA 5599 then AV 2354 at San Francisco
Carlsbad → San Francisco → Denver
Timetable, San Francisco time
15:30UA 5599 from Carlsbad at the gate
05:00AV 2354 to Denver leaves the gate
13 h 30 apart on the timetable, overnight
AV 2354 leaves 13 h 30 after UA 5599 arrives on the timetable: more than half a day, so not a connection we count.