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


Performing analysis on: 4FGL_J1026.9-1749_daily_bin1712
RA = 156.742, Dec = -17.8218
tmin = 683078401, tmax = 683337601
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='93137', job_status='RUN', time_executed='2022-09-16 15:23:17.435116', time_epoch_executed='1663366997.44' WHERE source_name='4FGL J1026.9-1749' and cadence='daily' and bin_id='1712'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/93137

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/93137/ft1_4FGL_J1026.9-1749_daily_bin1712.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/93137/ft2_4FGL_J1026.9-1749_daily_bin1712.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/93137/ft1_4FGL_J1026.9-1749_daily_bin1712.fits outfile=/scratch/kocevski/93137/ft1_filteredMKT_4FGL_J1026.9-1749_daily_bin1712.fits ra=156.742 dec=-17.8218 rad=12.0 tmin=683078401.0 tmax=683337601.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.79
user 4.53
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/93137/ft2_4FGL_J1026.9-1749_daily_bin1712.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/93137/ft2_4FGL_J1026.9-1749_daily_bin1712.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/93137/ft1_filteredMKT_4FGL_J1026.9-1749_daily_bin1712.fits evtable="EVENTS" outfile="/scratch/kocevski/93137/ft1_filtered_4FGL_J1026.9-1749_daily_bin1712.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.16

Number of photons that the gtmktime cut: 884

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/93137/ft1_filtered_4FGL_J1026.9-1749_daily_bin1712.fits" evtable="EVENTS" scfile=/scratch/kocevski/93137/ft2_4FGL_J1026.9-1749_daily_bin1712.fits sctable="SC_DATA" outfile=/scratch/kocevski/93137/ltcube_683078401_683337601_4FGL_J1026.9-1749_daily_bin1712.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/93137/ft2_4FGL_J1026.9-1749_daily_bin1712.fits
.....................!
real 15.39
user 14.94
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/93137/ft1_filtered_4FGL_J1026.9-1749_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/93137/ft2_4FGL_J1026.9-1749_daily_bin1712.fits sctable="SC_DATA" expcube=/scratch/kocevski/93137/ltcube_683078401_683337601_4FGL_J1026.9-1749_daily_bin1712.fits outfile=/scratch/kocevski/93137/expmap_683078401_683337601_4FGL_J1026.9-1749_daily_bin1712.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/93137/ltcube_683078401_683337601_4FGL_J1026.9-1749_daily_bin1712.fits
.....................!
real 191.97
user 186.18
sys 4.67

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 180 point sources and 0 extended sources

Setting source of interest to:
4FGL J1026.9-1749 @ 156.742 -17.8218

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/93137/ft1_filtered_4FGL_J1026.9-1749_daily_bin1712.fits scfile=/scratch/kocevski/93137/ft2_4FGL_J1026.9-1749_daily_bin1712.fits outfile=/scratch/kocevski/93137/cmap_683078401_683337601_4FGL_J1026.9-1749_daily_bin1712.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=156.742 yref=-17.8218 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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/93137/ft1_filtered_4FGL_J1026.9-1749_daily_bin1712.fits scfile=/scratch/kocevski/93137/ft2_4FGL_J1026.9-1749_daily_bin1712.fits outfile=/scratch/kocevski/93137/cmap_HighResolution_683078401_683337601_4FGL_J1026.9-1749_daily_bin1712.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=156.742 yref=-17.8218 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.58
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/93137/ft1_filtered_4FGL_J1026.9-1749_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/93137/ft2_4FGL_J1026.9-1749_daily_bin1712.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/93137/Model_4FGL_J1026.9-1749_daily_bin1712.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/93137/ft1_filtered_4FGL_J1026.9-1749_daily_bin1712.fits.....................!
real 84.03
user 82.31
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/93137/ft1_filtered_4FGL_J1026.9-1749_daily_bin1712.fits', '/scratch/kocevski/93137/ft2_4FGL_J1026.9-1749_daily_bin1712.fits', expMap='/scratch/kocevski/93137/expmap_683078401_683337601_4FGL_J1026.9-1749_daily_bin1712.fits', expCube='/scratch/kocevski/93137/ltcube_683078401_683337601_4FGL_J1026.9-1749_daily_bin1712.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/93137/Model_4FGL_J1026.9-1749_daily_bin1712.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1026.9-1749'

4FGL J1026.9-1749
   Spectrum: PowerLaw
273    Prefactor:  2.731e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  1.948e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  2.127e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/93137/ft1_filtered_4FGL_J1026.9-1749_daily_bin1712.fits
Spacecraft file(s): /scratch/kocevski/93137/ft2_4FGL_J1026.9-1749_daily_bin1712.fits
Exposure map: /scratch/kocevski/93137/expmap_683078401_683337601_4FGL_J1026.9-1749_daily_bin1712.fits
Exposure cube: /scratch/kocevski/93137/ltcube_683078401_683337601_4FGL_J1026.9-1749_daily_bin1712.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/93137/Model_4FGL_J1026.9-1749_daily_bin1712.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) = 9438.21979813

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27195E-06   1.0000          .0000       .10000E+07
     2 'norm      '    3.2069       1.0000          .0000       .10000E+07
     3 'norm      '    .11896E-06   1.0000          .0000       .10000E+07
     4 'norm      '    .38507       1.0000          .0000       .10000E+07
     5 'Prefactor '    .57650       1.0000          .0000       .10000E+07
     6 'Prefactor '    21.570       1.0000          .0000       .10000E+07
     7 'norm      '    4.3316       1.0000          .0000       .10000E+07
     8 'Prefactor '    .11751E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.4224       1.0000          .0000       .10000E+07
    10 'norm      '    7.5370       1.0000          .0000       .10000E+07
    11 'Prefactor '    .17792E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .47832E-03   1.0000          .0000       .10000E+07
    13 'Normalizat'    .85261       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.1914       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5800E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9438.203     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      747 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.5663       -.33817E-07** at limit **
   2  norm          3.1839        5.1017       -.21650E-06    .56348E-04
   3  norm           .0000        7.3186        .20949E-06** at limit **
   4  norm          .38477        .86395        .38534E-06    .28723E-02
   5  Prefactor     .61996        7.8528       -.75186E-06   -.10701E-01
   6  Prefactor     21.432        1.6797        .48663E-07   -.58795E-01
   7  norm          4.3405        2.9048        .52465E-07   -.87081E-03
   8  Prefactor     .15099E-07    3.2031        .19541E-06** at limit **
   9  Prefactor     1.4212        2.8875        .60401E-06   -.82202E-03
  10  norm          7.4647        6.4025       -.33747E-07   -.84227E-03
  11  Prefactor     .13267E-07    3.2458       -.29110E-06** at limit **
  12  Prefactor     .27756E-09    17.194        .49283E-06** at limit **
  13  Normalizat    .85283        .18926       -.64377E-05    .31155E-04
  14  Prefactor     1.1913        .12432        .53308E-05    .54031E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 3.1839
  norm       = 0
  norm       = 0.384771
  Prefactor  = 0.619964
  Prefactor  = 21.4316
  norm       = 4.34052
  Prefactor  = 1.5099e-08
  Prefactor  = 1.42119
  norm       = 7.46473
  Prefactor  = 1.32672e-08
  Prefactor  = 2.77556e-10
  Normalizat = 0.852828
  Prefactor  = 1.1913
 **********
 **   18 **HESSE 
 **********

 FCN=   9438.203     FROM HESSE     STATUS=OK           192 CALLS      939 TOTAL
                     EDM=   .70E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.5621        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.1839        5.1046        .56551E-03   -1.5672    
   3  norm           .0000        7.3003        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .38477        .89047        .91237E-03   -1.5696    
   5  Prefactor     .61996        11.800        .71360E-03   -1.5692    
   6  Prefactor     21.432        17.606        .21538E-03   -1.5615    
   7  norm          4.3405        3.1806        .48376E-03   -1.5666    
   8  Prefactor     .15099E-07    4.7646        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.4212        2.9057        .90648E-03   -1.5684    
  10  norm          7.4647        6.3942        .36506E-03   -1.5653    
  11  Prefactor     .13267E-07    4.7826        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .27756E-09    17.197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Normalizat    .85283        .16659        .71932E-01   -.98138    
  14  Prefactor     1.1913        .10820        .34838E-01   -.86599    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.98511e-08
Minuit parameter uncertainties:
  1  8.53953e-06
  2  5.10459
  3  6.0669e-06
  4  0.890469
  5  5.40944
  6  17.6065
  7  3.18057
  8  0.000536744
  9  2.90572
  10  6.39422
  11  0.000504006
  12  0.000132103
  13  0.16669
  14  0.108218
Done.

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

Extracting fit parameters...

4FGL J1026.9-1749
   Spectrum: PowerLaw
273    Prefactor:  6.200e-01  5.409e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  1.948e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  2.127e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  1.191e+00  1.082e-01  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  8.528e-01  1.667e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 156.742 -17.822
Photon Flux Upper Limit: 6.10e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.55e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/93137/likelihoodResults_683078401_683337601_4FGL_J1026.9-1749_daily_bin1712.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): 102
logL (Free Index) = 9432.86458593
delta logL = 5.33806807054

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9438.20942213
delta logL = -0.00676813284008

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20095E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.2594       1.0000          .0000       10.000    
     3 'Normalizat'    .85433       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1917       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5800E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   9431.922     FROM MIGRAD    STATUS=FAILED       293 CALLS      583 TOTAL
                     EDM=   .73E-02    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .54480E-05    .33848E-04    .74902E-07** at limit **
   2  Index         7.7485        1.6527        .25469E-02   -.54334E-03
   3  Normalizat    .62467        .19138        .36636E-03    .57334E-03
   4  Prefactor     1.2852        .12444        .17493E-03    .19250E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   9431.922     FROM SIMPLEX   STATUS=UNCHANGED     80 CALLS      663 TOTAL
                     EDM=   .95E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .54480E-05    .33848E-04    .54178E-07** at limit **
   2  Index         7.7485        1.6527        .19329E-02   -.54334E-03
   3  Normalizat    .62467        .19138        .32178E-03    .57334E-03
   4  Prefactor     1.2852        .12444        .12259E-03    .19250E-02
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9431.922     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      708 TOTAL
                     EDM=   .38E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .54479E-05    .17050E-06    .39401E-10** at limit **
   2  Index         7.7485        .12382        .11973E-05    .22994E-04
   3  Normalizat    .62467        .19684        .15628E-06   -.13068E-03
   4  Prefactor     1.2852        .12800       -.43710E-07   -.42590E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.44786e-06
  Index      = 7.74854
  Normalizat = 0.624675
  Prefactor  = 1.28522
 **********
 **   18 **HESSE 
 **********

 FCN=   9431.922     FROM HESSE     STATUS=OK            23 CALLS      731 TOTAL
                     EDM=   .16E-03    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .54479E-05    .39958E-05    .37451E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.7485        .24950        .40751E-05    .58201    
   3  Normalizat    .62467        .19730        .29308E-05   -1.0695    
   4  Prefactor     1.2852        .12805        .69972E-05   -.83748    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 0.000159341
Minuit parameter uncertainties:
  1  3.99577e-06
  2  0.249649
  3  0.197522
  4  0.128079
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/93137': 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) = 9431.92237404
delta logL = 6.2802799598

Extracting fit parameters...

4FGL J1026.9-1749
   Spectrum: PowerLaw
273    Prefactor:  5.448e-06  3.996e-06  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  7.749e+00  2.496e-01  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  2.127e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  1.285e+00  1.281e-01  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  6.247e-01  1.975e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.90
Ra Dec: 156.742 -17.822
Photon Index (Free Index): 7.75 +/- 0.25
Photon Flux (Free Index): 1.60e-07 +/- 2.22e-07
Energy Flux (Free Index): 1.87e-05 +/- 2.59e-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/93137/cmap_HighResolution_683078401_683337601_4FGL_J1026.9-1749_daily_bin1712.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.55e-03', comment='SUCCESS', energy_flux2='1.87e-05', dlogl='6.28e+00', photon_flux2='1.60e-07', job_status='DONE', time_completed='2022-09-16 15:33:38.878693', photon_index_error2='0.25', photon_index2='7.75', ts='0.01', fit_tolerance='1e-08', GAL='1.19', photon_index_error='0.00', photon_flux_upper_limit='6.10e-08', energy_flux_error2='2.59e-05', EG='0.85', time_epoch_completed='1663367618.88', return_code='0', job_id='93137', GAL2='1.29', EG2='0.62', return_code2='0', photon_flux_error2='2.22e-07', ts2='13.90', photon_index='1.95' WHERE bin_id='1712' AND source_name='4FGL J1026.9-1749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:33:38 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 93137: <4FGL_J1026.9-1749_daily_bin1712> in cluster <slac> Done

Job <4FGL_J1026.9-1749_daily_bin1712> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 15:20:21 2022
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:20:54 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:20:54 2022
Terminated at Fri Sep 16 15:33:39 2022
Results reported at Fri Sep 16 15:33:39 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1026.9-1749_daily_bin1712 156.742 -17.8218 683078401 683337601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1026.9-1749 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   621.31 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             291.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   765 sec.
    Turnaround time :                            798 sec.

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

