An earthquake of magnitude 3.5 and depth of 5.40 kilometers occurred 5.94 miles from Medford, OK in Grant County at 11:31 PM.