/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 56 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 = 7470 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1158.5+4824_daily_bin694 RA = 179.637, Dec = 48.4161 tmin = 419212801, tmax = 419472001 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='197839', job_status='RUN', time_executed='2021-09-04 17:37:40.688114', time_epoch_executed='1630802260.69' WHERE source_name='4FGL J1158.5+4824' and cadence='daily' and bin_id='694' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/197839 Creating custom pfile directory: /scratch/kocevski/197839/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=419212801.0 && nMetStart<419472001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=419212801.0 && nMetStart<419472001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/197839/ft1_4FGL_J1158.5+4824_daily_bin694.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=419212801.0 && nMetStart<419472001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/197839/ft2_4FGL_J1158.5+4824_daily_bin694.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/197839/ft1_4FGL_J1158.5+4824_daily_bin694.fits outfile=/scratch/kocevski/197839/ft1_filteredMKT_4FGL_J1158.5+4824_daily_bin694.fits ra=179.637 dec=48.4161 rad=12.0 tmin=419212801.0 tmax=419472001.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.47 user 5.17 sys 0.22 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/197839/ft2_4FGL_J1158.5+4824_daily_bin694.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/197839/ft2_4FGL_J1158.5+4824_daily_bin694.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/197839/ft1_filteredMKT_4FGL_J1158.5+4824_daily_bin694.fits evtable="EVENTS" outfile="/scratch/kocevski/197839/ft1_filtered_4FGL_J1158.5+4824_daily_bin694.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/197839/ft1_filtered_4FGL_J1158.5+4824_daily_bin694.fits" evtable="EVENTS" scfile=/scratch/kocevski/197839/ft2_4FGL_J1158.5+4824_daily_bin694.fits sctable="SC_DATA" outfile=/scratch/kocevski/197839/ltcube_419212801_419472001_4FGL_J1158.5+4824_daily_bin694.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/197839/ft2_4FGL_J1158.5+4824_daily_bin694.fits .....................! real 12.25 user 11.82 sys 0.32 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/197839/ft1_filtered_4FGL_J1158.5+4824_daily_bin694.fits evtable="EVENTS" scfile=/scratch/kocevski/197839/ft2_4FGL_J1158.5+4824_daily_bin694.fits sctable="SC_DATA" expcube=/scratch/kocevski/197839/ltcube_419212801_419472001_4FGL_J1158.5+4824_daily_bin694.fits outfile=/scratch/kocevski/197839/expmap_419212801_419472001_4FGL_J1158.5+4824_daily_bin694.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/197839/ltcube_419212801_419472001_4FGL_J1158.5+4824_daily_bin694.fits .....................! real 192.40 user 185.55 sys 5.31 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 213 point sources and 0 extended sources Setting source of interest to: 4FGL J1158.5+4824 @ 179.637 48.4161 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/197839/ft1_filtered_4FGL_J1158.5+4824_daily_bin694.fits scfile=/scratch/kocevski/197839/ft2_4FGL_J1158.5+4824_daily_bin694.fits outfile=/scratch/kocevski/197839/cmap_419212801_419472001_4FGL_J1158.5+4824_daily_bin694.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=179.637 yref=48.4161 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.35 sys 0.17 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/197839/ft1_filtered_4FGL_J1158.5+4824_daily_bin694.fits scfile=/scratch/kocevski/197839/ft2_4FGL_J1158.5+4824_daily_bin694.fits outfile=/scratch/kocevski/197839/cmap_HighResolution_419212801_419472001_4FGL_J1158.5+4824_daily_bin694.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=179.637 yref=48.4161 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.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/197839/ft1_filtered_4FGL_J1158.5+4824_daily_bin694.fits evtable="EVENTS" scfile=/scratch/kocevski/197839/ft2_4FGL_J1158.5+4824_daily_bin694.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/197839/Model_4FGL_J1158.5+4824_daily_bin694.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/197839/ft1_filtered_4FGL_J1158.5+4824_daily_bin694.fits.....................! real 45.15 user 43.53 sys 1.18 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/197839/ft1_filtered_4FGL_J1158.5+4824_daily_bin694.fits', '/scratch/kocevski/197839/ft2_4FGL_J1158.5+4824_daily_bin694.fits', expMap='/scratch/kocevski/197839/expmap_419212801_419472001_4FGL_J1158.5+4824_daily_bin694.fits', expCube='/scratch/kocevski/197839/ltcube_419212801_419472001_4FGL_J1158.5+4824_daily_bin694.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/197839/Model_4FGL_J1158.5+4824_daily_bin694.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1158.5+4824' 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 5.005e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 350 Index: 2.443e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 351 Scale: 9.466e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/197839/ft1_filtered_4FGL_J1158.5+4824_daily_bin694.fits Spacecraft file(s): /scratch/kocevski/197839/ft2_4FGL_J1158.5+4824_daily_bin694.fits Exposure map: /scratch/kocevski/197839/expmap_419212801_419472001_4FGL_J1158.5+4824_daily_bin694.fits Exposure cube: /scratch/kocevski/197839/ltcube_419212801_419472001_4FGL_J1158.5+4824_daily_bin694.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/197839/Model_4FGL_J1158.5+4824_daily_bin694.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) = 4961.89363704 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 4961.8737785 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 47.507 1.0000 .10000E-03 10000. 2 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 6 'norm ' 83.437 1.0000 .10000E-03 10000. 7 'Prefactor ' 2.3403 1.0000 .10000E-03 10000. 8 'Prefactor ' 9.3838 1.0000 .10000E-03 10000. 9 'norm ' .10004E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' 24.954 1.0000 .10000E-03 10000. 11 'norm ' 5.3964 1.0000 .10000E-03 10000. 12 'norm ' 17.694 1.0000 .10000E-03 10000. 13 'Prefactor ' .18488E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' 247.45 1.0000 .10000E-03 10000. 15 'norm ' .10000E-03 1.0000 .10000E-03 10000. 16 'Prefactor ' 5.2785 1.0000 .10000E-03 10000. 17 'norm ' 1.8156 1.0000 .10000E-03 10000. 18 'norm ' 8.4067 1.0000 .10000E-03 10000. 19 'Prefactor ' .10022E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 21 'Prefactor ' 1.9849 1.0000 .10000E-03 10000. 22 'norm ' 2.4203 1.0000 .10000E-03 10000. 23 'Prefactor ' 36.904 1.0000 .10000E-03 10000. 24 'Normalizat' 1.0845 1.0000 .10000E-01 10.000 25 'Prefactor ' .58070 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6830E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 4961.874 FROM MIGRAD STATUS=CONVERGED 69 CALLS 2372 TOTAL EDM= .80E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 47.507 1.0012 -.12253E-08 .35919E-03 2 Prefactor .10122E-03 7.9118 .11084E-05** at limit ** 3 Prefactor .10114E-03 7.9894 .11034E-05** at limit ** 4 Prefactor .10085E-03 20.876 .45646E-06** at limit ** 5 Prefactor .10224E-03 19.004 .59064E-06** at limit ** 6 norm 83.438 1.0060 .23834E-08 -.12345E-02 7 Prefactor 2.3403 4.4736 .23611E-06 .14972E-02 8 Prefactor 9.3836 1.0061 .12297E-08 .18116E-03 9 norm .10000E-03 .80568 -.68198E-06** at limit ** 10 Prefactor 24.956 1.0557 .12086E-07 -.20403E-02 11 norm 5.3965 1.6037 -.90806E-07 -.27142E-03 12 norm 17.694 1.0015 .48703E-09 -.50134E-04 13 Prefactor .10000E-03 13.341 -.33484E-05** at limit ** 14 Prefactor 247.45 1.0046 -.12836E-08 .17642E-02 15 norm .10000E-03 2.5032 .46884E-06** at limit ** 16 Prefactor 5.2762 1.5938 .38547E-07 -.13765E-02 17 norm 1.8155 1.8692 .67950E-07 .13569E-03 18 norm 8.4061 1.0440 -.31175E-07 .74458E-03 19 Prefactor .10000E-03 13.076 .86499E-06** at limit ** 20 Prefactor .10000E-03 1.7688 .50132E-06** at limit ** 21 Prefactor 1.9862 1.0413 .89451E-08 -.16172E-03 22 norm 2.4203 1.8605 -.45913E-07 -.67958E-04 23 Prefactor 36.904 1.0016 -.16616E-08 .36211E-03 24 Normalizat 1.0845 .18857 -.66849E-06 .22853E-03 25 Prefactor .58062 .22596 .28553E-05 .18970E-03 ERR DEF= .500 Final values: Prefactor = 47.5068 Prefactor = 0.000101217 Prefactor = 0.000101144 Prefactor = 0.000100853 Prefactor = 0.000102245 norm = 83.4377 Prefactor = 2.34029 Prefactor = 9.38358 norm = 0.0001 Prefactor = 24.9562 norm = 5.39655 norm = 17.6942 Prefactor = 0.000100003 Prefactor = 247.449 norm = 0.0001 Prefactor = 5.27625 norm = 1.81551 norm = 8.40609 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 1.98622 norm = 2.42033 Prefactor = 36.9042 Normalizat = 1.08454 Prefactor = 0.580625 ********** ** 18 **HESSE ********** FCN= 4961.874 FROM HESSE STATUS=OK 487 CALLS 2859 TOTAL EDM= .21E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 47.507 62.092 .14544E-02 -1.4328 2 Prefactor .10122E-03 34.728 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .10114E-03 32.062 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .10085E-03 26.617 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10224E-03 43.337 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm 83.438 53.744 .10994E-02 -1.3879 7 Prefactor 2.3403 4.5490 .67003E-02 -1.5402 8 Prefactor 9.3836 20.159 .32707E-02 -1.5095 9 norm .10000E-03 .80204 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 24.956 39.835 .20048E-02 -1.4708 11 norm 5.3965 1.7943 .43247E-02 -1.5243 12 norm 17.694 12.814 .23804E-02 -1.4866 13 Prefactor .10000E-03 1.3341 .42451E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 247.45 92.674 .64372E-03 -1.2549 15 norm .10000E-03 2.4988 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 5.2762 15.837 .43736E-02 -1.5249 17 norm 1.8155 1.8854 .77497E-02 -1.5438 18 norm 8.4061 9.1630 .34566E-02 -1.5128 19 Prefactor .10000E-03 39.314 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .10000E-03 1.7676 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor 1.9862 58.750 .73536E-02 -1.5426 22 norm 2.4203 1.8620 .65773E-02 -1.5397 23 Prefactor 36.904 82.468 .16493E-02 -1.4492 24 Normalizat 1.0845 .17018 .38669E-01 -.90250 25 Prefactor .58062 .20019 .73607E-01 -1.0841 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.1329e-07 Minuit parameter uncertainties: 1 62.1772 2 0.0130121 3 0.0121193 4 0.00953494 5 0.01974 6 53.7753 7 4.54964 8 20.1741 9 1.34794e-05 10 39.8772 11 1.79427 12 12.8164 13 0.000123976 14 92.7288 15 1.76033e-05 16 15.8499 17 1.88545 18 9.16452 19 3.7413e-06 20 1.46384e-05 21 21.6275 22 1.86201 23 82.7247 24 0.170262 25 0.200437 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 4961.87377528 Extracting fit parameters... 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 5.276e+00 1.585e+01 1.000e-04 1.000e+04 ( 1.000e-13) 350 Index: 2.443e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 351 Scale: 9.466e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 680 Prefactor: 5.806e-01 2.004e-01 0.000e+00 1.000e+01 ( 1.000e+00) 681 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 682 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 679 Normalization: 1.085e+00 1.703e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.14 Ra Dec: 179.637 48.416 Photon Flux Upper Limit: 7.58e-08 ph cm-2 s-1 Energy Flux Upper Limit: 5.87e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/197839/likelihoodResults_419212801_419472001_4FGL_J1158.5+4824_daily_bin694.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 4961.82377767 delta logL = 0.0499976117189 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 4961.81089997 delta logL = 0.0628753099354 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 3.1679 1.0000 .10000E-03 10000. 2 'Index ' 3.0880 1.0000 .0000 10.000 3 'Normalizat' 1.0758 1.0000 .10000E-01 10.000 4 'Prefactor ' .58674 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6830E+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= 4961.811 FROM MIGRAD STATUS=FAILED 100 CALLS 260 TOTAL EDM= .50E-06 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.1640 1154.6 .11385E-02 .40320E-03 2 Index 3.0890 8.3654 .94795E-02 .21497E-03 3 Normalizat 1.0758 .21694 .20128E-03 .50156E-04 4 Prefactor .58672 .29341 .32430E-03 .22822E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 4961.811 FROM SIMPLEX STATUS=UNCHANGED 100 CALLS 360 TOTAL EDM= .18E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 3.1640 1154.6 .42459E-03 -1.5352 2 Index 3.0890 8.3654 .20482E-02 -.39217 3 Normalizat 1.0758 .21694 .12374E-03 -.90532 4 Prefactor .58672 .29341 .20414E-03 -1.0815 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 4961.811 FROM MIGRAD STATUS=CONVERGED 33 CALLS 393 TOTAL EDM= .27E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.1640 13.589 .22770E-03 -.54421E-05 2 Index 3.0890 2.1672 .18959E-02 -.92945E-06 3 Normalizat 1.0758 .18720 .80511E-05 .50269E-04 4 Prefactor .58672 .22668 .12972E-04 .22787E-04 ERR DEF= .500 Final values: Prefactor = 3.16399 Index = 3.08903 Normalizat = 1.07582 Prefactor = 0.586721 ********** ** 18 **HESSE ********** FCN= 4961.811 FROM HESSE STATUS=OK 23 CALLS 416 TOTAL EDM= .27E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 3.1640 11.948 .91082E-05 -1.5352 2 Index 3.0890 1.9884 .75836E-04 -.39217 3 Normalizat 1.0758 .18743 .16102E-05 -.90532 4 Prefactor .58672 .22686 .25944E-05 -1.0815 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.68151e-12 Minuit parameter uncertainties: 1 11.9572 2 2.05549 3 0.187545 4 0.227209 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/197839': 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) = 4961.8108998 delta logL = 0.0628754774916 Extracting fit parameters... 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 3.164e+00 1.196e+01 1.000e-04 1.000e+04 ( 1.000e-13) 350 Index: 3.089e+00 2.055e+00 0.000e+00 1.000e+01 (-1.000e+00) 351 Scale: 9.466e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 680 Prefactor: 5.867e-01 2.272e-01 0.000e+00 1.000e+01 ( 1.000e+00) 681 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 682 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 679 Normalization: 1.076e+00 1.875e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.14 Ra Dec: 179.637 48.416 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/197839/cmap_HighResolution_419212801_419472001_4FGL_J1158.5+4824_daily_bin694.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/197839 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.87e-03', job_status='DONE', photon_flux_upper_limit='7.58e-08', time_completed='2021-09-04 17:49:16.622583', job_id='197839', GAL2='0.59', fit_tolerance='1e-08', EG2='1.08', EG='1.08', time_epoch_completed='1630802956.62', return_code2='0', ts='0.14', comment='SUCCESS', return_code='0', GAL='0.58', dlogl='6.29e-02', ts2='0.28', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='694' AND source_name='4FGL J1158.5+4824' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Sep 4 17:49:16 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 197839: <4FGL_J1158.5+4824_daily_bin694> in cluster Done Job <4FGL_J1158.5+4824_daily_bin694> was submitted from host by user in cluster at Sat Sep 4 17:36:26 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Sep 4 17:36:28 2021 was used as the home directory. was used as the working directory. Started at Sat Sep 4 17:36:28 2021 Terminated at Sat Sep 4 17:49:17 2021 Results reported at Sat Sep 4 17:49:17 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1158.5+4824_daily_bin694 179.637 48.4161 419212801 419472001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1158.5+4824 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 690.51 sec. Max Memory : 1095 MB Average Memory : 314.00 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 768 sec. Turnaround time : 771 sec. The output (if any) is above this job summary.