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 152 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7600
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0928.4-0415_daily_bin1759
RA = 142.12, Dec = -4.2539
tmin = 695260801, tmax = 695520001
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='554319', job_status='RUN', time_executed='2023-01-16 01:00:59.352445', time_epoch_executed='1673859659.35' WHERE source_name='4FGL J0928.4-0415' and cadence='daily' and bin_id='1759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/554319

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/554319/ft1_4FGL_J0928.4-0415_daily_bin1759.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/554319/ft2_4FGL_J0928.4-0415_daily_bin1759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/554319/ft1_4FGL_J0928.4-0415_daily_bin1759.fits outfile=/scratch/kocevski/554319/ft1_filteredMKT_4FGL_J0928.4-0415_daily_bin1759.fits ra=142.12 dec=-4.2539 rad=12.0 tmin=695260801.0 tmax=695520001.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.74
user 2.52
sys 0.21

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

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

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

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

Number of photons that the gtmktime cut: 308

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/554319/ft1_filtered_4FGL_J0928.4-0415_daily_bin1759.fits" evtable="EVENTS" scfile=/scratch/kocevski/554319/ft2_4FGL_J0928.4-0415_daily_bin1759.fits sctable="SC_DATA" outfile=/scratch/kocevski/554319/ltcube_695260801_695520001_4FGL_J0928.4-0415_daily_bin1759.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/554319/ft2_4FGL_J0928.4-0415_daily_bin1759.fits
.....................!
real 16.49
user 16.06
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/554319/ft1_filtered_4FGL_J0928.4-0415_daily_bin1759.fits evtable="EVENTS" scfile=/scratch/kocevski/554319/ft2_4FGL_J0928.4-0415_daily_bin1759.fits sctable="SC_DATA" expcube=/scratch/kocevski/554319/ltcube_695260801_695520001_4FGL_J0928.4-0415_daily_bin1759.fits outfile=/scratch/kocevski/554319/expmap_695260801_695520001_4FGL_J0928.4-0415_daily_bin1759.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/554319/ltcube_695260801_695520001_4FGL_J0928.4-0415_daily_bin1759.fits
.....................!
real 192.07
user 186.75
sys 4.72

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/554319/ft1_filtered_4FGL_J0928.4-0415_daily_bin1759.fits scfile=/scratch/kocevski/554319/ft2_4FGL_J0928.4-0415_daily_bin1759.fits outfile=/scratch/kocevski/554319/cmap_695260801_695520001_4FGL_J0928.4-0415_daily_bin1759.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.61
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/554319/ft1_filtered_4FGL_J0928.4-0415_daily_bin1759.fits scfile=/scratch/kocevski/554319/ft2_4FGL_J0928.4-0415_daily_bin1759.fits outfile=/scratch/kocevski/554319/cmap_HighResolution_695260801_695520001_4FGL_J0928.4-0415_daily_bin1759.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.59
user 0.41
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/554319/ft1_filtered_4FGL_J0928.4-0415_daily_bin1759.fits', '/scratch/kocevski/554319/ft2_4FGL_J0928.4-0415_daily_bin1759.fits', expMap='/scratch/kocevski/554319/expmap_695260801_695520001_4FGL_J0928.4-0415_daily_bin1759.fits', expCube='/scratch/kocevski/554319/ltcube_695260801_695520001_4FGL_J0928.4-0415_daily_bin1759.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/554319/Model_4FGL_J0928.4-0415_daily_bin1759.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/554319/ft1_filtered_4FGL_J0928.4-0415_daily_bin1759.fits
Spacecraft file(s): /scratch/kocevski/554319/ft2_4FGL_J0928.4-0415_daily_bin1759.fits
Exposure map: /scratch/kocevski/554319/expmap_695260801_695520001_4FGL_J0928.4-0415_daily_bin1759.fits
Exposure cube: /scratch/kocevski/554319/ltcube_695260801_695520001_4FGL_J0928.4-0415_daily_bin1759.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/554319/Model_4FGL_J0928.4-0415_daily_bin1759.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) = 3725.62284783

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5618       1.0000          .0000       .10000E+07
     2 'Prefactor '    14.668       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.9993       1.0000          .0000       .10000E+07
     4 'norm      '    2.5182       1.0000          .0000       .10000E+07
     5 'norm      '    .82712E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    .74842E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .56072E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    51.613       1.0000          .0000       .10000E+07
     9 'Prefactor '    7.8149       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.8766       1.0000          .0000       .10000E+07
    11 'norm      '    .96825       1.0000          .0000       .10000E+07
    12 'norm      '    .40651E-06   1.0000          .0000       .10000E+07
    13 'norm      '    .18313       1.0000          .0000       .10000E+07
    14 'norm      '    .16470E-05   1.0000          .0000       .10000E+07
    15 'norm      '    .20495E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .35145       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.0002       1.0000          .0000       .10000E+07
    18 'Normalizat'    .17261       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.4796       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=   3725.589     FROM MIGRAD    STATUS=CONVERGED    154 CALLS     1434 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5610        3.8821        .78710E-07   -.36421E-02
   2  Prefactor     14.667        7.7881       -.16999E-05   -.40877E-01
   3  Prefactor     3.7507        14.462       -.14241E-05    .27015E-02
   4  norm          2.4497        8.3642       -.14776E-05   -.17397E-02
   5  norm          .16653E-09    2.9342        .54397E-06** at limit **
   6  Prefactor     .83267E-09    7.4697        .10179E-05** at limit **
   7  Prefactor      .0000        2.9320        .25547E-06** at limit **
   8  Prefactor     50.550        25.463        .79044E-06   -.18623E-01
   9  Prefactor     6.2459        41.496        .68106E-05   -.36502E-01
  10  Prefactor     3.1082        46.751        .11374E-04    .15026E-01
  11  norm          .92571        8.4113        .53112E-06   -.31001E-02
  12  norm          .55511E-10    1.3336        .21894E-06** at limit **
  13  norm          .18063        .64612       -.26563E-07** at limit **
  14  norm           .0000        1.1173       -.11582E-06** at limit **
  15  norm           .0000        17.062        .12011E-05** at limit **
  16  Prefactor     .15295E-04    241.22        .29037E-04** at limit **
  17  Prefactor     3.1653        57.661       -.51477E-05    .38693E-01
  18  Normalizat    .17659        .29288        .31176E-04    .29410E-04
  19  Prefactor     1.4799        .21787       -.70885E-05    .11673E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.56102
  Prefactor  = 14.6665
  Prefactor  = 3.75067
  norm       = 2.44967
  norm       = 1.66533e-10
  Prefactor  = 8.32667e-10
  Prefactor  = 0
  Prefactor  = 50.5503
  Prefactor  = 6.24591
  Prefactor  = 3.10821
  norm       = 0.925714
  norm       = 5.55112e-11
  norm       = 0.180633
  norm       = 0
  norm       = 0
  Prefactor  = 1.5295e-05
  Prefactor  = 3.16532
  Normalizat = 0.176587
  Prefactor  = 1.47988
 **********
 **   18 **HESSE 
 **********

 FCN=   3725.589     FROM HESSE     STATUS=OK           316 CALLS     1750 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5610        4.0104        .63756E-03   -1.5676    
   2  Prefactor     14.667        25.430        .26126E-03   -1.5631    
   3  Prefactor     3.7507        17.120        .50406E-03   -1.5669    
   4  norm          2.4497        10.906        .64353E-03   -1.5677    
   5  norm          .16653E-09    2.9355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .83267E-09    7.4689        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        2.9330        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     50.550        52.186        .13920E-03   -1.5566    
   9  Prefactor     6.2459        111.17        .35846E-03   -1.5658    
  10  Prefactor     3.1082        57.651        .59902E-03   -1.5673    
  11  norm          .92571        9.4589        .42638E-03   -1.5689    
  12  norm          .55511E-10    1.3351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .18063        1.0310        .12084E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        1.1215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        17.026        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .15295E-04    32.820        .12780E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.1653        323.14        .50401E-03   -1.5672    
  18  Normalizat    .17659        1.1935        .13723       -1.3118    
  19  Prefactor     1.4799        .56392        .30045E-01   -.78105    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.14287e-06
Minuit parameter uncertainties:
  1  4.01038
  2  25.4306
  3  16.0264
  4  10.3375
  5  4.31119e-05
  6  0.000159808
  7  1.59666e-05
  8  52.1863
  9  52.7029
  10  26.7728
  11  5.9182
  12  1.76722e-05
  13  0.863082
  14  2.16593e-06
  15  4.01728e-06
  16  0.04481
  17  63.9672
  18  0.919069
  19  0.566322
Done.

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

Extracting fit parameters...

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  5.055e+01  5.219e+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:  1.480e+00  5.663e-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:  1.766e-01  9.191e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.79
Ra Dec: 142.120 -4.254
Photon Index (Fixed Index): 2.57 +/- 0.00
Photon Flux (Fixed Index): 5.63e-08 +/- 5.80e-08
Energy Flux (Fixed Index): 1.52e-05 +/- 1.57e-05

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

Saving results to:
/scratch/kocevski/554319/likelihoodResults_695260801_695520001_4FGL_J0928.4-0415_daily_bin1759.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) = 3724.14806537
delta logL = 1.44093571813

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3724.12447643
delta logL = 1.46452466112

Fit tolerance = 1e-08

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

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

 FCN=   3724.124     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      208 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     59.842        60.241       -.26228E-05   -.16474E-03
   2  Index         1.5102        .52124       -.96682E-04    .11972E-04
   3  Normalizat    .21633        .34794        .31652E-05    .15536E-03
   4  Prefactor     1.4593        .26940        .74200E-06    .31643E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 59.8424
  Index      = 1.5102
  Normalizat = 0.216327
  Prefactor  = 1.45931
 **********
 **   18 **HESSE 
 **********

 FCN=   3724.124     FROM HESSE     STATUS=OK            31 CALLS      239 TOTAL
                     EDM=   .93E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     59.842        58.968        .25838E-04   -1.5553    
   2  Index         1.5102        .51042        .64038E-02   -.77255    
   3  Normalizat    .21633        .27665        .54514E-03   -1.2824    
   4  Prefactor     1.4593        .21314        .16847E-03   -.78686    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.30541e-10
Minuit parameter uncertainties:
  1  58.9683
  2  0.512163
  3  0.278429
  4  0.213272
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/554319': 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) = 3724.12447451
delta logL = 1.46452658391

Extracting fit parameters...

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  5.984e+01  5.897e+01  0.000e+00  1.000e+06 ( 1.000e-13)
247        Index:  1.510e+00  5.122e-01  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:  1.459e+00  2.133e-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:  2.163e-01  2.784e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.71
Ra Dec: 142.120 -4.254
Photon Index (Free Index): 1.51 +/- 0.51
Photon Flux (Free Index): 2.37e-08 +/- 2.53e-08
Energy Flux (Free Index): 7.25e-05 +/- 9.40e-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/554319/cmap_HighResolution_695260801_695520001_4FGL_J0928.4-0415_daily_bin1759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.46e-02', comment='SUCCESS', photon_flux='5.63e-08', energy_flux2='7.25e-05', photon_flux_error='5.80e-08', dlogl='1.46e+00', energy_flux='1.52e-05', photon_flux2='2.37e-08', job_status='DONE', time_completed='2023-01-16 01:08:06.980645', photon_index_error2='0.51', photon_index2='1.51', ts='2.79', fit_tolerance='1e-08', GAL='1.48', photon_index_error='0.00', photon_flux_upper_limit='1.86e-07', energy_flux_error2='9.40e-05', EG='0.18', time_epoch_completed='1673860086.98', return_code='0', job_id='554319', GAL2='1.46', EG2='0.22', return_code2='0', energy_flux_error='1.57e-05', photon_flux_error2='2.53e-08', ts2='5.71', photon_index='2.57' WHERE bin_id='1759' AND source_name='4FGL J0928.4-0415' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jan 16 01:08:07 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 554319: <4FGL_J0928.4-0415_daily_bin1759> in cluster <slac> Done

Job <4FGL_J0928.4-0415_daily_bin1759> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Jan 16 00:55:36 2023
Job was executed on host(s) <bullet0281>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jan 16 00:58:18 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jan 16 00:58:18 2023
Terminated at Mon Jan 16 01:08:07 2023
Results reported at Mon Jan 16 01:08:07 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0928.4-0415_daily_bin1759 142.12 -4.2539 695260801 695520001 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 :                                   430.11 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             253.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   589 sec.
    Turnaround time :                            751 sec.

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

