An earthquake of magnitude 3.5 and depth of 17.10 kilometers occurred 3.97 miles from Hamilton City, CA in Glenn County at 12:40 AM.