/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 219 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 = 7483 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1158.5+4824_daily_bin222 RA = 179.637, Dec = 48.4161 tmin = 296870401, tmax = 297129601 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='195139', job_status='RUN', time_executed='2021-09-04 17:30:29.521679', time_epoch_executed='1630801829.52' WHERE source_name='4FGL J1158.5+4824' and cadence='daily' and bin_id='222' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/195139 Creating custom pfile directory: /scratch/kocevski/195139/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=296870401.0 && nMetStart<297129601.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=296870401.0 && nMetStart<297129601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/195139/ft1_4FGL_J1158.5+4824_daily_bin222.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=296870401.0 && nMetStart<297129601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/195139/ft2_4FGL_J1158.5+4824_daily_bin222.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/195139/ft1_4FGL_J1158.5+4824_daily_bin222.fits outfile=/scratch/kocevski/195139/ft1_filteredMKT_4FGL_J1158.5+4824_daily_bin222.fits ra=179.637 dec=48.4161 rad=12.0 tmin=296870401.0 tmax=297129601.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 2.69 user 2.50 sys 0.18 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/195139/ft2_4FGL_J1158.5+4824_daily_bin222.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/195139/ft2_4FGL_J1158.5+4824_daily_bin222.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/195139/ft1_filteredMKT_4FGL_J1158.5+4824_daily_bin222.fits evtable="EVENTS" outfile="/scratch/kocevski/195139/ft1_filtered_4FGL_J1158.5+4824_daily_bin222.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.42 user 0.26 sys 0.14 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/195139/ft1_filtered_4FGL_J1158.5+4824_daily_bin222.fits" evtable="EVENTS" scfile=/scratch/kocevski/195139/ft2_4FGL_J1158.5+4824_daily_bin222.fits sctable="SC_DATA" outfile=/scratch/kocevski/195139/ltcube_296870401_297129601_4FGL_J1158.5+4824_daily_bin222.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/195139/ft2_4FGL_J1158.5+4824_daily_bin222.fits .....................! real 8.72 user 8.41 sys 0.29 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/195139/ft1_filtered_4FGL_J1158.5+4824_daily_bin222.fits evtable="EVENTS" scfile=/scratch/kocevski/195139/ft2_4FGL_J1158.5+4824_daily_bin222.fits sctable="SC_DATA" expcube=/scratch/kocevski/195139/ltcube_296870401_297129601_4FGL_J1158.5+4824_daily_bin222.fits outfile=/scratch/kocevski/195139/expmap_296870401_297129601_4FGL_J1158.5+4824_daily_bin222.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/195139/ltcube_296870401_297129601_4FGL_J1158.5+4824_daily_bin222.fits .....................! real 139.68 user 136.23 sys 3.22 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/195139/ft1_filtered_4FGL_J1158.5+4824_daily_bin222.fits scfile=/scratch/kocevski/195139/ft2_4FGL_J1158.5+4824_daily_bin222.fits outfile=/scratch/kocevski/195139/cmap_296870401_297129601_4FGL_J1158.5+4824_daily_bin222.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.75 user 0.29 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/195139/ft1_filtered_4FGL_J1158.5+4824_daily_bin222.fits scfile=/scratch/kocevski/195139/ft2_4FGL_J1158.5+4824_daily_bin222.fits outfile=/scratch/kocevski/195139/cmap_HighResolution_296870401_297129601_4FGL_J1158.5+4824_daily_bin222.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.45 user 0.31 sys 0.12 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/195139/ft1_filtered_4FGL_J1158.5+4824_daily_bin222.fits evtable="EVENTS" scfile=/scratch/kocevski/195139/ft2_4FGL_J1158.5+4824_daily_bin222.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/195139/Model_4FGL_J1158.5+4824_daily_bin222.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/195139/ft1_filtered_4FGL_J1158.5+4824_daily_bin222.fits.....................! real 43.83 user 42.31 sys 0.99 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/195139/ft1_filtered_4FGL_J1158.5+4824_daily_bin222.fits', '/scratch/kocevski/195139/ft2_4FGL_J1158.5+4824_daily_bin222.fits', expMap='/scratch/kocevski/195139/expmap_296870401_297129601_4FGL_J1158.5+4824_daily_bin222.fits', expCube='/scratch/kocevski/195139/ltcube_296870401_297129601_4FGL_J1158.5+4824_daily_bin222.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/195139/Model_4FGL_J1158.5+4824_daily_bin222.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/195139/ft1_filtered_4FGL_J1158.5+4824_daily_bin222.fits Spacecraft file(s): /scratch/kocevski/195139/ft2_4FGL_J1158.5+4824_daily_bin222.fits Exposure map: /scratch/kocevski/195139/expmap_296870401_297129601_4FGL_J1158.5+4824_daily_bin222.fits Exposure cube: /scratch/kocevski/195139/ltcube_296870401_297129601_4FGL_J1158.5+4824_daily_bin222.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/195139/Model_4FGL_J1158.5+4824_daily_bin222.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) = 7029.73664858 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7029.38464646 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10070E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .10036E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' .10014E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' 57.200 1.0000 .10000E-03 10000. 6 'norm ' .10000E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' 5.5562 1.0000 .10000E-03 10000. 8 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 9 'norm ' 1.9336 1.0000 .10000E-03 10000. 10 'Prefactor ' 38.991 1.0000 .10000E-03 10000. 11 'norm ' .10039E-03 1.0000 .10000E-03 10000. 12 'norm ' 8.2167 1.0000 .10000E-03 10000. 13 'Prefactor ' 15.724 1.0000 .10000E-03 10000. 14 'Prefactor ' .10032E-03 1.0000 .10000E-03 10000. 15 'norm ' .10001E-03 1.0000 .10000E-03 10000. 16 'Prefactor ' .97690E-02 1.0000 .10000E-03 10000. 17 'norm ' 6.8520 1.0000 .10000E-03 10000. 18 'norm ' .10132E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' 3.3757 1.0000 .10000E-03 10000. 20 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 21 'Prefactor ' 30.178 1.0000 .10000E-03 10000. 22 'norm ' 3.2902 1.0000 .10000E-03 10000. 23 'Prefactor ' 23.408 1.0000 .10000E-03 10000. 24 'Normalizat' .90427 1.0000 .10000E-01 10.000 25 'Prefactor ' 1.1795 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. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 7029.385 FROM MIGRAD STATUS=CONVERGED 588 CALLS 3075 TOTAL EDM= .18E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 140.87 -.68955E-05** at limit ** 2 Prefactor .10000E-03 61.915 -.11573E-04** at limit ** 3 Prefactor .10000E-03 117.30 .36673E-04** at limit ** 4 Prefactor .10000E-03 56.684 .11583E-04** at limit ** 5 Prefactor 57.193 49.180 -.45039E-05 -.71617E-05 6 norm .10000E-03 12.008 .29168E-05** at limit ** 7 Prefactor 5.5561 5.9379 -.39073E-05 -.23142E-03 8 Prefactor .10000E-03 12.561 -.70024E-05** at limit ** 9 norm 1.9334 2.2481 .41516E-06 -.50687E-03 10 Prefactor 38.980 41.384 -.34671E-05 -.19142E-03 11 norm .10000E-03 .34912 .36230E-06** at limit ** 12 norm 8.2162 7.4115 .58128E-06 -.73527E-04 13 Prefactor 15.732 4.5952 .35007E-06 .11658E-03 14 Prefactor .10000E-03 12.975 .52812E-05** at limit ** 15 norm .10000E-03 4.7895 .37820E-06** at limit ** 16 Prefactor .10029E-03 9.6209 -.55080E-06** at limit ** 17 norm 6.8520 2.6133 .39883E-07 -.43554E-02 18 norm .10000E-03 3.5259 .78948E-08** at limit ** 19 Prefactor 3.3706 19.011 .37111E-05 -.81570E-04 20 Prefactor .10000E-03 3.4900 -.50223E-07** at limit ** 21 Prefactor 30.163 28.786 -.68274E-05 -.81954E-04 22 norm 3.2902 2.0181 .18528E-06 -.13594E-03 23 Prefactor 23.548 79.934 .22201E-03 .16178E-04 24 Normalizat .90419 .16505 -.14724E-05 -.29251E-03 25 Prefactor 1.1796 .19788 -.53650E-05 .46280E-04 ERR DEF= .500 Final values: Prefactor = 0.000100001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.000100001 Prefactor = 57.1925 norm = 0.0001 Prefactor = 5.55607 Prefactor = 0.0001 norm = 1.93339 Prefactor = 38.9795 norm = 0.0001 norm = 8.21616 Prefactor = 15.7318 Prefactor = 0.0001 norm = 0.0001 Prefactor = 0.000100293 norm = 6.85203 norm = 0.0001 Prefactor = 3.37062 Prefactor = 0.0001 Prefactor = 30.1631 norm = 3.2902 Prefactor = 23.5483 Normalizat = 0.904193 Prefactor = 1.1796 ********** ** 18 **HESSE ********** FCN= 7029.385 FROM HESSE STATUS=OK 427 CALLS 3502 TOTAL EDM= .71E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 141.80 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 61.942 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .10000E-03 117.68 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .10000E-03 56.942 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 57.193 49.184 .53042E-04 -1.4194 6 norm .10000E-03 12.009 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 5.5561 5.9473 .17044E-03 -1.5236 8 Prefactor .10000E-03 12.567 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 1.9334 2.2221 .12794E-03 -1.5430 10 Prefactor 38.980 39.882 .64189E-04 -1.4458 11 norm .10000E-03 .47631 .92479E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm 8.2162 7.4075 .13986E-03 -1.5135 13 Prefactor 15.732 4.3954 .88140E-04 -1.4914 14 Prefactor .10000E-03 12.978 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm .10000E-03 4.8988 .17913E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .10029E-03 70.799 .47779E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 6.8520 2.6172 .39659E-03 -1.5184 18 norm .10000E-03 3.5452 .15307E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 3.3706 18.754 .22023E-03 -1.5341 20 Prefactor .10000E-03 3.5591 .15294E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor 30.163 28.855 .72934E-04 -1.4609 22 norm 3.2902 2.0160 .90453E-04 -1.5345 23 Prefactor 23.548 79.648 .82791E-04 -1.4737 24 Normalizat .90419 .19524 .25031E-03 -.96313 25 Prefactor 1.1796 .23363 .28049E-03 -.86961 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 7.12057e-09 Minuit parameter uncertainties: 1 0.000673055 2 8.21459e-05 3 0.000212447 4 0.000343412 5 49.2194 6 5.02507e-06 7 5.9479 8 8.90017e-05 9 2.22221 10 39.9089 11 2.39376e-05 12 7.40837 13 4.39549 14 1.88751e-05 15 6.62595e-05 16 0.00912506 17 2.61726 18 5.0025e-06 19 15.9086 20 2.57383e-05 21 28.8684 22 2.01609 23 80.0109 24 0.195395 25 0.233839 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7029.3845754 Extracting fit parameters... 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 1.003e-04 9.125e-03 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: 1.180e+00 2.338e-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: 9.042e-01 1.954e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 179.637 48.416 Photon Flux Upper Limit: 6.88e-08 ph cm-2 s-1 Energy Flux Upper Limit: 5.33e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/195139/likelihoodResults_296870401_297129601_4FGL_J1158.5+4824_daily_bin222.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) = 7029.38464173 delta logL = -6.63278233333e-05 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 7029.38464172 delta logL = -6.63211485517e-05 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .96355E-02 1.0000 .10000E-03 10000. 2 'Index ' 2.4426 1.0000 .0000 10.000 3 'Normalizat' .90420 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1796 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. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 7029.385 FROM MIGRAD STATUS=FAILED 119 CALLS 282 TOTAL EDM= .68E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .14618E-03 6438.8 .58131E-02** at limit ** 2 Index 1.6216 .56675 .50000 -.73236E-05 3 Normalizat .90420 .15404 .25031E-03 -.24072E-05 4 Prefactor 1.1796 .19510 .28049E-03 -.80656E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 7029.377 FROM SIMPLEX STATUS=PROGRESS 150 CALLS 432 TOTAL EDM= .46E-05 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.5415 6438.8 .60968E-03 -1.5460 2 Index 1.6215 .56675 .89643E-06 -.74190 3 Normalizat .90417 .15404 .32370E-06 -.96314 4 Prefactor 1.1796 .19510 .14556E-06 -.86962 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 7029.374 FROM MIGRAD STATUS=CONVERGED 53 CALLS 485 TOTAL EDM= .75E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.9222 1719.1 .23252E-02 .15870E-04 2 Index 1.7702 6.8498 .50000 -.29245E-04 3 Normalizat .90549 .37679E-01 .10012E-04 -.32497E-03 4 Prefactor 1.1766 .45893E-01 .11220E-04 -.23062E-03 ERR DEF= .500 Final values: Prefactor = 1.92218 Index = 1.77021 Normalizat = 0.905494 Prefactor = 1.1766 ********** ** 18 **HESSE ********** FCN= 7029.374 FROM HESSE STATUS=OK 29 CALLS 514 TOTAL EDM= .13E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.9222 25.603 .93010E-04 -1.5431 2 Index 1.7702 2.0597 .24423E-01 -.70228 3 Normalizat .90549 .18336 .20025E-05 -.96267 4 Prefactor 1.1766 .23278 .22440E-05 -.87054 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.34965e-10 Minuit parameter uncertainties: 1 14.0374 2 2.17556 3 0.183485 4 0.232985 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/195139': 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) = 7029.37431174 delta logL = 0.0102636619713 Extracting fit parameters... 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 1.922e+00 1.404e+01 1.000e-04 1.000e+04 ( 1.000e-13) 350 Index: 1.770e+00 2.176e+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: 1.177e+00 2.330e-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: 9.055e-01 1.835e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 179.637 48.416 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/195139/cmap_HighResolution_296870401_297129601_4FGL_J1158.5+4824_daily_bin222.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/195139 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.33e-03', job_status='DONE', photon_flux_upper_limit='6.88e-08', time_completed='2021-09-04 17:41:22.502105', job_id='195139', GAL2='1.18', fit_tolerance='1e-08', EG2='0.91', EG='0.90', time_epoch_completed='1630802482.5', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='1.03e-02', ts2='0.02', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='222' AND source_name='4FGL J1158.5+4824' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Sep 4 17:41:22 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 195139: <4FGL_J1158.5+4824_daily_bin222> in cluster Done Job <4FGL_J1158.5+4824_daily_bin222> was submitted from host by user in cluster at Sat Sep 4 17:26:39 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Sep 4 17:26:41 2021 was used as the home directory. was used as the working directory. Started at Sat Sep 4 17:26:41 2021 Terminated at Sat Sep 4 17:41:23 2021 Results reported at Sat Sep 4 17:41:23 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1158.5+4824_daily_bin222 179.637 48.4161 296870401 297129601 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 : 647.35 sec. Max Memory : 1258 MB Average Memory : 267.11 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 881 sec. Turnaround time : 884 sec. The output (if any) is above this job summary.