/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 77 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 = 73239 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0202.7+4204_monthly_bin129 RA = 30.6862, Dec = 42.0714 tmin = 571363201, tmax = 573955201 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='735435', job_status='RUN', time_executed='2021-10-09 22:41:43.252141', time_epoch_executed='1633844503.25' WHERE source_name='4FGL J0202.7+4204' and cadence='monthly' and bin_id='129' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/735435 Creating custom pfile directory: /scratch/kocevski/735435/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=571363201.0 && nMetStart<573955201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=571363201.0 && nMetStart<573955201.0' /Data/Flight/Level1/LPA Retrieving 457 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/735435/ft1_4FGL_J0202.7+4204_monthly_bin129.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=571363201.0 && nMetStart<573955201.0' /Data/Flight/Level1/LPA Retrieving 457 files... Done. Merging files... Merged file saved to: /scratch/kocevski/735435/ft2_4FGL_J0202.7+4204_monthly_bin129.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/735435/ft1_4FGL_J0202.7+4204_monthly_bin129.fits outfile=/scratch/kocevski/735435/ft1_filteredMKT_4FGL_J0202.7+4204_monthly_bin129.fits ra=30.6862 dec=42.0714 rad=12.0 tmin=571363201.0 tmax=573955201.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 33.94 user 33.18 sys 0.65 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/735435/ft2_4FGL_J0202.7+4204_monthly_bin129.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/735435/ft2_4FGL_J0202.7+4204_monthly_bin129.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/735435/ft1_filteredMKT_4FGL_J0202.7+4204_monthly_bin129.fits evtable="EVENTS" outfile="/scratch/kocevski/735435/ft1_filtered_4FGL_J0202.7+4204_monthly_bin129.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.85 user 0.62 sys 0.20 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/735435/ft1_filtered_4FGL_J0202.7+4204_monthly_bin129.fits" evtable="EVENTS" scfile=/scratch/kocevski/735435/ft2_4FGL_J0202.7+4204_monthly_bin129.fits sctable="SC_DATA" outfile=/scratch/kocevski/735435/ltcube_571363201_573955201_4FGL_J0202.7+4204_monthly_bin129.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/735435/ft2_4FGL_J0202.7+4204_monthly_bin129.fits .....................! real 109.32 user 108.65 sys 0.42 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/735435/ft1_filtered_4FGL_J0202.7+4204_monthly_bin129.fits evtable="EVENTS" scfile=/scratch/kocevski/735435/ft2_4FGL_J0202.7+4204_monthly_bin129.fits sctable="SC_DATA" expcube=/scratch/kocevski/735435/ltcube_571363201_573955201_4FGL_J0202.7+4204_monthly_bin129.fits outfile=/scratch/kocevski/735435/expmap_571363201_573955201_4FGL_J0202.7+4204_monthly_bin129.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/735435/ltcube_571363201_573955201_4FGL_J0202.7+4204_monthly_bin129.fits .....................! real 191.45 user 186.39 sys 4.62 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 Extended source HB 3 in ROI with RadialDisk spatial model. Extended source W 3 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/W3.fits is the correct path to the extended template. Added 176 point sources and 2 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J0202.7+4204 @ 30.6862 42.0714 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/735435/ft1_filtered_4FGL_J0202.7+4204_monthly_bin129.fits scfile=/scratch/kocevski/735435/ft2_4FGL_J0202.7+4204_monthly_bin129.fits outfile=/scratch/kocevski/735435/cmap_571363201_573955201_4FGL_J0202.7+4204_monthly_bin129.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=30.6862 yref=42.0714 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.80 user 0.61 sys 0.17 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/735435/ft1_filtered_4FGL_J0202.7+4204_monthly_bin129.fits scfile=/scratch/kocevski/735435/ft2_4FGL_J0202.7+4204_monthly_bin129.fits outfile=/scratch/kocevski/735435/cmap_HighResolution_571363201_573955201_4FGL_J0202.7+4204_monthly_bin129.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=30.6862 yref=42.0714 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.79 user 0.59 sys 0.20 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/735435/ft1_filtered_4FGL_J0202.7+4204_monthly_bin129.fits evtable="EVENTS" scfile=/scratch/kocevski/735435/ft2_4FGL_J0202.7+4204_monthly_bin129.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/735435/Model_4FGL_J0202.7+4204_monthly_bin129.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 adding source HB 3 adding source W 3 Working on... /scratch/kocevski/735435/ft1_filtered_4FGL_J0202.7+4204_monthly_bin129.fits.....................! real 1225.21 user 1220.59 sys 1.58 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/735435/ft1_filtered_4FGL_J0202.7+4204_monthly_bin129.fits', '/scratch/kocevski/735435/ft2_4FGL_J0202.7+4204_monthly_bin129.fits', expMap='/scratch/kocevski/735435/expmap_571363201_573955201_4FGL_J0202.7+4204_monthly_bin129.fits', expCube='/scratch/kocevski/735435/ltcube_571363201_573955201_4FGL_J0202.7+4204_monthly_bin129.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/735435/Model_4FGL_J0202.7+4204_monthly_bin129.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0202.7+4204' 4FGL J0202.7+4204 Spectrum: PowerLaw 274 Prefactor: 4.935e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-14) 275 Index: 2.173e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 276 Scale: 2.114e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/735435/ft1_filtered_4FGL_J0202.7+4204_monthly_bin129.fits Spacecraft file(s): /scratch/kocevski/735435/ft2_4FGL_J0202.7+4204_monthly_bin129.fits Exposure map: /scratch/kocevski/735435/expmap_571363201_573955201_4FGL_J0202.7+4204_monthly_bin129.fits Exposure cube: /scratch/kocevski/735435/ltcube_571363201_573955201_4FGL_J0202.7+4204_monthly_bin129.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/735435/Model_4FGL_J0202.7+4204_monthly_bin129.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) = 129105.279879 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 129104.366859 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .11200E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 4 'norm ' 1.7552 1.0000 .10000E-03 10000. 5 'Prefactor ' .85692 1.0000 .10000E-03 10000. 6 'Prefactor ' 3.4668 1.0000 .10000E-03 10000. 7 'norm ' .72832 1.0000 .10000E-03 10000. 8 'norm ' .42499E-01 1.0000 .10000E-03 10000. 9 'Prefactor ' .23568E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' 1.0983 1.0000 .10000E-03 10000. 11 'Prefactor ' 1.8585 1.0000 .10000E-03 10000. 12 'Prefactor ' 14.477 1.0000 .10000E-03 10000. 13 'norm ' .96070 1.0000 .10000E-03 10000. 14 'Prefactor ' 11.164 1.0000 .10000E-03 10000. 15 'norm ' .10161E-03 1.0000 .10000E-03 10000. 16 'Prefactor ' .68945E-02 1.0000 .10000E-03 10000. 17 'norm ' .99100 1.0000 .10000E-03 10000. 18 'norm ' .77697 1.0000 .10000E-03 10000. 19 'Prefactor ' .18579 1.0000 .10000E-03 10000. 20 'norm ' .61379 1.0000 .10000E-03 10000. 21 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 22 'norm ' 3.0717 1.0000 .10000E-03 10000. 23 'Normalizat' 1.1462 1.0000 .10000E-01 10.000 24 'Prefactor ' .99639 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5980E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 129104.4 FROM MIGRAD STATUS=CONVERGED 589 CALLS 2519 TOTAL EDM= .48E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 .31435 .0000 ** at limit ** 2 Prefactor .10000E-03 1.5266 .0000 ** at limit ** 3 Prefactor .10000E-03 7.0132 .0000 ** at limit ** 4 norm 1.7550 .69393 .0000 .57036E-02 5 Prefactor .85590 2.2013 .0000 .28052E-02 6 Prefactor 3.4668 4.4150 .0000 .98419E-02 7 norm .72832 .21138 .0000 -.46318E-02 8 norm .42377E-01 .69543E-01 .0000 .48370E-01 9 Prefactor .10000E-03 .46773 .0000 ** at limit ** 10 Prefactor 1.0978 .76342 .0000 .21920E-01 11 Prefactor 1.8585 2.1102 .0000 .19613E-02 12 Prefactor 14.477 10.233 .0000 .18849E-03 13 norm .96099 .80068 .0000 .13015E-01 14 Prefactor 11.163 2.2737 .0000 .28113E-01 15 norm .10000E-03 .10526 .0000 ** at limit ** 16 Prefactor .10000E-03 .39571 .0000 ** at limit ** 17 norm .99101 .16378 .0000 .15758E-01 18 norm .77697 .84539E-01 .0000 .17882E-02 19 Prefactor .18395 .36556 .0000 .10170E-01 20 norm .61441 1.0995 .0000 .28730E-01 21 Prefactor .10000E-03 1.1046 .0000 ** at limit ** 22 norm 3.0718 1.2898 .0000 .10907 23 Normalizat 1.1462 .55481E-01 .0000 .16076E-02 24 Prefactor .99639 .22659E-01 .0000 .17901E-02 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 norm = 1.755 Prefactor = 0.855903 Prefactor = 3.46677 norm = 0.728318 norm = 0.0423768 Prefactor = 0.0001 Prefactor = 1.09776 Prefactor = 1.85847 Prefactor = 14.4768 norm = 0.960986 Prefactor = 11.1633 norm = 0.0001 Prefactor = 0.0001 norm = 0.991013 norm = 0.77697 Prefactor = 0.183954 norm = 0.614405 Prefactor = 0.0001 norm = 3.07178 Normalizat = 1.14625 Prefactor = 0.996386 ********** ** 18 **HESSE ********** FCN= 129104.4 FROM HESSE STATUS=OK 439 CALLS 2958 TOTAL EDM= .15E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 1.8511 .38847E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 1.5639 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .10000E-03 7.0928 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm 1.7550 .68993 .18143E-03 -1.5443 5 Prefactor .85590 13.312 .77322E-02 -1.5523 6 Prefactor 3.4668 4.4048 .10860E-02 -1.5336 7 norm .72832 .20746 .86689E-04 -1.5537 8 norm .42377E-01 .10331 .11191E-02 -1.5667 9 Prefactor .10000E-03 3.3180 .46588E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 1.0978 .74208 .24212E-03 -1.5498 11 Prefactor 1.8585 2.1022 .30570E-03 -1.5435 12 Prefactor 14.477 10.218 .10527E-03 -1.4947 13 norm .96099 .72364 .26701E-02 -1.5512 14 Prefactor 11.163 2.1868 .59952E-03 -1.5040 15 norm .10000E-03 .19501 .38076E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .10000E-03 .63078 .67264E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm .99101 .16449 .51947E-04 -1.5509 18 norm .77697 .84169E-01 .33157E-04 -1.5532 19 Prefactor .18395 1.7093 .26727E-02 -1.5622 20 norm .61441 1.0766 .45454E-03 -1.5551 21 Prefactor .10000E-03 1.1059 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 norm 3.0718 1.2897 .11572E-02 -1.5357 23 Normalizat 1.1462 .61876E-01 .35683E-03 -.88281 24 Prefactor .99639 .25881E-01 .16786E-03 -.92850 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.47178e-06 Minuit parameter uncertainties: 1 1.32341e-05 2 1.02525e-05 3 2.18957e-07 4 0.689933 5 6.7524 6 4.4052 7 0.207462 8 0.103306 9 9.92801e-07 10 0.742087 11 2.10231 12 10.2195 13 0.723642 14 2.18686 15 2.38047e-06 16 1.83171e-05 17 0.164489 18 0.0841686 19 1.12124 20 1.07659 21 5.61857e-06 22 1.28975 23 0.0618797 24 0.0258814 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 129104.366762 Extracting fit parameters... 4FGL J0202.7+4204 Spectrum: PowerLaw 274 Prefactor: 1.448e+01 1.022e+01 1.000e-04 1.000e+04 ( 1.000e-14) 275 Index: 2.173e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 276 Scale: 2.114e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 587 Prefactor: 9.964e-01 2.588e-02 0.000e+00 1.000e+01 ( 1.000e+00) 588 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 589 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 586 Normalization: 1.146e+00 6.188e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 2.98 Ra Dec: 30.686 42.071 Photon Index (Fixed Index): 2.17 +/- 0.00 Photon Flux (Fixed Index): 9.36e-09 +/- 6.60e-09 Energy Flux (Fixed Index): 4.42e-06 +/- 3.12e-06 TS (Fixed Index): 2.98 Ra Dec: 30.686 42.071 Photon Flux Upper Limit: 2.26e-08 ph cm-2 s-1 Energy Flux Upper Limit: 1.72e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/735435/likelihoodResults_571363201_573955201_4FGL_J0202.7+4204_monthly_bin129.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) = 129104.346771 delta logL = 0.0199912071694 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 129104.338496 delta logL = 0.028265961475 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 13.039 1.0000 .10000E-03 10000. 2 'Index ' 2.3060 1.0000 .0000 10.000 3 'Normalizat' 1.1439 1.0000 .10000E-01 10.000 4 'Prefactor ' .99690 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5980E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 129104.3 FROM MIGRAD STATUS=FAILED 98 CALLS 265 TOTAL EDM= .15E-06 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 13.043 13.977 .55465E-03 -.43618E-04 2 Index 2.3059 .68098 .12068E-01 .23707E-02 3 Normalizat 1.1438 .58450E-01 .35716E-03 -.33512E-03 4 Prefactor .99690 .25427E-01 .16782E-03 -.78193E-03 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 129104.3 FROM SIMPLEX STATUS=UNCHANGED 74 CALLS 339 TOTAL EDM= .18E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 13.043 13.977 .23789E-03 -1.4986 2 Index 2.3059 .68098 .57676E-03 -.56903 3 Normalizat 1.1438 .58450E-01 .67171E-04 -.88357 4 Prefactor .99690 .25427E-01 .28089E-04 -.92833 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 129104.3 FROM MIGRAD STATUS=CONVERGED 27 CALLS 366 TOTAL EDM= .15E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 13.043 11.786 .22186E-04 -.45913E-04 2 Index 2.3059 .57485 .24135E-02 -.61047E-05 3 Normalizat 1.1438 .58108E-01 .14286E-04 -.33359E-03 4 Prefactor .99690 .25379E-01 .33563E-04 -.78150E-03 ERR DEF= .500 Final values: Prefactor = 13.043 Index = 2.3059 Normalizat = 1.14384 Prefactor = 0.9969 ********** ** 18 **HESSE ********** FCN= 129104.3 FROM HESSE STATUS=OK 23 CALLS 389 TOTAL EDM= .15E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 13.043 11.481 .44372E-05 -1.4986 2 Index 2.3059 .55980 .96541E-04 -.56903 3 Normalizat 1.1438 .58022E-01 .28573E-05 -.88357 4 Prefactor .99690 .25361E-01 .67127E-05 -.92833 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.48193e-11 Minuit parameter uncertainties: 1 11.4832 2 0.561458 3 0.0580251 4 0.0253616 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/735435': 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): 0 logL (Free Index) = 129104.338496 delta logL = 0.0282660908997 Extracting fit parameters... 4FGL J0202.7+4204 Spectrum: PowerLaw 274 Prefactor: 1.304e+01 1.148e+01 1.000e-04 1.000e+04 ( 1.000e-14) 275 Index: 2.306e+00 5.615e-01 0.000e+00 1.000e+01 (-1.000e+00) 276 Scale: 2.114e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 587 Prefactor: 9.969e-01 2.536e-02 0.000e+00 1.000e+01 ( 1.000e+00) 588 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 589 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 586 Normalization: 1.144e+00 5.803e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 3.05 Ra Dec: 30.686 42.071 Photon Index (Free Index): 2.31 +/- 0.56 Photon Flux (Free Index): 1.14e-08 +/- 1.12e-08 Energy Flux (Free Index): 4.26e-06 +/- 2.95e-06 Creating a high resolution counts map... INFO: Auto-setting vmin to -2.000e-01 [aplpy.core] INFO: Auto-setting vmax to 2.220e+00 [aplpy.core] Saving /scratch/kocevski/735435/cmap_HighResolution_571363201_573955201_4FGL_J0202.7+4204_monthly_bin129.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/735435 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.72e-03', comment='SUCCESS', photon_flux='9.36e-09', energy_flux2='4.26e-06', photon_flux_error='6.60e-09', dlogl='2.83e-02', energy_flux='4.42e-06', photon_flux2='1.14e-08', job_status='DONE', time_completed='2021-10-10 01:15:01.656953', photon_index_error2='0.56', photon_index2='2.31', ts='2.98', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='2.26e-08', energy_flux_error2='2.95e-06', EG='1.15', time_epoch_completed='1633853701.66', return_code='0', job_id='735435', GAL2='1.00', EG2='1.14', return_code2='0', energy_flux_error='3.12e-06', photon_flux_error2='1.12e-08', ts2='3.05', photon_index='2.17' WHERE bin_id='129' AND source_name='4FGL J0202.7+4204' AND cadence='monthly'; Database successfully updated. Analysis Complete. Sun Oct 10 01:15:01 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 735435: <4FGL_J0202.7+4204_monthly_bin129> in cluster Done Job <4FGL_J0202.7+4204_monthly_bin129> was submitted from host by user in cluster at Sat Oct 9 22:40:15 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Oct 9 22:40:17 2021 was used as the home directory. was used as the working directory. Started at Sat Oct 9 22:40:17 2021 Terminated at Sun Oct 10 01:15:11 2021 Results reported at Sun Oct 10 01:15:11 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0202.7+4204_monthly_bin129 30.6862 42.0714 571363201 573955201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0202.7+4204 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 9108.00 sec. Max Memory : 640 MB Average Memory : 480.42 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 9285 sec. Turnaround time : 9296 sec. The output (if any) is above this job summary.