allow use multiprocessing Pool for jacobian in leastsq()