UA 6105 then AA 5316 at O'Hare
Lewisburg → Chicago → Louisville
Timetable, Chicago time
12:45UA 6105 from Lewisburg at the gate
10:11AA 5316 to Louisville leaves the gate
21 h 26 apart on the timetable, overnight
AA 5316 leaves 21 h 26 after UA 6105 arrives on the timetable: more than half a day, so not a connection we count.