Experimental demonstration of nonlinear pulse propagation in a fiber Bragg grating written in a fiber amplifier