AA 3040 then UA 5194 at O'Hare
Atlanta → Chicago → Sioux City
Timetable, Chicago time
08:33AA 3040 from Atlanta at the gate
00:00UA 5194 to Sioux City leaves the gate
15 h 27 apart on the timetable, overnight
UA 5194 leaves 15 h 27 after AA 3040 arrives on the timetable: more than half a day, so not a connection we count.