An earthquake of magnitude 4.0 and depth of 2.60 kilometers occurred 1.89 miles from Yucca Valley, CA in San Bernardino County at 12:06 AM.