/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 73 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 = 73324 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J2022.5+7612_monthly_bin34 RA = 305.646, Dec = 76.2007 tmin = 325123201, tmax = 327715201 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='749562', job_status='RUN', time_executed='2021-11-05 23:51:42.654329', time_epoch_executed='1636181502.65' WHERE source_name='4FGL J2022.5+7612' and cadence='monthly' and bin_id='34' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/749562 Creating custom pfile directory: /scratch/kocevski/749562/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=325123201.0 && nMetStart<327715201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=325123201.0 && nMetStart<327715201.0' /Data/Flight/Level1/LPA Retrieving 455 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/749562/ft1_4FGL_J2022.5+7612_monthly_bin34.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=325123201.0 && nMetStart<327715201.0' /Data/Flight/Level1/LPA Retrieving 455 files... Done. Merging files... Merged file saved to: /scratch/kocevski/749562/ft2_4FGL_J2022.5+7612_monthly_bin34.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/749562/ft1_4FGL_J2022.5+7612_monthly_bin34.fits outfile=/scratch/kocevski/749562/ft1_filteredMKT_4FGL_J2022.5+7612_monthly_bin34.fits ra=305.646 dec=76.2007 rad=12.0 tmin=325123201.0 tmax=327715201.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 30.16 user 29.30 sys 0.74 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/749562/ft2_4FGL_J2022.5+7612_monthly_bin34.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/749562/ft2_4FGL_J2022.5+7612_monthly_bin34.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/749562/ft1_filteredMKT_4FGL_J2022.5+7612_monthly_bin34.fits evtable="EVENTS" outfile="/scratch/kocevski/749562/ft1_filtered_4FGL_J2022.5+7612_monthly_bin34.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.67 sys 0.17 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/749562/ft1_filtered_4FGL_J2022.5+7612_monthly_bin34.fits" evtable="EVENTS" scfile=/scratch/kocevski/749562/ft2_4FGL_J2022.5+7612_monthly_bin34.fits sctable="SC_DATA" outfile=/scratch/kocevski/749562/ltcube_325123201_327715201_4FGL_J2022.5+7612_monthly_bin34.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/749562/ft2_4FGL_J2022.5+7612_monthly_bin34.fits .....................! real 108.93 user 108.28 sys 0.32 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/749562/ft1_filtered_4FGL_J2022.5+7612_monthly_bin34.fits evtable="EVENTS" scfile=/scratch/kocevski/749562/ft2_4FGL_J2022.5+7612_monthly_bin34.fits sctable="SC_DATA" expcube=/scratch/kocevski/749562/ltcube_325123201_327715201_4FGL_J2022.5+7612_monthly_bin34.fits outfile=/scratch/kocevski/749562/expmap_325123201_327715201_4FGL_J2022.5+7612_monthly_bin34.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/749562/ltcube_325123201_327715201_4FGL_J2022.5+7612_monthly_bin34.fits .....................! real 191.01 user 186.34 sys 4.06 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 FHES J2208.4+6443 in ROI with RadialGaussian spatial model. Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model. Added 206 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 J2022.5+7612 @ 305.646 76.2007 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/749562/ft1_filtered_4FGL_J2022.5+7612_monthly_bin34.fits scfile=/scratch/kocevski/749562/ft2_4FGL_J2022.5+7612_monthly_bin34.fits outfile=/scratch/kocevski/749562/cmap_325123201_327715201_4FGL_J2022.5+7612_monthly_bin34.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=305.646 yref=76.2007 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.62 sys 0.17 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/749562/ft1_filtered_4FGL_J2022.5+7612_monthly_bin34.fits scfile=/scratch/kocevski/749562/ft2_4FGL_J2022.5+7612_monthly_bin34.fits outfile=/scratch/kocevski/749562/cmap_HighResolution_325123201_327715201_4FGL_J2022.5+7612_monthly_bin34.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=305.646 yref=76.2007 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.64 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/749562/ft1_filtered_4FGL_J2022.5+7612_monthly_bin34.fits evtable="EVENTS" scfile=/scratch/kocevski/749562/ft2_4FGL_J2022.5+7612_monthly_bin34.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/749562/Model_4FGL_J2022.5+7612_monthly_bin34.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 FHES J2129.9+5833 adding source FHES J2208.4+6443 adding source GAL_V02 Working on... /scratch/kocevski/749562/ft1_filtered_4FGL_J2022.5+7612_monthly_bin34.fits.....................! real 2246.89 user 2240.77 sys 1.26 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/749562/ft1_filtered_4FGL_J2022.5+7612_monthly_bin34.fits', '/scratch/kocevski/749562/ft2_4FGL_J2022.5+7612_monthly_bin34.fits', expMap='/scratch/kocevski/749562/expmap_325123201_327715201_4FGL_J2022.5+7612_monthly_bin34.fits', expCube='/scratch/kocevski/749562/ltcube_325123201_327715201_4FGL_J2022.5+7612_monthly_bin34.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/749562/Model_4FGL_J2022.5+7612_monthly_bin34.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2022.5+7612' 4FGL J2022.5+7612 Spectrum: PowerLaw 471 Prefactor: 8.450e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 472 Index: 2.269e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 473 Scale: 1.333e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/749562/ft1_filtered_4FGL_J2022.5+7612_monthly_bin34.fits Spacecraft file(s): /scratch/kocevski/749562/ft2_4FGL_J2022.5+7612_monthly_bin34.fits Exposure map: /scratch/kocevski/749562/expmap_325123201_327715201_4FGL_J2022.5+7612_monthly_bin34.fits Exposure cube: /scratch/kocevski/749562/ltcube_325123201_327715201_4FGL_J2022.5+7612_monthly_bin34.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/749562/Model_4FGL_J2022.5+7612_monthly_bin34.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) = 173878.016417 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 173877.000486 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .96663 1.0000 .10000E-03 10000. 2 'Prefactor ' .40080E-01 1.0000 .10000E-03 10000. 3 'Prefactor ' .71997E-03 1.0000 .10000E-03 10000. 4 'norm ' 3.1666 1.0000 .10000E-03 10000. 5 'norm ' 4.5644 1.0000 .10000E-03 10000. 6 'Prefactor ' .16952E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' .62771 1.0000 .10000E-03 10000. 8 'Prefactor ' .14122E-03 1.0000 .10000E-03 10000. 9 'norm ' 5.8884 1.0000 .10000E-03 10000. 10 'Prefactor ' 1.6768 1.0000 .10000E-03 10000. 11 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 12 'norm ' 2.3023 1.0000 .10000E-03 10000. 13 'norm ' 5.3589 1.0000 .10000E-03 10000. 14 'norm ' 6.5680 1.0000 .10000E-03 10000. 15 'norm ' 1.2843 1.0000 .10000E-03 10000. 16 'Prefactor ' 18.757 1.0000 .10000E-03 10000. 17 'norm ' 2.4457 1.0000 .10000E-03 10000. 18 'Prefactor ' 4.5325 1.0000 .10000E-03 10000. 19 'norm ' 1.1962 1.0000 .10000E-03 10000. 20 'Prefactor ' .10004E-03 1.0000 .10000E-03 10000. 21 'Prefactor ' .10005E-03 1.0000 .10000E-03 10000. 22 'norm ' .17416E-03 1.0000 .10000E-03 10000. 23 'Prefactor ' .10262E-03 1.0000 .10000E-03 10000. 24 'Normalizat' 1.0667 1.0000 .10000E-01 10.000 25 'Prefactor ' 1.0030 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6890E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 173877.0 FROM MIGRAD STATUS=CONVERGED 629 CALLS 2604 TOTAL EDM= .36E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .96810 .69487 .0000 .16209E-01 2 Prefactor .10000E-03 1.5348 .0000 ** at limit ** 3 Prefactor .10000E-03 22.053 .0000 ** at limit ** 4 norm 3.1672 .26233 .0000 .28755E-02 5 norm 4.5642 1.3018 .0000 .90146E-01 6 Prefactor .10000E-03 .41028 .0000 ** at limit ** 7 Prefactor .70890 1.4124 .0000 .36165E-02 8 Prefactor .10000E-03 4.7314 .0000 ** at limit ** 9 norm 5.8817 1.0802 .0000 .50561E-03 10 Prefactor 1.6792 3.9341 .0000 .50885E-01 11 Prefactor .10000E-03 .47428 .0000 ** at limit ** 12 norm 2.3016 .45176 .0000 .34401E-02 13 norm 5.3577 4.5242 .0000 .41492E-04 14 norm 6.5650 1.1199 .0000 .86980E-01 15 norm 1.2842 3.5108 .0000 .66207E-01 16 Prefactor 18.798 6.6479 .0000 .40944E-03 17 norm 2.4459 .75372 .0000 .72142E-02 18 Prefactor 4.5335 2.9381 .0000 .24070E-01 19 norm 1.1971 1.3857 .0000 .85262E-02 20 Prefactor .10000E-03 .17753 .0000 ** at limit ** 21 Prefactor .10000E-03 4.6607 .0000 ** at limit ** 22 norm .10000E-03 4.5980 .0000 ** at limit ** 23 Prefactor .10000E-03 .39069 .0000 ** at limit ** 24 Normalizat 1.0666 .57809E-01 .0000 .62798E-03 25 Prefactor 1.0030 .14938E-01 .0000 -.16128E-03 ERR DEF= .500 Final values: Prefactor = 0.968103 Prefactor = 0.0001 Prefactor = 0.0001 norm = 3.16722 norm = 4.5642 Prefactor = 0.0001 Prefactor = 0.708895 Prefactor = 0.0001 norm = 5.88166 Prefactor = 1.67921 Prefactor = 0.0001 norm = 2.30155 norm = 5.35771 norm = 6.56504 norm = 1.28415 Prefactor = 18.7983 norm = 2.44593 Prefactor = 4.53347 norm = 1.1971 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.0001 Prefactor = 0.0001 Normalizat = 1.0666 Prefactor = 1.00303 ********** ** 18 **HESSE ********** FCN= 173877.0 FROM HESSE STATUS=OK 457 CALLS 3061 TOTAL EDM= .12E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .96810 .67660 .26169E-03 -1.5511 2 Prefactor .10000E-03 1.4950 .13771 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .10000E-03 22.728 .41927E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm 3.1672 .26292 .57656E-04 -1.5352 5 norm 4.5642 1.3007 .94209E-03 -1.5281 6 Prefactor .10000E-03 .48791 .81576E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .70890 10.609 .61739E-02 -1.5540 8 Prefactor .10000E-03 4.7429 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 5.8817 1.1325 .16549E-04 -1.5223 10 Prefactor 1.6792 3.9341 .16270E-02 -1.5449 11 Prefactor .10000E-03 .49340 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm 2.3016 .44880 .11446E-03 -1.5405 13 norm 5.3577 4.5242 .17360E-03 -1.5245 14 norm 6.5650 1.1188 .78294E-03 -1.5195 15 norm 1.2842 3.4692 .19566E-02 -1.5481 16 Prefactor 18.798 6.6098 .92478E-04 -1.4841 17 norm 2.4459 .75108 .19457E-03 -1.5395 18 Prefactor 4.5335 2.9320 .94549E-03 -1.5282 19 norm 1.1971 1.3637 .41566E-03 -1.5489 20 Prefactor .10000E-03 1.4783 .33854E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor .10000E-03 4.7214 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 norm .10000E-03 4.6888 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor .10000E-03 1.2650 .50523E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Normalizat 1.0666 .61120E-01 .48509E-03 -.90832 25 Prefactor 1.0030 .15717E-01 .13796E-03 -.92629 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.20847e-08 Minuit parameter uncertainties: 1 0.676605 2 4.50783e-05 3 0.000119423 4 0.262924 5 1.30066 6 9.21983e-07 7 5.48558 8 6.03631e-05 9 1.13247 10 3.93469 11 9.32172e-07 12 0.448799 13 4.52444 14 1.11881 15 3.46978 16 6.61007 17 0.751085 18 2.9321 19 1.36373 20 2.9695e-06 21 7.50509e-06 22 6.58233e-05 23 7.50129e-06 24 0.0611244 25 0.0157172 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 173877.000189 Extracting fit parameters... 4FGL J2022.5+7612 Spectrum: PowerLaw 471 Prefactor: 4.533e+00 2.932e+00 1.000e-04 1.000e+04 ( 1.000e-13) 472 Index: 2.269e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 473 Scale: 1.333e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 686 Prefactor: 1.003e+00 1.572e-02 0.000e+00 1.000e+01 ( 1.000e+00) 687 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 688 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 678 Normalization: 1.067e+00 6.112e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 4.14 Ra Dec: 305.646 76.201 Photon Index (Fixed Index): 2.27 +/- 0.00 Photon Flux (Fixed Index): 1.27e-08 +/- 8.23e-09 Energy Flux (Fixed Index): 5.07e-06 +/- 3.28e-06 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) = 173876.528364 delta logL = 0.471825012675 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 173876.527502 delta logL = 0.472687528323 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 3.0427 1.0000 .10000E-03 10000. 2 'Index ' 2.8875 1.0000 .0000 10.000 3 'Normalizat' 1.0535 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0039 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6890E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 173876.5 FROM MIGRAD STATUS=FAILED 97 CALLS 356 TOTAL EDM= .26E-06 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.0427 35.051 .11630E-02 -.26541E-02 2 Index 2.8876 3.7472 .10811E-01 .20480E-03 3 Normalizat 1.0535 .79337E-01 .48766E-03 .13428E-04 4 Prefactor 1.0039 .14591E-01 .13789E-03 .18468E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 173876.5 FROM SIMPLEX STATUS=UNCHANGED 84 CALLS 440 TOTAL EDM= .14E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.0427 35.051 .63104E-04 -.26541E-02 2 Index 2.8876 3.7472 .41749E-03 .20480E-03 3 Normalizat 1.0535 .79337E-01 .91141E-04 .13428E-04 4 Prefactor 1.0039 .14591E-01 .17782E-04 .18468E-04 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 173876.5 FROM MIGRAD STATUS=CONVERGED 32 CALLS 472 TOTAL EDM= .15E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.0429 3.2681 .46521E-04 -.13763E-02 2 Index 2.8876 .69857 .43244E-03 -.16657E-03 3 Normalizat 1.0535 .57294E-01 .19507E-04 .37300E-04 4 Prefactor 1.0039 .15387E-01 .55158E-05 .42212E-03 ERR DEF= .500 Final values: Prefactor = 3.04289 Index = 2.88755 Normalizat = 1.0535 Prefactor = 1.00395 ********** ** 18 **HESSE ********** FCN= 173876.5 FROM HESSE STATUS=OK 23 CALLS 495 TOTAL EDM= .16E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 3.0429 3.1559 .18608E-05 -1.5359 2 Index 2.8876 .67465 .17298E-04 -.43619 3 Normalizat 1.0535 .57188E-01 .39013E-05 -.91259 4 Prefactor 1.0039 .15374E-01 .11032E-05 -.92598 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.60204e-10 Minuit parameter uncertainties: 1 3.15612 2 0.677166 3 0.0571913 4 0.0153737 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/749562': 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) = 173876.527502 delta logL = 0.472687628906 Extracting fit parameters... 4FGL J2022.5+7612 Spectrum: PowerLaw 471 Prefactor: 3.043e+00 3.156e+00 1.000e-04 1.000e+04 ( 1.000e-13) 472 Index: 2.888e+00 6.772e-01 0.000e+00 1.000e+01 (-1.000e+00) 473 Scale: 1.333e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 686 Prefactor: 1.004e+00 1.537e-02 0.000e+00 1.000e+01 ( 1.000e+00) 687 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 688 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 678 Normalization: 1.053e+00 5.719e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 5.17 Ra Dec: 305.646 76.201 Photon Index (Free Index): 2.89 +/- 0.68 Photon Flux (Free Index): 2.86e-08 +/- 1.98e-08 Energy Flux (Free Index): 6.06e-06 +/- 3.05e-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/749562/cmap_HighResolution_325123201_327715201_4FGL_J2022.5+7612_monthly_bin34.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/749562 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.27e-08', energy_flux2='6.06e-06', photon_flux_error='8.23e-09', dlogl='4.73e-01', energy_flux='5.07e-06', photon_flux2='2.86e-08', job_status='DONE', time_completed='2021-11-06 03:24:38.762739', photon_index_error2='0.68', photon_index2='2.89', ts='4.14', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='3.05e-06', EG='1.07', time_epoch_completed='1636194278.76', return_code='0', job_id='749562', GAL2='1.00', EG2='1.05', return_code2='0', energy_flux_error='3.28e-06', photon_flux_error2='1.98e-08', ts2='5.17', photon_index='2.27' WHERE bin_id='34' AND source_name='4FGL J2022.5+7612' AND cadence='monthly'; Database successfully updated. Analysis Complete. Sat Nov 6 03:24:38 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 749562: <4FGL_J2022.5+7612_monthly_bin34> in cluster Done Job <4FGL_J2022.5+7612_monthly_bin34> was submitted from host by user in cluster at Fri Nov 5 23:50:19 2021 Job was executed on host(s) , in queue , as user in cluster at Fri Nov 5 23:50:21 2021 was used as the home directory. was used as the working directory. Started at Fri Nov 5 23:50:21 2021 Terminated at Sat Nov 6 03:24:39 2021 Results reported at Sat Nov 6 03:24:39 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2022.5+7612_monthly_bin34 305.646 76.2007 325123201 327715201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2022.5+7612 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 12701.00 sec. Max Memory : 648 MB Average Memory : 584.99 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 12858 sec. Turnaround time : 12860 sec. The output (if any) is above this job summary.