An earthquake of magnitude 1.2 and depth of 8.40 kilometers occurred 8.34 miles from Castaic, CA in Los Angeles County at 02:54 AM.