/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 61 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 = 7417 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1040.5+0617_daily_bin136 RA = 160.15, Dec = 6.2848 tmin = 274579201, tmax = 274838401 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='60782', job_status='RUN', time_executed='2021-09-02 08:07:51.192270', time_epoch_executed='1630595271.19' WHERE source_name='4FGL J1040.5+0617' and cadence='daily' and bin_id='136' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/60782 Creating custom pfile directory: /scratch/kocevski/60782/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=274579201.0 && nMetStart<274838401.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=274579201.0 && nMetStart<274838401.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/60782/ft1_4FGL_J1040.5+0617_daily_bin136.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=274579201.0 && nMetStart<274838401.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/60782/ft2_4FGL_J1040.5+0617_daily_bin136.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/60782/ft1_4FGL_J1040.5+0617_daily_bin136.fits outfile=/scratch/kocevski/60782/ft1_filteredMKT_4FGL_J1040.5+0617_daily_bin136.fits ra=160.15 dec=6.2848 rad=12.0 tmin=274579201.0 tmax=274838401.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.62 user 3.37 sys 0.22 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/60782/ft2_4FGL_J1040.5+0617_daily_bin136.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/60782/ft2_4FGL_J1040.5+0617_daily_bin136.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/60782/ft1_filteredMKT_4FGL_J1040.5+0617_daily_bin136.fits evtable="EVENTS" outfile="/scratch/kocevski/60782/ft1_filtered_4FGL_J1040.5+0617_daily_bin136.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.50 user 0.34 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/60782/ft1_filtered_4FGL_J1040.5+0617_daily_bin136.fits" evtable="EVENTS" scfile=/scratch/kocevski/60782/ft2_4FGL_J1040.5+0617_daily_bin136.fits sctable="SC_DATA" outfile=/scratch/kocevski/60782/ltcube_274579201_274838401_4FGL_J1040.5+0617_daily_bin136.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/60782/ft2_4FGL_J1040.5+0617_daily_bin136.fits .....................! real 13.79 user 13.38 sys 0.35 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/60782/ft1_filtered_4FGL_J1040.5+0617_daily_bin136.fits evtable="EVENTS" scfile=/scratch/kocevski/60782/ft2_4FGL_J1040.5+0617_daily_bin136.fits sctable="SC_DATA" expcube=/scratch/kocevski/60782/ltcube_274579201_274838401_4FGL_J1040.5+0617_daily_bin136.fits outfile=/scratch/kocevski/60782/expmap_274579201_274838401_4FGL_J1040.5+0617_daily_bin136.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/60782/ltcube_274579201_274838401_4FGL_J1040.5+0617_daily_bin136.fits .....................! real 191.37 user 186.70 sys 4.24 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 169 point sources and 0 extended sources Setting source of interest to: 4FGL J1040.5+0617 @ 160.15 6.2848 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/60782/ft1_filtered_4FGL_J1040.5+0617_daily_bin136.fits scfile=/scratch/kocevski/60782/ft2_4FGL_J1040.5+0617_daily_bin136.fits outfile=/scratch/kocevski/60782/cmap_274579201_274838401_4FGL_J1040.5+0617_daily_bin136.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=160.15 yref=6.2848 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.40 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/60782/ft1_filtered_4FGL_J1040.5+0617_daily_bin136.fits scfile=/scratch/kocevski/60782/ft2_4FGL_J1040.5+0617_daily_bin136.fits outfile=/scratch/kocevski/60782/cmap_HighResolution_274579201_274838401_4FGL_J1040.5+0617_daily_bin136.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=160.15 yref=6.2848 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.56 user 0.40 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/60782/ft1_filtered_4FGL_J1040.5+0617_daily_bin136.fits evtable="EVENTS" scfile=/scratch/kocevski/60782/ft2_4FGL_J1040.5+0617_daily_bin136.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/60782/Model_4FGL_J1040.5+0617_daily_bin136.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/60782/ft1_filtered_4FGL_J1040.5+0617_daily_bin136.fits.....................! real 65.45 user 64.12 sys 1.18 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/60782/ft1_filtered_4FGL_J1040.5+0617_daily_bin136.fits', '/scratch/kocevski/60782/ft2_4FGL_J1040.5+0617_daily_bin136.fits', expMap='/scratch/kocevski/60782/expmap_274579201_274838401_4FGL_J1040.5+0617_daily_bin136.fits', expCube='/scratch/kocevski/60782/ltcube_274579201_274838401_4FGL_J1040.5+0617_daily_bin136.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/60782/Model_4FGL_J1040.5+0617_daily_bin136.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1040.5+0617' 4FGL J1040.5+0617 Spectrum: PowerLaw 216 Prefactor: 2.877e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-12) 217 Index: 2.368e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 218 Scale: 8.643e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/60782/ft1_filtered_4FGL_J1040.5+0617_daily_bin136.fits Spacecraft file(s): /scratch/kocevski/60782/ft2_4FGL_J1040.5+0617_daily_bin136.fits Exposure map: /scratch/kocevski/60782/expmap_274579201_274838401_4FGL_J1040.5+0617_daily_bin136.fits Exposure cube: /scratch/kocevski/60782/ltcube_274579201_274838401_4FGL_J1040.5+0617_daily_bin136.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/60782/Model_4FGL_J1040.5+0617_daily_bin136.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) = 7171.74498876 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7171.73256711 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10098E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 3 'norm ' .10053E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' 9.7968 1.0000 .10000E-03 10000. 5 'Prefactor ' 65.487 1.0000 .10000E-03 10000. 6 'Prefactor ' 49.091 1.0000 .10000E-03 10000. 7 'Prefactor ' .10016E-03 1.0000 .10000E-03 10000. 8 'norm ' .51237 1.0000 .10000E-03 10000. 9 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 11 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' 12.727 1.0000 .10000E-03 10000. 13 'norm ' 3.3329 1.0000 .10000E-03 10000. 14 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 15 'norm ' .10071E-03 1.0000 .10000E-03 10000. 16 'Prefactor ' 14.790 1.0000 .10000E-03 10000. 17 'norm ' .74213 1.0000 .10000E-03 10000. 18 'Normalizat' .81421 1.0000 .10000E-01 10.000 19 'Prefactor ' 1.4231 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5360E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 7171.733 FROM MIGRAD STATUS=CONVERGED 384 CALLS 1946 TOTAL EDM= .70E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 4.7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 6.3783 .15392E-05** at limit ** 2 Prefactor .10000E-03 7.3037 -.32646E-07** at limit ** 3 norm .10000E-03 6.5272 .12289E-05** at limit ** 4 Prefactor 9.7928 13.273 .38899E-06 .79569E-04 5 Prefactor 65.570 82.083 .14195E-05 .51208E-04 6 Prefactor 49.102 63.500 -.44323E-06 .23416E-04 7 Prefactor .10000E-03 8.6833 .82084E-06** at limit ** 8 norm .51311 .99485 .26395E-06 .11936E-02 9 Prefactor .10000E-03 3.0192 -.33418E-06** at limit ** 10 Prefactor .10000E-03 1.1253 .11857E-06** at limit ** 11 Prefactor .10000E-03 3.3637 -.32909E-06** at limit ** 12 Prefactor 12.729 9.5107 .34511E-06 .83982E-04 13 norm 3.3328 .79637 .10300E-07 .44886E-03 14 Prefactor .10000E-03 8.7668 -.24955E-06** at limit ** 15 norm .10000E-03 .73920 -.34831E-06** at limit ** 16 Prefactor 14.791 16.759 .42834E-06 .56096E-04 17 norm .71985 11.579 .31854E-05 -.52720E-03 18 Normalizat .81377 .23068 -.56083E-05 -.75141E-05 19 Prefactor 1.4234 .19244 .37312E-05 .14261E-03 ERR DEF= .500 Final values: Prefactor = 0.000100001 Prefactor = 0.0001 norm = 0.000100001 Prefactor = 9.79279 Prefactor = 65.5697 Prefactor = 49.1025 Prefactor = 0.0001 norm = 0.513108 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 12.7288 norm = 3.33285 Prefactor = 0.0001 norm = 0.0001 Prefactor = 14.7908 norm = 0.719854 Normalizat = 0.81377 Prefactor = 1.42344 ********** ** 18 **HESSE ********** FCN= 7171.733 FROM HESSE STATUS=OK 270 CALLS 2216 TOTAL EDM= .55E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 6.5415 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 7.3047 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 norm .10000E-03 6.6218 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 9.7928 13.257 .12803E-03 -1.5082 5 Prefactor 65.570 82.050 .24797E-03 -1.4087 6 Prefactor 49.102 63.533 .57233E-04 -1.4305 7 Prefactor .10000E-03 8.7211 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .51311 .85580 .11527E-02 -1.5565 9 Prefactor .10000E-03 3.0831 .14388E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .10000E-03 1.1333 .87710E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .10000E-03 3.4050 .15163E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 12.729 9.4988 .11228E-03 -1.4994 13 norm 3.3328 .79432 .34709E-04 -1.5343 14 Prefactor .10000E-03 8.8283 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm .10000E-03 1.7349 .13603E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 14.791 16.762 .10415E-03 -1.4939 17 norm .71985 52.113 .42385E-02 -1.5538 18 Normalizat .81377 .23616 .32775E-03 -.99560 19 Prefactor 1.4234 .19832 .22612E-03 -.79707 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.47741e-09 Minuit parameter uncertainties: 1 0.000150528 2 1.5446e-06 3 0.000119846 4 13.2612 5 82.1924 6 63.6212 7 8.86772e-05 8 0.855819 9 2.28543e-05 10 5.35753e-06 11 1.81213e-05 12 9.49989 13 0.79432 14 3.07614e-05 15 1.96853e-05 16 16.767 17 12.26 18 0.236457 19 0.198423 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7171.73256238 Extracting fit parameters... 4FGL J1040.5+0617 Spectrum: PowerLaw 216 Prefactor: 1.000e-04 5.358e-06 1.000e-04 1.000e+04 ( 1.000e-12) 217 Index: 2.368e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 218 Scale: 8.643e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 533 Prefactor: 1.423e+00 1.984e-01 0.000e+00 1.000e+01 ( 1.000e+00) 534 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 535 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 532 Normalization: 8.138e-01 2.365e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 160.150 6.285 Photon Flux Upper Limit: 6.47e-08 ph cm-2 s-1 Energy Flux Upper Limit: 4.99e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/60782/likelihoodResults_274579201_274838401_4FGL_J1040.5+0617_daily_bin136.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) = 7171.73669437 delta logL = -0.00413199017476 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 7171.73256249 delta logL = -1.0929943528e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.3691 1.0000 .0000 10.000 3 'Normalizat' .81378 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.4235 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5360E+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= 7171.733 FROM MIGRAD STATUS=FAILED 90 CALLS 245 TOTAL EDM= .13E-06 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10004E-03 1.3192 .87712E-03** at limit ** 2 Index 2.3947 6.1429 .50000 -.66645E-05 3 Normalizat .81377 .22041 .32776E-03 .97467E-05 4 Prefactor 1.4234 .19592 .22612E-03 .10357E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 7171.733 FROM SIMPLEX STATUS=UNCHANGED 123 CALLS 368 TOTAL EDM= .52E-05 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10004E-03 1.3192 .85961E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.3947 6.1429 .71625E-03 -.54808 3 Normalizat .81377 .22041 .83371E-04 -.99560 4 Prefactor 1.4234 .19592 .63578E-04 -.79707 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. FCN= 7171.733 FROM MIGRAD STATUS=CONVERGED 7 CALLS 375 TOTAL EDM= .37E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 14.9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 1.1227 -.19376E-05** at limit ** 2 Index 2.4652 6.2261 .77624E-02 -.84585E-07 3 Normalizat .81377 .22012 .10727E-05 .15959E-03 4 Prefactor 1.4234 .19584 -.43554E-06 .13913E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Index = 2.46518 Normalizat = 0.813773 Prefactor = 1.42343 ********** ** 18 **HESSE ********** FCN= 7171.733 FROM HESSE STATUS=OK 29 CALLS 404 TOTAL EDM= .14E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 1.1700 .17542E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.4652 5.0319 .50000 -.53166 3 Normalizat .81377 .22064 .13110E-04 -.99560 4 Prefactor 1.4234 .19611 .90447E-05 -.79707 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.35556e-10 Minuit parameter uncertainties: 1 1.44894e-06 2 144.29 3 0.220879 4 0.196214 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/60782': 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) = 7171.73256228 delta logL = 1.01878868008e-07 Extracting fit parameters... 4FGL J1040.5+0617 Spectrum: PowerLaw 216 Prefactor: 1.000e-04 1.449e-06 1.000e-04 1.000e+04 ( 1.000e-12) 217 Index: 2.465e+00 1.443e+02 0.000e+00 1.000e+01 (-1.000e+00) 218 Scale: 8.643e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 533 Prefactor: 1.423e+00 1.962e-01 0.000e+00 1.000e+01 ( 1.000e+00) 534 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 535 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 532 Normalization: 8.138e-01 2.209e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 160.150 6.285 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/60782/cmap_HighResolution_274579201_274838401_4FGL_J1040.5+0617_daily_bin136.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/60782 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.99e-03', job_status='DONE', photon_flux_upper_limit='6.47e-08', time_completed='2021-09-02 08:18:23.187488', job_id='60782', GAL2='1.42', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1630595903.19', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.42', dlogl='1.02e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='136' AND source_name='4FGL J1040.5+0617' AND cadence='daily'; Database successfully updated. Analysis Complete. Thu Sep 2 08:18:23 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 60782: <4FGL_J1040.5+0617_daily_bin136> in cluster Done Job <4FGL_J1040.5+0617_daily_bin136> was submitted from host by user in cluster at Thu Sep 2 08:06:15 2021 Job was executed on host(s) , in queue , as user in cluster at Thu Sep 2 08:06:41 2021 was used as the home directory. was used as the working directory. Started at Thu Sep 2 08:06:41 2021 Terminated at Thu Sep 2 08:18:23 2021 Results reported at Thu Sep 2 08:18:23 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1040.5+0617_daily_bin136 160.15 6.2848 274579201 274838401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1040.5+0617 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 630.00 sec. Max Memory : 1093 MB Average Memory : 321.48 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 702 sec. Turnaround time : 728 sec. The output (if any) is above this job summary.