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


Performing analysis on: 4FGL_J1059.2-1134_daily_bin1752
RA = 164.806, Dec = -11.572
tmin = 693446401, tmax = 693705601
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='260487', job_status='RUN', time_executed='2022-12-26 00:50:07.076898', time_epoch_executed='1672044607.08' WHERE source_name='4FGL J1059.2-1134' and cadence='daily' and bin_id='1752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/260487

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/260487/ft1_4FGL_J1059.2-1134_daily_bin1752.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/260487/ft2_4FGL_J1059.2-1134_daily_bin1752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/260487/ft1_4FGL_J1059.2-1134_daily_bin1752.fits outfile=/scratch/kocevski/260487/ft1_filteredMKT_4FGL_J1059.2-1134_daily_bin1752.fits ra=164.806 dec=-11.572 rad=12.0 tmin=693446401.0 tmax=693705601.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 5.77
user 3.24
sys 0.18

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

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

Number of photons that the gtmktime cut: 547

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/260487/ft1_filtered_4FGL_J1059.2-1134_daily_bin1752.fits" evtable="EVENTS" scfile=/scratch/kocevski/260487/ft2_4FGL_J1059.2-1134_daily_bin1752.fits sctable="SC_DATA" outfile=/scratch/kocevski/260487/ltcube_693446401_693705601_4FGL_J1059.2-1134_daily_bin1752.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/260487/ft2_4FGL_J1059.2-1134_daily_bin1752.fits
.....................!
real 14.55
user 14.08
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/260487/ft1_filtered_4FGL_J1059.2-1134_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/260487/ft2_4FGL_J1059.2-1134_daily_bin1752.fits sctable="SC_DATA" expcube=/scratch/kocevski/260487/ltcube_693446401_693705601_4FGL_J1059.2-1134_daily_bin1752.fits outfile=/scratch/kocevski/260487/expmap_693446401_693705601_4FGL_J1059.2-1134_daily_bin1752.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/260487/ltcube_693446401_693705601_4FGL_J1059.2-1134_daily_bin1752.fits
.....................!
real 190.87
user 186.35
sys 4.08

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/260487/ft1_filtered_4FGL_J1059.2-1134_daily_bin1752.fits scfile=/scratch/kocevski/260487/ft2_4FGL_J1059.2-1134_daily_bin1752.fits outfile=/scratch/kocevski/260487/cmap_693446401_693705601_4FGL_J1059.2-1134_daily_bin1752.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/260487/ft1_filtered_4FGL_J1059.2-1134_daily_bin1752.fits scfile=/scratch/kocevski/260487/ft2_4FGL_J1059.2-1134_daily_bin1752.fits outfile=/scratch/kocevski/260487/cmap_HighResolution_693446401_693705601_4FGL_J1059.2-1134_daily_bin1752.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.60
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.519       1.0000          .0000       .10000E+07
     2 'Prefactor '    16.302       1.0000          .0000       .10000E+07
     3 'norm      '    .40030E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .12387E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    92.590       1.0000          .0000       .10000E+07
     6 'Prefactor '    10.233       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11017E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    38.156       1.0000          .0000       .10000E+07
     9 'norm      '    9.0247       1.0000          .0000       .10000E+07
    10 'norm      '    .86518E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .37842E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    54.231       1.0000          .0000       .10000E+07
    13 'norm      '    .96194E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    22.977       1.0000          .0000       .10000E+07
    15 'Prefactor '    42.177       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.0326       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .90953       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=   6076.635     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1227 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.511        7.6041        .30484E-07    .30872E-02
   2  Prefactor     16.435        11.430       -.23619E-07    .45497E-01
   3  norm          .21649E-08    4.6083       -.70337E-07** at limit **
   4  Prefactor     .34361E-07    14.003       -.14383E-06** at limit **
   5  Prefactor     92.435        4.3111        .27219E-07    .16192    
   6  Prefactor     10.318        2.1613        .17426E-07   -.24790E-01
   7  Prefactor     .51625E-08    5.0714       -.14531E-06** at limit **
   8  Prefactor     39.120        30.844       -.40376E-06   -.66712E-01
   9  norm          8.9025        9.1349        .20183E-07    .72764E-02
  10  norm          .11102E-09    5.2810       -.42602E-06** at limit **
  11  Prefactor      .0000        2.0924       -.14701E-06** at limit **
  12  Prefactor     54.171        6.6601        .50886E-07    .16210    
  13  norm          .47795E-07    13.390       -.54589E-06** at limit **
  14  Prefactor     22.771        1.1144       -.82000E-08   -.10489E-01
  15  Prefactor     43.343        36.573       -.46703E-06    .78134E-01
  16  Normalizat    1.0323        .24599        .83619E-06    .69470E-04
  17  Prefactor     .90932        .16680        .15524E-05    .99734E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.5115
  Prefactor  = 16.4345
  norm       = 2.16493e-09
  Prefactor  = 3.43614e-08
  Prefactor  = 92.4346
  Prefactor  = 10.3177
  Prefactor  = 5.16254e-09
  Prefactor  = 39.1199
  norm       = 8.9025
  norm       = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 54.1712
  norm       = 4.77951e-08
  Prefactor  = 22.7707
  Prefactor  = 43.3434
  Normalizat = 1.03233
  Prefactor  = 0.909319
 **********
 **   18 **HESSE 
 **********

 FCN=   6076.635     FROM HESSE     STATUS=OK           263 CALLS     1490 TOTAL
                     EDM=   .30E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.511        7.6170        .30868E-03   -1.5643    
   2  Prefactor     16.435        12.136        .24779E-03   -1.5627    
   3  norm          .21649E-08    4.6054        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .34361E-07    14.561        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     92.435        90.806        .10393E-03   -1.5516    
   6  Prefactor     10.318        12.603        .31298E-03   -1.5644    
   7  Prefactor     .51625E-08    5.0498        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     39.120        48.931        .16191E-03   -1.5583    
   9  norm          8.9025        9.3846        .33339E-03   -1.5648    
  10  norm          .11102E-09    1.0621        .25307E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        2.0845        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     54.171        15.333        .13580E-03   -1.5561    
  13  norm          .47795E-07    14.086        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     22.771        24.653        .20867E-03   -1.5613    
  15  Prefactor     43.343        46.832        .15399E-03   -1.5576    
  16  Normalizat    1.0323        .21426        .67585E-01   -.91955    
  17  Prefactor     .90932        .14110        .45126E-01   -.95816    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.0198e-06
Minuit parameter uncertainties:
  1  7.61696
  2  12.1356
  3  0.000199403
  4  0.00141448
  5  90.8078
  6  12.6026
  7  0.000322602
  8  48.9312
  9  9.38465
  10  2.27081e-05
  11  6.0927e-06
  12  15.3332
  13  0.00164131
  14  24.6527
  15  46.8325
  16  0.21444
  17  0.141157
Done.

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

Extracting fit parameters...

4FGL J1059.2-1134
   Spectrum: LogParabola
291         norm:  2.165e-09  1.994e-04  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.093e-01  1.412e-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.032e+00  2.144e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/260487/likelihoodResults_693446401_693705601_4FGL_J1059.2-1134_daily_bin1752.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) = 6076.74349118
delta logL = -0.108485257467

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6076.63060992
delta logL = 0.00439600940081

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .20014E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0225       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91332       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=   6076.631     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      322 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .20147E-01    .93463        .60317E-04** at limit **
   2  alpha         5.0000        2.8711        .50000    ** at limit **
   3  Normalizat    1.0225        .27040        .30033E-03   -.31761E-03
   4  Prefactor     .91344        .17192        .21199E-03    .28460E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0201465
  alpha      = 5
  Normalizat = 1.02247
  Prefactor  = 0.913444
 **********
 **   18 **HESSE 
 **********

 FCN=   6076.631     FROM HESSE     STATUS=OK            31 CALLS      353 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .20147E-01    .61341        .24127E-05   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        4.9499        .50000        1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.0225        .27079        .60066E-04   -.92282    
   4  Prefactor     .91344        .17221        .42398E-04   -.95673    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.14717e-09
Minuit parameter uncertainties:
  1  0.222334
  2  0.0034449
  3  0.271159
  4  0.172315
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/260487': 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) = 6076.63060834
delta logL = 0.00439758886023

Extracting fit parameters...

4FGL J1059.2-1134
   Spectrum: LogParabola
291         norm:  2.015e-02  2.223e-01  0.000e+00  1.000e+06 ( 1.000e-12)
292        alpha:  5.000e+00  3.445e-03  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.134e-01  1.723e-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.022e+00  2.712e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/260487/cmap_HighResolution_693446401_693705601_4FGL_J1059.2-1134_daily_bin1752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.52e-05', job_status='DONE', photon_flux_upper_limit='7.04e-08', time_completed='2022-12-26 00:59:29.217810', job_id='260487', GAL2='0.91', fit_tolerance='1e-08', EG2='1.02', EG='1.03', time_epoch_completed='1672045169.22', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='4.40e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='1752' AND source_name='4FGL J1059.2-1134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 26 00:59:29 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0080>
Subject: Job 260487: <4FGL_J1059.2-1134_daily_bin1752> in cluster <slac> Done

Job <4FGL_J1059.2-1134_daily_bin1752> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Dec 26 00:45:13 2022
Job was executed on host(s) <bullet0080>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 00:46:00 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 00:46:00 2022
Terminated at Mon Dec 26 00:59:30 2022
Results reported at Mon Dec 26 00:59:30 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1059.2-1134_daily_bin1752 164.806 -11.572 693446401 693705601 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 :                                   562.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             217.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   809 sec.
    Turnaround time :                            857 sec.

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

