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


Performing analysis on: 4FGL_J1045.8-2928_daily_bin1759
RA = 161.468, Dec = -29.4795
tmin = 695260801, tmax = 695520001
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='555603', job_status='RUN', time_executed='2023-01-16 01:01:39.163870', time_epoch_executed='1673859699.16' WHERE source_name='4FGL J1045.8-2928' and cadence='daily' and bin_id='1759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/555603

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/555603/ft1_4FGL_J1045.8-2928_daily_bin1759.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/555603/ft2_4FGL_J1045.8-2928_daily_bin1759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/555603/ft1_4FGL_J1045.8-2928_daily_bin1759.fits outfile=/scratch/kocevski/555603/ft1_filteredMKT_4FGL_J1045.8-2928_daily_bin1759.fits ra=161.468 dec=-29.4795 rad=12.0 tmin=695260801.0 tmax=695520001.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 2.76
user 2.52
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/555603/ft2_4FGL_J1045.8-2928_daily_bin1759.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/555603/ft2_4FGL_J1045.8-2928_daily_bin1759.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/555603/ft1_filteredMKT_4FGL_J1045.8-2928_daily_bin1759.fits evtable="EVENTS" outfile="/scratch/kocevski/555603/ft1_filtered_4FGL_J1045.8-2928_daily_bin1759.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.50
user 0.32
sys 0.15

Number of photons that the gtmktime cut: 1274

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/555603/ft1_filtered_4FGL_J1045.8-2928_daily_bin1759.fits" evtable="EVENTS" scfile=/scratch/kocevski/555603/ft2_4FGL_J1045.8-2928_daily_bin1759.fits sctable="SC_DATA" outfile=/scratch/kocevski/555603/ltcube_695260801_695520001_4FGL_J1045.8-2928_daily_bin1759.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/555603/ft2_4FGL_J1045.8-2928_daily_bin1759.fits
.....................!
real 15.33
user 14.79
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/555603/ft1_filtered_4FGL_J1045.8-2928_daily_bin1759.fits evtable="EVENTS" scfile=/scratch/kocevski/555603/ft2_4FGL_J1045.8-2928_daily_bin1759.fits sctable="SC_DATA" expcube=/scratch/kocevski/555603/ltcube_695260801_695520001_4FGL_J1045.8-2928_daily_bin1759.fits outfile=/scratch/kocevski/555603/expmap_695260801_695520001_4FGL_J1045.8-2928_daily_bin1759.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/555603/ltcube_695260801_695520001_4FGL_J1045.8-2928_daily_bin1759.fits
.....................!
real 192.03
user 186.00
sys 5.29

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

Setting source of interest to:
4FGL J1045.8-2928 @ 161.468 -29.4795

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/555603/ft1_filtered_4FGL_J1045.8-2928_daily_bin1759.fits scfile=/scratch/kocevski/555603/ft2_4FGL_J1045.8-2928_daily_bin1759.fits outfile=/scratch/kocevski/555603/cmap_695260801_695520001_4FGL_J1045.8-2928_daily_bin1759.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=161.468 yref=-29.4795 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.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/555603/ft1_filtered_4FGL_J1045.8-2928_daily_bin1759.fits scfile=/scratch/kocevski/555603/ft2_4FGL_J1045.8-2928_daily_bin1759.fits outfile=/scratch/kocevski/555603/cmap_HighResolution_695260801_695520001_4FGL_J1045.8-2928_daily_bin1759.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=161.468 yref=-29.4795 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/555603/ft1_filtered_4FGL_J1045.8-2928_daily_bin1759.fits evtable="EVENTS" scfile=/scratch/kocevski/555603/ft2_4FGL_J1045.8-2928_daily_bin1759.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/555603/Model_4FGL_J1045.8-2928_daily_bin1759.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/555603/ft1_filtered_4FGL_J1045.8-2928_daily_bin1759.fits.....................!
real 129.20
user 127.52
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/555603/ft1_filtered_4FGL_J1045.8-2928_daily_bin1759.fits', '/scratch/kocevski/555603/ft2_4FGL_J1045.8-2928_daily_bin1759.fits', expMap='/scratch/kocevski/555603/expmap_695260801_695520001_4FGL_J1045.8-2928_daily_bin1759.fits', expCube='/scratch/kocevski/555603/ltcube_695260801_695520001_4FGL_J1045.8-2928_daily_bin1759.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/555603/Model_4FGL_J1045.8-2928_daily_bin1759.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1045.8-2928'

4FGL J1045.8-2928
   Spectrum: PowerLaw
294    Prefactor:  1.056e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
295        Index:  2.544e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
296        Scale:  7.578e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/555603/ft1_filtered_4FGL_J1045.8-2928_daily_bin1759.fits
Spacecraft file(s): /scratch/kocevski/555603/ft2_4FGL_J1045.8-2928_daily_bin1759.fits
Exposure map: /scratch/kocevski/555603/expmap_695260801_695520001_4FGL_J1045.8-2928_daily_bin1759.fits
Exposure cube: /scratch/kocevski/555603/ltcube_695260801_695520001_4FGL_J1045.8-2928_daily_bin1759.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/555603/Model_4FGL_J1045.8-2928_daily_bin1759.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) = 13486.6781025

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .82829       1.0000          .0000       .10000E+07
     2 'norm      '    8.5860       1.0000          .0000       .10000E+07
     3 'Prefactor '    18.917       1.0000          .0000       .10000E+07
     4 'Prefactor '    .70740E-03   1.0000          .0000       .10000E+07
     5 'norm      '    9.0027       1.0000          .0000       .10000E+07
     6 'norm      '    12.785       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.2809       1.0000          .0000       .10000E+07
     8 'norm      '    5.5492       1.0000          .0000       .10000E+07
     9 'Prefactor '    .19788E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .28776E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .19240E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .22235E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    5.2181       1.0000          .0000       .10000E+07
    14 'Prefactor '    .65613       1.0000          .0000       .10000E+07
    15 'Prefactor '    10.516       1.0000          .0000       .10000E+07
    16 'Prefactor '    7.5773       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.3801       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .84754       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13486.67     FROM MIGRAD    STATUS=CONVERGED     95 CALLS     1286 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .82761        .95563       -.20022E-06   -.18989E-02
   2  norm          8.5854        1.4244        .48177E-07    .27126E-01
   3  Prefactor     18.968        1.0867       -.16121E-07    .24039E-01
   4  Prefactor     .21649E-08    3.2853       -.61327E-06** at limit **
   5  norm          8.9935        3.5136        .20656E-06    .12574E-01
   6  norm          12.780        4.8295        .25517E-06    .12888E-01
   7  Prefactor     1.3090        22.313       -.17274E-05   -.15843E-01
   8  norm          5.5451        3.2173        .50199E-06    .62793E-02
   9  Prefactor     .11102E-09    2.3423       -.16319E-06** at limit **
  10  Prefactor     .55511E-10    1.6822       -.10634E-06** at limit **
  11  Prefactor     .29976E-08    1.8450       -.24086E-06** at limit **
  12  Prefactor      .0000        2.0864        .46195E-06** at limit **
  13  Prefactor     5.1953        5.8490        .31701E-06    .10348E-02
  14  Prefactor     .23903E-06    47.569        .29838E-07** at limit **
  15  Prefactor     10.510        2.2010       -.11158E-06   -.22597E-01
  16  Prefactor     7.4417        4.3052       -.30992E-06    .12311    
  17  Normalizat    1.3802        .18858       -.90124E-05   -.58295E-04
  18  Prefactor     .84760        .93720E-01    .30707E-05   -.71620E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.827611
  norm       = 8.5854
  Prefactor  = 18.9677
  Prefactor  = 2.16493e-09
  norm       = 8.99345
  norm       = 12.7799
  Prefactor  = 1.30902
  norm       = 5.54515
  Prefactor  = 1.11022e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 2.9976e-09
  Prefactor  = 0
  Prefactor  = 5.19529
  Prefactor  = 2.39031e-07
  Prefactor  = 10.5101
  Prefactor  = 7.44172
  Normalizat = 1.38018
  Prefactor  = 0.847602
 **********
 **   18 **HESSE 
 **********

 FCN=   13486.67     FROM HESSE     STATUS=OK           284 CALLS     1570 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .82761        .96341        .50850E-03   -1.5690    
   2  norm          8.5854        7.1828        .34186E-03   -1.5649    
   3  Prefactor     18.968        19.533        .23000E-03   -1.5621    
   4  Prefactor     .21649E-08    3.3148        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          8.9935        7.9007        .33380E-03   -1.5648    
   6  norm          12.780        7.0166        .27989E-03   -1.5636    
   7  Prefactor     1.3090        24.926        .98024E-03   -1.5685    
   8  norm          5.5451        3.3444        .42626E-03   -1.5661    
   9  Prefactor     .11102E-09    4.1174        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    1.6760        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .29976E-08    4.1896        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        2.0809        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.1953        5.8957        .43981E-03   -1.5662    
  14  Prefactor     .23903E-06    47.682        .64343E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.510        8.8712        .30872E-03   -1.5643    
  16  Prefactor     7.4417        25.895        .36408E-03   -1.5653    
  17  Normalizat    1.3802        .16142        .69141E-01   -.81204    
  18  Prefactor     .84760        .79736E-01    .44333E-01   -.97997    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41656e-06
Minuit parameter uncertainties:
  1  0.963415
  2  7.18278
  3  19.5331
  4  0.000168833
  5  7.90067
  6  7.01665
  7  11.4244
  8  3.34444
  9  4.7352e-05
  10  1.622e-05
  11  0.000223539
  12  3.51242e-06
  13  5.89575
  14  0.00675241
  15  8.87125
  16  25.8949
  17  0.161481
  18  0.0797473
Done.

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

Extracting fit parameters...

4FGL J1045.8-2928
   Spectrum: PowerLaw
294    Prefactor:  5.551e-11  1.622e-05  0.000e+00  1.000e+06 ( 1.000e-12)
295        Index:  2.544e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
296        Scale:  7.578e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  8.476e-01  7.975e-02  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
585   Normalization:  1.380e+00  1.615e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 161.468 -29.480
Photon Flux Upper Limit: 6.09e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.75e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/555603/likelihoodResults_695260801_695520001_4FGL_J1045.8-2928_daily_bin1759.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) = 13486.6716437
delta logL = -0.00218675742872

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13486.6694572
delta logL = -2.01252987608e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68612E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.5021       1.0000          .0000       10.000    
     3 'Normalizat'    1.3801       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84759       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13486.67     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      260 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    .52344E-01    .42118E-03** at limit **
   2  Index         2.1635        8.8985        .50000       -.11278E-08
   3  Normalizat    1.3802        .67054E-03    .69141E-01   -.32164E-04
   4  Prefactor     .84761        .33554E-03    .44333E-01    .12719E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Index      = 2.16345
  Normalizat = 1.38017
  Prefactor  = 0.847606
 **********
 **   18 **HESSE 
 **********

 FCN=   13486.67     FROM HESSE     STATUS=NOT POSDEF    25 CALLS      285 TOTAL
                     EDM=   .87E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    .32271        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1635        8.8420        .50000       -.60324    
   3  Normalizat    1.3802        .16598E-02    .30590E-03   -.81204    
   4  Prefactor     .84761        .83114E-03    .18887E-03   -.97997    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.67849e-11
Minuit parameter uncertainties:
  1  1.94773e-05
  2  16263
  3  0.00165982
  4  0.000831138
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/555603': 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): 102
logL (Free Index) = 13486.669457
delta logL = -1.04228092823e-09

Extracting fit parameters...

4FGL J1045.8-2928
   Spectrum: PowerLaw
294    Prefactor:  2.776e-10  1.948e-05  0.000e+00  1.000e+06 ( 1.000e-12)
295        Index:  2.163e+00  1.626e+04  0.000e+00  1.000e+01 (-1.000e+00)
296        Scale:  7.578e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  8.476e-01  8.311e-04  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
585   Normalization:  1.380e+00  1.660e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 161.468 -29.480

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/555603/cmap_HighResolution_695260801_695520001_4FGL_J1045.8-2928_daily_bin1759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.75e-03', job_status='DONE', photon_flux_upper_limit='6.09e-08', time_completed='2023-01-16 01:15:54.681073', job_id='555603', GAL2='0.85', fit_tolerance='1e-08', EG2='1.38', EG='1.38', time_epoch_completed='1673860554.68', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='-1.04e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='1759' AND source_name='4FGL J1045.8-2928' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jan 16 01:15:54 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0056>
Subject: Job 555603: <4FGL_J1045.8-2928_daily_bin1759> in cluster <slac> Done

Job <4FGL_J1045.8-2928_daily_bin1759> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Mon Jan 16 01:00:19 2023
Job was executed on host(s) <bullet0056>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jan 16 01:01:02 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jan 16 01:01:02 2023
Terminated at Mon Jan 16 01:15:55 2023
Results reported at Mon Jan 16 01:15:55 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1045.8-2928_daily_bin1759 161.468 -29.4795 695260801 695520001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1045.8-2928 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   857.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             336.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   893 sec.
    Turnaround time :                            936 sec.

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

