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


Performing analysis on: 4FGL_J1045.8-2928_daily_bin1748
RA = 161.468, Dec = -29.4795
tmin = 692409601, tmax = 692668801
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='883157', job_status='RUN', time_executed='2022-12-14 00:32:24.029711', time_epoch_executed='1671006744.03' WHERE source_name='4FGL J1045.8-2928' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/883157

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/883157/ft1_4FGL_J1045.8-2928_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/883157/ft2_4FGL_J1045.8-2928_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/883157/ft1_4FGL_J1045.8-2928_daily_bin1748.fits outfile=/scratch/kocevski/883157/ft1_filteredMKT_4FGL_J1045.8-2928_daily_bin1748.fits ra=161.468 dec=-29.4795 rad=12.0 tmin=692409601.0 tmax=692668801.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.55
user 3.32
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/883157/ft1_filtered_4FGL_J1045.8-2928_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/883157/ft2_4FGL_J1045.8-2928_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/883157/ltcube_692409601_692668801_4FGL_J1045.8-2928_daily_bin1748.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/883157/ft2_4FGL_J1045.8-2928_daily_bin1748.fits
.....................!
real 12.07
user 11.73
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/883157/ft1_filtered_4FGL_J1045.8-2928_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/883157/ft2_4FGL_J1045.8-2928_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/883157/ltcube_692409601_692668801_4FGL_J1045.8-2928_daily_bin1748.fits outfile=/scratch/kocevski/883157/expmap_692409601_692668801_4FGL_J1045.8-2928_daily_bin1748.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/883157/ltcube_692409601_692668801_4FGL_J1045.8-2928_daily_bin1748.fits
.....................!
real 192.02
user 187.09
sys 4.60

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/883157/ft1_filtered_4FGL_J1045.8-2928_daily_bin1748.fits scfile=/scratch/kocevski/883157/ft2_4FGL_J1045.8-2928_daily_bin1748.fits outfile=/scratch/kocevski/883157/cmap_692409601_692668801_4FGL_J1045.8-2928_daily_bin1748.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.54
user 0.38
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .48366       1.0000          .0000       .10000E+07
     2 'norm      '    .28058E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .18682E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .20118E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .37061E-03   1.0000          .0000       .10000E+07
     6 'norm      '    14.192       1.0000          .0000       .10000E+07
     7 'Prefactor '    .24422E-03   1.0000          .0000       .10000E+07
     8 'norm      '    2.6875       1.0000          .0000       .10000E+07
     9 'Prefactor '    13.694       1.0000          .0000       .10000E+07
    10 'Prefactor '    .19495E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .12011E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    8.3159       1.0000          .0000       .10000E+07
    13 'Prefactor '    11.627       1.0000          .0000       .10000E+07
    14 'Prefactor '    37.070       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.4658       1.0000          .0000       .10000E+07
    16 'Prefactor '    11.906       1.0000          .0000       .10000E+07
    17 'Normalizat'    .98163       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0070       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=   10855.44     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1345 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .48401        .64461       -.18966E-06    .67476E-02
   2  norm          .11102E-09    3.6504       -.49000E-06** at limit **
   3  Prefactor     .33307E-09    4.0609       -.67162E-06** at limit **
   4  Prefactor     .55511E-10    3.8846       -.81493E-07** at limit **
   5  norm           .0000        5.0000       -.15722E-06** at limit **
   6  norm          14.208        6.4666       -.78391E-07   -.17571E-02
   7  Prefactor     .23870E-08    6.0879        .68010E-06** at limit **
   8  norm          2.6889        2.3050        .25101E-06    .32421E-02
   9  Prefactor     13.713        5.1052       -.77418E-06   -.15993    
  10  Prefactor     .25369E-07    19.932        .52675E-05** at limit **
  11  Prefactor     .86042E-08    8.2523       -.32097E-06** at limit **
  12  Prefactor     8.3123        5.3108        .47985E-06    .19463E-03
  13  Prefactor     11.619        6.3299       -.27171E-06   -.94223E-03
  14  Prefactor     40.447        107.86       -.62230E-05   -.61546E-03
  15  Prefactor     1.4334        6.8253       -.68683E-06   -.10509E-02
  16  Prefactor     12.004        28.972       -.58103E-05    .25353E-01
  17  Normalizat    .98053        .21066        .14835E-04    .34787E-04
  18  Prefactor     1.0073        .10590       -.32953E-05    .42697E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.484011
  norm       = 1.11022e-10
  Prefactor  = 3.33067e-10
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 14.2084
  Prefactor  = 2.38698e-09
  norm       = 2.68891
  Prefactor  = 13.7134
  Prefactor  = 2.53686e-08
  Prefactor  = 8.60423e-09
  Prefactor  = 8.31233
  Prefactor  = 11.6185
  Prefactor  = 40.4471
  Prefactor  = 1.43344
  Prefactor  = 12.0035
  Normalizat = 0.980526
  Prefactor  = 1.00729
 **********
 **   18 **HESSE 
 **********

 FCN=   10855.44     FROM HESSE     STATUS=OK           292 CALLS     1637 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .48401        .82931        .21811E-02   -1.5694    
   2  norm          .11102E-09    3.6470        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .33307E-09    4.0594        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    3.8767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        4.9796        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          14.208        6.4701        .26562E-03   -1.5633    
   7  Prefactor     .23870E-08    6.0850        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.6889        2.3691        .62125E-03   -1.5675    
   9  Prefactor     13.713        13.316        .27041E-03   -1.5634    
  10  Prefactor     .25369E-07    2.0730        .49685E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .86042E-08    8.2539        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.3123        5.3061        .34740E-03   -1.5650    
  13  Prefactor     11.619        6.3302        .29354E-03   -1.5640    
  14  Prefactor     40.447        106.98        .16426E-03   -1.5581    
  15  Prefactor     1.4334        6.8175        .88779E-03   -1.5684    
  16  Prefactor     12.004        30.905        .29007E-03   -1.5639    
  17  Normalizat    .98053        .18126        .75972E-01   -.93686    
  18  Prefactor     1.0073        .89010E-01    .43813E-01   -.92487    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.47253e-06
Minuit parameter uncertainties:
  1  0.829309
  2  3.89313e-05
  3  7.07496e-05
  4  2.22147e-05
  5  2.22545e-05
  6  6.47012
  7  0.00024213
  8  2.36909
  9  13.3165
  10  0.000458402
  11  0.000533479
  12  5.30611
  13  6.33021
  14  106.981
  15  6.2522
  16  30.9057
  17  0.181378
  18  0.0890233
Done.

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

Extracting fit parameters...

4FGL J1045.8-2928
   Spectrum: PowerLaw
294    Prefactor:  2.537e-08  4.584e-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.007e+00  8.902e-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.805e-01  1.814e-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: 8.05e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.28e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/883157/likelihoodResults_692409601_692668801_4FGL_J1045.8-2928_daily_bin1748.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) = 10855.5024422
delta logL = -0.0671443255742

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10855.3524151
delta logL = 0.0828828102549

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20962E-05   1.0000          .0000       .10000E+07
     2 'Index     '    9.9999       1.0000          .0000       10.000    
     3 'Normalizat'    .95846       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0149       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=   10855.44     FROM MIGRAD    STATUS=CONVERGED    133 CALLS      465 TOTAL
                     EDM=   .57E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    .90489E-02    .42118E-03** at limit **
   2  Index         1.6641        9.0940        .50000        .22737E-09
   3  Normalizat    .98053        .30029E-03    .75971E-01   -.20335E-03
   4  Prefactor     1.0073        .15663E-03    .42690E-01    .48540E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Index      = 1.66409
  Normalizat = 0.980525
  Prefactor  = 1.00729
 **********
 **   18 **HESSE 
 **********

 FCN=   10855.44     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      496 TOTAL
                     EDM=   .29E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    .45309E-01    .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6641        7.2457        .50000       -21.261    
   3  Normalizat    .98053        .66986E-03    .33620E-03   -95.185    
   4  Prefactor     1.0073        .34999E-03    .17239E-03   -77.615    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.85567e-12
Minuit parameter uncertainties:
  1  4.73588e-06
  2  7445.28
  3  0.00066986
  4  0.000349985
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/883157': 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) = 10855.4352979
delta logL = 5.71162672713e-10

Extracting fit parameters...

4FGL J1045.8-2928
   Spectrum: PowerLaw
294    Prefactor:  1.110e-10  4.736e-06  0.000e+00  1.000e+06 ( 1.000e-12)
295        Index:  1.664e+00  7.445e+03  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.007e+00  3.500e-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:  9.805e-01  6.699e-04  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/883157/cmap_HighResolution_692409601_692668801_4FGL_J1045.8-2928_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.28e-03', job_status='DONE', photon_flux_upper_limit='8.05e-08', time_completed='2022-12-14 00:45:19.431365', job_id='883157', GAL2='1.01', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1671007519.43', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='5.71e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='1748' AND source_name='4FGL J1045.8-2928' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 00:45:19 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 883157: <4FGL_J1045.8-2928_daily_bin1748> in cluster <slac> Done

Job <4FGL_J1045.8-2928_daily_bin1748> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Dec 14 00:30:13 2022
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:30:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:30:15 2022
Terminated at Wed Dec 14 00:45:20 2022
Results reported at Wed Dec 14 00:45:20 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1045.8-2928_daily_bin1748 161.468 -29.4795 692409601 692668801 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 :                                   778.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             298.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   904 sec.
    Turnaround time :                            907 sec.

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

