Initialize x_chi2min with 0.0 to avoid uninitialized use.