UA 5519 then UA 3872 at San Francisco
Carlsbad → San Francisco → IAB
Timetable, San Francisco time
09:19UA 5519 from Carlsbad at the gate
09:00UA 3872 to IAB leaves the gate
23 h 41 apart on the timetable, overnight
UA 3872 leaves 23 h 41 after UA 5519 arrives on the timetable: more than half a day, so not a connection we count.