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


Performing analysis on: 4FGL_J1059.2-1134_daily_bin1714
RA = 164.806, Dec = -11.572
tmin = 683596801, tmax = 683856001
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='98917', job_status='RUN', time_executed='2022-09-16 15:45:18.575167', time_epoch_executed='1663368318.58' WHERE source_name='4FGL J1059.2-1134' and cadence='daily' and bin_id='1714'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/98917

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/98917/ft1_4FGL_J1059.2-1134_daily_bin1714.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/98917/ft2_4FGL_J1059.2-1134_daily_bin1714.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/98917/ft1_4FGL_J1059.2-1134_daily_bin1714.fits outfile=/scratch/kocevski/98917/ft1_filteredMKT_4FGL_J1059.2-1134_daily_bin1714.fits ra=164.806 dec=-11.572 rad=12.0 tmin=683596801.0 tmax=683856001.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 2.92
user 2.67
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/98917/ft2_4FGL_J1059.2-1134_daily_bin1714.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/98917/ft1_filteredMKT_4FGL_J1059.2-1134_daily_bin1714.fits evtable="EVENTS" outfile="/scratch/kocevski/98917/ft1_filtered_4FGL_J1059.2-1134_daily_bin1714.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.46
user 0.31
sys 0.14

Number of photons that the gtmktime cut: 693

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/98917/ft1_filtered_4FGL_J1059.2-1134_daily_bin1714.fits" evtable="EVENTS" scfile=/scratch/kocevski/98917/ft2_4FGL_J1059.2-1134_daily_bin1714.fits sctable="SC_DATA" outfile=/scratch/kocevski/98917/ltcube_683596801_683856001_4FGL_J1059.2-1134_daily_bin1714.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/98917/ft2_4FGL_J1059.2-1134_daily_bin1714.fits
.....................!
real 13.93
user 13.54
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/98917/ft1_filtered_4FGL_J1059.2-1134_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/98917/ft2_4FGL_J1059.2-1134_daily_bin1714.fits sctable="SC_DATA" expcube=/scratch/kocevski/98917/ltcube_683596801_683856001_4FGL_J1059.2-1134_daily_bin1714.fits outfile=/scratch/kocevski/98917/expmap_683596801_683856001_4FGL_J1059.2-1134_daily_bin1714.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/98917/ltcube_683596801_683856001_4FGL_J1059.2-1134_daily_bin1714.fits
.....................!
real 156.82
user 152.52
sys 3.84

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/98917/ft1_filtered_4FGL_J1059.2-1134_daily_bin1714.fits scfile=/scratch/kocevski/98917/ft2_4FGL_J1059.2-1134_daily_bin1714.fits outfile=/scratch/kocevski/98917/cmap_683596801_683856001_4FGL_J1059.2-1134_daily_bin1714.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.50
user 0.32
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/98917/ft1_filtered_4FGL_J1059.2-1134_daily_bin1714.fits scfile=/scratch/kocevski/98917/ft2_4FGL_J1059.2-1134_daily_bin1714.fits outfile=/scratch/kocevski/98917/cmap_HighResolution_683596801_683856001_4FGL_J1059.2-1134_daily_bin1714.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.49
user 0.34
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/98917/ft1_filtered_4FGL_J1059.2-1134_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/98917/ft2_4FGL_J1059.2-1134_daily_bin1714.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/98917/Model_4FGL_J1059.2-1134_daily_bin1714.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/98917/ft1_filtered_4FGL_J1059.2-1134_daily_bin1714.fits.....................!
real 59.21
user 57.98
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/98917/ft1_filtered_4FGL_J1059.2-1134_daily_bin1714.fits', '/scratch/kocevski/98917/ft2_4FGL_J1059.2-1134_daily_bin1714.fits', expMap='/scratch/kocevski/98917/expmap_683596801_683856001_4FGL_J1059.2-1134_daily_bin1714.fits', expCube='/scratch/kocevski/98917/ltcube_683596801_683856001_4FGL_J1059.2-1134_daily_bin1714.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/98917/Model_4FGL_J1059.2-1134_daily_bin1714.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/98917/ft1_filtered_4FGL_J1059.2-1134_daily_bin1714.fits
Spacecraft file(s): /scratch/kocevski/98917/ft2_4FGL_J1059.2-1134_daily_bin1714.fits
Exposure map: /scratch/kocevski/98917/expmap_683596801_683856001_4FGL_J1059.2-1134_daily_bin1714.fits
Exposure cube: /scratch/kocevski/98917/ltcube_683596801_683856001_4FGL_J1059.2-1134_daily_bin1714.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/98917/Model_4FGL_J1059.2-1134_daily_bin1714.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) = 7539.18725155

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2438       1.0000          .0000       .10000E+07
     2 'Prefactor '    .85986E-05   1.0000          .0000       .10000E+07
     3 'norm      '    8.7218       1.0000          .0000       .10000E+07
     4 'Prefactor '    .27078E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    10.440       1.0000          .0000       .10000E+07
     6 'Prefactor '    .28949E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.7031       1.0000          .0000       .10000E+07
     8 'Prefactor '    .46054E-01   1.0000          .0000       .10000E+07
     9 'norm      '    .42866E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .33307E-09   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.6805       1.0000          .0000       .10000E+07
    12 'Prefactor '    69.233       1.0000          .0000       .10000E+07
    13 'norm      '    17.833       1.0000          .0000       .10000E+07
    14 'Prefactor '    7.3310       1.0000          .0000       .10000E+07
    15 'Prefactor '    46.667       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.0094       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0852       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=   7539.145     FROM MIGRAD    STATUS=CONVERGED    135 CALLS      970 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2575        4.1103       -.32857E-06    .12945E-03
   2  Prefactor      .0000        2.7800        .34409E-06** at limit **
   3  norm          8.7155        5.7498       -.76775E-07   -.22443E-03
   4  Prefactor     .16653E-09    15.463        .18854E-05** at limit **
   5  Prefactor     9.0477        89.613        .32668E-06    .33442E-02
   6  Prefactor      .0000        6.6944       -.11041E-05** at limit **
   7  Prefactor     4.6807        4.3733        .17736E-06    .23903E-04
   8  Prefactor      .0000        26.802        .10543E-05** at limit **
   9  norm           .0000        5.1059        .93444E-06** at limit **
  10  norm           .0000        .50798       -.40253E-07** at limit **
  11  Prefactor     5.7411        5.9012        .66027E-07    .65305E-02
  12  Prefactor     68.946        14.869       -.80362E-07    .83709E-02
  13  norm          17.530        24.294       -.12552E-05   -.93790E-02
  14  Prefactor     7.3735        2.7961        .10948E-06   -.10022    
  15  Prefactor     49.463        35.984       -.82706E-06    .47310E-02
  16  Normalizat    1.0096        .23179       -.43994E-05    .25331E-04
  17  Prefactor     1.0851        .15668        .29500E-06    .34856E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.25753
  Prefactor  = 0
  norm       = 8.71552
  Prefactor  = 1.66533e-10
  Prefactor  = 9.04768
  Prefactor  = 0
  Prefactor  = 4.68067
  Prefactor  = 0
  norm       = 0
  norm       = 0
  Prefactor  = 5.74113
  Prefactor  = 68.9464
  norm       = 17.5296
  Prefactor  = 7.37351
  Prefactor  = 49.4626
  Normalizat = 1.0096
  Prefactor  = 1.08505
 **********
 **   18 **HESSE 
 **********

 FCN=   7539.145     FROM HESSE     STATUS=OK           259 CALLS     1229 TOTAL
                     EDM=   .55E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2575        4.1571        .10041E-02   -1.5686    
   2  Prefactor      .0000        2.7918        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          8.7155        5.7497        .33917E-03   -1.5649    
   4  Prefactor     .16653E-09    15.409        .16609E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.0477        93.529        .30985E-03   -1.5648    
   6  Prefactor      .0000        6.6947        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.6807        4.3896        .46377E-03   -1.5665    
   8  Prefactor      .0000        26.754        .15701E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        5.1101        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        .50089        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.7411        6.0489        .42122E-03   -1.5660    
  12  Prefactor     68.946        14.859        .12019E-03   -1.5542    
  13  norm          17.530        24.285        .23690E-03   -1.5624    
  14  Prefactor     7.3735        19.967        .37020E-03   -1.5654    
  15  Prefactor     49.463        36.022        .14640E-03   -1.5567    
  16  Normalizat    1.0096        .19955        .71437E-01   -.92710    
  17  Prefactor     1.0851        .13475        .38179E-01   -.89946    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.5309e-07
Minuit parameter uncertainties:
  1  4.15709
  2  9.19972e-06
  3  5.74975
  4  0.000100645
  5  58.181
  6  1.90128e-05
  7  4.38958
  8  3.26338e-05
  9  1.11357e-05
  10  7.29298e-07
  11  6.04894
  12  14.8587
  13  24.285
  14  19.9674
  15  36.0222
  16  0.199701
  17  0.134788
Done.

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

Extracting fit parameters...

4FGL J1059.2-1134
   Spectrum: LogParabola
291         norm:  8.716e+00  5.750e+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:  1.085e+00  1.348e-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.010e+00  1.997e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.47
Ra Dec: 164.806 -11.572
Photon Index (Fixed Index): 2.09 +/- 0.00
Photon Flux (Fixed Index): 4.26e-08 +/- 2.81e-08
Energy Flux (Fixed Index): 2.13e-05 +/- 1.41e-05

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) = 7538.48810442
delta logL = 0.656522662764

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7538.47243643
delta logL = 0.672190652273

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.5337       1.0000          .0000       .10000E+07
     2 'alpha     '    1.5173       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0188       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0854       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.

 FCN=   7538.472     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      213 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.5337        5.0910        .36514E-03    .65019E-01
   2  alpha         1.5173        .33735        .31270       -.43591E-04
   3  Normalizat    1.0188        .19398        .71105E-01    .15180E-04
   4  Prefactor     1.0854        .13388        .38169E-01    .67179E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 7.53368
  alpha      = 1.51731
  Normalizat = 1.01885
  Prefactor  = 1.08542
 **********
 **   18 **HESSE 
 **********

 FCN=   7538.472     FROM HESSE     STATUS=OK            31 CALLS      244 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.5337        6.4007        .14606E-04   -1.5653    
   2  alpha         1.5173        .46891        .12480E-01   -.40397    
   3  Normalizat    1.0188        .22478        .31460E-03   -.92402    
   4  Prefactor     1.0854        .15544        .20998E-03   -.89934    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68398e-08
Minuit parameter uncertainties:
  1  6.40071
  2  0.472229
  3  0.224991
  4  0.155508
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/98917': 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) = 7538.47243642
delta logL = 0.672190657772

Extracting fit parameters...

4FGL J1059.2-1134
   Spectrum: LogParabola
291         norm:  7.534e+00  6.401e+00  0.000e+00  1.000e+06 ( 1.000e-12)
292        alpha:  1.517e+00  4.722e-01  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:  1.085e+00  1.555e-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.019e+00  2.250e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.80
Ra Dec: 164.806 -11.572
Photon Index (Free Index): 1.52 +/- 0.47
Photon Flux (Free Index): 2.45e-08 +/- 2.32e-08
Energy Flux (Free Index): 4.89e-05 +/- 4.84e-05

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/98917/cmap_HighResolution_683596801_683856001_4FGL_J1059.2-1134_daily_bin1714.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.26e-08', energy_flux2='4.89e-05', photon_flux_error='2.81e-08', dlogl='6.72e-01', energy_flux='2.13e-05', photon_flux2='2.45e-08', job_status='DONE', time_completed='2022-09-16 15:52:39.729063', photon_index_error2='0.47', photon_index2='1.52', ts='4.47', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', energy_flux_error2='4.84e-05', EG='1.01', time_epoch_completed='1663368759.73', return_code='0', job_id='98917', GAL2='1.09', EG2='1.02', return_code2='0', energy_flux_error='1.41e-05', photon_flux_error2='2.32e-08', ts2='5.80', photon_index='2.09' WHERE bin_id='1714' AND source_name='4FGL J1059.2-1134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:52:39 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0033>
Subject: Job 98917: <4FGL_J1059.2-1134_daily_bin1714> in cluster <slac> Done

Job <4FGL_J1059.2-1134_daily_bin1714> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 15:40:15 2022
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:41:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 15:41:20 2022
Terminated at Fri Sep 16 15:52:40 2022
Results reported at Fri Sep 16 15:52:40 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1059.2-1134_daily_bin1714 164.806 -11.572 683596801 683856001 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 :                                   442.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             260.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   679 sec.
    Turnaround time :                            745 sec.

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

