Dispersion analyses and optical power measurement in determination of fiber nonlinearity