An earthquake of magnitude 4.0 and depth of 5.00 kilometers occurred 14.80 miles from Stanley, ID in Custer County at 03:44 AM.