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


Performing analysis on: 4FGL_J1045.8-2928_daily_bin1774
RA = 161.468, Dec = -29.4795
tmin = 699148801, tmax = 699408001
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='680052', job_status='RUN', time_executed='2023-03-02 00:36:31.252393', time_epoch_executed='1677746191.25' WHERE source_name='4FGL J1045.8-2928' and cadence='daily' and bin_id='1774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/680052

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/680052/ft1_4FGL_J1045.8-2928_daily_bin1774.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/680052/ft2_4FGL_J1045.8-2928_daily_bin1774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/680052/ft1_4FGL_J1045.8-2928_daily_bin1774.fits outfile=/scratch/kocevski/680052/ft1_filteredMKT_4FGL_J1045.8-2928_daily_bin1774.fits ra=161.468 dec=-29.4795 rad=12.0 tmin=699148801.0 tmax=699408001.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.82
user 2.58
sys 0.21

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

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

Number of photons that the gtmktime cut: 722

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/680052/ft1_filtered_4FGL_J1045.8-2928_daily_bin1774.fits" evtable="EVENTS" scfile=/scratch/kocevski/680052/ft2_4FGL_J1045.8-2928_daily_bin1774.fits sctable="SC_DATA" outfile=/scratch/kocevski/680052/ltcube_699148801_699408001_4FGL_J1045.8-2928_daily_bin1774.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/680052/ft2_4FGL_J1045.8-2928_daily_bin1774.fits
.....................!
real 14.27
user 13.88
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/680052/ft1_filtered_4FGL_J1045.8-2928_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/680052/ft2_4FGL_J1045.8-2928_daily_bin1774.fits sctable="SC_DATA" expcube=/scratch/kocevski/680052/ltcube_699148801_699408001_4FGL_J1045.8-2928_daily_bin1774.fits outfile=/scratch/kocevski/680052/expmap_699148801_699408001_4FGL_J1045.8-2928_daily_bin1774.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/680052/ltcube_699148801_699408001_4FGL_J1045.8-2928_daily_bin1774.fits
.....................!
real 191.45
user 185.95
sys 4.94

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/680052/ft1_filtered_4FGL_J1045.8-2928_daily_bin1774.fits scfile=/scratch/kocevski/680052/ft2_4FGL_J1045.8-2928_daily_bin1774.fits outfile=/scratch/kocevski/680052/cmap_699148801_699408001_4FGL_J1045.8-2928_daily_bin1774.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.55
user 0.34
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/680052/ft1_filtered_4FGL_J1045.8-2928_daily_bin1774.fits scfile=/scratch/kocevski/680052/ft2_4FGL_J1045.8-2928_daily_bin1774.fits outfile=/scratch/kocevski/680052/cmap_HighResolution_699148801_699408001_4FGL_J1045.8-2928_daily_bin1774.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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/680052/ft1_filtered_4FGL_J1045.8-2928_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/680052/ft2_4FGL_J1045.8-2928_daily_bin1774.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/680052/Model_4FGL_J1045.8-2928_daily_bin1774.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/680052/ft1_filtered_4FGL_J1045.8-2928_daily_bin1774.fits.....................!
real 77.45
user 76.06
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.4833       1.0000          .0000       .10000E+07
     2 'norm      '    16.396       1.0000          .0000       .10000E+07
     3 'Prefactor '    7.8221       1.0000          .0000       .10000E+07
     4 'Prefactor '    .86738E-02   1.0000          .0000       .10000E+07
     5 'norm      '    .31580E-01   1.0000          .0000       .10000E+07
     6 'norm      '    10.631       1.0000          .0000       .10000E+07
     7 'Prefactor '    12.321       1.0000          .0000       .10000E+07
     8 'norm      '    .11629E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .11185E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    1.9219       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.0785       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.1385       1.0000          .0000       .10000E+07
    13 'Prefactor '    9.1510       1.0000          .0000       .10000E+07
    14 'Prefactor '    195.04       1.0000          .0000       .10000E+07
    15 'Prefactor '    .38267E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .18981       1.0000          .0000       .10000E+07
    17 'Normalizat'    .51794       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1783       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=   8018.552     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     1354 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.4836        2.6959       -.29500E-07   -.34855E-02
   2  norm          16.388        9.3793        .36589E-07    .12845    
   3  Prefactor     7.8127        12.924        .57030E-07   -.18431E-01
   4  Prefactor     .55511E-08    7.3485        .41665E-06** at limit **
   5  norm          .15801E-01    8.2321        .16966E-06** at limit **
   6  norm          10.619        8.5160        .66599E-09   -.14151E-01
   7  Prefactor     12.439        21.592       -.40154E-06   -.21015E-02
   8  norm          .11102E-09    4.3342        .60533E-07** at limit **
   9  Prefactor     .62783E-07    121.85       -.18921E-06** at limit **
  10  Prefactor     1.9017        4.9010       -.51526E-07    .85955E-03
  11  Prefactor     6.1245        9.3558       -.28867E-07   -.32630E-01
  12  Prefactor     3.1226        4.2617        .63684E-07   -.42854E-03
  13  Prefactor     9.1575        4.4579       -.29814E-08   -.59876E-01
  14  Prefactor     194.95        8.6393       -.28136E-07    .37716    
  15  Prefactor     .55511E-10    2.1608       -.21239E-07** at limit **
  16  Prefactor     .62450E-07    29.528       -.56256E-06** at limit **
  17  Normalizat    .51778        .26175       -.51867E-05   -.18695E-03
  18  Prefactor     1.1784        .12542        .86809E-08   -.47438E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.48361
  norm       = 16.3882
  Prefactor  = 7.81274
  Prefactor  = 5.55112e-09
  norm       = 0.0158013
  norm       = 10.6186
  Prefactor  = 12.4392
  norm       = 1.11022e-10
  Prefactor  = 6.27831e-08
  Prefactor  = 1.90169
  Prefactor  = 6.1245
  Prefactor  = 3.12256
  Prefactor  = 9.15746
  Prefactor  = 194.953
  Prefactor  = 5.55112e-11
  Prefactor  = 6.245e-08
  Normalizat = 0.517777
  Prefactor  = 1.17838
 **********
 **   18 **HESSE 
 **********

 FCN=   8018.552     FROM HESSE     STATUS=OK           290 CALLS     1644 TOTAL
                     EDM=   .24E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.4836        2.7013        .42885E-03   -1.5661    
   2  norm          16.388        12.279        .24708E-03   -1.5627    
   3  Prefactor     7.8127        19.597        .35829E-03   -1.5652    
   4  Prefactor     .55511E-08    7.3830        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .15801E-01    4.2534        .99015E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          10.619        8.9611        .30705E-03   -1.5643    
   7  Prefactor     12.439        22.618        .28513E-03   -1.5637    
   8  norm          .11102E-09    4.3667        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .62783E-07    120.96        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.9017        5.2986        .74920E-03   -1.5680    
  11  Prefactor     6.1245        10.912        .40699E-03   -1.5658    
  12  Prefactor     3.1226        4.2823        .57197E-03   -1.5673    
  13  Prefactor     9.1575        9.8361        .33107E-03   -1.5647    
  14  Prefactor     194.95        180.63        .71611E-04   -1.5429    
  15  Prefactor     .55511E-10    2.1623        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .62450E-07    29.613        .11960E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .51778        .25413        .10698       -1.1160    
  18  Prefactor     1.1784        .11767        .35165E-01   -.86999    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.39839e-05
Minuit parameter uncertainties:
  1  2.7013
  2  12.2789
  3  19.5974
  4  0.000404139
  5  0.518498
  6  8.96109
  7  22.6179
  8  4.11047e-05
  9  0.00551145
  10  5.29863
  11  10.9123
  12  4.28231
  13  9.83607
  14  180.639
  15  1.70961e-05
  16  0.00272022
  17  0.2547
  18  0.1177
Done.

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

Extracting fit parameters...

4FGL J1045.8-2928
   Spectrum: PowerLaw
294    Prefactor:  1.902e+00  5.299e+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:  1.178e+00  1.177e-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.178e-01  2.547e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.23
Ra Dec: 161.468 -29.480
Photon Flux Upper Limit: 1.28e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.00e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/680052/likelihoodResults_699148801_699408001_4FGL_J1045.8-2928_daily_bin1774.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) = 8017.99892567
delta logL = 0.5533679523

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8017.98151931
delta logL = 0.570774317885

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38493       1.0000          .0000       .10000E+07
     2 'Index     '    4.2473       1.0000          .0000       10.000    
     3 'Normalizat'    .45715       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1988       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=   8017.982     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      314 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38207        6.1954        .91254E-03    .18712E-01
   2  Index         4.2515        3.2380        .14083        .17189E-03
   3  Normalizat    .45767        .48557E-01    .11343        .63952E-04
   4  Prefactor     1.1985        .24181E-01    .34660E-01   -.11264E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.382071
  Index      = 4.25151
  Normalizat = 0.45767
  Prefactor  = 1.19845
 **********
 **   18 **HESSE 
 **********

 FCN=   8017.982     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      349 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38207        16.939        .52105E-04   -1.5696    
   2  Index         4.2515        7.1140        .74755E-02   -.15026    
   3  Normalizat    .45767        .18445        .50274E-03   -1.1442    
   4  Prefactor     1.1985        .91107E-01    .15930E-03   -.86379    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.84956e-07
Minuit parameter uncertainties:
  1  5.08797
  2  7.50189
  3  0.184698
  4  0.091119
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/680052': 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) = 8017.98151382
delta logL = 0.570779802516

Extracting fit parameters...

4FGL J1045.8-2928
   Spectrum: PowerLaw
294    Prefactor:  3.821e-01  5.088e+00  0.000e+00  1.000e+06 ( 1.000e-12)
295        Index:  4.252e+00  7.502e+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:  1.198e+00  9.112e-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:  4.577e-01  1.847e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.47
Ra Dec: 161.468 -29.480
Photon Index (Free Index): 4.25 +/- 7.50
Photon Flux (Free Index): 6.48e-08 +/- 6.38e-08
Energy Flux (Free Index): 9.33e-06 +/- 1.57e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/680052/cmap_HighResolution_699148801_699408001_4FGL_J1045.8-2928_daily_bin1774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.00e-02', comment='SUCCESS', energy_flux2='9.33e-06', dlogl='5.71e-01', photon_flux2='6.48e-08', job_status='DONE', time_completed='2023-03-02 00:46:42.424400', photon_index_error2='7.50', photon_index2='4.25', ts='0.23', fit_tolerance='1e-08', GAL='1.18', photon_index_error='0.00', photon_flux_upper_limit='1.28e-07', energy_flux_error2='1.57e-05', EG='0.52', time_epoch_completed='1677746802.42', return_code='0', job_id='680052', GAL2='1.20', EG2='0.46', return_code2='102', photon_flux_error2='6.38e-08', ts2='1.47', photon_index='2.54' WHERE bin_id='1774' AND source_name='4FGL J1045.8-2928' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar  2 00:46:42 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0191>
Subject: Job 680052: <4FGL_J1045.8-2928_daily_bin1774> in cluster <slac> Done

Job <4FGL_J1045.8-2928_daily_bin1774> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Mar  2 00:35:15 2023
Job was executed on host(s) <bullet0191>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar  2 00:35:16 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Mar  2 00:35:16 2023
Terminated at Thu Mar  2 00:46:43 2023
Results reported at Thu Mar  2 00:46:43 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1045.8-2928_daily_bin1774 161.468 -29.4795 699148801 699408001 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 :                                   613.16 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             334.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   686 sec.
    Turnaround time :                            688 sec.

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

