/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 85 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 = 7416 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1139.0+4033_daily_bin234 RA = 174.764, Dec = 40.5617 tmin = 299980801, tmax = 300240001 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='983409', job_status='RUN', time_executed='2021-09-04 06:57:59.486193', time_epoch_executed='1630763879.49' WHERE source_name='4FGL J1139.0+4033' and cadence='daily' and bin_id='234' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/983409 Creating custom pfile directory: /scratch/kocevski/983409/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=299980801.0 && nMetStart<300240001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=299980801.0 && nMetStart<300240001.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/983409/ft1_4FGL_J1139.0+4033_daily_bin234.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=299980801.0 && nMetStart<300240001.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/983409/ft2_4FGL_J1139.0+4033_daily_bin234.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/983409/ft1_4FGL_J1139.0+4033_daily_bin234.fits outfile=/scratch/kocevski/983409/ft1_filteredMKT_4FGL_J1139.0+4033_daily_bin234.fits ra=174.764 dec=40.5617 rad=12.0 tmin=299980801.0 tmax=300240001.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.42 user 3.17 sys 0.20 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/983409/ft2_4FGL_J1139.0+4033_daily_bin234.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/983409/ft2_4FGL_J1139.0+4033_daily_bin234.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/983409/ft1_filteredMKT_4FGL_J1139.0+4033_daily_bin234.fits evtable="EVENTS" outfile="/scratch/kocevski/983409/ft1_filtered_4FGL_J1139.0+4033_daily_bin234.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.58 user 0.34 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/983409/ft1_filtered_4FGL_J1139.0+4033_daily_bin234.fits" evtable="EVENTS" scfile=/scratch/kocevski/983409/ft2_4FGL_J1139.0+4033_daily_bin234.fits sctable="SC_DATA" outfile=/scratch/kocevski/983409/ltcube_299980801_300240001_4FGL_J1139.0+4033_daily_bin234.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/983409/ft2_4FGL_J1139.0+4033_daily_bin234.fits .....................! real 12.39 user 11.90 sys 0.37 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/983409/ft1_filtered_4FGL_J1139.0+4033_daily_bin234.fits evtable="EVENTS" scfile=/scratch/kocevski/983409/ft2_4FGL_J1139.0+4033_daily_bin234.fits sctable="SC_DATA" expcube=/scratch/kocevski/983409/ltcube_299980801_300240001_4FGL_J1139.0+4033_daily_bin234.fits outfile=/scratch/kocevski/983409/expmap_299980801_300240001_4FGL_J1139.0+4033_daily_bin234.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/983409/ltcube_299980801_300240001_4FGL_J1139.0+4033_daily_bin234.fits .....................! real 191.08 user 185.30 sys 5.02 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 219 point sources and 0 extended sources Setting source of interest to: 4FGL J1139.0+4033 @ 174.764 40.5617 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/983409/ft1_filtered_4FGL_J1139.0+4033_daily_bin234.fits scfile=/scratch/kocevski/983409/ft2_4FGL_J1139.0+4033_daily_bin234.fits outfile=/scratch/kocevski/983409/cmap_299980801_300240001_4FGL_J1139.0+4033_daily_bin234.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=174.764 yref=40.5617 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.57 user 0.38 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/983409/ft1_filtered_4FGL_J1139.0+4033_daily_bin234.fits scfile=/scratch/kocevski/983409/ft2_4FGL_J1139.0+4033_daily_bin234.fits outfile=/scratch/kocevski/983409/cmap_HighResolution_299980801_300240001_4FGL_J1139.0+4033_daily_bin234.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=174.764 yref=40.5617 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.39 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/983409/ft1_filtered_4FGL_J1139.0+4033_daily_bin234.fits evtable="EVENTS" scfile=/scratch/kocevski/983409/ft2_4FGL_J1139.0+4033_daily_bin234.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/983409/Model_4FGL_J1139.0+4033_daily_bin234.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/983409/ft1_filtered_4FGL_J1139.0+4033_daily_bin234.fits.....................! real 47.84 user 46.37 sys 1.22 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/983409/ft1_filtered_4FGL_J1139.0+4033_daily_bin234.fits', '/scratch/kocevski/983409/ft2_4FGL_J1139.0+4033_daily_bin234.fits', expMap='/scratch/kocevski/983409/expmap_299980801_300240001_4FGL_J1139.0+4033_daily_bin234.fits', expCube='/scratch/kocevski/983409/ltcube_299980801_300240001_4FGL_J1139.0+4033_daily_bin234.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/983409/Model_4FGL_J1139.0+4033_daily_bin234.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1139.0+4033' 4FGL J1139.0+4033 Spectrum: PowerLaw 341 Prefactor: 9.736e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 342 Index: 2.720e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 343 Scale: 6.779e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/983409/ft1_filtered_4FGL_J1139.0+4033_daily_bin234.fits Spacecraft file(s): /scratch/kocevski/983409/ft2_4FGL_J1139.0+4033_daily_bin234.fits Exposure map: /scratch/kocevski/983409/expmap_299980801_300240001_4FGL_J1139.0+4033_daily_bin234.fits Exposure cube: /scratch/kocevski/983409/ltcube_299980801_300240001_4FGL_J1139.0+4033_daily_bin234.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/983409/Model_4FGL_J1139.0+4033_daily_bin234.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) = 5520.81397404 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5520.79697087 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10015E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 16.546 1.0000 .10000E-03 10000. 3 'norm ' 1.4863 1.0000 .10000E-03 10000. 4 'Prefactor ' .10020E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10011E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 7 'norm ' 11.353 1.0000 .10000E-03 10000. 8 'norm ' .10113E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .17161E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' 51.897 1.0000 .10000E-03 10000. 11 'Prefactor ' 1.3299 1.0000 .10000E-03 10000. 12 'norm ' 2.1704 1.0000 .10000E-03 10000. 13 'Prefactor ' .10005E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' .10014E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' 10.409 1.0000 .10000E-03 10000. 16 'norm ' .10004E-03 1.0000 .10000E-03 10000. 17 'norm ' 22.210 1.0000 .10000E-03 10000. 18 'Prefactor ' 23.754 1.0000 .10000E-03 10000. 19 'Prefactor ' 10.992 1.0000 .10000E-03 10000. 20 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 21 'Prefactor ' 22.289 1.0000 .10000E-03 10000. 22 'Prefactor ' 32.211 1.0000 .10000E-03 10000. 23 'Prefactor ' .10007E-03 1.0000 .10000E-03 10000. 24 'Normalizat' 1.0496 1.0000 .10000E-01 10.000 25 'Prefactor ' .76250 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6960E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 5520.797 FROM MIGRAD STATUS=CONVERGED 589 CALLS 2911 TOTAL EDM= .61E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 20.884 .12902E-06** at limit ** 2 Prefactor 16.634 83.375 .25328E-05 .27476E-04 3 norm 1.4864 .33390 .47986E-08 -.96746E-03 4 Prefactor .10000E-03 11.481 -.33934E-07** at limit ** 5 Prefactor .10000E-03 4.2227 .59146E-08** at limit ** 6 Prefactor .10000E-03 34.825 .39217E-06** at limit ** 7 norm 11.355 9.6593 -.11089E-06 -.15134E-03 8 norm .10000E-03 15.878 -.28944E-07** at limit ** 9 Prefactor .10000E-03 2.2822 .20718E-05** at limit ** 10 Prefactor 52.028 44.396 -.41529E-05 -.41099E-03 11 Prefactor 1.3320 41.449 .20339E-05 -.57999E-04 12 norm 2.1718 2.5331 .38930E-07 -.96592E-03 13 Prefactor .10000E-03 5.5053 -.59800E-07** at limit ** 14 Prefactor .10000E-03 1.9174 .10553E-06** at limit ** 15 Prefactor 10.417 47.095 .11175E-05 -.34994E-04 16 norm .10000E-03 .61059 -.87203E-07** at limit ** 17 norm 22.210 13.823 -.46101E-07 .15442E-04 18 Prefactor 23.747 25.713 .20399E-06 -.24583E-04 19 Prefactor 10.992 4.7780 .94919E-07 -.36730E-04 20 Prefactor .10000E-03 32.608 -.54721E-06** at limit ** 21 Prefactor 22.300 23.139 -.55595E-07 -.74979E-04 22 Prefactor 32.219 29.813 .19391E-06 -.26291E-04 23 Prefactor .10000E-03 4.0118 -.61038E-07** at limit ** 24 Normalizat 1.0493 .18359 -.25454E-05 -.11134E-03 25 Prefactor .76280 .20685 .25558E-05 -.32612E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 16.6344 norm = 1.48636 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 norm = 11.3547 norm = 0.0001 Prefactor = 0.000100001 Prefactor = 52.0279 Prefactor = 1.33203 norm = 2.17179 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 10.417 norm = 0.0001 norm = 22.21 Prefactor = 23.7472 Prefactor = 10.9917 Prefactor = 0.0001 Prefactor = 22.2999 Prefactor = 32.2188 Prefactor = 0.0001 Normalizat = 1.04932 Prefactor = 0.762805 ********** ** 18 **HESSE ********** FCN= 5520.797 FROM HESSE STATUS=OK 429 CALLS 3340 TOTAL EDM= .17E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 20.904 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 16.634 83.194 .98463E-04 -1.4892 3 norm 1.4864 .33451 .19679E-04 -1.5464 4 Prefactor .10000E-03 11.700 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 4.2248 .14911E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .10000E-03 34.853 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm 11.355 9.6598 .11890E-03 -1.5034 8 norm .10000E-03 15.879 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10000E-03 3.8567 .19750E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 52.028 47.822 .55672E-04 -1.4264 11 Prefactor 1.3320 41.623 .38086E-03 -1.5477 12 norm 2.1718 2.4919 .11069E-03 -1.5413 13 Prefactor .10000E-03 5.5163 .17015E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .10000E-03 1.9260 .10041E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor 10.417 42.637 .12419E-03 -1.5062 16 norm .10000E-03 .94440 .10582E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 22.210 13.789 .84993E-04 -1.4765 18 Prefactor 23.747 25.724 .82187E-04 -1.4733 19 Prefactor 10.992 4.7804 .95467E-04 -1.5045 20 Prefactor .10000E-03 32.623 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor 22.300 23.176 .84842E-04 -1.4763 22 Prefactor 32.219 29.807 .70601E-04 -1.4572 23 Prefactor .10000E-03 4.0799 .14531E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Normalizat 1.0493 .20558 .22119E-03 -.91396 25 Prefactor .76280 .23200 .30471E-03 -1.0111 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.66814e-09 Minuit parameter uncertainties: 1 2.76114e-05 2 74.567 3 0.334507 4 1.77436e-05 5 8.67914e-07 6 0.000241709 7 9.66114 8 8.68818e-06 9 0.000149015 10 47.8574 11 14.9028 12 2.49198 13 1.79868e-06 14 4.0054e-06 15 42.2015 16 1.6782e-05 17 13.7914 18 25.7355 19 4.78056 20 0.000209338 21 23.185 22 29.821 23 8.39059e-06 24 0.205732 25 0.232292 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5520.79695408 Extracting fit parameters... 4FGL J1139.0+4033 Spectrum: PowerLaw 341 Prefactor: 1.042e+01 4.220e+01 1.000e-04 1.000e+04 ( 1.000e-13) 342 Index: 2.720e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 343 Scale: 6.779e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 693 Prefactor: 7.628e-01 2.323e-01 0.000e+00 1.000e+01 ( 1.000e+00) 694 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 695 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 692 Normalization: 1.049e+00 2.057e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.07 Ra Dec: 174.764 40.562 Photon Flux Upper Limit: 1.09e-07 ph cm-2 s-1 Energy Flux Upper Limit: 8.56e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/983409/likelihoodResults_299980801_300240001_4FGL_J1139.0+4033_daily_bin234.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) = 5520.73135039 delta logL = 0.065603686221 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 5520.71931603 delta logL = 0.07763805181 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 5.7539 1.0000 .10000E-03 10000. 2 'Index ' 3.6265 1.0000 .0000 10.000 3 'Normalizat' 1.0345 1.0000 .10000E-01 10.000 4 'Prefactor ' .77380 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6960E+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= 5520.719 FROM MIGRAD STATUS=FAILED 93 CALLS 260 TOTAL EDM= .10E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 5.7319 1243.6 .16744E-03 -.19147E-04 2 Index 3.6316 7.5854 .11677E-01 .26567E-03 3 Normalizat 1.0345 .16891 .22256E-03 .20163E-03 4 Prefactor .77382 .21083 .30274E-03 -.14518E-03 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 5520.719 FROM SIMPLEX STATUS=UNCHANGED 88 CALLS 348 TOTAL EDM= .18E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 5.7319 1243.6 .55116E-03 -.19147E-04 2 Index 3.6316 7.5854 .28307E-02 .26567E-03 3 Normalizat 1.0345 .16891 .17091E-03 .20163E-03 4 Prefactor .77382 .21083 .26035E-03 -.14518E-03 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 5520.719 FROM MIGRAD STATUS=CONVERGED 29 CALLS 377 TOTAL EDM= .61E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 5.7317 55.265 .66977E-05 -.47188E-04 2 Index 3.6317 3.3462 .23354E-02 -.82755E-06 3 Normalizat 1.0345 .19878 .44512E-04 .18614E-03 4 Prefactor .77382 .23239 .12110E-04 -.14157E-03 ERR DEF= .500 Final values: Prefactor = 5.73172 Index = 3.63166 Normalizat = 1.03448 Prefactor = 0.773825 ********** ** 18 **HESSE ********** FCN= 5520.719 FROM HESSE STATUS=OK 23 CALLS 400 TOTAL EDM= .60E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 5.7317 39.589 .13395E-05 -1.5229 2 Index 3.6317 2.9162 .93416E-04 -.27720 3 Normalizat 1.0345 .19873 .89023E-05 -.91884 4 Prefactor .77382 .23205 .24219E-05 -1.0070 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.9928e-10 Minuit parameter uncertainties: 1 30.1555 2 3.13318 3 0.198876 4 0.232343 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/983409': 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) = 5520.71931265 delta logL = 0.0776414297388 Extracting fit parameters... 4FGL J1139.0+4033 Spectrum: PowerLaw 341 Prefactor: 5.732e+00 3.016e+01 1.000e-04 1.000e+04 ( 1.000e-13) 342 Index: 3.632e+00 3.133e+00 0.000e+00 1.000e+01 (-1.000e+00) 343 Scale: 6.779e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 693 Prefactor: 7.738e-01 2.323e-01 0.000e+00 1.000e+01 ( 1.000e+00) 694 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 695 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 692 Normalization: 1.034e+00 1.989e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.07 Ra Dec: 174.764 40.562 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/983409/cmap_HighResolution_299980801_300240001_4FGL_J1139.0+4033_daily_bin234.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/983409 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.56e-03', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2021-09-04 07:10:51.900638', job_id='983409', GAL2='0.77', fit_tolerance='1e-08', EG2='1.03', EG='1.05', time_epoch_completed='1630764651.9', return_code2='0', ts='0.07', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='7.76e-02', ts2='0.23', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='234' AND source_name='4FGL J1139.0+4033' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Sep 4 07:10:51 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 983409: <4FGL_J1139.0+4033_daily_bin234> in cluster Done Job <4FGL_J1139.0+4033_daily_bin234> was submitted from host by user in cluster at Sat Sep 4 06:56:23 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Sep 4 06:56:24 2021 was used as the home directory. was used as the working directory. Started at Sat Sep 4 06:56:24 2021 Terminated at Sat Sep 4 07:10:52 2021 Results reported at Sat Sep 4 07:10:52 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1139.0+4033_daily_bin234 174.764 40.5617 299980801 300240001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1139.0+4033 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 769.00 sec. Max Memory : 1257 MB Average Memory : 340.27 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 868 sec. Turnaround time : 869 sec. The output (if any) is above this job summary.