/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 48 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 = 7523 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1158.5+4824_daily_bin815 RA = 179.637, Dec = 48.4161 tmin = 450576001, tmax = 450835201 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='198030', job_status='RUN', time_executed='2021-09-04 17:37:44.971057', time_epoch_executed='1630802264.97' WHERE source_name='4FGL J1158.5+4824' and cadence='daily' and bin_id='815' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/198030 Creating custom pfile directory: /scratch/kocevski/198030/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=450576001.0 && nMetStart<450835201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=450576001.0 && nMetStart<450835201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/198030/ft1_4FGL_J1158.5+4824_daily_bin815.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=450576001.0 && nMetStart<450835201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/198030/ft2_4FGL_J1158.5+4824_daily_bin815.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/198030/ft1_4FGL_J1158.5+4824_daily_bin815.fits outfile=/scratch/kocevski/198030/ft1_filteredMKT_4FGL_J1158.5+4824_daily_bin815.fits ra=179.637 dec=48.4161 rad=12.0 tmin=450576001.0 tmax=450835201.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.50 user 3.28 sys 0.20 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/198030/ft2_4FGL_J1158.5+4824_daily_bin815.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/198030/ft2_4FGL_J1158.5+4824_daily_bin815.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/198030/ft1_filteredMKT_4FGL_J1158.5+4824_daily_bin815.fits evtable="EVENTS" outfile="/scratch/kocevski/198030/ft1_filtered_4FGL_J1158.5+4824_daily_bin815.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.32 sys 0.16 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/198030/ft1_filtered_4FGL_J1158.5+4824_daily_bin815.fits" evtable="EVENTS" scfile=/scratch/kocevski/198030/ft2_4FGL_J1158.5+4824_daily_bin815.fits sctable="SC_DATA" outfile=/scratch/kocevski/198030/ltcube_450576001_450835201_4FGL_J1158.5+4824_daily_bin815.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/198030/ft2_4FGL_J1158.5+4824_daily_bin815.fits .....................! real 11.78 user 11.39 sys 0.34 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/198030/ft1_filtered_4FGL_J1158.5+4824_daily_bin815.fits evtable="EVENTS" scfile=/scratch/kocevski/198030/ft2_4FGL_J1158.5+4824_daily_bin815.fits sctable="SC_DATA" expcube=/scratch/kocevski/198030/ltcube_450576001_450835201_4FGL_J1158.5+4824_daily_bin815.fits outfile=/scratch/kocevski/198030/expmap_450576001_450835201_4FGL_J1158.5+4824_daily_bin815.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/198030/ltcube_450576001_450835201_4FGL_J1158.5+4824_daily_bin815.fits .....................! real 190.67 user 185.85 sys 4.44 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/198030/ft1_filtered_4FGL_J1158.5+4824_daily_bin815.fits scfile=/scratch/kocevski/198030/ft2_4FGL_J1158.5+4824_daily_bin815.fits outfile=/scratch/kocevski/198030/cmap_450576001_450835201_4FGL_J1158.5+4824_daily_bin815.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.36 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/198030/ft1_filtered_4FGL_J1158.5+4824_daily_bin815.fits scfile=/scratch/kocevski/198030/ft2_4FGL_J1158.5+4824_daily_bin815.fits outfile=/scratch/kocevski/198030/cmap_HighResolution_450576001_450835201_4FGL_J1158.5+4824_daily_bin815.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.54 user 0.39 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/198030/ft1_filtered_4FGL_J1158.5+4824_daily_bin815.fits evtable="EVENTS" scfile=/scratch/kocevski/198030/ft2_4FGL_J1158.5+4824_daily_bin815.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/198030/Model_4FGL_J1158.5+4824_daily_bin815.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/198030/ft1_filtered_4FGL_J1158.5+4824_daily_bin815.fits.....................! real 49.76 user 48.51 sys 1.10 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/198030/ft1_filtered_4FGL_J1158.5+4824_daily_bin815.fits', '/scratch/kocevski/198030/ft2_4FGL_J1158.5+4824_daily_bin815.fits', expMap='/scratch/kocevski/198030/expmap_450576001_450835201_4FGL_J1158.5+4824_daily_bin815.fits', expCube='/scratch/kocevski/198030/ltcube_450576001_450835201_4FGL_J1158.5+4824_daily_bin815.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/198030/Model_4FGL_J1158.5+4824_daily_bin815.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/198030/ft1_filtered_4FGL_J1158.5+4824_daily_bin815.fits Spacecraft file(s): /scratch/kocevski/198030/ft2_4FGL_J1158.5+4824_daily_bin815.fits Exposure map: /scratch/kocevski/198030/expmap_450576001_450835201_4FGL_J1158.5+4824_daily_bin815.fits Exposure cube: /scratch/kocevski/198030/ltcube_450576001_450835201_4FGL_J1158.5+4824_daily_bin815.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/198030/Model_4FGL_J1158.5+4824_daily_bin815.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) = 5745.91258206 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5745.89768616 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .10106E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 120.00 1.0000 .10000E-03 10000. 4 'Prefactor ' 3.4875 1.0000 .10000E-03 10000. 5 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 6 'norm ' .10000E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' 7.2888 1.0000 .10000E-03 10000. 8 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 9 'norm ' 5.5324 1.0000 .10000E-03 10000. 10 'Prefactor ' 53.887 1.0000 .10000E-03 10000. 11 'norm ' 1.1013 1.0000 .10000E-03 10000. 12 'norm ' .10002E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' 4.4455 1.0000 .10000E-03 10000. 14 'Prefactor ' 22.314 1.0000 .10000E-03 10000. 15 'norm ' .10001E-03 1.0000 .10000E-03 10000. 16 'Prefactor ' 26.458 1.0000 .10000E-03 10000. 17 'norm ' .55587 1.0000 .10000E-03 10000. 18 'norm ' .10004E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' .10029E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' .10300E-03 1.0000 .10000E-03 10000. 21 'Prefactor ' 25.697 1.0000 .10000E-03 10000. 22 'norm ' .18803 1.0000 .10000E-03 10000. 23 'Prefactor ' 5.4002 1.0000 .10000E-03 10000. 24 'Normalizat' .90859 1.0000 .10000E-01 10.000 25 'Prefactor ' .81610 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= 5745.898 FROM MIGRAD STATUS=CONVERGED 580 CALLS 2977 TOTAL EDM= .15E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .8% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 19.442 -.32844E-06** at limit ** 2 Prefactor .10000E-03 71.791 -.12872E-05** at limit ** 3 Prefactor 119.97 116.00 .29072E-06 -.18254E-04 4 Prefactor 3.3929 149.17 -.50232E-05 -.41394E-04 5 Prefactor .10000E-03 17.168 -.13140E-06** at limit ** 6 norm .10000E-03 14.764 .74246E-07** at limit ** 7 Prefactor 7.2880 5.3062 .13643E-05 -.91359E-04 8 Prefactor .10000E-03 8.6584 -.48973E-07** at limit ** 9 norm 5.5330 3.0701 .45199E-07 -.40840E-04 10 Prefactor 53.896 46.733 -.32870E-06 .10186E-04 11 norm 1.0997 1.0095 .20028E-06 .80069E-04 12 norm .10000E-03 3.3103 .11804E-06** at limit ** 13 Prefactor 4.4448 3.9924 .16013E-06 -.80731E-04 14 Prefactor 22.320 32.425 .58186E-07 .71690E-05 15 norm .10000E-03 4.7195 .34002E-06** at limit ** 16 Prefactor 26.457 20.276 -.91556E-08 -.26198E-04 17 norm .55568 1.6061 .98926E-06 -.43024E-04 18 norm .10000E-03 1.9808 .16740E-06** at limit ** 19 Prefactor .10000E-03 6.9165 .26078E-06** at limit ** 20 Prefactor .10000E-03 2.4955 .66876E-06** at limit ** 21 Prefactor 25.691 19.002 .28537E-07 -.45748E-04 22 norm .18850 1.7931 .21373E-05 -.13511E-03 23 Prefactor 5.3912 70.279 .13876E-05 -.60605E-05 24 Normalizat .90882 .15527 .45794E-06 -.36670E-03 25 Prefactor .81585 .18258 -.34606E-05 -.13775E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 119.966 Prefactor = 3.3929 Prefactor = 0.0001 norm = 0.0001 Prefactor = 7.28799 Prefactor = 0.0001 norm = 5.53299 Prefactor = 53.8964 norm = 1.09971 norm = 0.0001 Prefactor = 4.44482 Prefactor = 22.3202 norm = 0.0001 Prefactor = 26.4572 norm = 0.555682 norm = 0.0001 Prefactor = 0.0001 Prefactor = 0.000100001 Prefactor = 25.6908 norm = 0.188505 Prefactor = 5.39118 Normalizat = 0.908821 Prefactor = 0.815847 ********** ** 18 **HESSE ********** FCN= 5745.898 FROM HESSE STATUS=OK 431 CALLS 3408 TOTAL EDM= .41E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 19.443 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 71.828 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 119.97 116.18 .18368E-03 -1.3513 4 Prefactor 3.3929 153.51 .21652E-03 -1.5340 5 Prefactor .10000E-03 17.169 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .10000E-03 14.768 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 7.2880 5.3426 .71851E-03 -1.5168 8 Prefactor .10000E-03 8.6620 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 5.5330 3.0656 .93203E-04 -1.5237 10 Prefactor 53.896 46.300 .54640E-04 -1.4238 11 norm 1.0997 .99092 .64079E-04 -1.5498 12 norm .10000E-03 3.3152 .13469E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 4.4448 3.9809 .12352E-03 -1.5286 14 Prefactor 22.320 32.370 .84794E-04 -1.4763 15 norm .10000E-03 4.8694 .32158E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 26.457 20.231 .77882E-04 -1.4679 17 norm .55568 1.6128 .15359E-03 -1.5559 18 norm .10000E-03 1.9917 .10419E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .10000E-03 6.9363 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .10000E-03 4.6693 .23130E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor 25.691 19.054 .79025E-04 -1.4694 22 norm .18850 1.8389 .19423E-03 -1.5621 23 Prefactor 5.3912 70.402 .17293E-03 -1.5244 24 Normalizat .90882 .17954 .21077E-03 -.96151 25 Prefactor .81585 .20744 .27279E-03 -.99147 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.11117e-10 Minuit parameter uncertainties: 1 4.86214e-06 2 0.000182266 3 116.401 4 45.7695 5 1.37691e-05 6 2.73151e-05 7 5.34291 8 1.40159e-05 9 3.06569 10 46.3313 11 0.990935 12 2.13394e-06 13 3.98116 14 32.3958 15 1.8443e-08 16 20.2365 17 1.61291 18 1.32882e-06 19 7.9003e-06 20 0.000112079 21 19.0585 22 1.17725 23 39.0201 24 0.179659 25 0.207636 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5745.8976815 Extracting fit parameters... 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 2.646e+01 2.024e+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: 8.158e-01 2.076e-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.088e-01 1.797e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 3.99 Ra Dec: 179.637 48.416 Photon Index (Fixed Index): 2.44 +/- 0.00 Photon Flux (Fixed Index): 4.45e-08 +/- 3.40e-08 Energy Flux (Fixed Index): 1.38e-05 +/- 1.06e-05 TS (Fixed Index): 3.99 Ra Dec: 179.637 48.416 Photon Flux Upper Limit: 1.12e-07 ph cm-2 s-1 Energy Flux Upper Limit: 8.71e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/198030/likelihoodResults_450576001_450835201_4FGL_J1158.5+4824_daily_bin815.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) = 5745.89273697 delta logL = 0.00494453442843 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 5745.88979549 delta logL = 0.00788600969645 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 28.166 1.0000 .10000E-03 10000. 2 'Index ' 2.3681 1.0000 .0000 10.000 3 'Normalizat' .91184 1.0000 .10000E-01 10.000 4 'Prefactor ' .81330 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. FCN= 5745.890 FROM MIGRAD STATUS=CONVERGED 95 CALLS 251 TOTAL EDM= .32E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 28.166 24.374 .75489E-04 -.14539E-03 2 Index 2.3688 .59994 .70683E-02 -.16658E-04 3 Normalizat .91165 .16775 .21048E-03 -.51852E-04 4 Prefactor .81353 .20598 .27314E-03 -.37502E-04 ERR DEF= .500 Final values: Prefactor = 28.1663 Index = 2.36878 Normalizat = 0.911648 Prefactor = 0.813529 ********** ** 18 **HESSE ********** FCN= 5745.890 FROM HESSE STATUS=OK 25 CALLS 276 TOTAL EDM= .29E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 28.166 23.588 .15098E-04 -1.4646 2 Index 2.3688 .58031 .28273E-03 -.55418 3 Normalizat .91165 .16777 .84192E-05 -.96052 4 Prefactor .81353 .20605 .10926E-04 -.99232 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.89831e-11 Minuit parameter uncertainties: 1 23.5956 2 0.582129 3 0.167866 4 0.206241 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/198030': 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) = 5745.88979409 delta logL = 0.00788740758526 Extracting fit parameters... 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 2.817e+01 2.360e+01 1.000e-04 1.000e+04 ( 1.000e-13) 350 Index: 2.369e+00 5.821e-01 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: 8.135e-01 2.062e-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.116e-01 1.679e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 4.01 Ra Dec: 179.637 48.416 Photon Index (Free Index): 2.37 +/- 0.58 Photon Flux (Free Index): 4.23e-08 +/- 3.48e-08 Energy Flux (Free Index): 1.45e-05 +/- 1.16e-05 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/198030/cmap_HighResolution_450576001_450835201_4FGL_J1158.5+4824_daily_bin815.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/198030 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.71e-03', comment='SUCCESS', photon_flux='4.45e-08', energy_flux2='1.45e-05', photon_flux_error='3.40e-08', dlogl='7.89e-03', energy_flux='1.38e-05', photon_flux2='4.23e-08', job_status='DONE', time_completed='2021-09-04 17:50:13.563508', photon_index_error2='0.58', photon_index2='2.37', ts='3.99', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', photon_flux_upper_limit='1.12e-07', energy_flux_error2='1.16e-05', EG='0.91', time_epoch_completed='1630803013.56', return_code='0', job_id='198030', GAL2='0.81', EG2='0.91', return_code2='0', energy_flux_error='1.06e-05', photon_flux_error2='3.48e-08', ts2='4.01', photon_index='2.44' WHERE bin_id='815' AND source_name='4FGL J1158.5+4824' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Sep 4 17:50:13 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 198030: <4FGL_J1158.5+4824_daily_bin815> in cluster Done Job <4FGL_J1158.5+4824_daily_bin815> was submitted from host by user in cluster at Sat Sep 4 17:36:40 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Sep 4 17:36:42 2021 was used as the home directory. was used as the working directory. Started at Sat Sep 4 17:36:42 2021 Terminated at Sat Sep 4 17:50:14 2021 Results reported at Sat Sep 4 17:50:14 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1158.5+4824_daily_bin815 179.637 48.4161 450576001 450835201 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 : 747.17 sec. Max Memory : 618 MB Average Memory : 296.78 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 811 sec. Turnaround time : 814 sec. The output (if any) is above this job summary.