aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 26 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 = 73886
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1153.0+8056_monthly_bin167
RA = 178.266, Dec = 80.9357
tmin = 669859201, tmax = 672451201
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='883460', job_status='RUN', time_executed='2022-04-24 01:37:32.401015', time_epoch_executed='1650789452.4' WHERE source_name='4FGL J1153.0+8056' and cadence='monthly' and bin_id='167'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/883460

Creating custom pfile directory:
/scratch/kocevski/883460/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=669859201.0 && nMetStart<672451201.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=669859201.0 && nMetStart<672451201.0' /Data/Flight/Level1/LPA

Retrieving 456 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/883460/ft1_4FGL_J1153.0+8056_monthly_bin167.fits


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=669859201.0 && nMetStart<672451201.0' /Data/Flight/Level1/LPA

Retrieving 456 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/883460/ft2_4FGL_J1153.0+8056_monthly_bin167.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/883460/ft1_4FGL_J1153.0+8056_monthly_bin167.fits outfile=/scratch/kocevski/883460/ft1_filteredMKT_4FGL_J1153.0+8056_monthly_bin167.fits ra=178.266 dec=80.9357 rad=12.0 tmin=669859201.0 tmax=672451201.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 38.28
user 37.12
sys 0.87

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/883460/ft2_4FGL_J1153.0+8056_monthly_bin167.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/883460/ft2_4FGL_J1153.0+8056_monthly_bin167.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/883460/ft1_filteredMKT_4FGL_J1153.0+8056_monthly_bin167.fits evtable="EVENTS" outfile="/scratch/kocevski/883460/ft1_filtered_4FGL_J1153.0+8056_monthly_bin167.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.86
user 0.67
sys 0.17

Number of photons that the gtmktime cut: 8875

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/883460/ft1_filtered_4FGL_J1153.0+8056_monthly_bin167.fits" evtable="EVENTS" scfile=/scratch/kocevski/883460/ft2_4FGL_J1153.0+8056_monthly_bin167.fits sctable="SC_DATA" outfile=/scratch/kocevski/883460/ltcube_669859201_672451201_4FGL_J1153.0+8056_monthly_bin167.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/883460/ft2_4FGL_J1153.0+8056_monthly_bin167.fits
.....................!
real 130.84
user 129.58
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/883460/ft1_filtered_4FGL_J1153.0+8056_monthly_bin167.fits evtable="EVENTS" scfile=/scratch/kocevski/883460/ft2_4FGL_J1153.0+8056_monthly_bin167.fits sctable="SC_DATA" expcube=/scratch/kocevski/883460/ltcube_669859201_672451201_4FGL_J1153.0+8056_monthly_bin167.fits outfile=/scratch/kocevski/883460/expmap_669859201_672451201_4FGL_J1153.0+8056_monthly_bin167.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/883460/ltcube_669859201_672451201_4FGL_J1153.0+8056_monthly_bin167.fits
.....................!
real 193.02
user 186.89
sys 4.79

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 223 point sources and 0 extended sources

Setting source of interest to:
4FGL J1153.0+8056 @ 178.266 80.9357

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/883460/ft1_filtered_4FGL_J1153.0+8056_monthly_bin167.fits scfile=/scratch/kocevski/883460/ft2_4FGL_J1153.0+8056_monthly_bin167.fits outfile=/scratch/kocevski/883460/cmap_669859201_672451201_4FGL_J1153.0+8056_monthly_bin167.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=178.266 yref=80.9357 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.79
user 0.61
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/883460/ft1_filtered_4FGL_J1153.0+8056_monthly_bin167.fits scfile=/scratch/kocevski/883460/ft2_4FGL_J1153.0+8056_monthly_bin167.fits outfile=/scratch/kocevski/883460/cmap_HighResolution_669859201_672451201_4FGL_J1153.0+8056_monthly_bin167.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=178.266 yref=80.9357 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.79
user 0.61
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/883460/ft1_filtered_4FGL_J1153.0+8056_monthly_bin167.fits evtable="EVENTS" scfile=/scratch/kocevski/883460/ft2_4FGL_J1153.0+8056_monthly_bin167.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/883460/Model_4FGL_J1153.0+8056_monthly_bin167.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/883460/ft1_filtered_4FGL_J1153.0+8056_monthly_bin167.fits.....................!
real 1009.03
user 998.55
sys 1.45

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/883460/ft1_filtered_4FGL_J1153.0+8056_monthly_bin167.fits', '/scratch/kocevski/883460/ft2_4FGL_J1153.0+8056_monthly_bin167.fits', expMap='/scratch/kocevski/883460/expmap_669859201_672451201_4FGL_J1153.0+8056_monthly_bin167.fits', expCube='/scratch/kocevski/883460/ltcube_669859201_672451201_4FGL_J1153.0+8056_monthly_bin167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/883460/Model_4FGL_J1153.0+8056_monthly_bin167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1153.0+8056'

4FGL J1153.0+8056
   Spectrum: PowerLaw
372    Prefactor:  3.014e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
373        Index:  2.870e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
374        Scale:  4.561e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/883460/ft1_filtered_4FGL_J1153.0+8056_monthly_bin167.fits
Spacecraft file(s): /scratch/kocevski/883460/ft2_4FGL_J1153.0+8056_monthly_bin167.fits
Exposure map: /scratch/kocevski/883460/expmap_669859201_672451201_4FGL_J1153.0+8056_monthly_bin167.fits
Exposure cube: /scratch/kocevski/883460/ltcube_669859201_672451201_4FGL_J1153.0+8056_monthly_bin167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/883460/Model_4FGL_J1153.0+8056_monthly_bin167.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) = 93942.5509659

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 93942.5358151

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.7950       1.0000         .10000E-03   10000.    
     2 'norm      '    2.1307       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.1993       1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.047       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.6100       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10693E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .12654E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .12589E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    4.7949       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .63622       1.0000         .10000E-03   10000.    
    11 'norm      '    1.2229       1.0000         .10000E-03   10000.    
    12 'norm      '    1.7497       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .94996       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.3329       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .25634       1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.0745       1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.6259       1.0000         .10000E-03   10000.    
    18 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.5109       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10856E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.2088       1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.1365       1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.5460       1.0000         .10000E-03   10000.    
    24 'Prefactor '    13.037       1.0000         .10000E-03   10000.    
    25 'Prefactor '    22.402       1.0000         .10000E-03   10000.    
    26 'Prefactor '    1.6007       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .14649E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    .95001       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0162       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   93942.54     FROM MIGRAD    STATUS=CONVERGED    736 CALLS     3753 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.7938        5.0598       -.16319E-06   -.17516E-04
   2  norm          2.1288        2.3482        .36705E-06   -.10349E-04
   3  Prefactor     7.2001        7.5138       -.37836E-06   -.21810E-04
   4  Prefactor     11.048        2.3896        .10031E-06    .98107E-05
   5  Prefactor     1.6067        2.4076       -.56663E-06   -.13383E-02
   6  Prefactor     .10000E-03    .75704        .16537E-07** at limit **
   7  Prefactor     .10000E-03    5.1204        .52903E-05** at limit **
   8  Prefactor     .10000E-03    2.3122        .15915E-06** at limit **
   9  norm          4.7933        1.5679       -.70536E-08   -.24396E-03
  10  Prefactor     .63599        .97634       -.77485E-07   -.16091E-02
  11  norm          1.2230        .21889        .57273E-08   -.47179E-03
  12  norm          1.7478        .99231       -.96743E-07   -.66004E-03
  13  Prefactor     .95515        1.8036       -.17285E-08   -.38990E-03
  14  Prefactor     8.3389        2.4790        .11354E-06   -.36472E-02
  15  Prefactor     .25602        .58377       -.18819E-06   -.23587E-02
  16  Prefactor     6.0648        2.9270       -.48207E-06   -.15393E-03
  17  Prefactor     8.6259        7.6792       -.25241E-06   -.35153E-06
  18  norm          .10000E-03    .22602       -.16555E-07** at limit **
  19  norm          1.5116        .84438        .29996E-07   -.60754E-03
  20  Prefactor     .10000E-03    1.9932       -.58006E-07** at limit **
  21  Prefactor     9.2199        3.6869        .12841E-05    .10138E-03
  22  Prefactor     2.1388        1.8874       -.67087E-07   -.37301E-03
  23  Prefactor     2.5403        1.8643        .24813E-06   -.28661E-02
  24  Prefactor     13.048        9.7233       -.10059E-05    .89226E-06
  25  Prefactor     22.453        9.6516       -.22223E-05    .58909E-04
  26  Prefactor     1.5398        25.926       -.98789E-05    .69531E-05
  27  Prefactor     .10000E-03    5.3125       -.52836E-05** at limit **
  28  Normalizat    .95001        .47209E-01    .31522E-06    .12622E-03
  29  Prefactor     1.0162        .31339E-01   -.64421E-07    .56415E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.79385
  norm       = 2.12883
  Prefactor  = 7.20006
  Prefactor  = 11.0476
  Prefactor  = 1.60666
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.79326
  Prefactor  = 0.635987
  norm       = 1.22299
  norm       = 1.74782
  Prefactor  = 0.955154
  Prefactor  = 8.33895
  Prefactor  = 0.256024
  Prefactor  = 6.06476
  Prefactor  = 8.62589
  norm       = 0.0001
  norm       = 1.51159
  Prefactor  = 0.0001
  Prefactor  = 9.21995
  Prefactor  = 2.13879
  Prefactor  = 2.54031
  Prefactor  = 13.0485
  Prefactor  = 22.4535
  Prefactor  = 1.53984
  Prefactor  = 0.0001
  Normalizat = 0.95001
  Prefactor  = 1.01616
 **********
 **   18 **HESSE 
 **********

 FCN=   93942.54     FROM HESSE     STATUS=OK           575 CALLS     4328 TOTAL
                     EDM=   .30E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7938        5.0720        .16684E-03   -1.5227    
   2  norm          2.1288        2.3448        .28245E-03   -1.5416    
   3  Prefactor     7.2001        7.5160        .14950E-03   -1.5171    
   4  Prefactor     11.048        2.3902        .12054E-03   -1.5043    
   5  Prefactor     1.6067        2.3907        .33384E-03   -1.5454    
   6  Prefactor     .10000E-03    .76244        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.2045        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.3146        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.7933        1.3383        .16100E-03   -1.5270    
  10  Prefactor     .63599        .95232        .32796E-03   -1.5548    
  11  norm          1.2230        .21334        .50973E-04   -1.5487    
  12  norm          1.7478        .99984        .15432E-03   -1.5444    
  13  Prefactor     .95515        1.7574        .39902E-02   -1.5513    
  14  Prefactor     8.3389        2.6833        .69439E-03   -1.5130    
  15  Prefactor     .25602        .62222        .37306E-03   -1.5607    
  16  Prefactor     6.0648        2.8113        .16290E-03   -1.5215    
  17  Prefactor     8.6259        7.6794        .13648E-03   -1.5120    
  18  norm          .10000E-03    .84537        .28194E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.5116        .82801        .19248E-03   -1.5462    
  20  Prefactor     .10000E-03    14.792        .83694E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     9.2199        3.6806        .13207E-03   -1.5101    
  22  Prefactor     2.1388        1.8876        .28201E-03   -1.5415    
  23  Prefactor     2.5403        2.6294        .12796E-02   -1.5389    
  24  Prefactor     13.048        9.7214        .11094E-03   -1.4985    
  25  Prefactor     22.453        9.6204        .84629E-04   -1.4760    
  26  Prefactor     1.5398        26.071        .33508E-03   -1.5460    
  27  Prefactor     .10000E-03    5.3229        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .95001        .52352E-01    .28237E-03   -.94724    
  29  Prefactor     1.0162        .34889E-01    .19185E-03   -.92193    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03458e-07
Minuit parameter uncertainties:
  1  5.07237
  2  2.34492
  3  7.51694
  4  2.39027
  5  2.39089
  6  6.22891e-07
  7  1.42143e-05
  8  1.49252e-06
  9  1.33827
  10  0.952344
  11  0.213337
  12  0.999845
  13  1.75746
  14  2.68332
  15  0.62224
  16  2.81134
  17  7.68023
  18  3.36447e-06
  19  0.828015
  20  4.19435e-05
  21  3.68065
  22  1.88764
  23  2.6295
  24  9.72253
  25  9.62102
  26  12.6781
  27  4.44086e-07
  28  0.0523544
  29  0.0348901
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 93942.5357515

Extracting fit parameters...

4FGL J1153.0+8056
   Spectrum: PowerLaw
372    Prefactor:  6.065e+00  2.811e+00  1.000e-04  1.000e+04 ( 1.000e-12)
373        Index:  2.870e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
374        Scale:  4.561e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  1.016e+00  3.489e-02  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  9.500e-01  5.235e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.98
Ra Dec: 178.266 80.936
Photon Index (Fixed Index): 2.87 +/- 0.00
Photon Flux (Fixed Index): 2.53e-08 +/- 1.17e-08
Energy Flux (Fixed Index): 5.42e-06 +/- 2.51e-06

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) = 93942.3932894
delta logL = 0.14246211588

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 93942.3897775
delta logL = 0.14597400112

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.3069       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6325       1.0000          .0000       10.000    
     3 'Normalizat'    .95456       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0145       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   93942.39     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      266 TOTAL
                     EDM=   .51E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3038        2.8750        .79917E-03   -.39604E-04
   2  Index         2.6321        .42869        .10156E-01   -.50509E-05
   3  Normalizat    .95458        .49165E-01    .28179E-03   -.77461E-05
   4  Prefactor     1.0145        .33932E-01    .19199E-03   -.29371E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.30385
  Index      = 2.63206
  Normalizat = 0.954576
  Prefactor  = 1.01453
 **********
 **   18 **HESSE 
 **********

 FCN=   93942.39     FROM HESSE     STATUS=OK            27 CALLS      293 TOTAL
                     EDM=   .98E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.3038        2.8834        .31967E-04   -1.5206    
   2  Index         2.6321        .42983        .40623E-03   -.49336    
   3  Normalizat    .95458        .49214E-01    .11272E-04   -.94568    
   4  Prefactor     1.0145        .33948E-01    .76795E-05   -.92247    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.80265e-13
Minuit parameter uncertainties:
  1  2.88344
  2  0.430516
  3  0.0492159
  4  0.0339487
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/883460': 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) = 93942.3897766
delta logL = 0.145974957559

Extracting fit parameters...

4FGL J1153.0+8056
   Spectrum: PowerLaw
372    Prefactor:  6.304e+00  2.883e+00  1.000e-04  1.000e+04 ( 1.000e-12)
373        Index:  2.632e+00  4.305e-01  0.000e+00  1.000e+01 (-1.000e+00)
374        Scale:  4.561e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  1.015e+00  3.395e-02  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  9.546e-01  4.922e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.27
Ra Dec: 178.266 80.936
Photon Index (Free Index): 2.63 +/- 0.43
Photon Flux (Free Index): 2.10e-08 +/- 1.31e-08
Energy Flux (Free Index): 5.34e-06 +/- 2.45e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/883460/cmap_HighResolution_669859201_672451201_4FGL_J1153.0+8056_monthly_bin167.png

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/883460

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.53e-08', energy_flux2='5.34e-06', photon_flux_error='1.17e-08', dlogl='1.46e-01', energy_flux='5.42e-06', photon_flux2='2.10e-08', job_status='DONE', time_completed='2022-04-24 04:08:48.595846', photon_index_error2='0.43', photon_index2='2.63', ts='7.98', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='2.45e-06', EG='0.95', time_epoch_completed='1650798528.6', return_code='0', job_id='883460', GAL2='1.01', EG2='0.95', return_code2='0', energy_flux_error='2.51e-06', photon_flux_error2='1.31e-08', ts2='8.27', photon_index='2.87' WHERE bin_id='167' AND source_name='4FGL J1153.0+8056' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Sun Apr 24 04:08:48 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 883460: <4FGL_J1153.0+8056_monthly_bin167> in cluster <slac> Done

Job <4FGL_J1153.0+8056_monthly_bin167> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Apr 24 01:10:34 2022
Job was executed on host(s) <bullet0275>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 01:36:58 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr 24 01:36:58 2022
Terminated at Sun Apr 24 04:08:49 2022
Results reported at Sun Apr 24 04:08:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.0+8056_monthly_bin167 178.266 80.9357 669859201 672451201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1153.0+8056 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   8986.00 sec.
    Max Memory :                                 1264 MB
    Average Memory :                             458.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   9111 sec.
    Turnaround time :                            10695 sec.

The output (if any) is above this job summary.

