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


Performing analysis on: 4FGL_J1045.8-2928_daily_bin1711
RA = 161.468, Dec = -29.4795
tmin = 682819201, tmax = 683078401
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='96027', job_status='RUN', time_executed='2022-09-16 15:31:09.168531', time_epoch_executed='1663367469.17' WHERE source_name='4FGL J1045.8-2928' and cadence='daily' and bin_id='1711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/96027

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/96027/ft1_4FGL_J1045.8-2928_daily_bin1711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/96027/ft2_4FGL_J1045.8-2928_daily_bin1711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/96027/ft1_4FGL_J1045.8-2928_daily_bin1711.fits outfile=/scratch/kocevski/96027/ft1_filteredMKT_4FGL_J1045.8-2928_daily_bin1711.fits ra=161.468 dec=-29.4795 rad=12.0 tmin=682819201.0 tmax=683078401.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 4.59
user 4.34
sys 0.23

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

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

Number of photons that the gtmktime cut: 1109

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/96027/ft1_filtered_4FGL_J1045.8-2928_daily_bin1711.fits" evtable="EVENTS" scfile=/scratch/kocevski/96027/ft2_4FGL_J1045.8-2928_daily_bin1711.fits sctable="SC_DATA" outfile=/scratch/kocevski/96027/ltcube_682819201_683078401_4FGL_J1045.8-2928_daily_bin1711.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/96027/ft2_4FGL_J1045.8-2928_daily_bin1711.fits
.....................!
real 15.74
user 15.34
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/96027/ft1_filtered_4FGL_J1045.8-2928_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/96027/ft2_4FGL_J1045.8-2928_daily_bin1711.fits sctable="SC_DATA" expcube=/scratch/kocevski/96027/ltcube_682819201_683078401_4FGL_J1045.8-2928_daily_bin1711.fits outfile=/scratch/kocevski/96027/expmap_682819201_683078401_4FGL_J1045.8-2928_daily_bin1711.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/96027/ltcube_682819201_683078401_4FGL_J1045.8-2928_daily_bin1711.fits
.....................!
real 192.10
user 186.30
sys 5.28

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/96027/ft1_filtered_4FGL_J1045.8-2928_daily_bin1711.fits scfile=/scratch/kocevski/96027/ft2_4FGL_J1045.8-2928_daily_bin1711.fits outfile=/scratch/kocevski/96027/cmap_682819201_683078401_4FGL_J1045.8-2928_daily_bin1711.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.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/96027/ft1_filtered_4FGL_J1045.8-2928_daily_bin1711.fits scfile=/scratch/kocevski/96027/ft2_4FGL_J1045.8-2928_daily_bin1711.fits outfile=/scratch/kocevski/96027/cmap_HighResolution_682819201_683078401_4FGL_J1045.8-2928_daily_bin1711.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=161.468 yref=-29.4795 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/96027/ft1_filtered_4FGL_J1045.8-2928_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/96027/ft2_4FGL_J1045.8-2928_daily_bin1711.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/96027/Model_4FGL_J1045.8-2928_daily_bin1711.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/96027/ft1_filtered_4FGL_J1045.8-2928_daily_bin1711.fits.....................!
real 107.55
user 106.00
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.5113       1.0000          .0000       .10000E+07
     2 'norm      '    .98144E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    10.524       1.0000          .0000       .10000E+07
     4 'Prefactor '    .36705E-03   1.0000          .0000       .10000E+07
     5 'norm      '    7.2742       1.0000          .0000       .10000E+07
     6 'norm      '    3.5910       1.0000          .0000       .10000E+07
     7 'Prefactor '    8.6284       1.0000          .0000       .10000E+07
     8 'norm      '    7.6713       1.0000          .0000       .10000E+07
     9 'Prefactor '    .47610E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    1.7053       1.0000          .0000       .10000E+07
    11 'Prefactor '    .11404E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    5.1534       1.0000          .0000       .10000E+07
    13 'Prefactor '    .16798E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    37.040       1.0000          .0000       .10000E+07
    15 'Prefactor '    .91815E-07   1.0000          .0000       .10000E+07
    16 'Prefactor '    20.758       1.0000          .0000       .10000E+07
    17 'Normalizat'    .90842       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0978       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=   11568.75     FROM MIGRAD    STATUS=CONVERGED    116 CALLS     1273 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5110        1.5618        .24111E-06    .92592E-02
   2  norm           .0000        2.8982        .17322E-06** at limit **
   3  Prefactor     10.533        4.9293       -.32332E-05   -.14866E-01
   4  Prefactor     .55511E-10    4.3386        .17319E-05** at limit **
   5  norm          7.2680        6.8751       -.11570E-06    .11861E-02
   6  norm          3.5866        5.7705        .46933E-06   -.10175E-02
   7  Prefactor     8.6298        1.4055       -.82377E-06   -.55275E-01
   8  norm          7.6359        3.0826        .80463E-06    .19290E-02
   9  Prefactor     .11102E-08    5.7252        .54282E-06** at limit **
  10  Prefactor     1.7178        2.6093       -.21341E-05   -.19853E-02
  11  Prefactor     .55511E-10    5.1555        .16766E-05** at limit **
  12  Prefactor     5.1734        3.4083        .14583E-06    .10137E-01
  13  Prefactor     .55511E-10    1.2901       -.55401E-06** at limit **
  14  Prefactor     36.642        72.727       -.28707E-04    .19626E-02
  15  Prefactor     .55511E-10    1.5993       -.65483E-06** at limit **
  16  Prefactor     20.714        19.791        .73500E-05   -.73824E-02
  17  Normalizat    .90902        .20597       -.54319E-05   -.34804E-04
  18  Prefactor     1.0976        .10600        .14446E-04    .15904E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.51098
  norm       = 0
  Prefactor  = 10.533
  Prefactor  = 5.55112e-11
  norm       = 7.26798
  norm       = 3.5866
  Prefactor  = 8.62978
  norm       = 7.63587
  Prefactor  = 1.11022e-09
  Prefactor  = 1.71778
  Prefactor  = 5.55112e-11
  Prefactor  = 5.17343
  Prefactor  = 5.55112e-11
  Prefactor  = 36.6417
  Prefactor  = 5.55112e-11
  Prefactor  = 20.7139
  Normalizat = 0.909015
  Prefactor  = 1.09761
 **********
 **   18 **HESSE 
 **********

 FCN=   11568.75     FROM HESSE     STATUS=OK           284 CALLS     1557 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5110        1.5618        .53927E-03   -1.5670    
   2  norm           .0000        2.8948        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     10.533        20.435        .30860E-03   -1.5643    
   4  Prefactor     .55511E-10    4.3368        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          7.2680        6.9612        .37166E-03   -1.5654    
   6  norm          3.5866        5.8143        .53301E-03   -1.5670    
   7  Prefactor     8.6298        11.879        .34101E-03   -1.5649    
   8  norm          7.6359        3.2555        .36182E-03   -1.5653    
   9  Prefactor     .11102E-08    5.7209        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.7178        2.6946        .80497E-03   -1.5682    
  11  Prefactor     .55511E-10    5.1390        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.1734        3.4163        .44261E-03   -1.5662    
  13  Prefactor     .55511E-10    1.2898        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     36.642        72.935        .16433E-03   -1.5587    
  15  Prefactor     .55511E-10    1.5992        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     20.714        20.454        .21955E-03   -1.5617    
  17  Normalizat    .90902        .17923        .80591E-01   -.96144    
  18  Prefactor     1.0976        .91019E-01    .37671E-01   -.89543    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.26659e-07
Minuit parameter uncertainties:
  1  1.56181
  2  2.10185e-06
  3  20.4348
  4  2.42431e-05
  5  6.96122
  6  5.81432
  7  11.8788
  8  3.25552
  9  0.000159134
  10  2.69465
  11  3.50246e-05
  12  3.41628
  13  1.5976e-05
  14  72.9364
  15  1.47807e-05
  16  20.4542
  17  0.179348
  18  0.0910316
Done.

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

Extracting fit parameters...

4FGL J1045.8-2928
   Spectrum: PowerLaw
294    Prefactor:  1.718e+00  2.695e+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.098e+00  9.103e-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.090e-01  1.793e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/96027/likelihoodResults_682819201_683078401_4FGL_J1045.8-2928_daily_bin1711.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) = 11568.7348663
delta logL = 0.016841488401

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11568.7319584
delta logL = 0.0197493829837

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9245       1.0000          .0000       .10000E+07
     2 'Index     '    2.3350       1.0000          .0000       10.000    
     3 'Normalizat'    .91349       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0961       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11568.73     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      265 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9229        2.9271        .21491E-04    .41494E-03
   2  Index         2.3364        1.0131        .10143E-01    .50031E-04
   3  Normalizat    .91339        .20179        .35598E-03    .38323E-06
   4  Prefactor     1.0961        .10583        .17199E-03    .66100E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.92289
  Index      = 2.33636
  Normalizat = 0.913385
  Prefactor  = 1.09611
 **********
 **   18 **HESSE 
 **********

 FCN=   11568.73     FROM HESSE     STATUS=OK            27 CALLS      292 TOTAL
                     EDM=   .67E-14    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9229        2.9008        .42982E-05   -1.5680    
   2  Index         2.3364        1.0042        .20285E-02   -.56182    
   3  Normalizat    .91339        .20194        .14239E-04   -.95991    
   4  Prefactor     1.0961        .10591        .68796E-05   -.89591    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.65669e-15
Minuit parameter uncertainties:
  1  2.90082
  2  1.01384
  3  0.202108
  4  0.105931
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/96027': 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): 0
logL (Free Index) = 11568.7319573
delta logL = 0.0197504829976

Extracting fit parameters...

4FGL J1045.8-2928
   Spectrum: PowerLaw
294    Prefactor:  1.923e+00  2.901e+00  0.000e+00  1.000e+06 ( 1.000e-12)
295        Index:  2.336e+00  1.014e+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.096e+00  1.059e-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:  9.134e-01  2.021e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.58
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/96027/cmap_HighResolution_682819201_683078401_4FGL_J1045.8-2928_daily_bin1711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.72e-03', job_status='DONE', photon_flux_upper_limit='8.62e-08', time_completed='2022-09-16 15:43:38.229738', job_id='96027', GAL2='1.10', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1663368218.23', return_code2='0', ts='0.58', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='1.98e-02', ts2='0.62', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='1711' AND source_name='4FGL J1045.8-2928' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:43:38 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0159>
Subject: Job 96027: <4FGL_J1045.8-2928_daily_bin1711> in cluster <slac> Done

Job <4FGL_J1045.8-2928_daily_bin1711> 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) <bullet0159>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:30:24 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:24 2022
Terminated at Fri Sep 16 15:43:39 2022
Results reported at Fri Sep 16 15:43:39 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1045.8-2928_daily_bin1711 161.468 -29.4795 682819201 683078401 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 :                                   751.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             353.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   795 sec.
    Turnaround time :                            806 sec.

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

