An earthquake of magnitude 3.1 and depth of 4.90 kilometers occurred 13.71 miles from Medford, OK in Grant County at 12:59 AM.