the earthquake hit at 5 : 04 p.m. pdt , registered 7.1 on the richter scale and was centered on the san andreas fault 15 miles northeast of santa cruz and 56 miles south of san francisco in the santa cruz mountains .