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


Performing analysis on: 4FGL_J1059.2-1134_daily_bin1749
RA = 164.806, Dec = -11.572
tmin = 692668801, tmax = 692928001
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='949135', job_status='RUN', time_executed='2022-12-17 00:36:44.368536', time_epoch_executed='1671266204.37' WHERE source_name='4FGL J1059.2-1134' and cadence='daily' and bin_id='1749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/949135

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/949135/ft1_4FGL_J1059.2-1134_daily_bin1749.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/949135/ft2_4FGL_J1059.2-1134_daily_bin1749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/949135/ft1_4FGL_J1059.2-1134_daily_bin1749.fits outfile=/scratch/kocevski/949135/ft1_filteredMKT_4FGL_J1059.2-1134_daily_bin1749.fits ra=164.806 dec=-11.572 rad=12.0 tmin=692668801.0 tmax=692928001.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.67
user 3.44
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/949135/ft2_4FGL_J1059.2-1134_daily_bin1749.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/949135/ft2_4FGL_J1059.2-1134_daily_bin1749.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/949135/ft1_filteredMKT_4FGL_J1059.2-1134_daily_bin1749.fits evtable="EVENTS" outfile="/scratch/kocevski/949135/ft1_filtered_4FGL_J1059.2-1134_daily_bin1749.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.34
sys 0.15

Number of photons that the gtmktime cut: 831

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/949135/ft1_filtered_4FGL_J1059.2-1134_daily_bin1749.fits" evtable="EVENTS" scfile=/scratch/kocevski/949135/ft2_4FGL_J1059.2-1134_daily_bin1749.fits sctable="SC_DATA" outfile=/scratch/kocevski/949135/ltcube_692668801_692928001_4FGL_J1059.2-1134_daily_bin1749.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/949135/ft2_4FGL_J1059.2-1134_daily_bin1749.fits
.....................!
real 12.15
user 11.72
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/949135/ft1_filtered_4FGL_J1059.2-1134_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/949135/ft2_4FGL_J1059.2-1134_daily_bin1749.fits sctable="SC_DATA" expcube=/scratch/kocevski/949135/ltcube_692668801_692928001_4FGL_J1059.2-1134_daily_bin1749.fits outfile=/scratch/kocevski/949135/expmap_692668801_692928001_4FGL_J1059.2-1134_daily_bin1749.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/949135/ltcube_692668801_692928001_4FGL_J1059.2-1134_daily_bin1749.fits
.....................!
real 191.57
user 185.72
sys 5.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 195 point sources and 0 extended sources

Setting source of interest to:
4FGL J1059.2-1134 @ 164.806 -11.572

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/949135/ft1_filtered_4FGL_J1059.2-1134_daily_bin1749.fits scfile=/scratch/kocevski/949135/ft2_4FGL_J1059.2-1134_daily_bin1749.fits outfile=/scratch/kocevski/949135/cmap_692668801_692928001_4FGL_J1059.2-1134_daily_bin1749.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=164.806 yref=-11.572 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/949135/ft1_filtered_4FGL_J1059.2-1134_daily_bin1749.fits scfile=/scratch/kocevski/949135/ft2_4FGL_J1059.2-1134_daily_bin1749.fits outfile=/scratch/kocevski/949135/cmap_HighResolution_692668801_692928001_4FGL_J1059.2-1134_daily_bin1749.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=164.806 yref=-11.572 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/949135/ft1_filtered_4FGL_J1059.2-1134_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/949135/ft2_4FGL_J1059.2-1134_daily_bin1749.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/949135/Model_4FGL_J1059.2-1134_daily_bin1749.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/949135/ft1_filtered_4FGL_J1059.2-1134_daily_bin1749.fits.....................!
real 79.68
user 78.29
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/949135/ft1_filtered_4FGL_J1059.2-1134_daily_bin1749.fits', '/scratch/kocevski/949135/ft2_4FGL_J1059.2-1134_daily_bin1749.fits', expMap='/scratch/kocevski/949135/expmap_692668801_692928001_4FGL_J1059.2-1134_daily_bin1749.fits', expCube='/scratch/kocevski/949135/ltcube_692668801_692928001_4FGL_J1059.2-1134_daily_bin1749.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/949135/Model_4FGL_J1059.2-1134_daily_bin1749.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1059.2-1134'

4FGL J1059.2-1134
   Spectrum: LogParabola
291         norm:  8.168e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
292        alpha:  2.088e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
293         beta:  4.525e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  6.976e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/949135/ft1_filtered_4FGL_J1059.2-1134_daily_bin1749.fits
Spacecraft file(s): /scratch/kocevski/949135/ft2_4FGL_J1059.2-1134_daily_bin1749.fits
Exposure map: /scratch/kocevski/949135/expmap_692668801_692928001_4FGL_J1059.2-1134_daily_bin1749.fits
Exposure cube: /scratch/kocevski/949135/ltcube_692668801_692928001_4FGL_J1059.2-1134_daily_bin1749.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/949135/Model_4FGL_J1059.2-1134_daily_bin1749.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) = 8834.48990747

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .59958       1.0000          .0000       .10000E+07
     2 'Prefactor '    .30064E-03   1.0000          .0000       .10000E+07
     3 'norm      '    1.4486       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.9675       1.0000          .0000       .10000E+07
     5 'Prefactor '    20.925       1.0000          .0000       .10000E+07
     6 'Prefactor '    10.372       1.0000          .0000       .10000E+07
     7 'Prefactor '    7.5165       1.0000          .0000       .10000E+07
     8 'Prefactor '    42.196       1.0000          .0000       .10000E+07
     9 'norm      '    .82483E-04   1.0000          .0000       .10000E+07
    10 'norm      '    .40523E-08   1.0000          .0000       .10000E+07
    11 'Prefactor '    .33022E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    107.45       1.0000          .0000       .10000E+07
    13 'norm      '    4.9708       1.0000          .0000       .10000E+07
    14 'Prefactor '    7.2289       1.0000          .0000       .10000E+07
    15 'Prefactor '    .46565       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.1978       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .93104       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8834.465     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1262 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .67443        8.2398       -.46672E-06    .17380E-02
   2  Prefactor     .16653E-09    2.5016        .11871E-07** at limit **
   3  norm          1.4464        4.6712        .19047E-07    .12727E-02
   4  Prefactor     4.0719        14.043       -.70942E-06    .16912E-02
   5  Prefactor     20.853        3.8862        .58023E-06   -.36460E-01
   6  Prefactor     10.472        14.579        .32663E-05    .72750E-02
   7  Prefactor     7.5032        5.1732       -.28263E-06   -.55480E-02
   8  Prefactor     43.529        59.412        .51098E-05    .10514E-03
   9  norm          .68834E-08    24.000       -.15681E-05** at limit **
  10  norm           .0000        .28663       -.57286E-07** at limit **
  11  Prefactor     .61062E-09    2.5029        .54547E-06** at limit **
  12  Prefactor     107.46        4.3452       -.13835E-06    .57449E-01
  13  norm          4.7473        9.9149        .56631E-07    .55585E-03
  14  Prefactor     7.2885        22.550        .98557E-05    .61638E-03
  15  Prefactor     .18485E-06    141.08        .51822E-05** at limit **
  16  Normalizat    1.1973        .21684       -.90483E-05    .27452E-04
  17  Prefactor     .93097        .14463       -.29835E-05   -.91625E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.67443
  Prefactor  = 1.66533e-10
  norm       = 1.44636
  Prefactor  = 4.0719
  Prefactor  = 20.8533
  Prefactor  = 10.4723
  Prefactor  = 7.50324
  Prefactor  = 43.529
  norm       = 6.88338e-09
  norm       = 0
  Prefactor  = 6.10623e-10
  Prefactor  = 107.464
  norm       = 4.74727
  Prefactor  = 7.28853
  Prefactor  = 1.84852e-07
  Normalizat = 1.19731
  Prefactor  = 0.93097
 **********
 **   18 **HESSE 
 **********

 FCN=   8834.465     FROM HESSE     STATUS=OK           269 CALLS     1531 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .67443        8.1766        .69265E-03   -1.5692    
   2  Prefactor     .16653E-09    2.4977        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.4464        4.6921        .89504E-03   -1.5684    
   4  Prefactor     4.0719        14.181        .50615E-03   -1.5668    
   5  Prefactor     20.853        41.622        .21868E-03   -1.5617    
   6  Prefactor     10.472        15.011        .31087E-03   -1.5643    
   7  Prefactor     7.5032        5.1865        .36556E-03   -1.5653    
   8  Prefactor     43.529        59.535        .15396E-03   -1.5576    
   9  norm          .68834E-08    23.752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        .28527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .61062E-09    2.5024        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     107.46        15.249        .96477E-04   -1.5501    
  13  norm          4.7473        9.9611        .45084E-03   -1.5664    
  14  Prefactor     7.2885        22.666        .37283E-03   -1.5654    
  15  Prefactor     .18485E-06    14.473        .13328E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.1973        .18575        .66429E-01   -.86686    
  17  Prefactor     .93097        .12233        .45399E-01   -.95067    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48145e-07
Minuit parameter uncertainties:
  1  4.69661
  2  3.86096e-05
  3  4.69214
  4  14.181
  5  41.6225
  6  15.0114
  7  5.18646
  8  59.5353
  9  0.000809439
  10  5.3935e-06
  11  7.94817e-05
  12  15.2492
  13  9.9611
  14  22.6661
  15  0.00327151
  16  0.185855
  17  0.122364
Done.

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

Extracting fit parameters...

4FGL J1059.2-1134
   Spectrum: LogParabola
291         norm:  1.446e+00  4.692e+00  0.000e+00  1.000e+06 ( 1.000e-12)
292        alpha:  2.088e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
293         beta:  4.525e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  6.976e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  9.310e-01  1.224e-01  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  1.197e+00  1.859e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.11
Ra Dec: 164.806 -11.572
Photon Flux Upper Limit: 6.66e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.33e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/949135/likelihoodResults_692668801_692928001_4FGL_J1059.2-1134_daily_bin1749.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) = 8834.14805995
delta logL = 0.31727943718

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8834.14799326
delta logL = 0.31734612987

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4001       1.0000          .0000       .10000E+07
     2 'alpha     '    3.4176       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1531       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94822       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6240E+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=   8834.148     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      347 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3998        97.959        .12950E-04   -.15929E-01
   2  alpha         3.4178        3.2753        .25928E-01   -.71772E-04
   3  Normalizat    1.1530        .23253        .29877E-03   -.43661E-03
   4  Prefactor     .94827        .15101        .22068E-03   -.86857E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.3998
  alpha      = 3.41777
  Normalizat = 1.153
  Prefactor  = 0.948269
 **********
 **   18 **HESSE 
 **********

 FCN=   8834.148     FROM HESSE     STATUS=OK            25 CALLS      372 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3998        5.0626        .51800E-06   -1.5684    
   2  alpha         3.4178        3.8232        .10371E-02    .37590    
   3  Normalizat    1.1530        .22433        .59755E-04   -.88068    
   4  Prefactor     .94827        .14838        .88272E-05   -.94474    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48569e-09
Minuit parameter uncertainties:
  1  5.06259
  2  2.64962
  3  0.22452
  4  0.148443
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/949135': 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) = 8834.1479932
delta logL = 0.317346191972

Extracting fit parameters...

4FGL J1059.2-1134
   Spectrum: LogParabola
291         norm:  1.400e+00  5.063e+00  0.000e+00  1.000e+06 ( 1.000e-12)
292        alpha:  3.418e+00  2.650e+00  0.000e+00  5.000e+00 ( 1.000e+00)
293         beta:  4.525e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  6.976e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  9.483e-01  1.484e-01  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  1.153e+00  2.245e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.11
Ra Dec: 164.806 -11.572

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/949135/cmap_HighResolution_692668801_692928001_4FGL_J1059.2-1134_daily_bin1749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.33e-05', job_status='DONE', photon_flux_upper_limit='6.66e-08', time_completed='2022-12-17 00:47:33.685284', job_id='949135', GAL2='0.95', fit_tolerance='1e-08', EG2='1.15', EG='1.20', time_epoch_completed='1671266853.69', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='3.17e-01', ts2='0.79', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='1749' AND source_name='4FGL J1059.2-1134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 17 00:47:33 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 949135: <4FGL_J1059.2-1134_daily_bin1749> in cluster <slac> Done

Job <4FGL_J1059.2-1134_daily_bin1749> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sat Dec 17 00:35:18 2022
Job was executed on host(s) <bullet0278>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 17 00:35:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 17 00:35:19 2022
Terminated at Sat Dec 17 00:47:34 2022
Results reported at Sat Dec 17 00:47:34 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1059.2-1134_daily_bin1749 164.806 -11.572 692668801 692928001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1059.2-1134 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   651.23 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             303.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   734 sec.
    Turnaround time :                            736 sec.

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

