CM 2458 then GF 4166 at San Francisco
Sacramento → San Francisco → Los Angeles
Timetable, San Francisco time
18:57CM 2458 from Sacramento at the gate
16:10GF 4166 to Los Angeles leaves the gatealso BA 6507
21 h 13 apart on the timetable, overnight
GF 4166 leaves 21 h 13 after CM 2458 arrives on the timetable: more than half a day, so not a connection we count.