Gravar e-mail: First- and second-order crossover between quantum and classical regimes for the escape rate of a nanomagnet manipulated by a Josephson current