AA 1732 then AA 4651 at Philadelphia
San Francisco → Philadelphia → St Louis
Timetable, Philadelphia time
21:04AA 1732 from San Francisco at the gate
18:40AA 4651 to St Louis leaves the gate
21 h 36 apart on the timetable, overnight
AA 4651 leaves 21 h 36 after AA 1732 arrives on the timetable: more than half a day, so not a connection we count.