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


Performing analysis on: 4FGL_J1045.8-2928_daily_bin1710
RA = 161.468, Dec = -29.4795
tmin = 682560001, tmax = 682819201
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='96026', job_status='RUN', time_executed='2022-09-16 15:31:44.421393', time_epoch_executed='1663367504.42' WHERE source_name='4FGL J1045.8-2928' and cadence='daily' and bin_id='1710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/96026

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/96026/ft1_4FGL_J1045.8-2928_daily_bin1710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/96026/ft2_4FGL_J1045.8-2928_daily_bin1710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/96026/ft1_4FGL_J1045.8-2928_daily_bin1710.fits outfile=/scratch/kocevski/96026/ft1_filteredMKT_4FGL_J1045.8-2928_daily_bin1710.fits ra=161.468 dec=-29.4795 rad=12.0 tmin=682560001.0 tmax=682819201.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.71
user 3.42
sys 0.26

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

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

Number of photons that the gtmktime cut: 1024

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/96026/ft1_filtered_4FGL_J1045.8-2928_daily_bin1710.fits" evtable="EVENTS" scfile=/scratch/kocevski/96026/ft2_4FGL_J1045.8-2928_daily_bin1710.fits sctable="SC_DATA" outfile=/scratch/kocevski/96026/ltcube_682560001_682819201_4FGL_J1045.8-2928_daily_bin1710.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/96026/ft2_4FGL_J1045.8-2928_daily_bin1710.fits
.....................!
real 15.43
user 14.96
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/96026/ft1_filtered_4FGL_J1045.8-2928_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/96026/ft2_4FGL_J1045.8-2928_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/96026/ltcube_682560001_682819201_4FGL_J1045.8-2928_daily_bin1710.fits outfile=/scratch/kocevski/96026/expmap_682560001_682819201_4FGL_J1045.8-2928_daily_bin1710.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/96026/ltcube_682560001_682819201_4FGL_J1045.8-2928_daily_bin1710.fits
.....................!
real 193.81
user 186.65
sys 5.66

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/96026/ft1_filtered_4FGL_J1045.8-2928_daily_bin1710.fits scfile=/scratch/kocevski/96026/ft2_4FGL_J1045.8-2928_daily_bin1710.fits outfile=/scratch/kocevski/96026/cmap_682560001_682819201_4FGL_J1045.8-2928_daily_bin1710.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/96026/ft1_filtered_4FGL_J1045.8-2928_daily_bin1710.fits scfile=/scratch/kocevski/96026/ft2_4FGL_J1045.8-2928_daily_bin1710.fits outfile=/scratch/kocevski/96026/cmap_HighResolution_682560001_682819201_4FGL_J1045.8-2928_daily_bin1710.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/96026/ft1_filtered_4FGL_J1045.8-2928_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/96026/ft2_4FGL_J1045.8-2928_daily_bin1710.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/96026/Model_4FGL_J1045.8-2928_daily_bin1710.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/96026/ft1_filtered_4FGL_J1045.8-2928_daily_bin1710.fits.....................!
real 102.62
user 101.13
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/96026/ft1_filtered_4FGL_J1045.8-2928_daily_bin1710.fits', '/scratch/kocevski/96026/ft2_4FGL_J1045.8-2928_daily_bin1710.fits', expMap='/scratch/kocevski/96026/expmap_682560001_682819201_4FGL_J1045.8-2928_daily_bin1710.fits', expCube='/scratch/kocevski/96026/ltcube_682560001_682819201_4FGL_J1045.8-2928_daily_bin1710.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/96026/Model_4FGL_J1045.8-2928_daily_bin1710.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/96026/ft1_filtered_4FGL_J1045.8-2928_daily_bin1710.fits
Spacecraft file(s): /scratch/kocevski/96026/ft2_4FGL_J1045.8-2928_daily_bin1710.fits
Exposure map: /scratch/kocevski/96026/expmap_682560001_682819201_4FGL_J1045.8-2928_daily_bin1710.fits
Exposure cube: /scratch/kocevski/96026/ltcube_682560001_682819201_4FGL_J1045.8-2928_daily_bin1710.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/96026/Model_4FGL_J1045.8-2928_daily_bin1710.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 10801.1158237

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .33029E-07   1.0000          .0000       .10000E+07
     2 'norm      '    .73774E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .76561E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .17992E-05   1.0000          .0000       .10000E+07
     5 'norm      '    4.2204       1.0000          .0000       .10000E+07
     6 'norm      '    .36138E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    5.4057       1.0000          .0000       .10000E+07
     8 'norm      '    7.4168       1.0000          .0000       .10000E+07
     9 'Prefactor '    .27306E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .81790       1.0000          .0000       .10000E+07
    11 'Prefactor '    .75495E-08   1.0000          .0000       .10000E+07
    12 'Prefactor '    4.6911       1.0000          .0000       .10000E+07
    13 'Prefactor '    7.9530       1.0000          .0000       .10000E+07
    14 'Prefactor '    1.2618       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.2288       1.0000          .0000       .10000E+07
    16 'Prefactor '    18.816       1.0000          .0000       .10000E+07
    17 'Normalizat'    .99495       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .95055       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=   10800.17     FROM MIGRAD    STATUS=CONVERGED    118 CALLS     1032 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    .17554       -.41271E-07** at limit **
   2  norm           .0000        1.4343       -.82879E-07** at limit **
   3  Prefactor     .49960E-09    14.131        .22553E-06** at limit **
   4  Prefactor     .83267E-09    2.2078       -.18275E-06** at limit **
   5  norm          4.1866        5.9587        .46784E-06   -.24249E-02
   6  norm          .11657E-08    2.1246        .76708E-06** at limit **
   7  Prefactor     5.3899        3.7731        .27689E-06    .90510E-02
   8  norm          7.4135        3.2366       -.11450E-06   -.22446E-01
   9  Prefactor      .0000        4.4825        .38089E-07** at limit **
  10  Prefactor     .81119        2.7523        .24862E-06   -.79986E-02
  11  Prefactor      .0000        2.4481       -.48033E-06** at limit **
  12  Prefactor     4.6899        3.4631        .64660E-07    .13247E-02
  13  Prefactor     7.9852        5.8795        .72293E-06   -.10223E-02
  14  Prefactor     .36637E-08    60.433       -.14143E-06** at limit **
  15  Prefactor     3.2799        2.2272        .21742E-06   -.59390E-02
  16  Prefactor     16.816        29.415        .73235E-06    .57279E-02
  17  Normalizat    .99513        .19432       -.21508E-05   -.38991E-03
  18  Prefactor     .95097        .99753E-01   -.14185E-05   -.83179E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  norm       = 0
  Prefactor  = 4.996e-10
  Prefactor  = 8.32667e-10
  norm       = 4.18664
  norm       = 1.16573e-09
  Prefactor  = 5.38991
  norm       = 7.41345
  Prefactor  = 0
  Prefactor  = 0.811192
  Prefactor  = 0
  Prefactor  = 4.68993
  Prefactor  = 7.98519
  Prefactor  = 3.66374e-09
  Prefactor  = 3.27991
  Prefactor  = 16.8164
  Normalizat = 0.995126
  Prefactor  = 0.950969
 **********
 **   18 **HESSE 
 **********

 FCN=   10800.17     FROM HESSE     STATUS=OK           280 CALLS     1312 TOTAL
                     EDM=   .97E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    .17596        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        1.4368        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .49960E-09    14.123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .83267E-09    2.3245        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.1866        5.9883        .49027E-03   -1.5667    
   6  norm          .11657E-08    2.4821        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.3899        6.9322        .43197E-03   -1.5662    
   8  norm          7.4135        3.3093        .36803E-03   -1.5654    
   9  Prefactor      .0000        4.4815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .81119        2.9722        .51610E-03   -1.5690    
  11  Prefactor      .0000        2.5146        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.6899        3.4632        .46438E-03   -1.5665    
  13  Prefactor     7.9852        6.0202        .35530E-03   -1.5651    
  14  Prefactor     .36637E-08    60.469        .99226E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.2799        6.3550        .56349E-03   -1.5672    
  16  Prefactor     16.816        29.513        .23062E-03   -1.5626    
  17  Normalizat    .99513        .16446        .71893E-01   -.93194    
  18  Prefactor     .95097        .83823E-01    .45646E-01   -.94382    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.72436e-07
Minuit parameter uncertainties:
  1  6.64598e-06
  2  4.44455e-06
  3  0.000168212
  4  8.71907e-05
  5  5.98833
  6  0.000108418
  7  6.93219
  8  3.30928
  9  8.5119e-07
  10  2.97223
  11  1.30609e-05
  12  3.46321
  13  6.02019
  14  0.000944006
  15  6.35497
  16  29.5133
  17  0.164539
  18  0.0838347
Done.

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

Extracting fit parameters...

4FGL J1045.8-2928
   Spectrum: PowerLaw
294    Prefactor:  8.112e-01  2.972e+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

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  9.510e-01  8.383e-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:  9.951e-01  1.645e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/96026/likelihoodResults_682560001_682819201_4FGL_J1045.8-2928_daily_bin1710.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) = 10799.916369
delta logL = 0.253462900901

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10799.1917499
delta logL = 0.978081971871

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .57345E-05   1.0000          .0000       .10000E+07
     2 'Index     '    9.9997       1.0000          .0000       10.000    
     3 'Normalizat'    .94594       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96971       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10800.21     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      423 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.7737        .42118E-03** at limit **
   2  Index         1.8725        1.2302       -.25646E-06     .0000    
   3  Normalizat    1.0033        1.3134        .19744E-05    .40668E-04
   4  Prefactor     .94984        1.2987        .22494E-05   -.10659E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.87249
  Normalizat = 1.00332
  Prefactor  = 0.949836
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10800.21     FROM HESSE     STATUS=FAILED         9 CALLS      432 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.7737        .42118E-03   -7.8540    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .36605        1.6660       -.25646E-06   -258.29    
   3  Normalizat    1.0033        1.3134        .19744E-05   -33.628    
   4  Prefactor     .94984        1.2987        .22494E-05   -421.92    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.15378e-12
Minuit parameter uncertainties:
  1  2.9905e-06
  2  1.25156
  3  1.35976
  4  1.34538
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/96026': 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) = 10800.213607
delta logL = -0.0437750669789

Extracting fit parameters...

4FGL J1045.8-2928
   Spectrum: PowerLaw
294    Prefactor:  0.000e+00  2.991e-06  0.000e+00  1.000e+06 ( 1.000e-12)
295        Index:  1.872e+00  1.252e+00  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:  9.498e-01  1.345e+00  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.003e+00  1.360e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.09
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/96026/cmap_HighResolution_682560001_682819201_4FGL_J1045.8-2928_daily_bin1710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.38e-03', job_status='DONE', photon_flux_upper_limit='8.19e-08', time_completed='2022-09-16 15:44:10.032566', job_id='96026', GAL2='0.95', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1663368250.03', return_code2='101', ts='0.09', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='-4.38e-02', ts2='0.00', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='1710' AND source_name='4FGL J1045.8-2928' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:44:10 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0185>
Subject: Job 96026: <4FGL_J1045.8-2928_daily_bin1710> in cluster <slac> Done

Job <4FGL_J1045.8-2928_daily_bin1710> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 15:30:13 2022
Job was executed on host(s) <bullet0185>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:30:23 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:30:23 2022
Terminated at Fri Sep 16 15:44:11 2022
Results reported at Fri Sep 16 15:44:11 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1045.8-2928_daily_bin1710 161.468 -29.4795 682560001 682819201 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 :                                   746.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             304.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   827 sec.
    Turnaround time :                            838 sec.

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

