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


Performing analysis on: 4FGL_J0928.4-0415_daily_bin1708
RA = 142.12, Dec = -4.2539
tmin = 682041601, tmax = 682300801
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='83079', job_status='RUN', time_executed='2022-09-16 14:47:07.152587', time_epoch_executed='1663364827.15' WHERE source_name='4FGL J0928.4-0415' and cadence='daily' and bin_id='1708'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/83079

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/83079/ft1_4FGL_J0928.4-0415_daily_bin1708.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/83079/ft2_4FGL_J0928.4-0415_daily_bin1708.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/83079/ft1_4FGL_J0928.4-0415_daily_bin1708.fits outfile=/scratch/kocevski/83079/ft1_filteredMKT_4FGL_J0928.4-0415_daily_bin1708.fits ra=142.12 dec=-4.2539 rad=12.0 tmin=682041601.0 tmax=682300801.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.02
user 3.76
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/83079/ft2_4FGL_J0928.4-0415_daily_bin1708.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/83079/ft2_4FGL_J0928.4-0415_daily_bin1708.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/83079/ft1_filteredMKT_4FGL_J0928.4-0415_daily_bin1708.fits evtable="EVENTS" outfile="/scratch/kocevski/83079/ft1_filtered_4FGL_J0928.4-0415_daily_bin1708.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 471

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/83079/ft1_filtered_4FGL_J0928.4-0415_daily_bin1708.fits" evtable="EVENTS" scfile=/scratch/kocevski/83079/ft2_4FGL_J0928.4-0415_daily_bin1708.fits sctable="SC_DATA" outfile=/scratch/kocevski/83079/ltcube_682041601_682300801_4FGL_J0928.4-0415_daily_bin1708.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/83079/ft2_4FGL_J0928.4-0415_daily_bin1708.fits
.....................!
real 13.87
user 13.46
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/83079/ft1_filtered_4FGL_J0928.4-0415_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/83079/ft2_4FGL_J0928.4-0415_daily_bin1708.fits sctable="SC_DATA" expcube=/scratch/kocevski/83079/ltcube_682041601_682300801_4FGL_J0928.4-0415_daily_bin1708.fits outfile=/scratch/kocevski/83079/expmap_682041601_682300801_4FGL_J0928.4-0415_daily_bin1708.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/83079/ltcube_682041601_682300801_4FGL_J0928.4-0415_daily_bin1708.fits
.....................!
real 192.37
user 187.14
sys 4.76

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 154 point sources and 0 extended sources

Setting source of interest to:
4FGL J0928.4-0415 @ 142.12 -4.2539

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/83079/ft1_filtered_4FGL_J0928.4-0415_daily_bin1708.fits scfile=/scratch/kocevski/83079/ft2_4FGL_J0928.4-0415_daily_bin1708.fits outfile=/scratch/kocevski/83079/cmap_682041601_682300801_4FGL_J0928.4-0415_daily_bin1708.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=142.12 yref=-4.2539 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.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/83079/ft1_filtered_4FGL_J0928.4-0415_daily_bin1708.fits scfile=/scratch/kocevski/83079/ft2_4FGL_J0928.4-0415_daily_bin1708.fits outfile=/scratch/kocevski/83079/cmap_HighResolution_682041601_682300801_4FGL_J0928.4-0415_daily_bin1708.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=142.12 yref=-4.2539 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.58
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/83079/ft1_filtered_4FGL_J0928.4-0415_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/83079/ft2_4FGL_J0928.4-0415_daily_bin1708.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/83079/Model_4FGL_J0928.4-0415_daily_bin1708.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/83079/ft1_filtered_4FGL_J0928.4-0415_daily_bin1708.fits.....................!
real 58.49
user 56.94
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/83079/ft1_filtered_4FGL_J0928.4-0415_daily_bin1708.fits', '/scratch/kocevski/83079/ft2_4FGL_J0928.4-0415_daily_bin1708.fits', expMap='/scratch/kocevski/83079/expmap_682041601_682300801_4FGL_J0928.4-0415_daily_bin1708.fits', expCube='/scratch/kocevski/83079/ltcube_682041601_682300801_4FGL_J0928.4-0415_daily_bin1708.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/83079/Model_4FGL_J0928.4-0415_daily_bin1708.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0928.4-0415'

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  5.926e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
247        Index:  2.566e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
248        Scale:  7.468e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/83079/ft1_filtered_4FGL_J0928.4-0415_daily_bin1708.fits
Spacecraft file(s): /scratch/kocevski/83079/ft2_4FGL_J0928.4-0415_daily_bin1708.fits
Exposure map: /scratch/kocevski/83079/expmap_682041601_682300801_4FGL_J0928.4-0415_daily_bin1708.fits
Exposure cube: /scratch/kocevski/83079/ltcube_682041601_682300801_4FGL_J0928.4-0415_daily_bin1708.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/83079/Model_4FGL_J0928.4-0415_daily_bin1708.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) = 5389.3686342

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15543E-08   1.0000          .0000       .10000E+07
     2 'Prefactor '    .34210E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    6.5544       1.0000          .0000       .10000E+07
     4 'norm      '    9.5621       1.0000          .0000       .10000E+07
     5 'norm      '    9.6569       1.0000          .0000       .10000E+07
     6 'Prefactor '    .40440E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.3796       1.0000          .0000       .10000E+07
     8 'Prefactor '    65.255       1.0000          .0000       .10000E+07
     9 'Prefactor '    60.410       1.0000          .0000       .10000E+07
    10 'Prefactor '    .10681E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .41941E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .23066E-04   1.0000          .0000       .10000E+07
    13 'norm      '    .75060       1.0000          .0000       .10000E+07
    14 'norm      '     .0000       1.0000          .0000       .10000E+07
    15 'norm      '    .63095E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .46881E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .36699E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    .97781       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .82806       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5389.363     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     1506 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .84557        .27294E-07** at limit **
   2  Prefactor     .94369E-09    4.7048        .37810E-06** at limit **
   3  Prefactor     6.5507        8.6560        .49992E-06    .69478E-03
   4  norm          9.5134        5.0049       -.53624E-07    .10069E-03
   5  norm          9.7129        6.3677       -.37837E-06   -.34961E-02
   6  Prefactor     .28239E-06    38.133        .50308E-05** at limit **
   7  Prefactor     2.3785        3.2869        .16088E-07   -.50768E-03
   8  Prefactor     64.054        50.507       -.43899E-05    .60020E-01
   9  Prefactor     59.794        14.037        .53615E-06   -.22972    
  10  Prefactor     .54401E-08    8.4224        .23498E-05** at limit **
  11  norm          .14433E-08    4.1673        .12491E-05** at limit **
  12  norm          .38913E-06    15.078       -.14709E-04** at limit **
  13  norm          .74882        .69519        .47558E-07    .24016E-02
  14  norm           .0000        .63691        .48687E-07** at limit **
  15  norm          .15543E-08    5.4322        .23333E-05** at limit **
  16  Prefactor     .26590E-07    12.383        .25796E-05** at limit **
  17  Prefactor     .85265E-07    24.145       -.85553E-06** at limit **
  18  Normalizat    .97974        .23854       -.98100E-05   -.47216E-05
  19  Prefactor     .82764        .16645        .51465E-05    .14141E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 9.4369e-10
  Prefactor  = 6.55075
  norm       = 9.51336
  norm       = 9.71286
  Prefactor  = 2.82385e-07
  Prefactor  = 2.37854
  Prefactor  = 64.0543
  Prefactor  = 59.7938
  Prefactor  = 5.44009e-09
  norm       = 1.44329e-09
  norm       = 3.89133e-07
  norm       = 0.748819
  norm       = 0
  norm       = 1.55431e-09
  Prefactor  = 2.65898e-08
  Prefactor  = 8.52651e-08
  Normalizat = 0.979743
  Prefactor  = 0.82764
 **********
 **   18 **HESSE 
 **********

 FCN=   5389.363     FROM HESSE     STATUS=OK           302 CALLS     1808 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .84523        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .94369E-09    4.7055        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.5507        8.6756        .39175E-03   -1.5657    
   4  norm          9.5134        5.0035        .32383E-03   -1.5646    
   5  norm          9.7129        6.3728        .32223E-03   -1.5646    
   6  Prefactor     .28239E-06    38.643        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.3785        3.3025        .66381E-03   -1.5677    
   8  Prefactor     64.054        53.391        .12380E-03   -1.5548    
   9  Prefactor     59.794        36.563        .12867E-03   -1.5553    
  10  Prefactor     .54401E-08    8.4302        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .14433E-08    4.1617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .38913E-06    2.8857        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .74882        .70206        .56692E-03   -1.5691    
  14  norm           .0000        .63529        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .15543E-08    5.4367        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .26590E-07    12.409        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .85265E-07    24.199        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .97974        .20424        .45888E-01   -.93712    
  19  Prefactor     .82764        .14244        .44081E-01   -.98717    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34533e-06
Minuit parameter uncertainties:
  1  8.0673e-06
  2  0.000134673
  3  8.67562
  4  5.00354
  5  6.37276
  6  0.00660658
  7  3.30248
  8  53.391
  9  36.5628
  10  0.000427758
  11  0.000153735
  12  0.00211929
  13  0.702063
  14  3.22068e-06
  15  0.000183924
  16  0.00114876
  17  0.00287265
  18  0.204407
  19  0.142502
Done.

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

Extracting fit parameters...

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  6.405e+01  5.339e+01  0.000e+00  1.000e+06 ( 1.000e-13)
247        Index:  2.566e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
248        Scale:  7.468e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  8.276e-01  1.425e-01  0.000e+00  1.000e+01 ( 1.000e+00)
502        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
503        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
500   Normalization:  9.797e-01  2.044e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.89
Ra Dec: 142.120 -4.254
Photon Index (Fixed Index): 2.57 +/- 0.00
Photon Flux (Fixed Index): 7.13e-08 +/- 5.94e-08
Energy Flux (Fixed Index): 1.93e-05 +/- 1.61e-05

TS (Fixed Index): 1.89
Ra Dec: 142.120 -4.254
Photon Flux Upper Limit: 1.87e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.46e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/83079/likelihoodResults_682041601_682300801_4FGL_J0928.4-0415_daily_bin1708.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) = 5389.1539123
delta logL = 0.208818833555

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5389.12850291
delta logL = 0.234228226161

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.582       1.0000          .0000       .10000E+07
     2 'Index     '    3.3557       1.0000          .0000       10.000    
     3 'Normalizat'    .93812       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85431       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5040E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5389.129     FROM MIGRAD    STATUS=FAILED        87 CALLS      308 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.473        664.70        .77598E-05    .51717E-03
   2  Index         3.3581        6.6573        .54333E-02    .64234E-04
   3  Normalizat    .93813        .26658        .26918E-03    .75872E-03
   4  Prefactor     .85438        .21051        .20665E-03   -.14661E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5389.129     FROM SIMPLEX   STATUS=UNCHANGED     88 CALLS      396 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.473        664.70        .63581E-04    .51717E-03
   2  Index         3.3581        6.6573        .11086E-02    .64234E-04
   3  Normalizat    .93813        .26658        .13369E-03    .75872E-03
   4  Prefactor     .85438        .21051        .13235E-03   -.14661E-02
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5389.129     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      428 TOTAL
                     EDM=   .82E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.473        63.979        .31039E-06   -.19678E-03
   2  Index         3.3581        1.5285        .21733E-03   -.75326E-05
   3  Normalizat    .93810        .23714        .53836E-04    .73910E-05
   4  Prefactor     .85441        .17137        .41331E-04    .12213E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.4729
  Index      = 3.35811
  Normalizat = 0.938097
  Prefactor  = 0.854406
 **********
 **   18 **HESSE 
 **********

 FCN=   5389.129     FROM HESSE     STATUS=OK            23 CALLS      451 TOTAL
                     EDM=   .82E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.473        62.825        .37205E-06   -1.5605    
   2  Index         3.3581        1.5018        .86933E-05   -.33459    
   3  Normalizat    .93810        .23714        .10767E-04   -.95134    
   4  Prefactor     .85441        .17132        .82662E-05   -.97753    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.21576e-13
Minuit parameter uncertainties:
  1  62.8264
  2  1.52834
  3  0.237404
  4  0.17143
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/83079': 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) = 5389.12850115
delta logL = 0.234229990027

Extracting fit parameters...

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  2.647e+01  6.283e+01  0.000e+00  1.000e+06 ( 1.000e-13)
247        Index:  3.358e+00  1.528e+00  0.000e+00  1.000e+01 (-1.000e+00)
248        Scale:  7.468e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  8.544e-01  1.714e-01  0.000e+00  1.000e+01 ( 1.000e+00)
502        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
503        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
500   Normalization:  9.381e-01  2.374e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.45
Ra Dec: 142.120 -4.254
Photon Index (Free Index): 3.36 +/- 1.53
Photon Flux (Free Index): 9.63e-08 +/- 7.44e-08
Energy Flux (Free Index): 1.67e-05 +/- 1.36e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/83079/cmap_HighResolution_682041601_682300801_4FGL_J0928.4-0415_daily_bin1708.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.46e-02', comment='SUCCESS', photon_flux='7.13e-08', energy_flux2='1.67e-05', photon_flux_error='5.94e-08', dlogl='2.34e-01', energy_flux='1.93e-05', photon_flux2='9.63e-08', job_status='DONE', time_completed='2022-09-16 14:55:27.299963', photon_index_error2='1.53', photon_index2='3.36', ts='1.89', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', photon_flux_upper_limit='1.87e-07', energy_flux_error2='1.36e-05', EG='0.98', time_epoch_completed='1663365327.3', return_code='0', job_id='83079', GAL2='0.85', EG2='0.94', return_code2='0', energy_flux_error='1.61e-05', photon_flux_error2='7.44e-08', ts2='2.45', photon_index='2.57' WHERE bin_id='1708' AND source_name='4FGL J0928.4-0415' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 14:55:27 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0120>
Subject: Job 83079: <4FGL_J0928.4-0415_daily_bin1708> in cluster <slac> Done

Job <4FGL_J0928.4-0415_daily_bin1708> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 16 14:45:17 2022
Job was executed on host(s) <bullet0120>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 14:45:34 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 14:45:34 2022
Terminated at Fri Sep 16 14:55:28 2022
Results reported at Fri Sep 16 14:55:28 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0928.4-0415_daily_bin1708 142.12 -4.2539 682041601 682300801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0928.4-0415 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   502.09 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             256.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   593 sec.
    Turnaround time :                            611 sec.

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

