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


Performing analysis on: 4FGL_J1559.9+2319_daily_bin1768
RA = 239.978, Dec = 23.3196
tmin = 697593601, tmax = 697852801
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='275541', job_status='RUN', time_executed='2023-02-12 01:14:11.322822', time_epoch_executed='1676193251.32' WHERE source_name='4FGL J1559.9+2319' and cadence='daily' and bin_id='1768'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/275541

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/275541/ft1_4FGL_J1559.9+2319_daily_bin1768.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/275541/ft2_4FGL_J1559.9+2319_daily_bin1768.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/275541/ft1_4FGL_J1559.9+2319_daily_bin1768.fits outfile=/scratch/kocevski/275541/ft1_filteredMKT_4FGL_J1559.9+2319_daily_bin1768.fits ra=239.978 dec=23.3196 rad=12.0 tmin=697593601.0 tmax=697852801.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.67
user 3.43
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/275541/ft2_4FGL_J1559.9+2319_daily_bin1768.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/275541/ft1_filteredMKT_4FGL_J1559.9+2319_daily_bin1768.fits evtable="EVENTS" outfile="/scratch/kocevski/275541/ft1_filtered_4FGL_J1559.9+2319_daily_bin1768.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.50
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 678

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/275541/ft1_filtered_4FGL_J1559.9+2319_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/275541/ft2_4FGL_J1559.9+2319_daily_bin1768.fits sctable="SC_DATA" expcube=/scratch/kocevski/275541/ltcube_697593601_697852801_4FGL_J1559.9+2319_daily_bin1768.fits outfile=/scratch/kocevski/275541/expmap_697593601_697852801_4FGL_J1559.9+2319_daily_bin1768.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/275541/ltcube_697593601_697852801_4FGL_J1559.9+2319_daily_bin1768.fits
.....................!
real 195.25
user 190.22
sys 4.62

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/275541/ft1_filtered_4FGL_J1559.9+2319_daily_bin1768.fits scfile=/scratch/kocevski/275541/ft2_4FGL_J1559.9+2319_daily_bin1768.fits outfile=/scratch/kocevski/275541/cmap_697593601_697852801_4FGL_J1559.9+2319_daily_bin1768.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/275541/ft1_filtered_4FGL_J1559.9+2319_daily_bin1768.fits scfile=/scratch/kocevski/275541/ft2_4FGL_J1559.9+2319_daily_bin1768.fits outfile=/scratch/kocevski/275541/cmap_HighResolution_697593601_697852801_4FGL_J1559.9+2319_daily_bin1768.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.55
user 0.38
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/275541/ft1_filtered_4FGL_J1559.9+2319_daily_bin1768.fits', '/scratch/kocevski/275541/ft2_4FGL_J1559.9+2319_daily_bin1768.fits', expMap='/scratch/kocevski/275541/expmap_697593601_697852801_4FGL_J1559.9+2319_daily_bin1768.fits', expCube='/scratch/kocevski/275541/ltcube_697593601_697852801_4FGL_J1559.9+2319_daily_bin1768.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/275541/Model_4FGL_J1559.9+2319_daily_bin1768.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/275541/ft1_filtered_4FGL_J1559.9+2319_daily_bin1768.fits
Spacecraft file(s): /scratch/kocevski/275541/ft2_4FGL_J1559.9+2319_daily_bin1768.fits
Exposure map: /scratch/kocevski/275541/expmap_697593601_697852801_4FGL_J1559.9+2319_daily_bin1768.fits
Exposure cube: /scratch/kocevski/275541/ltcube_697593601_697852801_4FGL_J1559.9+2319_daily_bin1768.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/275541/Model_4FGL_J1559.9+2319_daily_bin1768.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) = 7284.53800112

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    88.596       1.0000          .0000       .10000E+07
     2 'norm      '    .20046E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .72611E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .61540E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .90529       1.0000          .0000       .10000E+07
     6 'Prefactor '    15.253       1.0000          .0000       .10000E+07
     7 'norm      '    6.2567       1.0000          .0000       .10000E+07
     8 'norm      '    4.4852       1.0000          .0000       .10000E+07
     9 'Prefactor '    .25117E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .83905       1.0000          .0000       .10000E+07
    11 'Prefactor '    11.063       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.0721       1.0000          .0000       .10000E+07
    13 'Prefactor '    .24037E-05   1.0000          .0000       .10000E+07
    14 'Normalizat'    .88967       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0032       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=   7284.506     FROM MIGRAD    STATUS=CONVERGED    119 CALLS     1058 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     89.732        49.686        .27698E-06    .11729E-02
   2  norm           .0000        .89644        .74841E-07** at limit **
   3  Prefactor      .0000        3.9980       -.64018E-07** at limit **
   4  Prefactor      .0000        9.4281       -.19495E-06** at limit **
   5  Prefactor     .90637        1.8716        .12759E-06   -.10615E-02
   6  Prefactor     15.396        27.435        .42531E-07    .37555E-02
   7  norm          6.2579        2.7657        .36341E-07   -.29685E-03
   8  norm          4.4728        6.0279        .37505E-07   -.41266E-03
   9  Prefactor      .0000        3.1329        .14510E-06** at limit **
  10  Prefactor     .84247        1.6946       -.43539E-07   -.97430E-04
  11  Prefactor     11.063        12.911        .50440E-07   -.41389E-02
  12  Prefactor     2.0928        2.3083        .17803E-07   -.21322E-01
  13  Prefactor      .0000        2.2589        .23224E-06** at limit **
  14  Normalizat    .88918        .23197        .15265E-05    .25397E-04
  15  Prefactor     1.0031        .13482       -.21614E-05    .57832E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 89.7316
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0.906365
  Prefactor  = 15.396
  norm       = 6.25787
  norm       = 4.47279
  Prefactor  = 0
  Prefactor  = 0.842466
  Prefactor  = 11.0633
  Prefactor  = 2.09277
  Prefactor  = 0
  Normalizat = 0.889183
  Prefactor  = 1.00307
 **********
 **   18 **HESSE 
 **********

 FCN=   7284.506     FROM HESSE     STATUS=OK           216 CALLS     1274 TOTAL
                     EDM=   .51E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     89.732        49.605        .10625E-03   -1.5519    
   2  norm           .0000        .87383        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        3.9894        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        9.4395        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .90637        1.8792        .45395E-03   -1.5689    
   6  Prefactor     15.396        27.573        .25618E-03   -1.5629    
   7  norm          6.2579        2.7671        .40108E-03   -1.5658    
   8  norm          4.4728        6.0405        .47518E-03   -1.5666    
   9  Prefactor      .0000        3.1309        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .84247        1.7072        .50068E-03   -1.5690    
  11  Prefactor     11.063        12.983        .30096E-03   -1.5641    
  12  Prefactor     2.0928        18.240        .71731E-03   -1.5679    
  13  Prefactor      .0000        2.2570        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    .88918        .19549        .70711E-01   -.96841    
  15  Prefactor     1.0031        .11224        .44621E-01   -.92627    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.06201e-08
Minuit parameter uncertainties:
  1  49.6052
  2  1.25008e-06
  3  2.87476e-06
  4  2.69195e-05
  5  1.87918
  6  27.573
  7  2.76713
  8  6.04053
  9  1.25674e-06
  10  1.7072
  11  12.9829
  12  12.3567
  13  1.40611e-06
  14  0.195649
  15  0.112265
Done.

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

Extracting fit parameters...

4FGL J1559.9+2319
   Spectrum: PowerLaw
263    Prefactor:  0.000e+00  1.257e-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.003e+00  1.123e-01  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:  8.892e-01  1.956e-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: 5.19e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.97e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/275541/likelihoodResults_697593601_697852801_4FGL_J1559.9+2319_daily_bin1768.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) = 7284.5064913
delta logL = -0.000294063792353

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7284.50619982
delta logL = -2.58396084973e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19879E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.4064       1.0000          .0000       10.000    
     3 'Normalizat'    .88876       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0032       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7284.506     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      280 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .61992        .42118E-03** at limit **
   2  Index         3.5647        1.4599        .34421E-04     .0000    
   3  Normalizat    .88918        1.2249       -.20680E-04   -.39477E-03
   4  Prefactor     1.0031        1.2962        .28252E-04   -.38803E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.5647
  Normalizat = 0.889179
  Prefactor  = 1.00307
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7284.506     FROM HESSE     STATUS=FAILED         9 CALLS      289 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .61992        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.4092        2.2238        .34421E-04   -.29116    
   3  Normalizat    .88918        1.2249       -.20680E-04   -.96841    
   4  Prefactor     1.0031        1.2962        .28252E-04   -.92627    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.54618e-10
Minuit parameter uncertainties:
  1  5.72089e-06
  2  1.48353
  3  1.26674
  4  1.34021
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/275541': 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): 101
logL (Free Index) = 7284.50619724
delta logL = -1.5916157281e-10

Extracting fit parameters...

4FGL J1559.9+2319
   Spectrum: PowerLaw
263    Prefactor:  0.000e+00  5.721e-06  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  3.565e+00  1.484e+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.003e+00  1.340e+00  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:  8.892e-01  1.267e+00  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/275541/cmap_HighResolution_697593601_697852801_4FGL_J1559.9+2319_daily_bin1768.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.97e-03', job_status='DONE', photon_flux_upper_limit='5.19e-08', time_completed='2023-02-12 01:22:52.729062', job_id='275541', GAL2='1.00', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1676193772.73', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='-1.59e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='1768' AND source_name='4FGL J1559.9+2319' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Feb 12 01:22:52 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 275541: <4FGL_J1559.9+2319_daily_bin1768> in cluster <slac> Done

Job <4FGL_J1559.9+2319_daily_bin1768> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Feb 12 01:10:17 2023
Job was executed on host(s) <bullet0251>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Feb 12 01:11:54 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Feb 12 01:11:54 2023
Terminated at Sun Feb 12 01:22:53 2023
Results reported at Sun Feb 12 01:22:53 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1559.9+2319_daily_bin1768 239.978 23.3196 697593601 697852801 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 :                                   524.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             285.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   659 sec.
    Turnaround time :                            757 sec.

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

