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


Performing analysis on: 4FGL_J1028.4-0234_daily_bin1747
RA = 157.121, Dec = -2.5829
tmin = 692150401, tmax = 692409601
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='795520', job_status='RUN', time_executed='2022-12-11 00:35:57.507950', time_epoch_executed='1670747757.51' WHERE source_name='4FGL J1028.4-0234' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/795520

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/795520/ft1_4FGL_J1028.4-0234_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/795520/ft2_4FGL_J1028.4-0234_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/795520/ft1_4FGL_J1028.4-0234_daily_bin1747.fits outfile=/scratch/kocevski/795520/ft1_filteredMKT_4FGL_J1028.4-0234_daily_bin1747.fits ra=157.121 dec=-2.5829 rad=12.0 tmin=692150401.0 tmax=692409601.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.98
user 3.75
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/795520/ft2_4FGL_J1028.4-0234_daily_bin1747.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/795520/ft2_4FGL_J1028.4-0234_daily_bin1747.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/795520/ft1_filteredMKT_4FGL_J1028.4-0234_daily_bin1747.fits evtable="EVENTS" outfile="/scratch/kocevski/795520/ft1_filtered_4FGL_J1028.4-0234_daily_bin1747.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.49
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 770

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/795520/ft1_filtered_4FGL_J1028.4-0234_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/795520/ft2_4FGL_J1028.4-0234_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/795520/ltcube_692150401_692409601_4FGL_J1028.4-0234_daily_bin1747.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/795520/ft2_4FGL_J1028.4-0234_daily_bin1747.fits
.....................!
real 11.97
user 11.61
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/795520/ft1_filtered_4FGL_J1028.4-0234_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/795520/ft2_4FGL_J1028.4-0234_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/795520/ltcube_692150401_692409601_4FGL_J1028.4-0234_daily_bin1747.fits outfile=/scratch/kocevski/795520/expmap_692150401_692409601_4FGL_J1028.4-0234_daily_bin1747.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/795520/ltcube_692150401_692409601_4FGL_J1028.4-0234_daily_bin1747.fits
.....................!
real 190.93
user 185.64
sys 4.97

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

Setting source of interest to:
4FGL J1028.4-0234 @ 157.121 -2.5829

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/795520/ft1_filtered_4FGL_J1028.4-0234_daily_bin1747.fits scfile=/scratch/kocevski/795520/ft2_4FGL_J1028.4-0234_daily_bin1747.fits outfile=/scratch/kocevski/795520/cmap_692150401_692409601_4FGL_J1028.4-0234_daily_bin1747.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=157.121 yref=-2.5829 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/795520/ft1_filtered_4FGL_J1028.4-0234_daily_bin1747.fits scfile=/scratch/kocevski/795520/ft2_4FGL_J1028.4-0234_daily_bin1747.fits outfile=/scratch/kocevski/795520/cmap_HighResolution_692150401_692409601_4FGL_J1028.4-0234_daily_bin1747.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=157.121 yref=-2.5829 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/795520/ft1_filtered_4FGL_J1028.4-0234_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/795520/ft2_4FGL_J1028.4-0234_daily_bin1747.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/795520/Model_4FGL_J1028.4-0234_daily_bin1747.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/795520/ft1_filtered_4FGL_J1028.4-0234_daily_bin1747.fits.....................!
real 78.62
user 77.32
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/795520/ft1_filtered_4FGL_J1028.4-0234_daily_bin1747.fits', '/scratch/kocevski/795520/ft2_4FGL_J1028.4-0234_daily_bin1747.fits', expMap='/scratch/kocevski/795520/expmap_692150401_692409601_4FGL_J1028.4-0234_daily_bin1747.fits', expCube='/scratch/kocevski/795520/ltcube_692150401_692409601_4FGL_J1028.4-0234_daily_bin1747.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/795520/Model_4FGL_J1028.4-0234_daily_bin1747.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1028.4-0234'

4FGL J1028.4-0234
   Spectrum: PowerLaw
235    Prefactor:  1.582e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
236        Index:  2.613e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
237        Scale:  6.037e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/795520/ft1_filtered_4FGL_J1028.4-0234_daily_bin1747.fits
Spacecraft file(s): /scratch/kocevski/795520/ft2_4FGL_J1028.4-0234_daily_bin1747.fits
Exposure map: /scratch/kocevski/795520/expmap_692150401_692409601_4FGL_J1028.4-0234_daily_bin1747.fits
Exposure cube: /scratch/kocevski/795520/ltcube_692150401_692409601_4FGL_J1028.4-0234_daily_bin1747.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/795520/Model_4FGL_J1028.4-0234_daily_bin1747.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) = 8429.76922445

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .48252       1.0000          .0000       .10000E+07
     2 'norm      '    .89459       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.6517       1.0000          .0000       .10000E+07
     4 'Prefactor '    49.431       1.0000          .0000       .10000E+07
     5 'Prefactor '    .18398E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    .96887       1.0000          .0000       .10000E+07
     7 'Prefactor '    .79323E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .89787E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .21179E-03   1.0000          .0000       .10000E+07
    10 'norm      '    4.5473       1.0000          .0000       .10000E+07
    11 'Prefactor '    .14020E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .76650       1.0000          .0000       .10000E+07
    13 'Prefactor '    13.369       1.0000          .0000       .10000E+07
    14 'norm      '    1.2154       1.0000          .0000       .10000E+07
    15 'norm      '    14.402       1.0000          .0000       .10000E+07
    16 'Normalizat'    .99084       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0019       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8429.766     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1229 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .48239        .52941       -.61000E-08    .22037E-02
   2  norm          .89509        1.0549        .80724E-07    .21520E-01
   3  Prefactor     1.8794        25.378        .41899E-05   -.15361E-03
   4  Prefactor     49.711        39.871        .77103E-06    .49487E-04
   5  Prefactor     .83267E-09    23.695        .10402E-06** at limit **
   6  Prefactor     1.0387        30.500       -.86454E-06   -.29567E-03
   7  Prefactor     .13323E-08    60.744        .41993E-05** at limit **
   8  Prefactor     .33307E-09    62.561       -.24088E-05** at limit **
   9  Prefactor      .0000        13.661        .92530E-07** at limit **
  10  norm          4.5461        1.5957        .97551E-08   -.12589E-03
  11  Prefactor     .49960E-09    26.181        .14556E-06** at limit **
  12  Prefactor     .78596        2.7731       -.46548E-07   -.16115E-02
  13  Prefactor     13.231        7.8620        .11971E-06    .31937E-02
  14  norm          1.2173        .53941        .15904E-07   -.19586E-03
  15  norm          14.484        6.3518        .21028E-07   -.22052E-02
  16  Normalizat    .99017        .20370       -.55392E-05    .93995E-04
  17  Prefactor     1.0020        .14787        .87893E-06    .52429E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.482388
  norm       = 0.895094
  Prefactor  = 1.87936
  Prefactor  = 49.7111
  Prefactor  = 8.32667e-10
  Prefactor  = 1.03869
  Prefactor  = 1.33227e-09
  Prefactor  = 3.33067e-10
  Prefactor  = 0
  norm       = 4.54609
  Prefactor  = 4.996e-10
  Prefactor  = 0.785955
  Prefactor  = 13.2314
  norm       = 1.21727
  norm       = 14.4839
  Normalizat = 0.990169
  Prefactor  = 1.00201
 **********
 **   18 **HESSE 
 **********

 FCN=   8429.766     FROM HESSE     STATUS=OK           261 CALLS     1490 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .48239        .54021        .80488E-03   -1.5694    
   2  norm          .89509        1.0591        .46134E-03   -1.5689    
   3  Prefactor     1.8794        28.722        .82114E-03   -1.5681    
   4  Prefactor     49.711        39.646        .14224E-03   -1.5567    
   5  Prefactor     .83267E-09    23.502        .17144E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.0387        35.155        .42660E-03   -1.5688    
   7  Prefactor     .13323E-08    60.202        .14522E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .33307E-09    62.127        .14212E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        13.618        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.5461        1.5990        .47185E-03   -1.5665    
  11  Prefactor     .49960E-09    25.137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .78596        2.7931        .55466E-03   -1.5690    
  13  Prefactor     13.231        7.8989        .27368E-03   -1.5635    
  14  norm          1.2173        .54855        .96412E-03   -1.5686    
  15  norm          14.484        6.3587        .26367E-03   -1.5632    
  16  Normalizat    .99017        .17611        .46052E-01   -.93361    
  17  Prefactor     1.0020        .12721        .45016E-01   -.92663    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38455e-06
Minuit parameter uncertainties:
  1  0.540212
  2  1.05913
  3  14.6942
  4  39.646
  5  0.000279642
  6  12.0856
  7  0.000563797
  8  0.000297113
  9  8.06067e-06
  10  1.59899
  11  0.000228098
  12  2.79312
  13  7.89888
  14  0.54855
  15  6.35873
  16  0.176214
  17  0.127249
Done.

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

Extracting fit parameters...

4FGL J1028.4-0234
   Spectrum: PowerLaw
235    Prefactor:  4.996e-10  2.281e-04  0.000e+00  1.000e+06 ( 1.000e-12)
236        Index:  2.613e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
237        Scale:  6.037e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
525    Prefactor:  1.002e+00  1.272e-01  0.000e+00  1.000e+01 ( 1.000e+00)
526        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
527        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
524   Normalization:  9.902e-01  1.762e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 157.121 -2.583
Photon Flux Upper Limit: 8.75e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.85e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/795520/likelihoodResults_692150401_692409601_4FGL_J1028.4-0234_daily_bin1747.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): 102
logL (Free Index) = 8429.76679908
delta logL = -0.000851063032314

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8429.76594953
delta logL = -1.50620144268e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .60307E-05   1.0000          .0000       .10000E+07
     2 'Index     '    2.4940       1.0000          .0000       10.000    
     3 'Normalizat'    .99042       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0018       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8429.766     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      285 TOTAL
                     EDM=   .13E-15    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44409E-09    .16823E-03    .42118E-02** at limit **
   2  Index         3.3109        7.1946        .50000        .18190E-09
   3  Normalizat    .99017        .40019E-04    .46047E-01    .62012E-04
   4  Prefactor     1.0020        .31240E-04    .45058E-01   -.10619E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.44089e-10
  Index      = 3.31094
  Normalizat = 0.99017
  Prefactor  = 1.002
 **********
 **   18 **HESSE 
 **********

 FCN=   8429.766     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      322 TOTAL
                     EDM=   .49E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44409E-09    .15859        .24122E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.3109        6.7118        .50000       -.34459    
   3  Normalizat    .99017        .42456E-03    .28022E-03   -.93360    
   4  Prefactor     1.0020        .33148E-03    .21649E-03   -.92663    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.9349e-14
Minuit parameter uncertainties:
  1  1.63525e-05
  2  7802.95
  3  0.000424561
  4  0.000331482
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/795520': 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) = 8429.76594802
delta logL = -2.91038304567e-11

Extracting fit parameters...

4FGL J1028.4-0234
   Spectrum: PowerLaw
235    Prefactor:  4.441e-10  1.635e-05  0.000e+00  1.000e+06 ( 1.000e-12)
236        Index:  3.311e+00  7.803e+03  0.000e+00  1.000e+01 (-1.000e+00)
237        Scale:  6.037e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
525    Prefactor:  1.002e+00  3.315e-04  0.000e+00  1.000e+01 ( 1.000e+00)
526        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
527        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
524   Normalization:  9.902e-01  4.246e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 157.121 -2.583

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/795520/cmap_HighResolution_692150401_692409601_4FGL_J1028.4-0234_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.85e-03', job_status='DONE', photon_flux_upper_limit='8.75e-08', time_completed='2022-12-11 00:45:26.458793', job_id='795520', GAL2='1.00', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1670748326.46', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='-2.91e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='1747' AND source_name='4FGL J1028.4-0234' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 00:45:26 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0152>
Subject: Job 795520: <4FGL_J1028.4-0234_daily_bin1747> in cluster <slac> Done

Job <4FGL_J1028.4-0234_daily_bin1747> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Dec 11 00:35:20 2022
Job was executed on host(s) <bullet0152>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 00:35:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 00:35:21 2022
Terminated at Sun Dec 11 00:45:27 2022
Results reported at Sun Dec 11 00:45:27 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1028.4-0234_daily_bin1747 157.121 -2.5829 692150401 692409601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1028.4-0234 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   570.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             326.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   605 sec.
    Turnaround time :                            607 sec.

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

