Text this: Improving the characteristics of the modulation response for fiber Bragg grating Fabry-Perot lasers by optimizing model parameters