An earthquake of magnitude 4.0 and depth of 3.10 kilometers occurred 1.69 miles from Ocotillo, CA in Imperial County at 02:29 AM.