UA 4741 then UA 1229 at Houston
Baton Rouge → Houston → San Francisco
Timetable, Houston time
08:34UA 4741 from Baton Rouge at the gate
07:40UA 1229 to San Francisco leaves the gate
23 h 06 apart on the timetable, overnight
UA 1229 leaves 23 h 06 after UA 4741 arrives on the timetable: more than half a day, so not a connection we count.