5X 606 then UA 2866 at O'Hare
Louisville → Chicago → San Francisco
Timetable, Chicago time
04:225X 606 from Louisville at the gate
16:35UA 2866 to San Francisco leaves the gate
12 h 13 apart on the timetable
UA 2866 leaves 12 h 13 after 5X 606 arrives on the timetable: more than half a day, so not a connection we count.