A 7.7 magnitude earthquake struck southern Panama, with the US Geological Survey upgrading its initial 7.6 estimate.