An earthquake with a magnitude of 5.0 jolted south of Panama at 0009 GMT on Thursday, the GFZ German Research Centre for Geosciences said.