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 15 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_bin1709
RA = 161.468, Dec = -29.4795
tmin = 682300801, tmax = 682560001
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='94832', job_status='RUN', time_executed='2022-09-16 15:27:45.529435', time_epoch_executed='1663367265.53' WHERE source_name='4FGL J1045.8-2928' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/94832

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/94832/ft1_4FGL_J1045.8-2928_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/94832/ft2_4FGL_J1045.8-2928_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/94832/ft1_4FGL_J1045.8-2928_daily_bin1709.fits outfile=/scratch/kocevski/94832/ft1_filteredMKT_4FGL_J1045.8-2928_daily_bin1709.fits ra=161.468 dec=-29.4795 rad=12.0 tmin=682300801.0 tmax=682560001.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.74
user 3.50
sys 0.22

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

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

Number of photons that the gtmktime cut: 1023

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/94832/ft1_filtered_4FGL_J1045.8-2928_daily_bin1709.fits" evtable="EVENTS" scfile=/scratch/kocevski/94832/ft2_4FGL_J1045.8-2928_daily_bin1709.fits sctable="SC_DATA" outfile=/scratch/kocevski/94832/ltcube_682300801_682560001_4FGL_J1045.8-2928_daily_bin1709.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/94832/ft2_4FGL_J1045.8-2928_daily_bin1709.fits
.....................!
real 12.94
user 12.54
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/94832/ft1_filtered_4FGL_J1045.8-2928_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/94832/ft2_4FGL_J1045.8-2928_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/94832/ltcube_682300801_682560001_4FGL_J1045.8-2928_daily_bin1709.fits outfile=/scratch/kocevski/94832/expmap_682300801_682560001_4FGL_J1045.8-2928_daily_bin1709.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/94832/ltcube_682300801_682560001_4FGL_J1045.8-2928_daily_bin1709.fits
.....................!
real 191.04
user 185.40
sys 5.16

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/94832/ft1_filtered_4FGL_J1045.8-2928_daily_bin1709.fits scfile=/scratch/kocevski/94832/ft2_4FGL_J1045.8-2928_daily_bin1709.fits outfile=/scratch/kocevski/94832/cmap_682300801_682560001_4FGL_J1045.8-2928_daily_bin1709.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.41
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/94832/ft1_filtered_4FGL_J1045.8-2928_daily_bin1709.fits scfile=/scratch/kocevski/94832/ft2_4FGL_J1045.8-2928_daily_bin1709.fits outfile=/scratch/kocevski/94832/cmap_HighResolution_682300801_682560001_4FGL_J1045.8-2928_daily_bin1709.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.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/94832/ft1_filtered_4FGL_J1045.8-2928_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/94832/ft2_4FGL_J1045.8-2928_daily_bin1709.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/94832/Model_4FGL_J1045.8-2928_daily_bin1709.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/94832/ft1_filtered_4FGL_J1045.8-2928_daily_bin1709.fits.....................!
real 99.93
user 98.35
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/94832/ft1_filtered_4FGL_J1045.8-2928_daily_bin1709.fits', '/scratch/kocevski/94832/ft2_4FGL_J1045.8-2928_daily_bin1709.fits', expMap='/scratch/kocevski/94832/expmap_682300801_682560001_4FGL_J1045.8-2928_daily_bin1709.fits', expCube='/scratch/kocevski/94832/ltcube_682300801_682560001_4FGL_J1045.8-2928_daily_bin1709.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/94832/Model_4FGL_J1045.8-2928_daily_bin1709.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/94832/ft1_filtered_4FGL_J1045.8-2928_daily_bin1709.fits
Spacecraft file(s): /scratch/kocevski/94832/ft2_4FGL_J1045.8-2928_daily_bin1709.fits
Exposure map: /scratch/kocevski/94832/expmap_682300801_682560001_4FGL_J1045.8-2928_daily_bin1709.fits
Exposure cube: /scratch/kocevski/94832/ltcube_682300801_682560001_4FGL_J1045.8-2928_daily_bin1709.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/94832/Model_4FGL_J1045.8-2928_daily_bin1709.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) = 10713.813054

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .73014       1.0000          .0000       .10000E+07
     2 'norm      '    .16535E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    19.145       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.0548       1.0000          .0000       .10000E+07
     5 'norm      '    13.949       1.0000          .0000       .10000E+07
     6 'norm      '    .10447E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    36.138       1.0000          .0000       .10000E+07
     8 'norm      '    13.726       1.0000          .0000       .10000E+07
     9 'Prefactor '    16.997       1.0000          .0000       .10000E+07
    10 'Prefactor '    .90127E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    4.8446       1.0000          .0000       .10000E+07
    12 'Prefactor '    .84929E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    14.124       1.0000          .0000       .10000E+07
    14 'Prefactor '    3.8033       1.0000          .0000       .10000E+07
    15 'Prefactor '    .85599E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    29.136       1.0000          .0000       .10000E+07
    17 'Normalizat'    .58943       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1966       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=   10713.79     FROM MIGRAD    STATUS=CONVERGED    125 CALLS     1334 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .73115        1.2155       -.60986E-07    .54172E-03
   2  norm          .11047E-07    11.741       -.20691E-05** at limit **
   3  Prefactor     19.424        4.3536        .40615E-06    .40829E-01
   4  Prefactor     6.9800        11.525        .58667E-06   -.79371E-02
   5  norm          13.920        8.5769        .26988E-06    .37810E-03
   6  norm           .0000        1.8923       -.10603E-05** at limit **
   7  Prefactor     36.002        1.4609        .18231E-07    .87964E-02
   8  norm          13.741        4.0634       -.32824E-06    .43697E-02
   9  Prefactor     16.855        1.8945       -.12728E-06   -.18544E-01
  10  Prefactor     .46074E-08    12.294        .23316E-05** at limit **
  11  Prefactor     4.8251        6.9318        .15206E-05   -.12726E-02
  12  Prefactor      .0000        2.0244        .24355E-06** at limit **
  13  Prefactor     14.101        9.0087        .50331E-06    .17238E-02
  14  Prefactor     3.9270        11.666        .25677E-05   -.50508E-01
  15  Prefactor     .57787E-07    21.250       -.20608E-05** at limit **
  16  Prefactor     29.703        32.713        .25866E-05    .43186E-01
  17  Normalizat    .58969        .21032       -.35651E-04   -.69782E-04
  18  Prefactor     1.1965        .11115        .10555E-04   -.20205E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.731151
  norm       = 1.10467e-08
  Prefactor  = 19.4237
  Prefactor  = 6.98001
  norm       = 13.9203
  norm       = 0
  Prefactor  = 36.0016
  norm       = 13.7412
  Prefactor  = 16.8546
  Prefactor  = 4.60743e-09
  Prefactor  = 4.82508
  Prefactor  = 0
  Prefactor  = 14.1007
  Prefactor  = 3.92695
  Prefactor  = 5.77871e-08
  Prefactor  = 29.7025
  Normalizat = 0.589692
  Prefactor  = 1.19646
 **********
 **   18 **HESSE 
 **********

 FCN=   10713.79     FROM HESSE     STATUS=OK           290 CALLS     1624 TOTAL
                     EDM=   .25E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .73115        1.2254        .58295E-03   -1.5691    
   2  norm          .11047E-07    11.737        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     19.424        24.036        .22863E-03   -1.5620    
   4  Prefactor     6.9800        11.792        .37745E-03   -1.5655    
   5  norm          13.920        8.7333        .26792E-03   -1.5633    
   6  norm           .0000        1.8939        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     36.002        18.922        .16637E-03   -1.5588    
   8  norm          13.741        4.6579        .27009E-03   -1.5634    
   9  Prefactor     16.855        12.658        .24266E-03   -1.5626    
  10  Prefactor     .46074E-08    1.7774        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.8251        7.0461        .45680E-03   -1.5664    
  12  Prefactor      .0000        2.0160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     14.101        9.0582        .26625E-03   -1.5633    
  14  Prefactor     3.9270        226.99        .51734E-03   -1.5668    
  15  Prefactor     .57787E-07    20.914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     29.703        33.512        .18529E-03   -1.5599    
  17  Normalizat    .58969        .20167        .97167E-01   -1.0842    
  18  Prefactor     1.1965        .10183        .34711E-01   -.86440    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.45567e-06
Minuit parameter uncertainties:
  1  1.22541
  2  0.000719868
  3  24.0356
  4  11.7921
  5  8.73332
  6  2.68337e-06
  7  18.9219
  8  4.65789
  9  12.6584
  10  0.000181014
  11  7.04614
  12  3.23624e-06
  13  9.05824
  14  59.7143
  15  0.00219838
  16  33.512
  17  0.201917
  18  0.101851
Done.

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

Extracting fit parameters...

4FGL J1045.8-2928
   Spectrum: PowerLaw
294    Prefactor:  4.607e-09  1.810e-04  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:  1.196e+00  1.019e-01  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:  5.897e-01  2.019e-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: 7.02e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.47e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/94832/likelihoodResults_682300801_682560001_4FGL_J1045.8-2928_daily_bin1709.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) = 10713.8192563
delta logL = -0.0268862658413

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10713.7923896
delta logL = -1.95725406229e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13858E-02   1.0000          .0000       .10000E+07
     2 'Index     '    2.1464       1.0000          .0000       10.000    
     3 'Normalizat'    .58980       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1965       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=   10713.79     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      247 TOTAL
                     EDM=   .96E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49960E-09    38.223       -.57169E-05** at limit **
   2  Index         2.0905        1.0352       -.32760E-04   -.32492E-10
   3  Normalizat    .58970        .20465        .28582E-04   -.25128E-04
   4  Prefactor     1.1965        .10999       -.58009E-05   -.43535E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.996e-10
  Index      = 2.09049
  Normalizat = 0.589695
  Prefactor  = 1.19646
 **********
 **   18 **HESSE 
 **********

 FCN=   10713.79     FROM HESSE     STATUS=NOT POSDEF    43 CALLS      290 TOTAL
                     EDM=   .82E-15    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49960E-09    .49092E-03    .65708E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0905        7.8445        .50000       -.62106    
   3  Normalizat    .58970        .83378E-04    .97167E-01   -1.0842    
   4  Prefactor     1.1965        .44608E-04    .34714E-01   -.86440    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.15509e-16
Minuit parameter uncertainties:
  1  1.01265e-06
  2  728.026
  3  8.3378e-05
  4  4.46084e-05
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/94832': 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) = 10713.79237
delta logL = 1.1277734302e-10

Extracting fit parameters...

4FGL J1045.8-2928
   Spectrum: PowerLaw
294    Prefactor:  4.996e-10  1.013e-06  0.000e+00  1.000e+06 ( 1.000e-12)
295        Index:  2.090e+00  7.280e+02  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:  1.196e+00  4.461e-05  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:  5.897e-01  8.338e-05  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/94832/cmap_HighResolution_682300801_682560001_4FGL_J1045.8-2928_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.47e-03', job_status='DONE', photon_flux_upper_limit='7.02e-08', time_completed='2022-09-16 15:39:46.040799', job_id='94832', GAL2='1.20', fit_tolerance='1e-08', EG2='0.59', EG='0.59', time_epoch_completed='1663367986.04', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='1.13e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='1709' AND source_name='4FGL J1045.8-2928' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:39:46 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 94832: <4FGL_J1045.8-2928_daily_bin1709> in cluster <slac> Done

Job <4FGL_J1045.8-2928_daily_bin1709> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 15:25:29 2022
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:27:22 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:27:22 2022
Terminated at Fri Sep 16 15:39:46 2022
Results reported at Fri Sep 16 15:39:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1045.8-2928_daily_bin1709 161.468 -29.4795 682300801 682560001 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 :                                   722.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             365.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   744 sec.
    Turnaround time :                            857 sec.

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

