/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits PyFITSDeprecationWarning) # noqa Likelihood Analysis Tool Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov) Waiting 180 seconds before starting... Proceeding. Importing modules... This is make3FGLxml version 01r0. The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher. This is make4FGLxml version 01r04. The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher. WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). /nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead. warnings.warn(message, mplDeprecation, stacklevel=1) WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). number of points = 7398 number of fields = 29 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin573 RA = 250.119, Dec = 39.7626 tmin = 387849601, tmax = 388108801 emin = 100.0, emax = 100000.0 irfs = P8R3_SOURCE_V2 ROI = 12 zmax = 90 Fitting strategies: Fix sources to their catalog values = True Leave variable source normalizations free = True Perform pre-fit where ALL sources are frozen to catalog values = False Perform secondary fit with a free spectral index = True Remove all catalog sources = False Remove weak (TS < 2) catalog sources = False Freeze Galactic component = False Likelihood fit parameters: Statistic: UNBINNED Optimizer: MINUIT Catalog: 4FGL Repository Job = True LAT data Source: Data catalog Updating database... UPDATE lightcurve_data_v2 SET job_id='834023', job_status='RUN', time_executed='2021-09-15 06:34:06.360177', time_epoch_executed='1631712846.36' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='573' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/834023 Creating custom pfile directory: /scratch/kocevski/834023/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=387849601.0 && nMetStart<388108801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=387849601.0 && nMetStart<388108801.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/834023/ft1_4FGL_J1640.4+3945_daily_bin573.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=387849601.0 && nMetStart<388108801.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/834023/ft2_4FGL_J1640.4+3945_daily_bin573.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/834023/ft1_4FGL_J1640.4+3945_daily_bin573.fits outfile=/scratch/kocevski/834023/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin573.fits ra=250.119 dec=39.7626 rad=12.0 tmin=387849601.0 tmax=388108801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 3.56 user 3.34 sys 0.20 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/834023/ft2_4FGL_J1640.4+3945_daily_bin573.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/834023/ft2_4FGL_J1640.4+3945_daily_bin573.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/834023/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin573.fits evtable="EVENTS" outfile="/scratch/kocevski/834023/ft1_filtered_4FGL_J1640.4+3945_daily_bin573.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 0.43 user 0.29 sys 0.14 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/834023/ft1_filtered_4FGL_J1640.4+3945_daily_bin573.fits" evtable="EVENTS" scfile=/scratch/kocevski/834023/ft2_4FGL_J1640.4+3945_daily_bin573.fits sctable="SC_DATA" outfile=/scratch/kocevski/834023/ltcube_387849601_388108801_4FGL_J1640.4+3945_daily_bin573.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Working on file /scratch/kocevski/834023/ft2_4FGL_J1640.4+3945_daily_bin573.fits .....................! real 10.64 user 10.31 sys 0.30 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/834023/ft1_filtered_4FGL_J1640.4+3945_daily_bin573.fits evtable="EVENTS" scfile=/scratch/kocevski/834023/ft2_4FGL_J1640.4+3945_daily_bin573.fits sctable="SC_DATA" expcube=/scratch/kocevski/834023/ltcube_387849601_388108801_4FGL_J1640.4+3945_daily_bin573.fits outfile=/scratch/kocevski/834023/expmap_387849601_388108801_4FGL_J1640.4+3945_daily_bin573.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). The exposure maps generated by this tool are meant to be used for *unbinned* likelihood analysis only. Do not use them for binned analyses. Computing the ExposureMap using /scratch/kocevski/834023/ltcube_387849601_388108801_4FGL_J1640.4+3945_daily_bin573.fits .....................! real 150.12 user 146.21 sys 3.60 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Added 205 point sources and 0 extended sources Setting source of interest to: 4FGL J1640.4+3945 @ 250.119 39.7626 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/834023/ft1_filtered_4FGL_J1640.4+3945_daily_bin573.fits scfile=/scratch/kocevski/834023/ft2_4FGL_J1640.4+3945_daily_bin573.fits outfile=/scratch/kocevski/834023/cmap_387849601_388108801_4FGL_J1640.4+3945_daily_bin573.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=250.119 yref=39.7626 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.48 user 0.32 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/834023/ft1_filtered_4FGL_J1640.4+3945_daily_bin573.fits scfile=/scratch/kocevski/834023/ft2_4FGL_J1640.4+3945_daily_bin573.fits outfile=/scratch/kocevski/834023/cmap_HighResolution_387849601_388108801_4FGL_J1640.4+3945_daily_bin573.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=250.119 yref=39.7626 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.48 user 0.32 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/834023/ft1_filtered_4FGL_J1640.4+3945_daily_bin573.fits evtable="EVENTS" scfile=/scratch/kocevski/834023/ft2_4FGL_J1640.4+3945_daily_bin573.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/834023/Model_4FGL_J1640.4+3945_daily_bin573.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source EG_v02 adding source GAL_V02 Working on... /scratch/kocevski/834023/ft1_filtered_4FGL_J1640.4+3945_daily_bin573.fits.....................! real 49.80 user 48.56 sys 1.05 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/834023/ft1_filtered_4FGL_J1640.4+3945_daily_bin573.fits', '/scratch/kocevski/834023/ft2_4FGL_J1640.4+3945_daily_bin573.fits', expMap='/scratch/kocevski/834023/expmap_387849601_388108801_4FGL_J1640.4+3945_daily_bin573.fits', expCube='/scratch/kocevski/834023/ltcube_387849601_388108801_4FGL_J1640.4+3945_daily_bin573.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/834023/Model_4FGL_J1640.4+3945_daily_bin573.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1640.4+3945' 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.345e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.421e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/834023/ft1_filtered_4FGL_J1640.4+3945_daily_bin573.fits Spacecraft file(s): /scratch/kocevski/834023/ft2_4FGL_J1640.4+3945_daily_bin573.fits Exposure map: /scratch/kocevski/834023/expmap_387849601_388108801_4FGL_J1640.4+3945_daily_bin573.fits Exposure cube: /scratch/kocevski/834023/ltcube_387849601_388108801_4FGL_J1640.4+3945_daily_bin573.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/834023/Model_4FGL_J1640.4+3945_daily_bin573.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7881.60134321 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7881.3779218 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 3.9680 1.0000 .10000E-03 10000. 2 'Prefactor ' 9.5819 1.0000 .10000E-03 10000. 3 'Prefactor ' 2.7298 1.0000 .10000E-03 10000. 4 'Prefactor ' .10036E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' 2.4998 1.0000 .10000E-03 10000. 6 'Prefactor ' 3.6474 1.0000 .10000E-03 10000. 7 'norm ' 2.2436 1.0000 .10000E-03 10000. 8 'norm ' 2.8524 1.0000 .10000E-03 10000. 9 'Prefactor ' 17.872 1.0000 .10000E-03 10000. 10 'Prefactor ' 9.4524 1.0000 .10000E-03 10000. 11 'norm ' 62.073 1.0000 .10000E-03 10000. 12 'Prefactor ' .56789 1.0000 .10000E-03 10000. 13 'Prefactor ' .10013E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' 2.7659 1.0000 .10000E-03 10000. 15 'Prefactor ' .10465E-03 1.0000 .10000E-03 10000. 16 'norm ' 2.4990 1.0000 .10000E-03 10000. 17 'norm ' .95712 1.0000 .10000E-03 10000. 18 'Prefactor ' 1.0009 1.0000 .10000E-03 10000. 19 'norm ' 1.4354 1.0000 .10000E-03 10000. 20 'norm ' .10006E-03 1.0000 .10000E-03 10000. 21 'norm ' 1.8277 1.0000 .10000E-03 10000. 22 'Prefactor ' 12.206 1.0000 .10000E-03 10000. 23 'norm ' 11.794 1.0000 .10000E-03 10000. 24 'Prefactor ' .10013E-03 1.0000 .10000E-03 10000. 25 'Normalizat' .93338 1.0000 .10000E-01 10.000 26 'Prefactor ' .94080 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 7881.378 FROM MIGRAD STATUS=CONVERGED 616 CALLS 2774 TOTAL EDM= .84E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.6% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.9975 26.111 .97229E-06 .37304E-04 2 Prefactor 9.5796 34.567 .22403E-06 -.17884E-04 3 Prefactor 2.7297 3.3071 .22943E-06 -.14911E-03 4 Prefactor .10000E-03 3.4305 .72614E-06** at limit ** 5 Prefactor 2.5199 41.920 .10610E-05 -.64751E-05 6 Prefactor 3.6467 3.0113 .66730E-07 -.14802E-03 7 norm 2.2436 .29005 -.19380E-07 .23763E-02 8 norm 2.8521 9.4983 .39471E-06 -.59839E-04 9 Prefactor 17.862 16.198 -.76768E-07 -.61661E-05 10 Prefactor 9.4517 4.4648 .96008E-07 -.38004E-03 11 norm 62.091 41.710 -.24447E-06 .10503E-03 12 Prefactor .56726 1.1389 .10037E-05 .76383E-03 13 Prefactor .10000E-03 .74711 -.70684E-06** at limit ** 14 Prefactor 2.7659 2.1775 .18097E-07 -.15723E-03 15 Prefactor .10000E-03 2.1350 .71576E-08** at limit ** 16 norm 2.4985 1.9777 .76913E-08 .19203E-03 17 norm .95738 .73987 .11162E-07 -.68150E-03 18 Prefactor .95417 3.9680 .65689E-06 -.61777E-03 19 norm 1.4359 .80013 .24490E-08 -.80337E-03 20 norm .10000E-03 10.765 -.35562E-06** at limit ** 21 norm 1.8282 1.5626 .70545E-07 -.56272E-03 22 Prefactor 12.210 37.474 .42494E-07 .18965E-05 23 norm 11.793 6.7163 .41758E-07 -.77122E-04 24 Prefactor .10000E-03 30.687 -.42368E-07** at limit ** 25 Normalizat .93348 .21184 -.18162E-05 -.30044E-04 26 Prefactor .94073 .15849 .12469E-05 -.37472E-03 ERR DEF= .500 Final values: Prefactor = 3.9975 Prefactor = 9.57961 Prefactor = 2.72972 Prefactor = 0.0001 Prefactor = 2.51989 Prefactor = 3.6467 norm = 2.2436 norm = 2.85206 Prefactor = 17.8625 Prefactor = 9.4517 norm = 62.0909 Prefactor = 0.567259 Prefactor = 0.0001 Prefactor = 2.76592 Prefactor = 0.0001 norm = 2.49855 norm = 0.957382 Prefactor = 0.954166 norm = 1.4359 norm = 0.0001 norm = 1.82816 Prefactor = 12.2097 norm = 11.7932 Prefactor = 0.0001 Normalizat = 0.933483 Prefactor = 0.940731 ********** ** 18 **HESSE ********** FCN= 7881.378 FROM HESSE STATUS=OK 470 CALLS 3244 TOTAL EDM= .26E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 3.9975 25.901 .20249E-03 -1.5308 2 Prefactor 9.5796 34.556 .12946E-03 -1.5089 3 Prefactor 2.7297 3.2818 .16767E-03 -1.5378 4 Prefactor .10000E-03 3.3540 .15800E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 2.5199 41.389 .25848E-03 -1.5390 6 Prefactor 3.6467 2.9999 .13320E-03 -1.5326 7 norm 2.2436 .28769 .14738E-04 -1.5408 8 norm 2.8521 9.4660 .24073E-03 -1.5370 9 Prefactor 17.862 16.271 .94741E-04 -1.4862 10 Prefactor 9.4517 4.4512 .12133E-03 -1.5093 11 norm 62.091 41.571 .25465E-03 -1.4130 12 Prefactor .56726 1.1903 .12687E-03 -1.5557 13 Prefactor .10000E-03 1.3670 .14384E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 2.7659 2.1743 .11193E-03 -1.5375 15 Prefactor .10000E-03 2.2060 .25260E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 2.4985 1.9481 .10474E-03 -1.5392 17 norm .95738 .71702 .62980E-04 -1.5512 18 Prefactor .95417 13.088 .29705E-02 -1.5513 19 norm 1.4359 .79482 .54769E-04 -1.5468 20 norm .10000E-03 11.023 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 1.8282 1.5402 .96365E-04 -1.5438 22 Prefactor 12.210 37.448 .11466E-03 -1.5009 23 norm 11.793 6.7062 .11665E-03 -1.5021 24 Prefactor .10000E-03 30.707 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat .93348 .24549 .30237E-03 -.95293 26 Prefactor .94073 .18588 .24644E-03 -.94732 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.59441e-09 Minuit parameter uncertainties: 1 20.3634 2 34.6283 3 3.28201 4 6.45195e-05 5 20.4413 6 3 7 0.287692 8 9.47097 9 16.2753 10 4.45133 11 41.59 12 1.19037 13 4.14532e-05 14 2.17439 15 1.06153e-05 16 1.94816 17 0.717022 18 7.06915 19 0.794825 20 4.56878e-05 21 1.54023 22 37.5199 23 6.70664 24 5.33765e-05 25 0.245784 26 0.18601 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7881.37789388 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 5.673e-01 1.190e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.421e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 9.407e-01 1.860e-01 0.000e+00 1.000e+01 ( 1.000e+00) 660 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 661 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 658 Normalization: 9.335e-01 2.458e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.31 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 1.26e-07 ph cm-2 s-1 Energy Flux Upper Limit: 9.78e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/834023/likelihoodResults_387849601_388108801_4FGL_J1640.4+3945_daily_bin573.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 7880.56730965 delta logL = 0.810584235244 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 7880.50418641 delta logL = 0.873707469057 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .11166 1.0000 .10000E-03 10000. 2 'Index ' 3.8726 1.0000 .0000 10.000 3 'Normalizat' .86682 1.0000 .10000E-01 10.000 4 'Prefactor ' .97626 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 7880.504 FROM MIGRAD STATUS=CONVERGED 56 CALLS 235 TOTAL EDM= .94E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .11157 1.0781 .48282E-02 .38981E-02 2 Index 3.8731 2.1463 .92804E-01 .24395E-03 3 Normalizat .86664 .40663E-01 .70408E-01 .25291E-04 4 Prefactor .97639 .33468E-01 .45970E-01 .95864E-05 ERR DEF= .500 Final values: Prefactor = 0.111569 Index = 3.87314 Normalizat = 0.866641 Prefactor = 0.976392 ********** ** 18 **HESSE ********** FCN= 7880.504 FROM HESSE STATUS=NOT POSDEF 33 CALLS 268 TOTAL EDM= .90E-06 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .11157 3.1795 .21731E-04 -1.5641 2 Index 3.8731 4.0225 .47740E-02 -.22733 3 Normalizat .86664 .19947 .31153E-03 -.97642 4 Prefactor .97639 .16163 .24212E-03 -.93521 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 8.98331e-07 Minuit parameter uncertainties: 1 1.19073 2 4.73268 3 0.199635 4 0.161713 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/834023': No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 7880.50418597 delta logL = 0.873707912829 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.116e-01 1.191e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 3.873e+00 4.733e+00 0.000e+00 1.000e+01 (-1.000e+00) 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 9.764e-01 1.617e-01 0.000e+00 1.000e+01 ( 1.000e+00) 660 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 661 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 658 Normalization: 8.666e-01 1.996e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.17 Ra Dec: 250.119 39.763 Photon Index (Free Index): 3.87 +/- 4.73 Photon Flux (Free Index): 9.72e-08 +/- 7.31e-08 Energy Flux (Free Index): 1.49e-05 +/- 1.63e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /scratch/kocevski/834023/cmap_HighResolution_387849601_388108801_4FGL_J1640.4+3945_daily_bin573.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/834023 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.78e-03', comment='SUCCESS', energy_flux2='1.49e-05', dlogl='8.74e-01', photon_flux2='9.72e-08', job_status='DONE', time_completed='2021-09-15 06:46:26.551718', photon_index_error2='4.73', photon_index2='3.87', ts='0.31', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='1.26e-07', energy_flux_error2='1.63e-05', EG='0.93', time_epoch_completed='1631713586.55', return_code='0', job_id='834023', GAL2='0.98', EG2='0.87', return_code2='102', photon_flux_error2='7.31e-08', ts2='2.17', photon_index='2.42' WHERE bin_id='573' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:46:26 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 834023: <4FGL_J1640.4+3945_daily_bin573> in cluster Done Job <4FGL_J1640.4+3945_daily_bin573> was submitted from host by user in cluster at Wed Sep 15 06:30:17 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:30:58 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:30:58 2021 Terminated at Wed Sep 15 06:46:27 2021 Results reported at Wed Sep 15 06:46:27 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin573 250.119 39.7626 387849601 388108801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1640.4+3945 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 737.33 sec. Max Memory : 1258 MB Average Memory : 294.60 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 928 sec. Turnaround time : 970 sec. The output (if any) is above this job summary.