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 42 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7488
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1153.0+8056_daily_bin1746
RA = 178.266, Dec = 80.9357
tmin = 691891201, tmax = 692150401
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='722674', job_status='RUN', time_executed='2022-12-08 00:46:09.464684', time_epoch_executed='1670489169.46' WHERE source_name='4FGL J1153.0+8056' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/722674

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/722674/ft1_4FGL_J1153.0+8056_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/722674/ft2_4FGL_J1153.0+8056_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/722674/ft1_4FGL_J1153.0+8056_daily_bin1746.fits outfile=/scratch/kocevski/722674/ft1_filteredMKT_4FGL_J1153.0+8056_daily_bin1746.fits ra=178.266 dec=80.9357 rad=12.0 tmin=691891201.0 tmax=692150401.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 4.72
user 4.46
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/722674/ft2_4FGL_J1153.0+8056_daily_bin1746.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/722674/ft1_filteredMKT_4FGL_J1153.0+8056_daily_bin1746.fits evtable="EVENTS" outfile="/scratch/kocevski/722674/ft1_filtered_4FGL_J1153.0+8056_daily_bin1746.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.15

Number of photons that the gtmktime cut: 909

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/722674/ft1_filtered_4FGL_J1153.0+8056_daily_bin1746.fits" evtable="EVENTS" scfile=/scratch/kocevski/722674/ft2_4FGL_J1153.0+8056_daily_bin1746.fits sctable="SC_DATA" outfile=/scratch/kocevski/722674/ltcube_691891201_692150401_4FGL_J1153.0+8056_daily_bin1746.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/722674/ft2_4FGL_J1153.0+8056_daily_bin1746.fits
.....................!
real 11.74
user 11.39
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/722674/ft1_filtered_4FGL_J1153.0+8056_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/722674/ft2_4FGL_J1153.0+8056_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/722674/ltcube_691891201_692150401_4FGL_J1153.0+8056_daily_bin1746.fits outfile=/scratch/kocevski/722674/expmap_691891201_692150401_4FGL_J1153.0+8056_daily_bin1746.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/722674/ltcube_691891201_692150401_4FGL_J1153.0+8056_daily_bin1746.fits
.....................!
real 191.57
user 186.81
sys 4.45

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/722674/ft1_filtered_4FGL_J1153.0+8056_daily_bin1746.fits scfile=/scratch/kocevski/722674/ft2_4FGL_J1153.0+8056_daily_bin1746.fits outfile=/scratch/kocevski/722674/cmap_691891201_692150401_4FGL_J1153.0+8056_daily_bin1746.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/722674/ft1_filtered_4FGL_J1153.0+8056_daily_bin1746.fits scfile=/scratch/kocevski/722674/ft2_4FGL_J1153.0+8056_daily_bin1746.fits outfile=/scratch/kocevski/722674/cmap_HighResolution_691891201_692150401_4FGL_J1153.0+8056_daily_bin1746.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.56
user 0.38
sys 0.18

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/722674/ft1_filtered_4FGL_J1153.0+8056_daily_bin1746.fits', '/scratch/kocevski/722674/ft2_4FGL_J1153.0+8056_daily_bin1746.fits', expMap='/scratch/kocevski/722674/expmap_691891201_692150401_4FGL_J1153.0+8056_daily_bin1746.fits', expCube='/scratch/kocevski/722674/ltcube_691891201_692150401_4FGL_J1153.0+8056_daily_bin1746.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/722674/Model_4FGL_J1153.0+8056_daily_bin1746.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  0.000e+00  1.000e+06 ( 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/722674/ft1_filtered_4FGL_J1153.0+8056_daily_bin1746.fits
Spacecraft file(s): /scratch/kocevski/722674/ft2_4FGL_J1153.0+8056_daily_bin1746.fits
Exposure map: /scratch/kocevski/722674/expmap_691891201_692150401_4FGL_J1153.0+8056_daily_bin1746.fits
Exposure cube: /scratch/kocevski/722674/ltcube_691891201_692150401_4FGL_J1153.0+8056_daily_bin1746.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/722674/Model_4FGL_J1153.0+8056_daily_bin1746.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) = 9615.07733594

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .85925E-02   1.0000          .0000       .10000E+07
     2 'norm      '    .73808E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    37.662       1.0000          .0000       .10000E+07
     4 'Prefactor '    15.255       1.0000          .0000       .10000E+07
     5 'Prefactor '    .13301E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    18.179       1.0000          .0000       .10000E+07
     7 'Prefactor '    .72947E-02   1.0000          .0000       .10000E+07
     8 'norm      '    .72791E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    6.8419       1.0000          .0000       .10000E+07
    10 'norm      '    4.2240       1.0000          .0000       .10000E+07
    11 'norm      '    5.0373       1.0000          .0000       .10000E+07
    12 'Prefactor '    .36758E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    3.9416       1.0000          .0000       .10000E+07
    14 'Prefactor '    18.063       1.0000          .0000       .10000E+07
    15 'Prefactor '    16.823       1.0000          .0000       .10000E+07
    16 'norm      '    .39932E-03   1.0000          .0000       .10000E+07
    17 'norm      '    1.0720       1.0000          .0000       .10000E+07
    18 'Prefactor '    .20888E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .71763       1.0000          .0000       .10000E+07
    20 'Prefactor '    5.9194       1.0000          .0000       .10000E+07
    21 'Prefactor '    .11623E-01   1.0000          .0000       .10000E+07
    22 'Prefactor '    121.38       1.0000          .0000       .10000E+07
    23 'Prefactor '    49.405       1.0000          .0000       .10000E+07
    24 'Prefactor '    .75911E-01   1.0000          .0000       .10000E+07
    25 'Normalizat'    .80729       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0405       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9615.022     FROM MIGRAD    STATUS=CONVERGED    166 CALLS     2258 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .74385E-08    9.2966        .12590E-05** at limit **
   2  norm          .77632E-06    5.3319        .87887E-06** at limit **
   3  Prefactor     38.521        29.524       -.16169E-06    .26534E-01
   4  Prefactor     15.294        9.1640        .62170E-09   -.40988E-02
   5  Prefactor      .0000        4.5863       -.60533E-07** at limit **
   6  Prefactor     18.172        10.803       -.20362E-06   -.30306E-02
   7  Prefactor     .17819E-07    10.202       -.56867E-07** at limit **
   8  norm           .0000        2.4054        .18505E-06** at limit **
   9  Prefactor     6.7314        6.9277       -.60424E-06   -.31613E-03
  10  norm          4.2411        1.3491        .93211E-07    .14255E-02
  11  norm          5.0323        3.1961        .14862E-06    .29484E-03
  12  Prefactor     .31913E-06    5.3379        .67366E-06** at limit **
  13  Prefactor     3.9435        3.0863       -.50322E-06   -.92202E-03
  14  Prefactor     18.151        10.283       -.30884E-06   -.60187E-02
  15  Prefactor     16.606        11.095        .14938E-06    .52355E-01
  16  norm           .0000        3.5265        .72125E-06** at limit **
  17  norm          1.0729        2.6763       -.25354E-06   -.73536E-04
  18  Prefactor     .29399E-06    14.976        .11023E-05** at limit **
  19  Prefactor     .69222        3.2825        .27866E-07    .29875E-01
  20  Prefactor     5.8651        7.4957       -.11918E-06   -.14476E-01
  21  Prefactor     .20928E-07    9.7052        .74237E-06** at limit **
  22  Prefactor     123.63        43.832        .51602E-06   -.12941    
  23  Prefactor     50.949        27.560        .41240E-06    .11525    
  24  Prefactor     .21771E-06    2.3614        .31529E-06** at limit **
  25  Normalizat    .80540        .16577        .34611E-05    .11184E-04
  26  Prefactor     1.0408        .11272        .14900E-05    .33977E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.43849e-09
  norm       = 7.76323e-07
  Prefactor  = 38.5211
  Prefactor  = 15.294
  Prefactor  = 0
  Prefactor  = 18.1716
  Prefactor  = 1.78191e-08
  norm       = 0
  Prefactor  = 6.73139
  norm       = 4.24114
  norm       = 5.03228
  Prefactor  = 3.19134e-07
  Prefactor  = 3.94353
  Prefactor  = 18.1513
  Prefactor  = 16.606
  norm       = 0
  norm       = 1.07294
  Prefactor  = 2.93987e-07
  Prefactor  = 0.692223
  Prefactor  = 5.86509
  Prefactor  = 2.09277e-08
  Prefactor  = 123.631
  Prefactor  = 50.9485
  Prefactor  = 2.17715e-07
  Normalizat = 0.805402
  Prefactor  = 1.04077
 **********
 **   18 **HESSE 
 **********

 FCN=   9615.022     FROM HESSE     STATUS=OK           518 CALLS     2776 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .74385E-08    9.3080        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .77632E-06    18.127        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     38.521        33.302        .16297E-03   -1.5584    
   4  Prefactor     15.294        9.2137        .25617E-03   -1.5630    
   5  Prefactor      .0000        4.5916        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     18.172        12.700        .23463E-03   -1.5623    
   7  Prefactor     .17819E-07    10.256        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        2.4014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.7314        6.7607        .38334E-03   -1.5656    
  10  norm          4.2411        1.3058        .49006E-03   -1.5667    
  11  norm          5.0323        3.1734        .44779E-03   -1.5663    
  12  Prefactor     .31913E-06    20.210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.9435        3.0880        .50786E-03   -1.5668    
  14  Prefactor     18.151        10.982        .23539E-03   -1.5623    
  15  Prefactor     16.606        28.730        .24392E-03   -1.5626    
  16  norm           .0000        3.4760        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.0729        2.7779        .11711E-02   -1.5687    
  18  Prefactor     .29399E-06    16.280        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .69222        53.138        .59288E-03   -1.5691    
  20  Prefactor     5.8651        12.628        .41250E-03   -1.5660    
  21  Prefactor     .20928E-07    18.736        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     123.63        54.688        .90772E-04   -1.5486    
  23  Prefactor     50.949        53.400        .14228E-03   -1.5565    
  24  Prefactor     .21771E-06    26.777        .18488E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .80540        .15105        .70751E-01   -.99869    
  26  Prefactor     1.0408        .10213        .40502E-01   -.91383    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75307e-06
Minuit parameter uncertainties:
  1  0.000526308
  2  0.00750275
  3  33.3019
  4  9.21374
  5  1.14498e-05
  6  12.7004
  7  0.000854993
  8  2.7124e-06
  9  6.76074
  10  1.30582
  11  3.17339
  12  0.00507921
  13  3.08798
  14  10.9818
  15  28.7305
  16  1.17985e-05
  17  2.77788
  18  0.00437555
  19  12.1299
  20  12.6279
  21  0.00125286
  22  54.6886
  23  53.4006
  24  0.00482873
  25  0.151129
  26  0.102145
Done.

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

Extracting fit parameters...

4FGL J1153.0+8056
   Spectrum: PowerLaw
372    Prefactor:  1.815e+01  1.098e+01  0.000e+00  1.000e+06 ( 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.041e+00  1.021e-01  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:  8.054e-01  1.511e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.36
Ra Dec: 178.266 80.936
Photon Index (Fixed Index): 2.87 +/- 0.00
Photon Flux (Fixed Index): 7.57e-08 +/- 4.57e-08
Energy Flux (Fixed Index): 1.62e-05 +/- 9.80e-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) = 9614.57247045
delta logL = 0.449728048601

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9614.542848
delta logL = 0.479350499045

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.1669       1.0000          .0000       .10000E+07
     2 'Index     '    3.8180       1.0000          .0000       10.000    
     3 'Normalizat'    .77509       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0573       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9614.543     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      343 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1394        103.54        .13465E-04   -.82574E-02
   2  Index         3.8222        6.8991        .67613E-02   -.20361E-03
   3  Normalizat    .77510        .17087        .31848E-03   -.55373E-03
   4  Prefactor     1.0574        .12802        .19492E-03   -.67747E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.13939
  Index      = 3.82225
  Normalizat = 0.775096
  Prefactor  = 1.05738
 **********
 **   18 **HESSE 
 **********

 FCN=   9614.543     FROM HESSE     STATUS=OK            25 CALLS      368 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1394        13.648        .53860E-06   -1.5651    
   2  Index         3.8222        1.3897        .27045E-03   -.23779    
   3  Normalizat    .77510        .16217        .12739E-04   -1.0100    
   4  Prefactor     1.0574        .11276        .38984E-04   -.90841    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17585e-09
Minuit parameter uncertainties:
  1  13.6476
  2  1.40939
  3  0.162273
  4  0.11278
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/722674': 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) = 9614.54283786
delta logL = 0.47936064458

Extracting fit parameters...

4FGL J1153.0+8056
   Spectrum: PowerLaw
372    Prefactor:  8.139e+00  1.365e+01  0.000e+00  1.000e+06 ( 1.000e-12)
373        Index:  3.822e+00  1.409e+00  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.057e+00  1.128e-01  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:  7.751e-01  1.623e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.46
Ra Dec: 178.266 80.936
Photon Index (Free Index): 3.82 +/- 1.41
Photon Flux (Free Index): 9.56e-08 +/- 4.94e-08
Energy Flux (Free Index): 1.48e-05 +/- 8.34e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/722674/cmap_HighResolution_691891201_692150401_4FGL_J1153.0+8056_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.57e-08', energy_flux2='1.48e-05', photon_flux_error='4.57e-08', dlogl='4.79e-01', energy_flux='1.62e-05', photon_flux2='9.56e-08', job_status='DONE', time_completed='2022-12-08 01:01:49.344537', photon_index_error2='1.41', photon_index2='3.82', ts='4.36', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='8.34e-06', EG='0.81', time_epoch_completed='1670490109.34', return_code='0', job_id='722674', GAL2='1.06', EG2='0.78', return_code2='0', energy_flux_error='9.80e-06', photon_flux_error2='4.94e-08', ts2='5.46', photon_index='2.87' WHERE bin_id='1746' AND source_name='4FGL J1153.0+8056' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 01:01:49 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0049>
Subject: Job 722674: <4FGL_J1153.0+8056_daily_bin1746> in cluster <slac> Done

Job <4FGL_J1153.0+8056_daily_bin1746> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Dec  8 00:45:17 2022
Job was executed on host(s) <bullet0049>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 00:45:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 00:45:19 2022
Terminated at Thu Dec  8 01:01:50 2022
Results reported at Thu Dec  8 01:01:50 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.0+8056_daily_bin1746 178.266 80.9357 691891201 692150401 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 :                                   941.09 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             342.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   990 sec.
    Turnaround time :                            993 sec.

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

