M6 5778 then UA 854 at Houston
Louisville → Houston → Lima
Timetable, Houston time
17:04M6 5778 from Louisville at the gate
16:20UA 854 to Lima leaves the gate
23 h 16 apart on the timetable, overnight
UA 854 leaves 23 h 16 after M6 5778 arrives on the timetable: more than half a day, so not a connection we count.