/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 42 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 = 7146 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1040.5+0617_daily_bin1598 RA = 160.15, Dec = 6.2848 tmin = 653529601, tmax = 653788801 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='724104', job_status='RUN', time_executed='2021-09-20 00:21:27.745494', time_epoch_executed='1632122487.75' WHERE source_name='4FGL J1040.5+0617' and cadence='daily' and bin_id='1598' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/724104 Creating custom pfile directory: /scratch/kocevski/724104/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=653529601.0 && nMetStart<653788801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=653529601.0 && nMetStart<653788801.0' /Data/Flight/Level1/LPA Retrieving 45 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/724104/ft1_4FGL_J1040.5+0617_daily_bin1598.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=653529601.0 && nMetStart<653788801.0' /Data/Flight/Level1/LPA Retrieving 45 files... Done. Merging files... Merged file saved to: /scratch/kocevski/724104/ft2_4FGL_J1040.5+0617_daily_bin1598.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/724104/ft1_4FGL_J1040.5+0617_daily_bin1598.fits outfile=/scratch/kocevski/724104/ft1_filteredMKT_4FGL_J1040.5+0617_daily_bin1598.fits ra=160.15 dec=6.2848 rad=12.0 tmin=653529601.0 tmax=653788801.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 5.07 user 4.82 sys 0.22 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/724104/ft2_4FGL_J1040.5+0617_daily_bin1598.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/724104/ft2_4FGL_J1040.5+0617_daily_bin1598.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/724104/ft1_filteredMKT_4FGL_J1040.5+0617_daily_bin1598.fits evtable="EVENTS" outfile="/scratch/kocevski/724104/ft1_filtered_4FGL_J1040.5+0617_daily_bin1598.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.33 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/724104/ft1_filtered_4FGL_J1040.5+0617_daily_bin1598.fits" evtable="EVENTS" scfile=/scratch/kocevski/724104/ft2_4FGL_J1040.5+0617_daily_bin1598.fits sctable="SC_DATA" outfile=/scratch/kocevski/724104/ltcube_653529601_653788801_4FGL_J1040.5+0617_daily_bin1598.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/724104/ft2_4FGL_J1040.5+0617_daily_bin1598.fits .....................! real 11.53 user 11.21 sys 0.29 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/724104/ft1_filtered_4FGL_J1040.5+0617_daily_bin1598.fits evtable="EVENTS" scfile=/scratch/kocevski/724104/ft2_4FGL_J1040.5+0617_daily_bin1598.fits sctable="SC_DATA" expcube=/scratch/kocevski/724104/ltcube_653529601_653788801_4FGL_J1040.5+0617_daily_bin1598.fits outfile=/scratch/kocevski/724104/expmap_653529601_653788801_4FGL_J1040.5+0617_daily_bin1598.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/724104/ltcube_653529601_653788801_4FGL_J1040.5+0617_daily_bin1598.fits .....................! real 190.33 user 185.13 sys 4.60 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Added 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/724104/ft1_filtered_4FGL_J1040.5+0617_daily_bin1598.fits scfile=/scratch/kocevski/724104/ft2_4FGL_J1040.5+0617_daily_bin1598.fits outfile=/scratch/kocevski/724104/cmap_653529601_653788801_4FGL_J1040.5+0617_daily_bin1598.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.13 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/724104/ft1_filtered_4FGL_J1040.5+0617_daily_bin1598.fits scfile=/scratch/kocevski/724104/ft2_4FGL_J1040.5+0617_daily_bin1598.fits outfile=/scratch/kocevski/724104/cmap_HighResolution_653529601_653788801_4FGL_J1040.5+0617_daily_bin1598.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.55 user 0.38 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/724104/ft1_filtered_4FGL_J1040.5+0617_daily_bin1598.fits evtable="EVENTS" scfile=/scratch/kocevski/724104/ft2_4FGL_J1040.5+0617_daily_bin1598.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/724104/Model_4FGL_J1040.5+0617_daily_bin1598.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/724104/ft1_filtered_4FGL_J1040.5+0617_daily_bin1598.fits.....................! real 51.56 user 50.19 sys 1.19 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/724104/ft1_filtered_4FGL_J1040.5+0617_daily_bin1598.fits', '/scratch/kocevski/724104/ft2_4FGL_J1040.5+0617_daily_bin1598.fits', expMap='/scratch/kocevski/724104/expmap_653529601_653788801_4FGL_J1040.5+0617_daily_bin1598.fits', expCube='/scratch/kocevski/724104/ltcube_653529601_653788801_4FGL_J1040.5+0617_daily_bin1598.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/724104/Model_4FGL_J1040.5+0617_daily_bin1598.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/724104/ft1_filtered_4FGL_J1040.5+0617_daily_bin1598.fits Spacecraft file(s): /scratch/kocevski/724104/ft2_4FGL_J1040.5+0617_daily_bin1598.fits Exposure map: /scratch/kocevski/724104/expmap_653529601_653788801_4FGL_J1040.5+0617_daily_bin1598.fits Exposure cube: /scratch/kocevski/724104/ltcube_653529601_653788801_4FGL_J1040.5+0617_daily_bin1598.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/724104/Model_4FGL_J1040.5+0617_daily_bin1598.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) = 5120.41150987 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5120.4104812 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 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 3 'norm ' .10000E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' 17.245 1.0000 .10000E-03 10000. 6 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' .10024E-03 1.0000 .10000E-03 10000. 8 'norm ' 8.4859 1.0000 .10000E-03 10000. 9 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' .10031E-03 1.0000 .10000E-03 10000. 11 'Prefactor ' 1.7560 1.0000 .10000E-03 10000. 12 'Prefactor ' .10986E-03 1.0000 .10000E-03 10000. 13 'norm ' .71930 1.0000 .10000E-03 10000. 14 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 15 'norm ' 1.4738 1.0000 .10000E-03 10000. 16 'Prefactor ' 48.014 1.0000 .10000E-03 10000. 17 'norm ' 35.262 1.0000 .10000E-03 10000. 18 'Normalizat' .93982 1.0000 .10000E-01 10.000 19 'Prefactor ' 1.3112 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= 5120.410 FROM MIGRAD STATUS=CONVERGED 370 CALLS 1844 TOTAL EDM= .34E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .6% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 4.1215 .66286E-06** at limit ** 2 Prefactor .10000E-03 21.743 -.82462E-05** at limit ** 3 norm .10000E-03 4.6631 .15970E-06** at limit ** 4 Prefactor .10000E-03 2.9967 -.64781E-08** at limit ** 5 Prefactor 17.243 53.763 -.48980E-05 -.76801E-06 6 Prefactor .10000E-03 20.512 .14386E-05** at limit ** 7 Prefactor .10000E-03 14.769 -.31774E-05** at limit ** 8 norm 8.4862 2.5974 -.59834E-07 .17330E-04 9 Prefactor .10000E-03 4.2945 -.98584E-06** at limit ** 10 Prefactor .10000E-03 2.2807 -.19354E-07** at limit ** 11 Prefactor 1.7569 4.7835 -.10948E-05 -.67654E-03 12 Prefactor .10000E-03 18.516 .94593E-05** at limit ** 13 norm .71895 .60124 -.35716E-07 -.84993E-03 14 Prefactor .10000E-03 5.5911 .23050E-06** at limit ** 15 norm 1.4740 1.1387 .59694E-07 .84665E-05 16 Prefactor 48.007 31.975 -.73774E-05 -.57117E-04 17 norm 35.264 16.391 .92515E-06 -.24593E-05 18 Normalizat .93962 .22976 .21999E-05 -.14871E-03 19 Prefactor 1.3112 .19694 -.11743E-07 -.60782E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.0001 Prefactor = 0.0001 Prefactor = 17.243 Prefactor = 0.0001 Prefactor = 0.0001 norm = 8.48617 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 1.75687 Prefactor = 0.0001 norm = 0.718947 Prefactor = 0.0001 norm = 1.47397 Prefactor = 48.0071 norm = 35.264 Normalizat = 0.939615 Prefactor = 1.31125 ********** ** 18 **HESSE ********** FCN= 5120.410 FROM HESSE STATUS=OK 264 CALLS 2108 TOTAL EDM= .68E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 4.1267 .14186E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 21.684 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 norm .10000E-03 4.6635 .15091E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .10000E-03 2.9977 .12096E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 17.243 53.909 .96445E-04 -1.4877 6 Prefactor .10000E-03 20.519 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .10000E-03 14.899 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm 8.4862 2.5979 .61017E-04 -1.5125 9 Prefactor .10000E-03 4.3138 .14480E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .10000E-03 2.3283 .10543E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 1.7569 4.8544 .25248E-03 -1.5443 12 Prefactor .10000E-03 18.871 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm .71895 .58049 .48682E-03 -1.5538 14 Prefactor .10000E-03 5.6078 .16509E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 1.4740 1.1360 .64725E-04 -1.5465 16 Prefactor 48.007 31.990 .57869E-04 -1.4321 17 norm 35.264 16.391 .67487E-04 -1.4520 18 Normalizat .93962 .27339 .30213E-03 -.95082 19 Prefactor 1.3112 .23569 .23352E-03 -.82973 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.77329e-10 Minuit parameter uncertainties: 1 9.35862e-08 2 1.92514e-06 3 2.71097e-06 4 1.91814e-06 5 54.0618 6 1.25919e-05 7 1.78447e-05 8 2.59797 9 4.36338e-06 10 3.83917e-06 11 4.85549 12 6.68324e-05 13 0.580492 14 5.5486e-06 15 1.13601 16 32.0013 17 16.3933 18 0.273797 19 0.235878 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5120.41047944 Extracting fit parameters... 4FGL J1040.5+0617 Spectrum: PowerLaw 216 Prefactor: 1.000e-04 3.839e-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.311e+00 2.359e-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: 9.396e-01 2.738e-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: 8.93e-08 ph cm-2 s-1 Energy Flux Upper Limit: 6.89e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/724104/likelihoodResults_653529601_653788801_4FGL_J1040.5+0617_daily_bin1598.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) = 5120.41252146 delta logL = -0.00204202331315 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 5120.41047932 delta logL = 1.18299794849e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10021E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.3861 1.0000 .0000 10.000 3 'Normalizat' .93962 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.3113 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= 5120.410 FROM MIGRAD STATUS=FAILED 90 CALLS 245 TOTAL EDM= .20E-07 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10001E-03 3.1127 .21350E-03** at limit ** 2 Index 2.4051 6.1860 .50000 -.72316E-04 3 Normalizat .93962 .25910 .30213E-03 -.13095E-03 4 Prefactor 1.3112 .23339 .23352E-03 -.40359E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 5120.410 FROM SIMPLEX STATUS=UNCHANGED 123 CALLS 368 TOTAL EDM= .13E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10001E-03 3.1127 .28815E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.4051 6.1860 .26110E-03 -.54566 3 Normalizat .93962 .25910 .26704E-04 -.95082 4 Prefactor 1.3112 .23339 .21375E-04 -.82973 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 5119.737 FROM MIGRAD STATUS=CONVERGED 148 CALLS 516 TOTAL EDM= .46E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .18354E-03 .46623E-02 .30458E-03** at limit ** 2 Index 7.8772 2.6521 .18235 .81794E-04 3 Normalizat .84240 .43661E-01 .12085E-03 -.21358E-03 4 Prefactor 1.3711 .39248E-01 .46704E-04 -.21801E-03 ERR DEF= .500 Final values: Prefactor = 0.000183536 Index = 7.87722 Normalizat = 0.842403 Prefactor = 1.37112 ********** ** 18 **HESSE ********** FCN= 5119.737 FROM HESSE STATUS=NOT POSDEF 31 CALLS 547 TOTAL EDM= .21E-06 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .18354E-03 .19454E-01 .13062E-04 -1.5706 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 7.8772 8.6191 .67507E-02 .61315 3 Normalizat .84240 .18814 .24171E-04 -.98515 4 Prefactor 1.3711 .16649 .93408E-05 -.81216 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 2.14387e-07 Minuit parameter uncertainties: 1 0.00254957 2 6.8405 3 0.188287 4 0.166555 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/724104': No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 5119.7367035 delta logL = 0.673775935643 Extracting fit parameters... 4FGL J1040.5+0617 Spectrum: PowerLaw 216 Prefactor: 1.835e-04 2.550e-03 1.000e-04 1.000e+04 ( 1.000e-12) 217 Index: 7.877e+00 6.841e+00 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.371e+00 1.666e-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.424e-01 1.883e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.46 Ra Dec: 160.150 6.285 Photon Index (Free Index): 7.88 +/- 6.84 Photon Flux (Free Index): 6.50e-08 +/- 5.91e-08 Energy Flux (Free Index): 7.56e-06 +/- 7.17e-06 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/724104/cmap_HighResolution_653529601_653788801_4FGL_J1040.5+0617_daily_bin1598.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/724104 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.89e-03', comment='SUCCESS', energy_flux2='7.56e-06', dlogl='6.74e-01', photon_flux2='6.50e-08', job_status='DONE', time_completed='2021-09-20 00:30:29.909578', photon_index_error2='6.84', photon_index2='7.88', ts='-0.00', fit_tolerance='1e-08', GAL='1.31', photon_index_error='0.00', photon_flux_upper_limit='8.93e-08', energy_flux_error2='7.17e-06', EG='0.94', time_epoch_completed='1632123029.91', return_code='0', job_id='724104', GAL2='1.37', EG2='0.84', return_code2='102', photon_flux_error2='5.91e-08', ts2='1.46', photon_index='2.37' WHERE bin_id='1598' AND source_name='4FGL J1040.5+0617' AND cadence='daily'; Database successfully updated. Analysis Complete. Mon Sep 20 00:30:29 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 724104: <4FGL_J1040.5+0617_daily_bin1598> in cluster Done Job <4FGL_J1040.5+0617_daily_bin1598> was submitted from host by user in cluster at Mon Sep 20 00:20:33 2021 Job was executed on host(s) , in queue , as user in cluster at Mon Sep 20 00:20:36 2021 was used as the home directory. was used as the working directory. Started at Mon Sep 20 00:20:36 2021 Terminated at Mon Sep 20 00:30:30 2021 Results reported at Mon Sep 20 00:30:30 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1040.5+0617_daily_bin1598 160.15 6.2848 653529601 653788801 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 : 544.00 sec. Max Memory : 1256 MB Average Memory : 327.71 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 594 sec. Turnaround time : 597 sec. The output (if any) is above this job summary.