An earthquake of magnitude 3.1 and depth of 4.90 kilometers occurred 8.42 miles from Niland, CA in Imperial County at 10:59 PM.