It was not immediately clear how powerful the tremor was or whether it caused damage in the poor Central American country.