Flight International Airport departs from San Francisco International Airport at 20:50 and arrives at Panama City Tocumen International Airport at 06:18.
The flighttime is about 7h 28m. The distance travelled ("as the bird flies"): 4667 Km. So the average speed is roughly 625 Km.
There is an 2 hour time difference between San Francisco and Panama City