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


Performing analysis on: 4FGL_J1059.2-1134_daily_bin1711
RA = 164.806, Dec = -11.572
tmin = 682819201, tmax = 683078401
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='98913', job_status='RUN', time_executed='2022-09-16 15:42:36.969851', time_epoch_executed='1663368156.97' WHERE source_name='4FGL J1059.2-1134' and cadence='daily' and bin_id='1711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/98913

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/98913/ft1_4FGL_J1059.2-1134_daily_bin1711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/98913/ft2_4FGL_J1059.2-1134_daily_bin1711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/98913/ft1_4FGL_J1059.2-1134_daily_bin1711.fits outfile=/scratch/kocevski/98913/ft1_filteredMKT_4FGL_J1059.2-1134_daily_bin1711.fits ra=164.806 dec=-11.572 rad=12.0 tmin=682819201.0 tmax=683078401.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.63
user 4.34
sys 0.24

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

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

Number of photons that the gtmktime cut: 868

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/98913/ft1_filtered_4FGL_J1059.2-1134_daily_bin1711.fits" evtable="EVENTS" scfile=/scratch/kocevski/98913/ft2_4FGL_J1059.2-1134_daily_bin1711.fits sctable="SC_DATA" outfile=/scratch/kocevski/98913/ltcube_682819201_683078401_4FGL_J1059.2-1134_daily_bin1711.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/98913/ft2_4FGL_J1059.2-1134_daily_bin1711.fits
.....................!
real 12.80
user 12.37
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/98913/ft1_filtered_4FGL_J1059.2-1134_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/98913/ft2_4FGL_J1059.2-1134_daily_bin1711.fits sctable="SC_DATA" expcube=/scratch/kocevski/98913/ltcube_682819201_683078401_4FGL_J1059.2-1134_daily_bin1711.fits outfile=/scratch/kocevski/98913/expmap_682819201_683078401_4FGL_J1059.2-1134_daily_bin1711.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/98913/ltcube_682819201_683078401_4FGL_J1059.2-1134_daily_bin1711.fits
.....................!
real 193.66
user 187.94
sys 4.90

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/98913/ft1_filtered_4FGL_J1059.2-1134_daily_bin1711.fits scfile=/scratch/kocevski/98913/ft2_4FGL_J1059.2-1134_daily_bin1711.fits outfile=/scratch/kocevski/98913/cmap_682819201_683078401_4FGL_J1059.2-1134_daily_bin1711.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/98913/ft1_filtered_4FGL_J1059.2-1134_daily_bin1711.fits scfile=/scratch/kocevski/98913/ft2_4FGL_J1059.2-1134_daily_bin1711.fits outfile=/scratch/kocevski/98913/cmap_HighResolution_682819201_683078401_4FGL_J1059.2-1134_daily_bin1711.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/98913/ft1_filtered_4FGL_J1059.2-1134_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/98913/ft2_4FGL_J1059.2-1134_daily_bin1711.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/98913/Model_4FGL_J1059.2-1134_daily_bin1711.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/98913/ft1_filtered_4FGL_J1059.2-1134_daily_bin1711.fits.....................!
real 82.67
user 80.95
sys 1.47

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.4223       1.0000          .0000       .10000E+07
     2 'Prefactor '    13.565       1.0000          .0000       .10000E+07
     3 'norm      '    3.7795       1.0000          .0000       .10000E+07
     4 'Prefactor '    .97999E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.6619       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.8407       1.0000          .0000       .10000E+07
     7 'Prefactor '    .17124E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .52386E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .29796E-05   1.0000          .0000       .10000E+07
    10 'norm      '    .13312E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .66613E-09   1.0000          .0000       .10000E+07
    12 'Prefactor '    55.236       1.0000          .0000       .10000E+07
    13 'norm      '    .43018E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .20674E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .33115E-03   1.0000          .0000       .10000E+07
    16 'Normalizat'    .80201       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.3024       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=   9275.623     FROM MIGRAD    STATUS=CONVERGED    126 CALLS      963 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.4334        6.0097        .46458E-07   -.28600E-02
   2  Prefactor     13.563        8.0523       -.26652E-07   -.44720E-01
   3  norm          3.7110        4.9225       -.17049E-06   -.12686E-02
   4  Prefactor     .12584E-06    8.4795       -.59194E-06** at limit **
   5  Prefactor     3.1770        163.16       -.62957E-06    .94532E-03
   6  Prefactor     3.8141        4.3643        .93549E-08   -.88901E-01
   7  Prefactor     .55511E-10    2.4371        .37490E-07** at limit **
   8  Prefactor     .25202E-07    11.246        .89830E-06** at limit **
   9  norm           .0000        1.5381       -.59371E-07** at limit **
  10  norm           .0000        .17247        .19202E-07** at limit **
  11  Prefactor      .0000        .99060       -.55675E-07** at limit **
  12  Prefactor     55.239        1.1103        .24150E-09    .10065E-01
  13  norm          .77716E-09    4.6648       -.15875E-06** at limit **
  14  Prefactor     .12768E-08    6.1952        .22905E-06** at limit **
  15  Prefactor     .21533E-06    8.9134       -.28692E-06** at limit **
  16  Normalizat    .80218        .20150        .17466E-05    .92929E-04
  17  Prefactor     1.3029        .14545        .28022E-06    .14363E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.43341
  Prefactor  = 13.5626
  norm       = 3.711
  Prefactor  = 1.25844e-07
  Prefactor  = 3.177
  Prefactor  = 3.81407
  Prefactor  = 5.55112e-11
  Prefactor  = 2.52021e-08
  norm       = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 55.2393
  norm       = 7.77156e-10
  Prefactor  = 1.27676e-09
  Prefactor  = 2.15328e-07
  Normalizat = 0.802184
  Prefactor  = 1.30286
 **********
 **   18 **HESSE 
 **********

 FCN=   9275.623     FROM HESSE     STATUS=OK           253 CALLS     1216 TOTAL
                     EDM=   .32E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.4334        6.0198        .34519E-03   -1.5650    
   2  Prefactor     13.563        8.3458        .27170E-03   -1.5634    
   3  norm          3.7110        4.9418        .51903E-03   -1.5669    
   4  Prefactor     .12584E-06    9.0630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.1770        163.76        .46586E-03   -1.5672    
   6  Prefactor     3.8141        9.0761        .51473E-03   -1.5669    
   7  Prefactor     .55511E-10    2.4209        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .25202E-07    11.361        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.5388        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        .17227        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        .98897        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     55.239        10.695        .13456E-03   -1.5559    
  13  norm          .77716E-09    4.6731        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .12768E-08    6.2071        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .21533E-06    9.8718        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .80218        .18122        .77351E-01   -.99988    
  17  Prefactor     1.3029        .12799        .32567E-01   -.83222    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.1722e-07
Minuit parameter uncertainties:
  1  6.01976
  2  8.34585
  3  4.94183
  4  0.00213591
  5  45.6196
  6  9.0761
  7  2.01333e-05
  8  0.0010703
  9  2.8747e-06
  10  5.38289e-07
  11  1.11245e-06
  12  10.6954
  13  0.000120776
  14  0.000178453
  15  0.00291601
  16  0.18136
  17  0.128025
Done.

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

Extracting fit parameters...

4FGL J1059.2-1134
   Spectrum: LogParabola
291         norm:  3.711e+00  4.942e+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.303e+00  1.280e-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:  8.022e-01  1.814e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/98913/likelihoodResults_682819201_683078401_4FGL_J1059.2-1134_daily_bin1711.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) = 9275.29992322
delta logL = 0.322930749981

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9275.29611044
delta logL = 0.326743529895

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.4117       1.0000          .0000       .10000E+07
     2 'alpha     '    1.3812       1.0000          .0000       5.0000    
     3 'Normalizat'    .80972       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2999       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=   9275.296     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      217 TOTAL
                     EDM=   .86E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4117        3.6107        .54744E-03    .46886E-01
   2  alpha         1.3811        .41977        .35025       -.81460E-04
   3  Normalizat    .80954        .17674        .76998E-01    .10152E-03
   4  Prefactor     1.3000        .12717        .32612E-01    .68598E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 3.41172
  alpha      = 1.38106
  Normalizat = 0.809541
  Prefactor  = 1.30004
 **********
 **   18 **HESSE 
 **********

 FCN=   9275.296     FROM HESSE     STATUS=OK            33 CALLS      250 TOTAL
                     EDM=   .85E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4117        4.4747        .18311E-04   -1.5671    
   2  alpha         1.3811        .64613        .17757E-01   -.46405    
   3  Normalizat    .80954        .20026        .34083E-03   -.99716    
   4  Prefactor     1.3000        .14451        .19755E-03   -.83306    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.54935e-09
Minuit parameter uncertainties:
  1  4.47467
  2  0.65548
  3  0.200446
  4  0.144557
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/98913': 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) = 9275.29610989
delta logL = 0.326744075945

Extracting fit parameters...

4FGL J1059.2-1134
   Spectrum: LogParabola
291         norm:  3.412e+00  4.475e+00  0.000e+00  1.000e+06 ( 1.000e-12)
292        alpha:  1.381e+00  6.555e-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.300e+00  1.446e-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:  8.095e-01  2.004e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.41
Ra Dec: 164.806 -11.572
Photon Index (Free Index): 1.38 +/- 0.66
Photon Flux (Free Index): 1.08e-08 +/- 1.43e-08
Energy Flux (Free Index): 3.24e-05 +/- 5.12e-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/98913/cmap_HighResolution_682819201_683078401_4FGL_J1059.2-1134_daily_bin1711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.76e-05', comment='SUCCESS', energy_flux2='3.24e-05', dlogl='3.27e-01', photon_flux2='1.08e-08', job_status='DONE', time_completed='2022-09-16 15:53:06.945796', photon_index_error2='0.66', photon_index2='1.38', ts='0.77', fit_tolerance='1e-08', GAL='1.30', photon_index_error='0.00', photon_flux_upper_limit='7.52e-08', energy_flux_error2='5.12e-05', EG='0.80', time_epoch_completed='1663368786.95', return_code='0', job_id='98913', GAL2='1.30', EG2='0.81', return_code2='0', photon_flux_error2='1.43e-08', ts2='1.41', photon_index='2.09' WHERE bin_id='1711' AND source_name='4FGL J1059.2-1134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:53:06 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 98913: <4FGL_J1059.2-1134_daily_bin1711> in cluster <slac> Done

Job <4FGL_J1059.2-1134_daily_bin1711> 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) <bullet0218>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:41:15 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:15 2022
Terminated at Fri Sep 16 15:53:07 2022
Results reported at Fri Sep 16 15:53:07 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1059.2-1134_daily_bin1711 164.806 -11.572 682819201 683078401 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 :                                   631.19 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             315.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   712 sec.
    Turnaround time :                            772 sec.

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

