New method for fitting complex resonance curve to study nonlinear superconducting resonators. (1st January 2023)