copy USE_NUMBA logic from pull_spots_mp.py to fitgrains.py