the preliminary tremor , which measured 4.9 on the richter scale and shook buildings , emanated from under the pacific ocean , 120 kilometers southwest of guayaquil , ecuador 's largest city and principal port ,