Characterization of Yb-doped silica optical fiber as real-Time dosimeter