Fix a remaining thread-safe issue

] Fixed the following issue:
   psfPtr_, psFit_x, psFit_y, psFit_erry and cntNANinfit were not thread-safe due to "non-const 
   global static variable" --> now fixed