An earthquake of magnitude 3.2 and depth of 5.40 kilometers occurred 15.73 miles from Gustine, CA in Merced County at 12:14 AM.