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


Performing analysis on: 4FGL_J1059.2-1134_daily_bin1753
RA = 164.806, Dec = -11.572
tmin = 693705601, tmax = 693964801
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='452577', job_status='RUN', time_executed='2022-12-29 00:50:09.653790', time_epoch_executed='1672303809.65' WHERE source_name='4FGL J1059.2-1134' and cadence='daily' and bin_id='1753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/452577

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/452577/ft1_4FGL_J1059.2-1134_daily_bin1753.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/452577/ft2_4FGL_J1059.2-1134_daily_bin1753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/452577/ft1_4FGL_J1059.2-1134_daily_bin1753.fits outfile=/scratch/kocevski/452577/ft1_filteredMKT_4FGL_J1059.2-1134_daily_bin1753.fits ra=164.806 dec=-11.572 rad=12.0 tmin=693705601.0 tmax=693964801.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.60
user 4.33
sys 0.24

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

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

Number of photons that the gtmktime cut: 527

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/452577/ft1_filtered_4FGL_J1059.2-1134_daily_bin1753.fits" evtable="EVENTS" scfile=/scratch/kocevski/452577/ft2_4FGL_J1059.2-1134_daily_bin1753.fits sctable="SC_DATA" outfile=/scratch/kocevski/452577/ltcube_693705601_693964801_4FGL_J1059.2-1134_daily_bin1753.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/452577/ft2_4FGL_J1059.2-1134_daily_bin1753.fits
.....................!
real 13.02
user 12.64
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/452577/ft1_filtered_4FGL_J1059.2-1134_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/452577/ft2_4FGL_J1059.2-1134_daily_bin1753.fits sctable="SC_DATA" expcube=/scratch/kocevski/452577/ltcube_693705601_693964801_4FGL_J1059.2-1134_daily_bin1753.fits outfile=/scratch/kocevski/452577/expmap_693705601_693964801_4FGL_J1059.2-1134_daily_bin1753.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/452577/ltcube_693705601_693964801_4FGL_J1059.2-1134_daily_bin1753.fits
.....................!
real 191.34
user 185.53
sys 5.30

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/452577/ft1_filtered_4FGL_J1059.2-1134_daily_bin1753.fits scfile=/scratch/kocevski/452577/ft2_4FGL_J1059.2-1134_daily_bin1753.fits outfile=/scratch/kocevski/452577/cmap_693705601_693964801_4FGL_J1059.2-1134_daily_bin1753.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.57
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/452577/ft1_filtered_4FGL_J1059.2-1134_daily_bin1753.fits scfile=/scratch/kocevski/452577/ft2_4FGL_J1059.2-1134_daily_bin1753.fits outfile=/scratch/kocevski/452577/cmap_HighResolution_693705601_693964801_4FGL_J1059.2-1134_daily_bin1753.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.54
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/452577/ft1_filtered_4FGL_J1059.2-1134_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/452577/ft2_4FGL_J1059.2-1134_daily_bin1753.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/452577/Model_4FGL_J1059.2-1134_daily_bin1753.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/452577/ft1_filtered_4FGL_J1059.2-1134_daily_bin1753.fits.....................!
real 56.90
user 55.59
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14083E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    1.5519       1.0000          .0000       .10000E+07
     3 'norm      '    1.3850       1.0000          .0000       .10000E+07
     4 'Prefactor '    14.185       1.0000          .0000       .10000E+07
     5 'Prefactor '    147.97       1.0000          .0000       .10000E+07
     6 'Prefactor '    .18075E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .57235       1.0000          .0000       .10000E+07
     8 'Prefactor '    34.318       1.0000          .0000       .10000E+07
     9 'norm      '    .33440       1.0000          .0000       .10000E+07
    10 'norm      '    .86930E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    .21544E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    71.466       1.0000          .0000       .10000E+07
    13 'norm      '    .11276E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .59993E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .94668E-05   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.1626       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .96987       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=   5841.409     FROM MIGRAD    STATUS=CONVERGED    113 CALLS     1814 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.7558       -.47621E-07** at limit **
   2  Prefactor     1.5204        5.9885       -.18813E-06   -.18422E-02
   3  norm          1.3780        5.5447        .26033E-06   -.15763E-02
   4  Prefactor     14.181        1.0052        .53259E-08   -.10944E-01
   5  Prefactor     147.98        1.0037        .98113E-09   -.14679E-01
   6  Prefactor     .11102E-09    25.065        .89306E-06** at limit **
   7  Prefactor     .55854        7.7994       -.11890E-05   -.15054E-02
   8  Prefactor     34.562        2.9953       -.23207E-07   -.21395    
   9  norm          .34912        41.166       -.32493E-05    .41258E-02
  10  norm           .0000        .32833       -.47010E-07** at limit **
  11  Prefactor     .55511E-10    2.4057       -.24019E-06** at limit **
  12  Prefactor     71.470        2.4401        .64934E-07    .11186    
  13  norm          .22204E-09    6.1546        .42412E-06** at limit **
  14  Prefactor     .35527E-08    13.011       -.61936E-06** at limit **
  15  Prefactor     .64437E-06    85.361       -.53445E-06** at limit **
  16  Normalizat    1.1633        .26034       -.11396E-04    .89976E-04
  17  Prefactor     .96950        .17720        .71530E-05    .47950E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 1.52038
  norm       = 1.37795
  Prefactor  = 14.1813
  Prefactor  = 147.977
  Prefactor  = 1.11022e-10
  Prefactor  = 0.558541
  Prefactor  = 34.5622
  norm       = 0.349122
  norm       = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 71.47
  norm       = 2.22045e-10
  Prefactor  = 3.55271e-09
  Prefactor  = 6.44373e-07
  Normalizat = 1.16325
  Prefactor  = 0.969501
 **********
 **   18 **HESSE 
 **********

 FCN=   5841.409     FROM HESSE     STATUS=OK           263 CALLS     2077 TOTAL
                     EDM=   .79E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.7599        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.5204        6.0151        .85455E-03   -1.5683    
   3  norm          1.3780        5.5115        .92386E-03   -1.5684    
   4  Prefactor     14.181        20.633        .26568E-03   -1.5633    
   5  Prefactor     147.98        107.87        .82214E-04   -1.5465    
   6  Prefactor     .11102E-09    11.886        .78615E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .55854        8.0366        .71742E-03   -1.5693    
   8  Prefactor     34.562        56.395        .17072E-03   -1.5590    
   9  norm          .34912        7.4214        .71158E-02   -1.5696    
  10  norm           .0000        .32950        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    2.3975        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     71.470        16.317        .11830E-03   -1.5539    
  13  norm          .22204E-09    6.1504        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .35527E-08    13.031        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .64437E-06    84.914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.1633        .22369        .66847E-01   -.87746    
  17  Prefactor     .96950        .14891        .45889E-01   -.93753    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.92285e-06
Minuit parameter uncertainties:
  1  1.51077e-05
  2  6.01508
  3  5.51148
  4  20.6327
  5  107.872
  6  7.61864e-05
  7  4.23734
  8  56.3963
  9  3.21931
  10  4.39619e-07
  11  2.14567e-05
  12  16.3167
  13  7.39734e-05
  14  0.000430074
  15  0.0147944
  16  0.223872
  17  0.148972
Done.

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

Extracting fit parameters...

4FGL J1059.2-1134
   Spectrum: LogParabola
291         norm:  1.378e+00  5.511e+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.695e-01  1.490e-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.163e+00  2.239e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/452577/likelihoodResults_693705601_693964801_4FGL_J1059.2-1134_daily_bin1753.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): 0
logL (Free Index) = 5841.37546237
delta logL = 0.0339862435003

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5841.37293861
delta logL = 0.0365100109611

Fit tolerance = 1e-08

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

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

 FCN=   5841.373     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      206 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 40.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7316        3.7712       -.23722E-06    .26238E-02
   2  alpha         1.6933        .78862        .18732E-04    .98138E-04
   3  Normalizat    1.1668        .21806       -.14871E-06   -.22897E-05
   4  Prefactor     .96683        .14832        .28667E-06   -.44957E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.73155
  alpha      = 1.69329
  Normalizat = 1.16677
  Prefactor  = 0.966828
 **********
 **   18 **HESSE 
 **********

 FCN=   5841.373     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7316        5.0637        .28121E-04   -1.5682    
   2  alpha         1.6933        1.1891        .28791E-01   -.32856    
   3  Normalizat    1.1668        .25907        .29533E-03   -.87636    
   4  Prefactor     .96683        .17648        .21689E-03   -.93844    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.71395e-09
Minuit parameter uncertainties:
  1  5.06374
  2  1.24583
  3  0.259357
  4  0.176583
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/452577': 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) = 5841.37293542
delta logL = 0.0365131976559

Extracting fit parameters...

4FGL J1059.2-1134
   Spectrum: LogParabola
291         norm:  1.732e+00  5.064e+00  0.000e+00  1.000e+06 ( 1.000e-12)
292        alpha:  1.693e+00  1.246e+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.668e-01  1.766e-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.167e+00  2.594e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/452577/cmap_HighResolution_693705601_693964801_4FGL_J1059.2-1134_daily_bin1753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.01e-05', job_status='DONE', photon_flux_upper_limit='8.02e-08', time_completed='2022-12-29 01:00:14.780598', job_id='452577', GAL2='0.97', fit_tolerance='1e-08', EG2='1.17', EG='1.16', time_epoch_completed='1672304414.78', return_code2='0', ts='0.07', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='3.65e-02', ts2='0.14', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='1753' AND source_name='4FGL J1059.2-1134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec 29 01:00:14 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 452577: <4FGL_J1059.2-1134_daily_bin1753> in cluster <slac> Done

Job <4FGL_J1059.2-1134_daily_bin1753> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Dec 29 00:45:15 2022
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec 29 00:47:02 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec 29 00:47:02 2022
Terminated at Thu Dec 29 01:00:15 2022
Results reported at Thu Dec 29 01:00:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1059.2-1134_daily_bin1753 164.806 -11.572 693705601 693964801 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 :                                   592.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             260.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   793 sec.
    Turnaround time :                            900 sec.

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

