An earthquake of magnitude 1.7 and depth of 4.20 kilometers occurred 2.21 miles from Logan, MT in Gallatin County at 01:39 PM.