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


Performing analysis on: 4FGL_J1059.2-1134_daily_bin1747
RA = 164.806, Dec = -11.572
tmin = 692150401, tmax = 692409601
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='796838', job_status='RUN', time_executed='2022-12-11 00:43:30.993523', time_epoch_executed='1670748210.99' WHERE source_name='4FGL J1059.2-1134' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/796838

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/796838/ft1_4FGL_J1059.2-1134_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/796838/ft2_4FGL_J1059.2-1134_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/796838/ft1_4FGL_J1059.2-1134_daily_bin1747.fits outfile=/scratch/kocevski/796838/ft1_filteredMKT_4FGL_J1059.2-1134_daily_bin1747.fits ra=164.806 dec=-11.572 rad=12.0 tmin=692150401.0 tmax=692409601.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.01
user 3.78
sys 0.22

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

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

Number of photons that the gtmktime cut: 826

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/796838/ft1_filtered_4FGL_J1059.2-1134_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/796838/ft2_4FGL_J1059.2-1134_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/796838/ltcube_692150401_692409601_4FGL_J1059.2-1134_daily_bin1747.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/796838/ft2_4FGL_J1059.2-1134_daily_bin1747.fits
.....................!
real 11.77
user 11.38
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/796838/ft1_filtered_4FGL_J1059.2-1134_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/796838/ft2_4FGL_J1059.2-1134_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/796838/ltcube_692150401_692409601_4FGL_J1059.2-1134_daily_bin1747.fits outfile=/scratch/kocevski/796838/expmap_692150401_692409601_4FGL_J1059.2-1134_daily_bin1747.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/796838/ltcube_692150401_692409601_4FGL_J1059.2-1134_daily_bin1747.fits
.....................!
real 192.60
user 187.05
sys 5.17

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/796838/ft1_filtered_4FGL_J1059.2-1134_daily_bin1747.fits scfile=/scratch/kocevski/796838/ft2_4FGL_J1059.2-1134_daily_bin1747.fits outfile=/scratch/kocevski/796838/cmap_692150401_692409601_4FGL_J1059.2-1134_daily_bin1747.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/796838/ft1_filtered_4FGL_J1059.2-1134_daily_bin1747.fits scfile=/scratch/kocevski/796838/ft2_4FGL_J1059.2-1134_daily_bin1747.fits outfile=/scratch/kocevski/796838/cmap_HighResolution_692150401_692409601_4FGL_J1059.2-1134_daily_bin1747.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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/796838/ft1_filtered_4FGL_J1059.2-1134_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/796838/ft2_4FGL_J1059.2-1134_daily_bin1747.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/796838/Model_4FGL_J1059.2-1134_daily_bin1747.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/796838/ft1_filtered_4FGL_J1059.2-1134_daily_bin1747.fits.....................!
real 77.74
user 75.86
sys 1.35

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13151E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .67474E-04   1.0000          .0000       .10000E+07
     3 'norm      '    13.159       1.0000          .0000       .10000E+07
     4 'Prefactor '    .11523E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .21641E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.8251       1.0000          .0000       .10000E+07
     7 'Prefactor '    .12054E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .14728E-01   1.0000          .0000       .10000E+07
     9 'norm      '    1.8183       1.0000          .0000       .10000E+07
    10 'norm      '    1.0341       1.0000          .0000       .10000E+07
    11 'Prefactor '    .90725E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    33.511       1.0000          .0000       .10000E+07
    13 'norm      '    11.864       1.0000          .0000       .10000E+07
    14 'Prefactor '    .13011E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .26063E-02   1.0000          .0000       .10000E+07
    16 'Normalizat'    .72331       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1408       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=   8957.074     FROM MIGRAD    STATUS=CONVERGED    115 CALLS      934 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6994       -.12230E-07** at limit **
   2  Prefactor      .0000        2.8398        .16519E-06** at limit **
   3  norm          13.170        5.2832       -.11219E-06   -.13934E-03
   4  Prefactor     .16653E-09    5.4526        .51094E-06** at limit **
   5  Prefactor     .80846E-06    6.1701       -.97520E-06** at limit **
   6  Prefactor     3.8243        1.6861        .17850E-06    .20065E-01
   7  Prefactor      .0000        1.0877        .27838E-06** at limit **
   8  Prefactor     .33307E-09    10.444        .12333E-06** at limit **
   9  norm          1.8261        3.9665       -.10354E-06    .12282E-02
  10  norm          1.0339        .79884       -.28542E-06   -.13167E-02
  11  Prefactor      .0000        2.6310       -.26373E-06** at limit **
  12  Prefactor     33.531        8.8477       -.40115E-06   -.87625E-02
  13  norm          12.013        4.6022       -.65259E-07    .12199E-01
  14  Prefactor     .16653E-09    20.113       -.19081E-05** at limit **
  15  Prefactor     .55511E-10    9.2975       -.65207E-06** at limit **
  16  Normalizat    .72326        .18589        .22152E-04    .10228E-04
  17  Prefactor     1.1407        .13190       -.52418E-05   -.33222E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0
  norm       = 13.1699
  Prefactor  = 1.66533e-10
  Prefactor  = 8.08464e-07
  Prefactor  = 3.82429
  Prefactor  = 0
  Prefactor  = 3.33067e-10
  norm       = 1.82608
  norm       = 1.03395
  Prefactor  = 0
  Prefactor  = 33.5309
  norm       = 12.0132
  Prefactor  = 1.66533e-10
  Prefactor  = 5.55112e-11
  Normalizat = 0.723261
  Prefactor  = 1.14068
 **********
 **   18 **HESSE 
 **********

 FCN=   8957.074     FROM HESSE     STATUS=OK           253 CALLS     1187 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.7020        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        2.8378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          13.170        5.2830        .27587E-03   -1.5635    
   4  Prefactor     .16653E-09    5.4607        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .80846E-06    76.703        .16931E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.8243        8.0695        .51581E-03   -1.5669    
   7  Prefactor      .0000        1.0821        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .33307E-09    11.086        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.8261        4.0066        .77418E-03   -1.5681    
  10  norm          1.0339        .80726        .12415E-02   -1.5688    
  11  Prefactor      .0000        2.6092        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     33.531        9.2864        .17277E-03   -1.5592    
  13  norm          12.013        15.952        .29058E-03   -1.5639    
  14  Prefactor     .16653E-09    20.156        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    9.5242        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .72326        .16426        .72563E-01   -1.0298    
  17  Prefactor     1.1407        .11503        .36208E-01   -.88177    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.31989e-08
Minuit parameter uncertainties:
  1  1.24218e-05
  2  5.93306e-06
  3  5.28299
  4  5.90612e-05
  5  0.0157498
  6  8.06951
  7  1.04947e-05
  8  0.000122323
  9  4.00661
  10  0.807259
  11  1.54399e-05
  12  9.28641
  13  15.9525
  14  0.000111977
  15  4.725e-05
  16  0.164371
  17  0.115056
Done.

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

Extracting fit parameters...

4FGL J1059.2-1134
   Spectrum: LogParabola
291         norm:  1.317e+01  5.283e+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.141e+00  1.151e-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:  7.233e-01  1.644e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 23.58
Ra Dec: 164.806 -11.572
Photon Index (Fixed Index): 2.09 +/- 0.00
Photon Flux (Fixed Index): 6.43e-08 +/- 2.58e-08
Energy Flux (Fixed Index): 3.22e-05 +/- 1.29e-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) = 8955.81398
delta logL = 1.259543837

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8955.74093016
delta logL = 1.33259367291

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.031       1.0000          .0000       .10000E+07
     2 'alpha     '    1.5280       1.0000          .0000       5.0000    
     3 'Normalizat'    .75904       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1276       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=   8955.741     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      219 TOTAL
                     EDM=   .56E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.029        4.7769        .30140E-03   -.83714E-03
   2  alpha         1.5279        .25470        .24482       -.60049E-04
   3  Normalizat    .75901        .15936        .70971E-01    .37842E-04
   4  Prefactor     1.1276        .11385        .36622E-01   -.16824E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 11.029
  alpha      = 1.5279
  Normalizat = 0.759006
  Prefactor  = 1.12759
 **********
 **   18 **HESSE 
 **********

 FCN=   8955.741     FROM HESSE     STATUS=OK            33 CALLS      252 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.029        5.5492        .12056E-04   -1.5642    
   2  alpha         1.5279        .31850        .10053E-01   -.39937    
   3  Normalizat    .75901        .18367        .31407E-03   -1.0161    
   4  Prefactor     1.1276        .13142        .18705E-03   -.88590    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17792e-09
Minuit parameter uncertainties:
  1  5.54923
  2  0.319523
  3  0.183824
  4  0.131462
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/796838': 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) = 8955.74093004
delta logL = 1.33259379327

Extracting fit parameters...

4FGL J1059.2-1134
   Spectrum: LogParabola
291         norm:  1.103e+01  5.549e+00  0.000e+00  1.000e+06 ( 1.000e-12)
292        alpha:  1.528e+00  3.195e-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.128e+00  1.315e-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:  7.590e-01  1.838e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 26.22
Ra Dec: 164.806 -11.572
Photon Index (Free Index): 1.53 +/- 0.32
Photon Flux (Free Index): 3.60e-08 +/- 2.04e-08
Energy Flux (Free Index): 6.96e-05 +/- 4.91e-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/796838/cmap_HighResolution_692150401_692409601_4FGL_J1059.2-1134_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.43e-08', energy_flux2='6.96e-05', photon_flux_error='2.58e-08', dlogl='1.33e+00', energy_flux='3.22e-05', photon_flux2='3.60e-08', job_status='DONE', time_completed='2022-12-11 00:52:51.591943', photon_index_error2='0.32', photon_index2='1.53', ts='23.58', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', energy_flux_error2='4.91e-05', EG='0.72', time_epoch_completed='1670748771.59', return_code='0', job_id='796838', GAL2='1.13', EG2='0.76', return_code2='0', energy_flux_error='1.29e-05', photon_flux_error2='2.04e-08', ts2='26.22', photon_index='2.09' WHERE bin_id='1747' AND source_name='4FGL J1059.2-1134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 00:52:51 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0171>
Subject: Job 796838: <4FGL_J1059.2-1134_daily_bin1747> in cluster <slac> Done

Job <4FGL_J1059.2-1134_daily_bin1747> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Dec 11 00:40:13 2022
Job was executed on host(s) <bullet0171>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 00:40:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 00:40:15 2022
Terminated at Sun Dec 11 00:52:52 2022
Results reported at Sun Dec 11 00:52:52 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1059.2-1134_daily_bin1747 164.806 -11.572 692150401 692409601 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.16 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             247.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   756 sec.
    Turnaround time :                            759 sec.

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

