Doctor who treated Prince pays $30K for illegal prescription