The U.S. Geological Survey said the magnitude 6.1 quake struck at 5:22 p.m. at a depth of about 12 miles. Its epicenter was about 12 miles north of the town of Golfito. The USGS initially estimated the magnitude at 6.0.