/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 31 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 = 7393 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1139.0+4033_daily_bin956 RA = 174.764, Dec = 40.5617 tmin = 487123201, tmax = 487382401 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='987717', job_status='RUN', time_executed='2021-09-04 07:07:32.431514', time_epoch_executed='1630764452.43' WHERE source_name='4FGL J1139.0+4033' and cadence='daily' and bin_id='956' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/987717 Creating custom pfile directory: /scratch/kocevski/987717/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=487123201.0 && nMetStart<487382401.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=487123201.0 && nMetStart<487382401.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/987717/ft1_4FGL_J1139.0+4033_daily_bin956.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=487123201.0 && nMetStart<487382401.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/987717/ft2_4FGL_J1139.0+4033_daily_bin956.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/987717/ft1_4FGL_J1139.0+4033_daily_bin956.fits outfile=/scratch/kocevski/987717/ft1_filteredMKT_4FGL_J1139.0+4033_daily_bin956.fits ra=174.764 dec=40.5617 rad=12.0 tmin=487123201.0 tmax=487382401.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.59 user 3.26 sys 0.24 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/987717/ft2_4FGL_J1139.0+4033_daily_bin956.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/987717/ft2_4FGL_J1139.0+4033_daily_bin956.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/987717/ft1_filteredMKT_4FGL_J1139.0+4033_daily_bin956.fits evtable="EVENTS" outfile="/scratch/kocevski/987717/ft1_filtered_4FGL_J1139.0+4033_daily_bin956.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.54 user 0.33 sys 0.16 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/987717/ft1_filtered_4FGL_J1139.0+4033_daily_bin956.fits" evtable="EVENTS" scfile=/scratch/kocevski/987717/ft2_4FGL_J1139.0+4033_daily_bin956.fits sctable="SC_DATA" outfile=/scratch/kocevski/987717/ltcube_487123201_487382401_4FGL_J1139.0+4033_daily_bin956.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/987717/ft2_4FGL_J1139.0+4033_daily_bin956.fits .....................! real 12.01 user 11.61 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/987717/ft1_filtered_4FGL_J1139.0+4033_daily_bin956.fits evtable="EVENTS" scfile=/scratch/kocevski/987717/ft2_4FGL_J1139.0+4033_daily_bin956.fits sctable="SC_DATA" expcube=/scratch/kocevski/987717/ltcube_487123201_487382401_4FGL_J1139.0+4033_daily_bin956.fits outfile=/scratch/kocevski/987717/expmap_487123201_487382401_4FGL_J1139.0+4033_daily_bin956.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/987717/ltcube_487123201_487382401_4FGL_J1139.0+4033_daily_bin956.fits .....................! real 189.55 user 184.85 sys 4.26 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/987717/ft1_filtered_4FGL_J1139.0+4033_daily_bin956.fits scfile=/scratch/kocevski/987717/ft2_4FGL_J1139.0+4033_daily_bin956.fits outfile=/scratch/kocevski/987717/cmap_487123201_487382401_4FGL_J1139.0+4033_daily_bin956.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.56 user 0.36 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/987717/ft1_filtered_4FGL_J1139.0+4033_daily_bin956.fits scfile=/scratch/kocevski/987717/ft2_4FGL_J1139.0+4033_daily_bin956.fits outfile=/scratch/kocevski/987717/cmap_HighResolution_487123201_487382401_4FGL_J1139.0+4033_daily_bin956.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.14 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/987717/ft1_filtered_4FGL_J1139.0+4033_daily_bin956.fits evtable="EVENTS" scfile=/scratch/kocevski/987717/ft2_4FGL_J1139.0+4033_daily_bin956.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/987717/Model_4FGL_J1139.0+4033_daily_bin956.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/987717/ft1_filtered_4FGL_J1139.0+4033_daily_bin956.fits.....................! real 59.63 user 56.43 sys 1.16 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/987717/ft1_filtered_4FGL_J1139.0+4033_daily_bin956.fits', '/scratch/kocevski/987717/ft2_4FGL_J1139.0+4033_daily_bin956.fits', expMap='/scratch/kocevski/987717/expmap_487123201_487382401_4FGL_J1139.0+4033_daily_bin956.fits', expCube='/scratch/kocevski/987717/ltcube_487123201_487382401_4FGL_J1139.0+4033_daily_bin956.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/987717/Model_4FGL_J1139.0+4033_daily_bin956.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/987717/ft1_filtered_4FGL_J1139.0+4033_daily_bin956.fits Spacecraft file(s): /scratch/kocevski/987717/ft2_4FGL_J1139.0+4033_daily_bin956.fits Exposure map: /scratch/kocevski/987717/expmap_487123201_487382401_4FGL_J1139.0+4033_daily_bin956.fits Exposure cube: /scratch/kocevski/987717/ltcube_487123201_487382401_4FGL_J1139.0+4033_daily_bin956.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/987717/Model_4FGL_J1139.0+4033_daily_bin956.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) = 6643.86934829 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6643.86245215 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 26.983 1.0000 .10000E-03 10000. 2 'Prefactor ' .10005E-03 1.0000 .10000E-03 10000. 3 'norm ' 2.7954 1.0000 .10000E-03 10000. 4 'Prefactor ' .10004E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .12084E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 7 'norm ' 12.265 1.0000 .10000E-03 10000. 8 'norm ' .10001E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .10008E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' .74544 1.0000 .10000E-03 10000. 11 'Prefactor ' 11.438 1.0000 .10000E-03 10000. 12 'norm ' .10109E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' .18495 1.0000 .10000E-03 10000. 14 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' 20.261 1.0000 .10000E-03 10000. 16 'norm ' .10022E-03 1.0000 .10000E-03 10000. 17 'norm ' 5.1315 1.0000 .10000E-03 10000. 18 'Prefactor ' 15.237 1.0000 .10000E-03 10000. 19 'Prefactor ' .10035E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' 29.076 1.0000 .10000E-03 10000. 21 'Prefactor ' 11.011 1.0000 .10000E-03 10000. 22 'Prefactor ' 41.588 1.0000 .10000E-03 10000. 23 'Prefactor ' 2.7650 1.0000 .10000E-03 10000. 24 'Normalizat' .98948 1.0000 .10000E-01 10.000 25 'Prefactor ' 1.0783 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. FCN= 6643.862 FROM MIGRAD STATUS=CONVERGED 1084 CALLS 3519 TOTAL EDM= .67E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 26.959 47.268 .77122E-04 -.10909E-04 2 Prefactor .10000E-03 41.599 .18142E-02** at limit ** 3 norm 2.7953 .44834 .20983E-04 -.50061E-02 4 Prefactor .10000E-03 10.411 .18142E-02** at limit ** 5 Prefactor .10047E-03 98.446 .59347E-02** at limit ** 6 Prefactor .10000E-03 18.400 .18142E-02** at limit ** 7 norm 12.262 11.869 .11438E-03 -.21767E-03 8 norm .10000E-03 19.440 .18142E-02** at limit ** 9 Prefactor .10000E-03 1.2346 .17391E-03** at limit ** 10 Prefactor .62505 235.44 .64664E-02 -.13345E-03 11 Prefactor 11.540 21.486 .11846E-03 .15183E-03 12 norm .10000E-03 1.3983 .18361E-02** at limit ** 13 Prefactor .10164E-03 19.072 .74489E-01** at limit ** 14 Prefactor .10000E-03 1.6014 .10051E-02** at limit ** 15 Prefactor 20.265 34.157 .88982E-04 -.17307E-03 16 norm .10000E-03 .49771 .91059E-03** at limit ** 17 norm 5.1314 5.2357 .88739E-03 .16767E-03 18 Prefactor 15.249 21.078 .10261E-03 -.48752E-05 19 Prefactor .10000E-03 2.7583 .19855E-02** at limit ** 20 Prefactor 29.079 28.441 .74300E-04 -.67753E-04 21 Prefactor 11.005 16.293 .12073E-03 .11808E-03 22 Prefactor 41.556 40.189 .62160E-04 .13168E-04 23 Prefactor 2.7679 6.5244 .24477E-03 -.54575E-04 24 Normalizat .98917 .20169 .24513E-03 -.16497E-03 25 Prefactor 1.0788 .23518 .28584E-03 -.13407E-03 ERR DEF= .500 Final values: Prefactor = 26.9586 Prefactor = 0.0001 norm = 2.79534 Prefactor = 0.0001 Prefactor = 0.000100467 Prefactor = 0.0001 norm = 12.2621 norm = 0.0001 Prefactor = 0.0001 Prefactor = 0.625047 Prefactor = 11.5398 norm = 0.0001 Prefactor = 0.000101637 Prefactor = 0.0001 Prefactor = 20.2647 norm = 0.0001 norm = 5.13136 Prefactor = 15.2486 Prefactor = 0.0001 Prefactor = 29.0785 Prefactor = 11.0049 Prefactor = 41.5565 Prefactor = 2.76786 Normalizat = 0.989168 Prefactor = 1.07884 ********** ** 18 **HESSE ********** FCN= 6643.862 FROM HESSE STATUS=OK 413 CALLS 3932 TOTAL EDM= .75E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 26.959 47.253 .30849E-05 -1.4669 2 Prefactor .10000E-03 41.601 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 norm 2.7953 .44752 .41967E-05 -1.5374 4 Prefactor .10000E-03 10.412 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10047E-03 100.37 .11869E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .10000E-03 18.400 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm 12.262 11.867 .45754E-05 -1.5007 8 norm .10000E-03 19.441 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10000E-03 1.2346 .34782E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .62505 241.61 .25866E-03 -1.5550 11 Prefactor 11.540 21.360 .47382E-05 -1.5028 12 norm .10000E-03 1.4004 .36723E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .10164E-03 16.622 .81003E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .10000E-03 1.6014 .20103E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor 20.265 34.147 .17796E-04 -1.4807 16 norm .10000E-03 .49803 .18212E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 5.1314 5.2357 .35496E-04 -1.5255 18 Prefactor 15.249 21.074 .41042E-05 -1.4927 19 Prefactor .10000E-03 2.7623 .39711E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 29.079 28.440 .14860E-04 -1.4629 21 Prefactor 11.005 16.283 .48293E-05 -1.5044 22 Prefactor 41.556 40.169 .24864E-05 -1.4418 23 Prefactor 2.7679 6.5233 .97907E-05 -1.5375 24 Normalizat .98917 .20189 .98050E-05 -.93394 25 Prefactor 1.0788 .23522 .11434E-04 -.90146 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 7.52822e-09 Minuit parameter uncertainties: 1 47.3182 2 1.41813e-05 3 0.447522 4 6.83377e-05 5 0.0137184 6 3.60472e-06 7 11.8691 8 2.76571e-06 9 5.37604e-06 10 24.6765 11 21.3744 12 3.27307e-06 13 0.0104357 14 3.87997e-09 15 34.1803 16 1.25338e-05 17 5.2362 18 21.0838 19 3.67024e-05 20 28.4535 21 16.29 22 40.1953 23 6.52494 24 0.202049 25 0.235448 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6643.86225875 Extracting fit parameters... 4FGL J1139.0+4033 Spectrum: PowerLaw 341 Prefactor: 2.026e+01 3.418e+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: 1.079e+00 2.354e-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: 9.892e-01 2.020e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.44 Ra Dec: 174.764 40.562 Photon Flux Upper Limit: 1.01e-07 ph cm-2 s-1 Energy Flux Upper Limit: 7.93e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/987717/likelihoodResults_487123201_487382401_4FGL_J1139.0+4033_daily_bin956.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) = 6642.98019562 delta logL = 0.88206313834 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 6642.86772031 delta logL = 0.994538440381 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .19649E-02 1.0000 .10000E-03 10000. 2 'Index ' 8.8237 1.0000 .0000 10.000 3 'Normalizat' .93262 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1348 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. FCN= 6642.868 FROM MIGRAD STATUS=CONVERGED 58 CALLS 383 TOTAL EDM= .11E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .19254E-02 .25932E-01 .68733E-03** at limit ** 2 Index 8.8354 7.5598 .23473 .98927E-04 3 Normalizat .93238 .40283E-01 .45317E-01 .12716E-05 4 Prefactor 1.1350 .49127E-01 .63240E-01 -.50838E-05 ERR DEF= .500 Final values: Prefactor = 0.00192539 Index = 8.83537 Normalizat = 0.932381 Prefactor = 1.13499 ********** ** 18 **HESSE ********** FCN= 6642.868 FROM HESSE STATUS=NOT POSDEF 35 CALLS 418 TOTAL EDM= .22E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .19254E-02 .62953E-01 .28760E-04 -1.5699 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 8.8354 9.0783 .10126E-01 .87427 3 Normalizat .93238 .14437 .25141E-03 -.95331 4 Prefactor 1.1350 .17398 .27971E-03 -.88356 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 2.15234e-11 Minuit parameter uncertainties: 1 0.0214395 2 6.1523 3 0.144434 4 0.174071 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/987717': No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 6642.86771611 delta logL = 0.994542640698 Extracting fit parameters... 4FGL J1139.0+4033 Spectrum: PowerLaw 341 Prefactor: 1.925e-03 2.144e-02 1.000e-04 1.000e+04 ( 1.000e-13) 342 Index: 8.835e+00 6.152e+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: 1.135e+00 1.741e-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: 9.324e-01 1.444e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.54 Ra Dec: 174.764 40.562 Photon Index (Free Index): 8.84 +/- 6.15 Photon Flux (Free Index): 5.55e-08 +/- 4.02e-08 Energy Flux (Free Index): 6.33e-06 +/- 4.78e-06 Creating a high resolution counts map... INFO: Auto-setting vmin to -2.355e-04 [aplpy.core] INFO: Auto-setting vmax to 2.614e-03 [aplpy.core] Saving /scratch/kocevski/987717/cmap_HighResolution_487123201_487382401_4FGL_J1139.0+4033_daily_bin956.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/987717 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.93e-03', comment='SUCCESS', energy_flux2='6.33e-06', dlogl='9.95e-01', photon_flux2='5.55e-08', job_status='DONE', time_completed='2021-09-04 07:22:51.584878', photon_index_error2='6.15', photon_index2='8.84', ts='0.44', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='1.01e-07', energy_flux_error2='4.78e-06', EG='0.99', time_epoch_completed='1630765371.58', return_code='0', job_id='987717', GAL2='1.13', EG2='0.93', return_code2='102', photon_flux_error2='4.02e-08', ts2='2.54', photon_index='2.72' WHERE bin_id='956' AND source_name='4FGL J1139.0+4033' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Sep 4 07:22:51 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 987717: <4FGL_J1139.0+4033_daily_bin956> in cluster Done Job <4FGL_J1139.0+4033_daily_bin956> was submitted from host by user in cluster at Sat Sep 4 07:06:49 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Sep 4 07:06:51 2021 was used as the home directory. was used as the working directory. Started at Sat Sep 4 07:06:51 2021 Terminated at Sat Sep 4 07:22:52 2021 Results reported at Sat Sep 4 07:22:52 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1139.0+4033_daily_bin956 174.764 40.5617 487123201 487382401 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 : 910.00 sec. Max Memory : 1257 MB Average Memory : 326.65 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 960 sec. Turnaround time : 963 sec. The output (if any) is above this job summary.