AA 5585 then AA 5557 at Charlotte
Louisville → Charlotte → Panama City Beach
Timetable, Charlotte time
19:21AA 5585 from Louisville at the gate
16:22AA 5557 to Panama City Beach leaves the gate
21 h 01 apart on the timetable, overnight
AA 5557 leaves 21 h 01 after AA 5585 arrives on the timetable: more than half a day, so not a connection we count.