A 6.6 magnitude struck off the Pacific coast of Panama on Sunday, the U.S. Geological Survey said.