In-situ regeneration of P-doped optical fiber dosimeter.