AA 5861 then UA 225 at Philadelphia
Knoxville → Philadelphia → San Francisco
Timetable, Philadelphia time
17:53AA 5861 from Knoxville at the gate
16:38UA 225 to San Francisco leaves the gate
22 h 45 apart on the timetable, overnight
UA 225 leaves 22 h 45 after AA 5861 arrives on the timetable: more than half a day, so not a connection we count.