En jordbävning med magnitud 5,9 skakade 21 km nordost om Otobe, Japan klockan 15:45 GMT på måndagen, uppgav U.S. Geological Survey.