AV 2267 then UA 597 at San Francisco
Medford → San Francisco → Bozeman
Timetable, San Francisco time
21:20AV 2267 from Medford at the gate
12:00UA 597 to Bozeman leaves the gate
14 h 40 apart on the timetable, overnight
UA 597 leaves 14 h 40 after AV 2267 arrives on the timetable: more than half a day, so not a connection we count.