/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 70 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 = 7445 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1139.0+4033_daily_bin1046 RA = 174.764, Dec = 40.5617 tmin = 510451201, tmax = 510710401 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='987855', job_status='RUN', time_executed='2021-09-04 07:08:24.519980', time_epoch_executed='1630764504.52' WHERE source_name='4FGL J1139.0+4033' and cadence='daily' and bin_id='1046' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/987855 Creating custom pfile directory: /scratch/kocevski/987855/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=510451201.0 && nMetStart<510710401.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=510451201.0 && nMetStart<510710401.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/987855/ft1_4FGL_J1139.0+4033_daily_bin1046.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=510451201.0 && nMetStart<510710401.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/987855/ft2_4FGL_J1139.0+4033_daily_bin1046.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/987855/ft1_4FGL_J1139.0+4033_daily_bin1046.fits outfile=/scratch/kocevski/987855/ft1_filteredMKT_4FGL_J1139.0+4033_daily_bin1046.fits ra=174.764 dec=40.5617 rad=12.0 tmin=510451201.0 tmax=510710401.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 4.00 user 3.71 sys 0.19 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/987855/ft2_4FGL_J1139.0+4033_daily_bin1046.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/987855/ft2_4FGL_J1139.0+4033_daily_bin1046.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/987855/ft1_filteredMKT_4FGL_J1139.0+4033_daily_bin1046.fits evtable="EVENTS" outfile="/scratch/kocevski/987855/ft1_filtered_4FGL_J1139.0+4033_daily_bin1046.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.51 user 0.32 sys 0.16 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/987855/ft1_filtered_4FGL_J1139.0+4033_daily_bin1046.fits" evtable="EVENTS" scfile=/scratch/kocevski/987855/ft2_4FGL_J1139.0+4033_daily_bin1046.fits sctable="SC_DATA" outfile=/scratch/kocevski/987855/ltcube_510451201_510710401_4FGL_J1139.0+4033_daily_bin1046.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/987855/ft2_4FGL_J1139.0+4033_daily_bin1046.fits .....................! real 12.08 user 11.70 sys 0.31 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/987855/ft1_filtered_4FGL_J1139.0+4033_daily_bin1046.fits evtable="EVENTS" scfile=/scratch/kocevski/987855/ft2_4FGL_J1139.0+4033_daily_bin1046.fits sctable="SC_DATA" expcube=/scratch/kocevski/987855/ltcube_510451201_510710401_4FGL_J1139.0+4033_daily_bin1046.fits outfile=/scratch/kocevski/987855/expmap_510451201_510710401_4FGL_J1139.0+4033_daily_bin1046.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/987855/ltcube_510451201_510710401_4FGL_J1139.0+4033_daily_bin1046.fits .....................! real 191.11 user 185.62 sys 5.03 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 219 point sources and 0 extended sources Setting source of interest to: 4FGL J1139.0+4033 @ 174.764 40.5617 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/987855/ft1_filtered_4FGL_J1139.0+4033_daily_bin1046.fits scfile=/scratch/kocevski/987855/ft2_4FGL_J1139.0+4033_daily_bin1046.fits outfile=/scratch/kocevski/987855/cmap_510451201_510710401_4FGL_J1139.0+4033_daily_bin1046.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=174.764 yref=40.5617 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.53 user 0.37 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/987855/ft1_filtered_4FGL_J1139.0+4033_daily_bin1046.fits scfile=/scratch/kocevski/987855/ft2_4FGL_J1139.0+4033_daily_bin1046.fits outfile=/scratch/kocevski/987855/cmap_HighResolution_510451201_510710401_4FGL_J1139.0+4033_daily_bin1046.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=174.764 yref=40.5617 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.55 user 0.39 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/987855/ft1_filtered_4FGL_J1139.0+4033_daily_bin1046.fits evtable="EVENTS" scfile=/scratch/kocevski/987855/ft2_4FGL_J1139.0+4033_daily_bin1046.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/987855/Model_4FGL_J1139.0+4033_daily_bin1046.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/987855/ft1_filtered_4FGL_J1139.0+4033_daily_bin1046.fits.....................! real 54.85 user 53.47 sys 1.15 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/987855/ft1_filtered_4FGL_J1139.0+4033_daily_bin1046.fits', '/scratch/kocevski/987855/ft2_4FGL_J1139.0+4033_daily_bin1046.fits', expMap='/scratch/kocevski/987855/expmap_510451201_510710401_4FGL_J1139.0+4033_daily_bin1046.fits', expCube='/scratch/kocevski/987855/ltcube_510451201_510710401_4FGL_J1139.0+4033_daily_bin1046.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/987855/Model_4FGL_J1139.0+4033_daily_bin1046.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1139.0+4033' 4FGL J1139.0+4033 Spectrum: PowerLaw 341 Prefactor: 9.736e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 342 Index: 2.720e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 343 Scale: 6.779e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/987855/ft1_filtered_4FGL_J1139.0+4033_daily_bin1046.fits Spacecraft file(s): /scratch/kocevski/987855/ft2_4FGL_J1139.0+4033_daily_bin1046.fits Exposure map: /scratch/kocevski/987855/expmap_510451201_510710401_4FGL_J1139.0+4033_daily_bin1046.fits Exposure cube: /scratch/kocevski/987855/ltcube_510451201_510710401_4FGL_J1139.0+4033_daily_bin1046.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/987855/Model_4FGL_J1139.0+4033_daily_bin1046.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) = 6284.52864278 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6284.52349995 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 75.474 1.0000 .10000E-03 10000. 3 'norm ' 1.0230 1.0000 .10000E-03 10000. 4 'Prefactor ' 5.8276 1.0000 .10000E-03 10000. 5 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' 12.976 1.0000 .10000E-03 10000. 7 'norm ' .10001E-03 1.0000 .10000E-03 10000. 8 'norm ' .10006E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' 1.4553 1.0000 .10000E-03 10000. 10 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 11 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 12 'norm ' 2.8064 1.0000 .10000E-03 10000. 13 'Prefactor ' 9.4623 1.0000 .10000E-03 10000. 14 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' .10237E-03 1.0000 .10000E-03 10000. 16 'norm ' 2.6929 1.0000 .10000E-03 10000. 17 'norm ' 4.9789 1.0000 .10000E-03 10000. 18 'Prefactor ' 31.730 1.0000 .10000E-03 10000. 19 'Prefactor ' 2.5996 1.0000 .10000E-03 10000. 20 'Prefactor ' 3.2918 1.0000 .10000E-03 10000. 21 'Prefactor ' .10043E-03 1.0000 .10000E-03 10000. 22 'Prefactor ' .10140E-03 1.0000 .10000E-03 10000. 23 'Prefactor ' .10073E-03 1.0000 .10000E-03 10000. 24 'Normalizat' .82499 1.0000 .10000E-01 10.000 25 'Prefactor ' 1.0002 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6960E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 6284.523 FROM MIGRAD STATUS=CONVERGED 588 CALLS 2891 TOTAL EDM= .60E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 11.989 .64305E-07** at limit ** 2 Prefactor 75.469 67.365 -.49875E-06 -.50451E-04 3 norm 1.0230 .28993 -.33398E-07 -.18364E-03 4 Prefactor 5.8261 8.5054 .20756E-05 -.26328E-03 5 Prefactor .10000E-03 5.6023 -.92115E-07** at limit ** 6 Prefactor 12.896 61.087 -.97446E-05 -.17138E-03 7 norm .10000E-03 3.5964 -.81667E-07** at limit ** 8 norm .10000E-03 20.233 -.57047E-06** at limit ** 9 Prefactor 1.4547 1.5828 .13958E-05 -.93431E-03 10 Prefactor .10000E-03 22.678 .45662E-06** at limit ** 11 Prefactor .10000E-03 4.1308 -.80570E-07** at limit ** 12 norm 2.8056 2.0160 -.18140E-06 -.19991E-03 13 Prefactor 9.4613 9.7980 .11269E-05 -.16861E-03 14 Prefactor .10000E-03 3.3598 -.19329E-06** at limit ** 15 Prefactor .10000E-03 44.283 .15714E-06** at limit ** 16 norm 2.6924 1.1042 -.18659E-07 -.11614E-03 17 norm 4.9787 4.9288 -.71423E-06 -.55144E-03 18 Prefactor 31.724 24.175 -.10013E-06 .22038E-04 19 Prefactor 2.5998 2.8362 .16983E-06 -.43362E-04 20 Prefactor 3.1409 149.56 .38223E-05 .20709E-04 21 Prefactor .10000E-03 19.095 .17008E-06** at limit ** 22 Prefactor .10000E-03 28.077 -.42461E-06** at limit ** 23 Prefactor .10000E-03 5.1520 .13243E-06** at limit ** 24 Normalizat .82500 .15557 -.13973E-06 -.58812E-04 25 Prefactor 1.0002 .18554 -.50320E-06 -.18555E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 75.4687 norm = 1.02297 Prefactor = 5.82611 Prefactor = 0.0001 Prefactor = 12.8963 norm = 0.0001 norm = 0.0001 Prefactor = 1.45471 Prefactor = 0.0001 Prefactor = 0.0001 norm = 2.80559 Prefactor = 9.4613 Prefactor = 0.0001 Prefactor = 0.0001 norm = 2.69237 norm = 4.97866 Prefactor = 31.7244 Prefactor = 2.59976 Prefactor = 3.1409 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Normalizat = 0.824998 Prefactor = 1.00022 ********** ** 18 **HESSE ********** FCN= 6284.523 FROM HESSE STATUS=OK 425 CALLS 3316 TOTAL EDM= .13E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 11.993 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 75.469 67.556 .46219E-04 -1.3968 3 norm 1.0230 .29029 .21682E-04 -1.5506 4 Prefactor 5.8261 8.5246 .83182E-03 -1.5225 5 Prefactor .10000E-03 5.6108 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 12.896 67.947 .11120E-03 -1.4990 7 norm .10000E-03 3.6018 .14683E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .10000E-03 20.269 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 1.4547 1.5969 .50810E-03 -1.5467 10 Prefactor .10000E-03 22.729 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .10000E-03 4.1338 .15733E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm 2.8056 2.0105 .90751E-04 -1.5373 13 Prefactor 9.4613 9.8096 .65140E-03 -1.5093 14 Prefactor .10000E-03 3.4498 .28366E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .10000E-03 44.545 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 2.6924 1.0966 .24827E-04 -1.5380 17 norm 4.9787 4.9807 .17220E-03 -1.5262 18 Prefactor 31.724 24.238 .71133E-04 -1.4581 19 Prefactor 2.5998 2.8284 .13237E-03 -1.5385 20 Prefactor 3.1409 147.56 .22316E-03 -1.5353 21 Prefactor .10000E-03 19.244 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .10000E-03 28.215 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor .10000E-03 5.2854 .35138E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Normalizat .82500 .18149 .23315E-03 -.99148 25 Prefactor 1.0002 .21599 .26318E-03 -.92722 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.29481e-09 Minuit parameter uncertainties: 1 8.21797e-06 2 67.6247 3 0.290295 4 8.52634 5 1.13455e-05 6 59.3089 7 9.3709e-06 8 9.45505e-05 9 1.59695 10 9.13305e-05 11 8.59964e-06 12 2.01056 13 9.81131 14 2.51027e-05 15 2.12743e-05 16 1.09658 17 4.98113 18 24.2456 19 2.82855 20 43.1693 21 1.19215e-05 22 0.000143111 23 3.48055e-06 24 0.181624 25 0.216179 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6284.5234908 Extracting fit parameters... 4FGL J1139.0+4033 Spectrum: PowerLaw 341 Prefactor: 1.000e-04 2.127e-05 1.000e-04 1.000e+04 ( 1.000e-13) 342 Index: 2.720e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 343 Scale: 6.779e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 693 Prefactor: 1.000e+00 2.162e-01 0.000e+00 1.000e+01 ( 1.000e+00) 694 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 695 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 692 Normalization: 8.250e-01 1.816e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 174.764 40.562 Photon Flux Upper Limit: 7.56e-08 ph cm-2 s-1 Energy Flux Upper Limit: 5.96e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/987855/likelihoodResults_510451201_510710401_4FGL_J1139.0+4033_daily_bin1046.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): 102 logL (Free Index) = 6284.52359769 delta logL = -0.00010689152532 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 6284.52359769 delta logL = -0.000106885065179 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .96358E-02 1.0000 .10000E-03 10000. 2 'Index ' 2.7201 1.0000 .0000 10.000 3 'Normalizat' .82500 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0002 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6960E+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= 6284.138 FROM MIGRAD STATUS=FAILED 187 CALLS 328 TOTAL EDM= .96E-06 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 13.487 1057.6 .18143E-01 .16831E-02 2 Index 1.4393 8.9066 .20000 .82687E-04 3 Normalizat .82886 .54207E-01 .23315E-03 -.11713E-02 4 Prefactor .99057 .68156E-01 .26318E-03 -.10134E-02 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 6284.138 FROM SIMPLEX STATUS=UNCHANGED 88 CALLS 416 TOTAL EDM= .16E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 13.487 1057.6 .43334E-03 .16831E-02 2 Index 1.4393 8.9066 .83224E-03 .82687E-04 3 Normalizat .82886 .54207E-01 .68281E-04 -.11713E-02 4 Prefactor .99057 .68156E-01 .12461E-03 -.10134E-02 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 6284.138 FROM MIGRAD STATUS=CONVERGED 34 CALLS 450 TOTAL EDM= .90E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 13.487 31.477 .22041E-02 -.17419E-04 2 Index 1.4393 .94431 .12027E-01 .32649E-03 3 Normalizat .82886 .17299 .46631E-04 -.11562E-02 4 Prefactor .99057 .21424 .52636E-04 -.99876E-03 ERR DEF= .500 Final values: Prefactor = 13.4873 Index = 1.43926 Normalizat = 0.828858 Prefactor = 0.990568 ********** ** 18 **HESSE ********** FCN= 6284.138 FROM HESSE STATUS=OK 27 CALLS 477 TOTAL EDM= .13E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 13.487 28.121 .88164E-04 -1.4973 2 Index 1.4393 .84609 .24054E-02 -2.3490 3 Normalizat .82886 .17302 .93262E-05 -.99007 4 Prefactor .99057 .21426 .10527E-04 -.93045 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.26773e-09 Minuit parameter uncertainties: 1 28.149 2 0.854509 3 0.173139 4 0.214449 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/987855': 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) = 6284.13800502 delta logL = 0.385485783515 Extracting fit parameters... 4FGL J1139.0+4033 Spectrum: PowerLaw 341 Prefactor: 1.349e+01 2.815e+01 1.000e-04 1.000e+04 ( 1.000e-13) 342 Index: 1.439e+00 8.545e-01 0.000e+00 1.000e+01 (-1.000e+00) 343 Scale: 6.779e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 693 Prefactor: 9.906e-01 2.144e-01 0.000e+00 1.000e+01 ( 1.000e+00) 694 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 695 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 692 Normalization: 8.289e-01 1.731e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 174.764 40.562 Creating a high resolution counts map... INFO: Auto-setting vmin to 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /scratch/kocevski/987855/cmap_HighResolution_510451201_510710401_4FGL_J1139.0+4033_daily_bin1046.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/987855 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.96e-03', job_status='DONE', photon_flux_upper_limit='7.56e-08', time_completed='2021-09-04 07:22:09.488828', job_id='987855', GAL2='0.99', fit_tolerance='1e-08', EG2='0.83', EG='0.82', time_epoch_completed='1630765329.49', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='3.85e-01', ts2='0.77', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='1046' AND source_name='4FGL J1139.0+4033' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Sep 4 07:22:09 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 987855: <4FGL_J1139.0+4033_daily_bin1046> in cluster Done Job <4FGL_J1139.0+4033_daily_bin1046> was submitted from host by user in cluster at Sat Sep 4 07:07:02 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Sep 4 07:07:04 2021 was used as the home directory. was used as the working directory. Started at Sat Sep 4 07:07:04 2021 Terminated at Sat Sep 4 07:22:10 2021 Results reported at Sat Sep 4 07:22:10 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1139.0+4033_daily_bin1046 174.764 40.5617 510451201 510710401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1139.0+4033 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 819.00 sec. Max Memory : 1094 MB Average Memory : 292.52 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 7 Max Threads : 21 Run time : 905 sec. Turnaround time : 908 sec. The output (if any) is above this job summary.