Effects of observational errors in relating magnitude scales and fitting the gutenberg-richter parameter β