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


Performing analysis on: 4FGL_J1559.9+2319_weekly_bin760
RA = 239.978, Dec = 23.3196
tmin = 698630401, tmax = 699235201
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='28164', job_status='RUN', time_executed='2023-02-28 01:35:52.786958', time_epoch_executed='1677576952.79' WHERE source_name='4FGL J1559.9+2319' and cadence='weekly' and bin_id='760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/28164

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/28164/ft1_4FGL_J1559.9+2319_weekly_bin760.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/28164/ft2_4FGL_J1559.9+2319_weekly_bin760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/28164/ft1_4FGL_J1559.9+2319_weekly_bin760.fits outfile=/scratch/kocevski/28164/ft1_filteredMKT_4FGL_J1559.9+2319_weekly_bin760.fits ra=239.978 dec=23.3196 rad=12.0 tmin=698630401.0 tmax=699235201.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 6.22
user 5.93
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/28164/ft2_4FGL_J1559.9+2319_weekly_bin760.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/28164/ft2_4FGL_J1559.9+2319_weekly_bin760.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/28164/ft1_filteredMKT_4FGL_J1559.9+2319_weekly_bin760.fits evtable="EVENTS" outfile="/scratch/kocevski/28164/ft1_filtered_4FGL_J1559.9+2319_weekly_bin760.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.53
user 0.36
sys 0.16

Number of photons that the gtmktime cut: 2248

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/28164/ft1_filtered_4FGL_J1559.9+2319_weekly_bin760.fits" evtable="EVENTS" scfile=/scratch/kocevski/28164/ft2_4FGL_J1559.9+2319_weekly_bin760.fits sctable="SC_DATA" outfile=/scratch/kocevski/28164/ltcube_698630401_699235201_4FGL_J1559.9+2319_weekly_bin760.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/28164/ft2_4FGL_J1559.9+2319_weekly_bin760.fits
.....................!
real 29.48
user 28.85
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/28164/ft1_filtered_4FGL_J1559.9+2319_weekly_bin760.fits evtable="EVENTS" scfile=/scratch/kocevski/28164/ft2_4FGL_J1559.9+2319_weekly_bin760.fits sctable="SC_DATA" expcube=/scratch/kocevski/28164/ltcube_698630401_699235201_4FGL_J1559.9+2319_weekly_bin760.fits outfile=/scratch/kocevski/28164/expmap_698630401_699235201_4FGL_J1559.9+2319_weekly_bin760.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/28164/ltcube_698630401_699235201_4FGL_J1559.9+2319_weekly_bin760.fits
.....................!
real 191.04
user 185.59
sys 4.65

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

Setting source of interest to:
4FGL J1559.9+2319 @ 239.978 23.3196

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/28164/ft1_filtered_4FGL_J1559.9+2319_weekly_bin760.fits scfile=/scratch/kocevski/28164/ft2_4FGL_J1559.9+2319_weekly_bin760.fits outfile=/scratch/kocevski/28164/cmap_698630401_699235201_4FGL_J1559.9+2319_weekly_bin760.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=239.978 yref=23.3196 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/28164/ft1_filtered_4FGL_J1559.9+2319_weekly_bin760.fits scfile=/scratch/kocevski/28164/ft2_4FGL_J1559.9+2319_weekly_bin760.fits outfile=/scratch/kocevski/28164/cmap_HighResolution_698630401_699235201_4FGL_J1559.9+2319_weekly_bin760.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=239.978 yref=23.3196 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.43
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/28164/ft1_filtered_4FGL_J1559.9+2319_weekly_bin760.fits evtable="EVENTS" scfile=/scratch/kocevski/28164/ft2_4FGL_J1559.9+2319_weekly_bin760.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/28164/Model_4FGL_J1559.9+2319_weekly_bin760.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/28164/ft1_filtered_4FGL_J1559.9+2319_weekly_bin760.fits.....................!
real 155.02
user 153.26
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/28164/ft1_filtered_4FGL_J1559.9+2319_weekly_bin760.fits', '/scratch/kocevski/28164/ft2_4FGL_J1559.9+2319_weekly_bin760.fits', expMap='/scratch/kocevski/28164/expmap_698630401_699235201_4FGL_J1559.9+2319_weekly_bin760.fits', expCube='/scratch/kocevski/28164/ltcube_698630401_699235201_4FGL_J1559.9+2319_weekly_bin760.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/28164/Model_4FGL_J1559.9+2319_weekly_bin760.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1559.9+2319'

4FGL J1559.9+2319
   Spectrum: PowerLaw
263    Prefactor:  2.531e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  2.256e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
265        Scale:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/28164/ft1_filtered_4FGL_J1559.9+2319_weekly_bin760.fits
Spacecraft file(s): /scratch/kocevski/28164/ft2_4FGL_J1559.9+2319_weekly_bin760.fits
Exposure map: /scratch/kocevski/28164/expmap_698630401_699235201_4FGL_J1559.9+2319_weekly_bin760.fits
Exposure cube: /scratch/kocevski/28164/ltcube_698630401_699235201_4FGL_J1559.9+2319_weekly_bin760.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/28164/Model_4FGL_J1559.9+2319_weekly_bin760.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) = 24116.7561281

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    33.278       1.0000          .0000       .10000E+07
     2 'norm      '    .84979       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.0916       1.0000          .0000       .10000E+07
     4 'Prefactor '    .16441E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .17852E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .65112E-02   1.0000          .0000       .10000E+07
     7 'norm      '    1.6540       1.0000          .0000       .10000E+07
     8 'norm      '    13.719       1.0000          .0000       .10000E+07
     9 'Prefactor '    .27050E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .29698E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .99548E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    8.6105       1.0000          .0000       .10000E+07
    13 'Prefactor '    .62504E-03   1.0000          .0000       .10000E+07
    14 'Normalizat'    .93567       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0729       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5570E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24116.74     FROM MIGRAD    STATUS=CONVERGED    111 CALLS      833 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.782        24.647       -.30615E-05    .20639E-03
   2  norm          .84607        .71260        .18976E-06   -.11790E-01
   3  Prefactor     2.1167        3.1625       -.83903E-06   -.70685E-02
   4  Prefactor     .33307E-09    4.1427        .23838E-05** at limit **
   5  Prefactor     .55511E-10    .45242       -.48937E-06** at limit **
   6  Prefactor     .77716E-09    12.293        .29916E-05** at limit **
   7  norm          1.6538        1.0532        .31099E-06   -.83390E-02
   8  norm          13.731        5.0642       -.14984E-06   -.14949E-02
   9  Prefactor      .0000        3.0804       -.32373E-05** at limit **
  10  Prefactor      .0000        .76096        .11587E-05** at limit **
  11  Prefactor      .0000        3.5779       -.36093E-05** at limit **
  12  Prefactor     8.5768        6.5972       -.43639E-06   -.13070E-02
  13  Prefactor     .11102E-09    4.7869        .36976E-05** at limit **
  14  Normalizat    .93581        .12578        .73421E-05   -.29310E-03
  15  Prefactor     1.0729        .74623E-01    .15347E-05   -.15276E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.7823
  norm       = 0.846072
  Prefactor  = 2.11671
  Prefactor  = 3.33067e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 7.77156e-10
  norm       = 1.65376
  norm       = 13.7308
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 8.57683
  Prefactor  = 1.11022e-10
  Normalizat = 0.935808
  Prefactor  = 1.07294
 **********
 **   18 **HESSE 
 **********

 FCN=   24116.74     FROM HESSE     STATUS=OK           210 CALLS     1043 TOTAL
                     EDM=   .57E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.782        24.652        .17337E-03   -1.5593    
   2  norm          .84607        .72559        .49295E-03   -1.5690    
   3  Prefactor     2.1167        3.2297        .71349E-03   -1.5679    
   4  Prefactor     .33307E-09    4.1560        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .55511E-10    .45223        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .77716E-09    12.336        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.6538        1.0550        .82041E-04   -1.5682    
   8  norm          13.731        5.0663        .27016E-03   -1.5634    
   9  Prefactor      .0000        3.0677        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        .74795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        3.5701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.5768        6.5895        .34137E-03   -1.5649    
  13  Prefactor     .11102E-09    4.6437        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    .93581        .10709        .71221E-01   -.95213    
  15  Prefactor     1.0729        .63350E-01    .38720E-01   -.90336    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.69267e-07
Minuit parameter uncertainties:
  1  24.6518
  2  0.725589
  3  3.22966
  4  7.59752e-05
  5  9.24148e-06
  6  0.00019786
  7  1.055
  8  5.06632
  9  9.6815e-06
  10  4.72078e-06
  11  2.43677e-06
  12  6.58948
  13  4.20622e-05
  14  0.107116
  15  0.063354
Done.

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

Extracting fit parameters...

4FGL J1559.9+2319
   Spectrum: PowerLaw
263    Prefactor:  0.000e+00  9.681e-06  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  2.256e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
265        Scale:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  1.073e+00  6.335e-02  0.000e+00  1.000e+01 ( 1.000e+00)
555        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
556        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
553   Normalization:  9.358e-01  1.071e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 239.978 23.320
Photon Flux Upper Limit: 3.16e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.42e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/28164/likelihoodResults_698630401_699235201_4FGL_J1559.9+2319_weekly_bin760.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) = 24116.7387486
delta logL = -0.00238936298047

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24116.7363592
delta logL = -5.36601874046e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   24116.74     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      277 TOTAL
                     EDM=   .13E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-09    .85296E-02    .35451E-02** at limit **
   2  Index         3.4670        1.1163        .50000       -.45475E-09
   3  Normalizat    .93581        .63674E-03    .71221E-01   -.58925E-04
   4  Prefactor     1.0729        .38258E-03    .38719E-01    .16708E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-10
  Index      = 3.46697
  Normalizat = 0.935808
  Prefactor  = 1.07294
 **********
 **   18 **HESSE 
 **********

 FCN=   24116.74     FROM HESSE     STATUS=NOT POSDEF    41 CALLS      318 TOTAL
                     EDM=   .42E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-09    .27884E-01    .19070E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.4670        1.2667        .50000       -.31163    
   3  Normalizat    .93581        .72318E-03    .31512E-03   -.95213    
   4  Prefactor     1.0729        .43520E-03    .17719E-03   -.90336    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.19425e-14
Minuit parameter uncertainties:
  1  6.46303e-06
  2  1.28219
  3  0.000723176
  4  0.000435201
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/28164': 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) = 24116.7363592
delta logL = -1.09139364213e-11

Extracting fit parameters...

4FGL J1559.9+2319
   Spectrum: PowerLaw
263    Prefactor:  3.886e-10  6.463e-06  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  3.467e+00  1.282e+00  0.000e+00  1.000e+01 (-1.000e+00)
265        Scale:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  1.073e+00  4.352e-04  0.000e+00  1.000e+01 ( 1.000e+00)
555        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
556        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
553   Normalization:  9.358e-01  7.232e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 239.978 23.320

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/28164/cmap_HighResolution_698630401_699235201_4FGL_J1559.9+2319_weekly_bin760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.42e-03', job_status='DONE', photon_flux_upper_limit='3.16e-08', time_completed='2023-02-28 01:51:56.272587', job_id='28164', GAL2='1.07', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1677577916.27', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='-1.09e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='760' AND source_name='4FGL J1559.9+2319' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 28 01:51:56 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0012>
Subject: Job 28164: <4FGL_J1559.9+2319_weekly_bin760> in cluster <slac> Done

Job <4FGL_J1559.9+2319_weekly_bin760> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Feb 28 01:35:28 2023
Job was executed on host(s) <bullet0012>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 28 01:35:29 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 28 01:35:29 2023
Terminated at Tue Feb 28 01:51:56 2023
Results reported at Tue Feb 28 01:51:56 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1559.9+2319_weekly_bin760 239.978 23.3196 698630401 699235201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1559.9+2319 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   963.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             368.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   987 sec.
    Turnaround time :                            988 sec.

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

