An earthquake of magnitude 4.0 and depth of 9.40 kilometers occurred 3.13 miles from Coalinga, CA in Fresno County at 12:09 AM.