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


Performing analysis on: 4FGL_J1051.4-3139_daily_bin1777
RA = 162.85, Dec = -31.6507
tmin = 699926401, tmax = 700185601
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='912164', job_status='RUN', time_executed='2023-03-11 00:31:05.268475', time_epoch_executed='1678523465.27' WHERE source_name='4FGL J1051.4-3139' and cadence='daily' and bin_id='1777'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/912164

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/912164/ft1_4FGL_J1051.4-3139_daily_bin1777.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/912164/ft2_4FGL_J1051.4-3139_daily_bin1777.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/912164/ft1_4FGL_J1051.4-3139_daily_bin1777.fits outfile=/scratch/kocevski/912164/ft1_filteredMKT_4FGL_J1051.4-3139_daily_bin1777.fits ra=162.85 dec=-31.6507 rad=12.0 tmin=699926401.0 tmax=700185601.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 3.63
user 3.40
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/912164/ft2_4FGL_J1051.4-3139_daily_bin1777.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/912164/ft2_4FGL_J1051.4-3139_daily_bin1777.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/912164/ft1_filteredMKT_4FGL_J1051.4-3139_daily_bin1777.fits evtable="EVENTS" outfile="/scratch/kocevski/912164/ft1_filtered_4FGL_J1051.4-3139_daily_bin1777.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.33
sys 0.15

Number of photons that the gtmktime cut: 801

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/912164/ft1_filtered_4FGL_J1051.4-3139_daily_bin1777.fits" evtable="EVENTS" scfile=/scratch/kocevski/912164/ft2_4FGL_J1051.4-3139_daily_bin1777.fits sctable="SC_DATA" outfile=/scratch/kocevski/912164/ltcube_699926401_700185601_4FGL_J1051.4-3139_daily_bin1777.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/912164/ft2_4FGL_J1051.4-3139_daily_bin1777.fits
.....................!
real 12.00
user 11.67
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/912164/ft1_filtered_4FGL_J1051.4-3139_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/912164/ft2_4FGL_J1051.4-3139_daily_bin1777.fits sctable="SC_DATA" expcube=/scratch/kocevski/912164/ltcube_699926401_700185601_4FGL_J1051.4-3139_daily_bin1777.fits outfile=/scratch/kocevski/912164/expmap_699926401_700185601_4FGL_J1051.4-3139_daily_bin1777.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/912164/ltcube_699926401_700185601_4FGL_J1051.4-3139_daily_bin1777.fits
.....................!
real 190.45
user 185.45
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 182 point sources and 0 extended sources

Setting source of interest to:
4FGL J1051.4-3139 @ 162.85 -31.6507

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/912164/ft1_filtered_4FGL_J1051.4-3139_daily_bin1777.fits scfile=/scratch/kocevski/912164/ft2_4FGL_J1051.4-3139_daily_bin1777.fits outfile=/scratch/kocevski/912164/cmap_699926401_700185601_4FGL_J1051.4-3139_daily_bin1777.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=162.85 yref=-31.6507 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/912164/ft1_filtered_4FGL_J1051.4-3139_daily_bin1777.fits scfile=/scratch/kocevski/912164/ft2_4FGL_J1051.4-3139_daily_bin1777.fits outfile=/scratch/kocevski/912164/cmap_HighResolution_699926401_700185601_4FGL_J1051.4-3139_daily_bin1777.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=162.85 yref=-31.6507 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/912164/ft1_filtered_4FGL_J1051.4-3139_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/912164/ft2_4FGL_J1051.4-3139_daily_bin1777.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/912164/Model_4FGL_J1051.4-3139_daily_bin1777.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/912164/ft1_filtered_4FGL_J1051.4-3139_daily_bin1777.fits.....................!
real 85.78
user 84.38
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/912164/ft1_filtered_4FGL_J1051.4-3139_daily_bin1777.fits', '/scratch/kocevski/912164/ft2_4FGL_J1051.4-3139_daily_bin1777.fits', expMap='/scratch/kocevski/912164/expmap_699926401_700185601_4FGL_J1051.4-3139_daily_bin1777.fits', expCube='/scratch/kocevski/912164/ltcube_699926401_700185601_4FGL_J1051.4-3139_daily_bin1777.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/912164/Model_4FGL_J1051.4-3139_daily_bin1777.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1051.4-3139'

4FGL J1051.4-3139
   Spectrum: PowerLaw
294    Prefactor:  1.422e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
295        Index:  2.716e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
296        Scale:  5.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/912164/ft1_filtered_4FGL_J1051.4-3139_daily_bin1777.fits
Spacecraft file(s): /scratch/kocevski/912164/ft2_4FGL_J1051.4-3139_daily_bin1777.fits
Exposure map: /scratch/kocevski/912164/expmap_699926401_700185601_4FGL_J1051.4-3139_daily_bin1777.fits
Exposure cube: /scratch/kocevski/912164/ltcube_699926401_700185601_4FGL_J1051.4-3139_daily_bin1777.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/912164/Model_4FGL_J1051.4-3139_daily_bin1777.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) = 8456.14236027

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .23631E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .69014E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.1564       1.0000          .0000       .10000E+07
     4 'norm      '    .21649E-08   1.0000          .0000       .10000E+07
     5 'norm      '    3.0416       1.0000          .0000       .10000E+07
     6 'Prefactor '    .31065E-04   1.0000          .0000       .10000E+07
     7 'norm      '    3.0569       1.0000          .0000       .10000E+07
     8 'Prefactor '    .37173E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    2.7245       1.0000          .0000       .10000E+07
    10 'Prefactor '    .80363E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .13337E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .41651E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    11.032       1.0000          .0000       .10000E+07
    14 'Prefactor '    10.734       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.5752       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .83460       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8456.079     FROM MIGRAD    STATUS=CONVERGED    108 CALLS      868 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .19712E-06    3.2269       -.16586E-05** at limit **
   2  Prefactor     .23315E-08    11.683        .98290E-07** at limit **
   3  Prefactor     2.1408        7.5004       -.29061E-06   -.23380E-02
   4  norm          .72720E-08    4.9019       -.18486E-06** at limit **
   5  norm          3.0030        7.8528       -.12072E-05   -.18875E-01
   6  Prefactor     .20028E-06    40.685       -.16426E-05** at limit **
   7  norm          3.0547        3.6782        .19819E-06    .53673E-02
   8  Prefactor     .10547E-07    1.7169        .37752E-06** at limit **
   9  Prefactor     2.7251        3.1011       -.82211E-09   -.59236E-02
  10  Prefactor     .16653E-09    2.4357        .31470E-07** at limit **
  11  Prefactor     .67168E-08    3.2827        .29172E-06** at limit **
  12  Prefactor     .10553E-06    2.4920        .13650E-05** at limit **
  13  Prefactor     11.052        1.3784        .15264E-06    .10379E-01
  14  Prefactor     10.331        9.3401        .17467E-05   -.10337    
  15  Normalizat    1.5753        .24975        .12708E-05    .46713E-03
  16  Prefactor     .83476        .11450       -.18534E-06    .57790E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.9712e-07
  Prefactor  = 2.33147e-09
  Prefactor  = 2.14084
  norm       = 7.27196e-09
  norm       = 3.00304
  Prefactor  = 2.00284e-07
  norm       = 3.05466
  Prefactor  = 1.05471e-08
  Prefactor  = 2.72505
  Prefactor  = 1.66533e-10
  Prefactor  = 6.71685e-09
  Prefactor  = 1.05527e-07
  Prefactor  = 11.0521
  Prefactor  = 10.3309
  Normalizat = 1.57529
  Prefactor  = 0.834762
 **********
 **   18 **HESSE 
 **********

 FCN=   8456.079     FROM HESSE     STATUS=OK           231 CALLS     1099 TOTAL
                     EDM=   .98E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .19712E-06    3.7295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .23315E-08    11.699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.1408        7.5668        .70127E-03   -1.5679    
   4  norm          .72720E-08    4.9135        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.0030        7.9655        .58152E-03   -1.5673    
   6  Prefactor     .20028E-06    40.922        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.0547        3.7079        .57999E-03   -1.5673    
   8  Prefactor     .10547E-07    3.8721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.7251        3.1144        .61669E-03   -1.5675    
  10  Prefactor     .16653E-09    2.4390        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .67168E-08    3.3149        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10553E-06    4.1020        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.052        9.0951        .30139E-03   -1.5641    
  14  Prefactor     10.331        26.260        .30556E-03   -1.5644    
  15  Normalizat    1.5753        .21099        .68549E-01   -.75684    
  16  Prefactor     .83476        .96222E-01    .44166E-01   -.98459    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.75561e-07
Minuit parameter uncertainties:
  1  0.00171484
  2  0.000330073
  3  7.5668
  4  0.000378466
  5  7.96555
  6  0.00572564
  7  3.70791
  8  0.00040468
  9  3.11439
  10  4.15428e-05
  11  0.000298433
  12  0.001316
  13  9.09506
  14  26.2604
  15  0.211111
  16  0.0962416
Done.

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

Extracting fit parameters...

4FGL J1051.4-3139
   Spectrum: PowerLaw
294    Prefactor:  1.665e-10  4.154e-05  0.000e+00  1.000e+06 ( 1.000e-12)
295        Index:  2.716e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
296        Scale:  5.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
594    Prefactor:  8.348e-01  9.624e-02  0.000e+00  1.000e+01 ( 1.000e+00)
595        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
596        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
593   Normalization:  1.575e+00  2.111e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 162.850 -31.651
Photon Flux Upper Limit: 6.34e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.00e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/912164/likelihoodResults_699926401_700185601_4FGL_J1051.4-3139_daily_bin1777.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) = 8456.08000081
delta logL = -0.000865638836331

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8456.07913635
delta logL = -1.17724266602e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10258E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .58142       1.0000          .0000       10.000    
     3 'Normalizat'    1.5755       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83472       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8456.079     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      246 TOTAL
                     EDM=   .94E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6816        .42118E-03** at limit **
   2  Index         3.6558        1.9108       -.30877E-04     .0000    
   3  Normalizat    1.5753        1.0426       -.33958E-05    .25920E-04
   4  Prefactor     .83476        1.1823        .41394E-05    .11501E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.6558
  Normalizat = 1.57528
  Prefactor  = 0.834763
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8456.079     FROM HESSE     STATUS=FAILED         9 CALLS      255 TOTAL
                     EDM=   .94E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6816        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.4758        2.2903       -.30877E-04   -.27219    
   3  Normalizat    1.5753        1.0426       -.33958E-05   -.75684    
   4  Prefactor     .83476        1.1823        .41394E-05   -.98459    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.3662e-12
Minuit parameter uncertainties:
  1  4.26293e-06
  2  1.9649
  3  1.05745
  4  1.22167
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/912164': 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): 101
logL (Free Index) = 8456.07913517
delta logL = 1.58252078108e-10

Extracting fit parameters...

4FGL J1051.4-3139
   Spectrum: PowerLaw
294    Prefactor:  0.000e+00  4.263e-06  0.000e+00  1.000e+06 ( 1.000e-12)
295        Index:  3.656e+00  1.965e+00  0.000e+00  1.000e+01 (-1.000e+00)
296        Scale:  5.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
594    Prefactor:  8.348e-01  1.222e+00  0.000e+00  1.000e+01 ( 1.000e+00)
595        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
596        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
593   Normalization:  1.575e+00  1.057e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 162.850 -31.651

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/912164/cmap_HighResolution_699926401_700185601_4FGL_J1051.4-3139_daily_bin1777.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.00e-03', job_status='DONE', photon_flux_upper_limit='6.34e-08', time_completed='2023-03-11 00:40:47.488038', job_id='912164', GAL2='0.83', fit_tolerance='1e-08', EG2='1.58', EG='1.58', time_epoch_completed='1678524047.49', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='1.58e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='1777' AND source_name='4FGL J1051.4-3139' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Mar 11 00:40:47 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0025>
Subject: Job 912164: <4FGL_J1051.4-3139_daily_bin1777> in cluster <slac> Done

Job <4FGL_J1051.4-3139_daily_bin1777> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Sat Mar 11 00:30:22 2023
Job was executed on host(s) <bullet0025>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Mar 11 00:30:24 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Mar 11 00:30:24 2023
Terminated at Sat Mar 11 00:40:48 2023
Results reported at Sat Mar 11 00:40:48 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1051.4-3139_daily_bin1777 162.85 -31.6507 699926401 700185601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1051.4-3139 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   584.39 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             358.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   623 sec.
    Turnaround time :                            626 sec.

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

