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


Performing analysis on: 4FGL_J1558.8+5625_daily_bin1750
RA = 239.718, Dec = 56.4268
tmin = 692928001, tmax = 693187201
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='17535', job_status='RUN', time_executed='2022-12-20 01:11:58.022451', time_epoch_executed='1671527518.02' WHERE source_name='4FGL J1558.8+5625' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/17535

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/17535/ft1_4FGL_J1558.8+5625_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/17535/ft2_4FGL_J1558.8+5625_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/17535/ft1_4FGL_J1558.8+5625_daily_bin1750.fits outfile=/scratch/kocevski/17535/ft1_filteredMKT_4FGL_J1558.8+5625_daily_bin1750.fits ra=239.718 dec=56.4268 rad=12.0 tmin=692928001.0 tmax=693187201.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.49
user 3.25
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/17535/ft2_4FGL_J1558.8+5625_daily_bin1750.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/17535/ft2_4FGL_J1558.8+5625_daily_bin1750.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/17535/ft1_filteredMKT_4FGL_J1558.8+5625_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/17535/ft1_filtered_4FGL_J1558.8+5625_daily_bin1750.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.48
user 0.33
sys 0.14

Number of photons that the gtmktime cut: 517

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/17535/ft1_filtered_4FGL_J1558.8+5625_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/17535/ft2_4FGL_J1558.8+5625_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/17535/ltcube_692928001_693187201_4FGL_J1558.8+5625_daily_bin1750.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/17535/ft2_4FGL_J1558.8+5625_daily_bin1750.fits
.....................!
real 11.31
user 10.97
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/17535/ft1_filtered_4FGL_J1558.8+5625_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/17535/ft2_4FGL_J1558.8+5625_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/17535/ltcube_692928001_693187201_4FGL_J1558.8+5625_daily_bin1750.fits outfile=/scratch/kocevski/17535/expmap_692928001_693187201_4FGL_J1558.8+5625_daily_bin1750.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/17535/ltcube_692928001_693187201_4FGL_J1558.8+5625_daily_bin1750.fits
.....................!
real 190.63
user 185.05
sys 5.26

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

Setting source of interest to:
4FGL J1558.8+5625 @ 239.718 56.4268

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/17535/ft1_filtered_4FGL_J1558.8+5625_daily_bin1750.fits scfile=/scratch/kocevski/17535/ft2_4FGL_J1558.8+5625_daily_bin1750.fits outfile=/scratch/kocevski/17535/cmap_692928001_693187201_4FGL_J1558.8+5625_daily_bin1750.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.718 yref=56.4268 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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/17535/ft1_filtered_4FGL_J1558.8+5625_daily_bin1750.fits scfile=/scratch/kocevski/17535/ft2_4FGL_J1558.8+5625_daily_bin1750.fits outfile=/scratch/kocevski/17535/cmap_HighResolution_692928001_693187201_4FGL_J1558.8+5625_daily_bin1750.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.718 yref=56.4268 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/17535/ft1_filtered_4FGL_J1558.8+5625_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/17535/ft2_4FGL_J1558.8+5625_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/17535/Model_4FGL_J1558.8+5625_daily_bin1750.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/17535/ft1_filtered_4FGL_J1558.8+5625_daily_bin1750.fits.....................!
real 48.96
user 47.70
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/17535/ft1_filtered_4FGL_J1558.8+5625_daily_bin1750.fits', '/scratch/kocevski/17535/ft2_4FGL_J1558.8+5625_daily_bin1750.fits', expMap='/scratch/kocevski/17535/expmap_692928001_693187201_4FGL_J1558.8+5625_daily_bin1750.fits', expCube='/scratch/kocevski/17535/ltcube_692928001_693187201_4FGL_J1558.8+5625_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/17535/Model_4FGL_J1558.8+5625_daily_bin1750.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1558.8+5625'

4FGL J1558.8+5625
   Spectrum: PowerLaw
318    Prefactor:  3.885e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
319        Index:  2.116e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
320        Scale:  1.645e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/17535/ft1_filtered_4FGL_J1558.8+5625_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/17535/ft2_4FGL_J1558.8+5625_daily_bin1750.fits
Exposure map: /scratch/kocevski/17535/expmap_692928001_693187201_4FGL_J1558.8+5625_daily_bin1750.fits
Exposure cube: /scratch/kocevski/17535/ltcube_692928001_693187201_4FGL_J1558.8+5625_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/17535/Model_4FGL_J1558.8+5625_daily_bin1750.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) = 5607.93408285

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.712       1.0000          .0000       .10000E+07
     2 'Prefactor '    .75723E-04   1.0000          .0000       .10000E+07
     3 'norm      '    1.7492       1.0000          .0000       .10000E+07
     4 'Prefactor '    .15783E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    3.2150       1.0000          .0000       .10000E+07
     6 'Prefactor '    9.6203       1.0000          .0000       .10000E+07
     7 'Prefactor '    .61915E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .24095E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    28.781       1.0000          .0000       .10000E+07
    10 'Prefactor '    .14001E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .51585E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .26419       1.0000          .0000       .10000E+07
    13 'Prefactor '    .35636E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .39407E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    .24147E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    3.2952       1.0000          .0000       .10000E+07
    17 'norm      '    20.624       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.4964       1.0000          .0000       .10000E+07
    19 'Prefactor '    8.4344       1.0000          .0000       .10000E+07
    20 'norm      '    11.333       1.0000          .0000       .10000E+07
    21 'Prefactor '    .63639       1.0000          .0000       .10000E+07
    22 'Prefactor '    4.6200       1.0000          .0000       .10000E+07
    23 'Prefactor '    .45858E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    10.653       1.0000          .0000       .10000E+07
    25 'Prefactor '    .50021E-03   1.0000          .0000       .10000E+07
    26 'Normalizat'    1.0132       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .95225       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5607.929     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     2368 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.703        1.0627        .64508E-08    .19744E-02
   2  Prefactor     .73941E-07    2.6105       -.15481E-06** at limit **
   3  norm          1.7496        1.5391       -.59051E-07   -.50323E-03
   4  Prefactor      .0000        21.822       -.16911E-06** at limit **
   5  Prefactor     3.2032        6.6407        .29470E-06    .47087E-03
   6  Prefactor     9.7165        8.4778       -.66640E-07   -.12910E-01
   7  Prefactor     .74385E-08    3.5328       -.18321E-06** at limit **
   8  norm           .0000        1.9721        .18657E-07** at limit **
   9  Prefactor     28.662        10.200       -.15960E-06    .98833E-01
  10  Prefactor     .11051E-05    6.1082       -.49257E-07** at limit **
  11  norm          .31103E-06    30.322        .85818E-06** at limit **
  12  Prefactor     .89151E-05    74.804        .12426E-05** at limit **
  13  Prefactor     .76050E-08    15.318       -.22281E-06** at limit **
  14  Prefactor     .33307E-09    2.4117       -.17171E-06** at limit **
  15  Prefactor     .79142E-06    6.0575       -.46114E-07** at limit **
  16  Prefactor     3.2980        4.0185       -.48752E-07    .17441E-03
  17  norm          20.615        1.2694        .31540E-08   -.68564E-02
  18  Prefactor     1.5029        3.6987       -.34517E-06   -.11065E-02
  19  Prefactor     8.4427        8.9358       -.27014E-06   -.26723E-01
  20  norm          11.348        4.2035       -.18543E-07    .11876E-01
  21  Prefactor     .60170        4.1018        .38772E-06    .32084E-02
  22  Prefactor     4.5969        3.1391        .10143E-06   -.23755E-01
  23  Prefactor     .99920E-08    19.090       -.51153E-06** at limit **
  24  Prefactor     10.629        9.5237       -.18129E-06    .23006E-01
  25  Prefactor     .51681E-07    3.3045       -.17667E-06** at limit **
  26  Normalizat    1.0129        .21377        .14808E-05    .92838E-04
  27  Prefactor     .95260        .21350        .28057E-05    .95793E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.7025
  Prefactor  = 7.39409e-08
  norm       = 1.74958
  Prefactor  = 0
  Prefactor  = 3.20323
  Prefactor  = 9.71654
  Prefactor  = 7.43849e-09
  norm       = 0
  Prefactor  = 28.662
  Prefactor  = 1.10512e-06
  norm       = 3.11029e-07
  Prefactor  = 8.91515e-06
  Prefactor  = 7.60503e-09
  Prefactor  = 3.33067e-10
  Prefactor  = 7.91422e-07
  Prefactor  = 3.298
  norm       = 20.6147
  Prefactor  = 1.50288
  Prefactor  = 8.44271
  norm       = 11.3481
  Prefactor  = 0.6017
  Prefactor  = 4.59687
  Prefactor  = 9.99201e-09
  Prefactor  = 10.6294
  Prefactor  = 5.16809e-08
  Normalizat = 1.01286
  Prefactor  = 0.952601
 **********
 **   18 **HESSE 
 **********

 FCN=   5607.929     FROM HESSE     STATUS=OK           552 CALLS     2920 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.703        23.151        .20989E-03   -1.5613    
   2  Prefactor     .73941E-07    8.7545        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.7496        1.5562        .79252E-03   -1.5682    
   4  Prefactor      .0000        5.7503        .93291E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.2032        6.6619        .56476E-03   -1.5672    
   6  Prefactor     9.7165        8.9311        .32285E-03   -1.5646    
   7  Prefactor     .74385E-08    9.0148        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        1.9626        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     28.662        61.757        .18643E-03   -1.5601    
  10  Prefactor     .11051E-05    9.2164        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .31103E-06    37.532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .89151E-05    97.546        .10729E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .76050E-08    33.719        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .33307E-09    2.4138        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .79142E-06    7.9004        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.2980        4.0361        .55749E-03   -1.5672    
  17  norm          20.615        15.862        .22026E-03   -1.5617    
  18  Prefactor     1.5029        3.7544        .87546E-03   -1.5683    
  19  Prefactor     8.4427        9.3492        .34494E-03   -1.5650    
  20  norm          11.348        9.8869        .29735E-03   -1.5641    
  21  Prefactor     .60170        4.4001        .66029E-03   -1.5692    
  22  Prefactor     4.5969        10.159        .46802E-03   -1.5665    
  23  Prefactor     .99920E-08    34.887        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     10.629        10.332        .30672E-03   -1.5643    
  25  Prefactor     .51681E-07    9.1953        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.0129        .18139        .44653E-01   -.92601    
  27  Prefactor     .95260        .18102        .45668E-01   -.94327    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65654e-06
Minuit parameter uncertainties:
  1  23.1513
  2  0.00160885
  3  1.55617
  4  2.97218e-06
  5  6.66193
  6  8.93114
  7  0.000517836
  8  7.57886e-06
  9  61.7586
  10  0.00638287
  11  0.00683315
  12  0.0589801
  13  0.00101345
  14  5.43382e-05
  15  0.00500098
  16  4.03611
  17  15.8616
  18  3.75439
  19  9.3492
  20  9.88691
  21  3.25424
  22  10.1588
  23  0.00117924
  24  10.3316
  25  0.00137877
  26  0.181499
  27  0.181132
Done.

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

Extracting fit parameters...

4FGL J1558.8+5625
   Spectrum: PowerLaw
318    Prefactor:  1.105e-06  6.383e-03  0.000e+00  1.000e+06 ( 1.000e-13)
319        Index:  2.116e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
320        Scale:  1.645e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
701    Prefactor:  9.526e-01  1.811e-01  0.000e+00  1.000e+01 ( 1.000e+00)
702        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
703        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
700   Normalization:  1.013e+00  1.815e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 239.718 56.427
Photon Flux Upper Limit: 5.88e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.45e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/17535/likelihoodResults_692928001_693187201_4FGL_J1558.8+5625_daily_bin1750.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) = 5607.98712319
delta logL = -0.0576549937123

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5607.78475116
delta logL = 0.144717034431

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5607.785     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      236 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .23488        7.1165        .11160E-02** at limit **
   2  Index         3.6631        2.9292        .12223        .13005E-03
   3  Normalizat    .97897        .27064E-01    .45901E-01    .45039E-05
   4  Prefactor     .97231        .28070E-01    .45923E-01    .11933E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.234881
  Index      = 3.66312
  Normalizat = 0.97897
  Prefactor  = 0.972308
 **********
 **   18 **HESSE 
 **********

 FCN=   5607.785     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      269 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .23488        39.448        .63763E-05   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6631        5.8429        .78101E-02   -.27067    
   3  Normalizat    .97897        .16639        .23455E-03   -.93738    
   4  Prefactor     .97231        .16892        .24275E-03   -.93658    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.34716e-06
Minuit parameter uncertainties:
  1  6.08794
  2  10.7042
  3  0.166477
  4  0.169015
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/17535': 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) = 5607.78474917
delta logL = 0.144719016515

Extracting fit parameters...

4FGL J1558.8+5625
   Spectrum: PowerLaw
318    Prefactor:  2.349e-01  6.088e+00  0.000e+00  1.000e+06 ( 1.000e-13)
319        Index:  3.663e+00  1.070e+01  0.000e+00  1.000e+01 (-1.000e+00)
320        Scale:  1.645e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
701    Prefactor:  9.723e-01  1.690e-01  0.000e+00  1.000e+01 ( 1.000e+00)
702        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
703        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
700   Normalization:  9.790e-01  1.665e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 239.718 56.427

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/17535/cmap_HighResolution_692928001_693187201_4FGL_J1558.8+5625_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.45e-03', job_status='DONE', photon_flux_upper_limit='5.88e-08', time_completed='2022-12-20 01:23:37.966213', job_id='17535', GAL2='0.97', fit_tolerance='1e-08', EG2='0.98', EG='1.01', time_epoch_completed='1671528217.97', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.45e-01', ts2='0.33', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='1750' AND source_name='4FGL J1558.8+5625' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 01:23:37 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0248>
Subject: Job 17535: <4FGL_J1558.8+5625_daily_bin1750> in cluster <slac> Done

Job <4FGL_J1558.8+5625_daily_bin1750> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Dec 20 01:10:23 2022
Job was executed on host(s) <bullet0248>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 01:10:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 01:10:24 2022
Terminated at Tue Dec 20 01:23:38 2022
Results reported at Tue Dec 20 01:23:38 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1558.8+5625_daily_bin1750 239.718 56.4268 692928001 693187201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1558.8+5625 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   701.82 sec.
    Max Memory :                                 626 MB
    Average Memory :                             272.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2929 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   794 sec.
    Turnaround time :                            795 sec.

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

