Unexpected behavior in minimization (root 5.34.03)

Dear developers,

I’m seeing an unexpected behavior of my fits.

If I do :
RooAbsReal *nll = pdf->createNLL(data);
RooMinuit(*nll).migrad();

I get one result (fit converges)

However, if I do

RooAbsReal *nll = pdf->createNLL(data);
double nll_aux = nll->getVal();
RooMinuit(*nll).migrad();

I get something different, although fit converge as well.
I would not expect any changes when requesting the value of the variable.
Anything I’m missing?

Thanks in advance,
Xabier