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


Performing analysis on: 4FGL_J1555.7+1111_daily_bin1775
RA = 238.931, Dec = 11.1884
tmin = 699408001, tmax = 699667201
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='785460', job_status='RUN', time_executed='2023-03-05 03:27:59.637666', time_epoch_executed='1678015679.64' WHERE source_name='4FGL J1555.7+1111' and cadence='daily' and bin_id='1775'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/785460

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/785460/ft1_4FGL_J1555.7+1111_daily_bin1775.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/785460/ft2_4FGL_J1555.7+1111_daily_bin1775.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/785460/ft1_4FGL_J1555.7+1111_daily_bin1775.fits outfile=/scratch/kocevski/785460/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin1775.fits ra=238.931 dec=11.1884 rad=12.0 tmin=699408001.0 tmax=699667201.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 4.68
user 4.45
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/785460/ft2_4FGL_J1555.7+1111_daily_bin1775.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/785460/ft2_4FGL_J1555.7+1111_daily_bin1775.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/785460/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin1775.fits evtable="EVENTS" outfile="/scratch/kocevski/785460/ft1_filtered_4FGL_J1555.7+1111_daily_bin1775.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.34
sys 0.15

Number of photons that the gtmktime cut: 916

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/785460/ft1_filtered_4FGL_J1555.7+1111_daily_bin1775.fits" evtable="EVENTS" scfile=/scratch/kocevski/785460/ft2_4FGL_J1555.7+1111_daily_bin1775.fits sctable="SC_DATA" outfile=/scratch/kocevski/785460/ltcube_699408001_699667201_4FGL_J1555.7+1111_daily_bin1775.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/785460/ft2_4FGL_J1555.7+1111_daily_bin1775.fits
.....................!
real 12.54
user 12.19
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/785460/ft1_filtered_4FGL_J1555.7+1111_daily_bin1775.fits evtable="EVENTS" scfile=/scratch/kocevski/785460/ft2_4FGL_J1555.7+1111_daily_bin1775.fits sctable="SC_DATA" expcube=/scratch/kocevski/785460/ltcube_699408001_699667201_4FGL_J1555.7+1111_daily_bin1775.fits outfile=/scratch/kocevski/785460/expmap_699408001_699667201_4FGL_J1555.7+1111_daily_bin1775.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/785460/ltcube_699408001_699667201_4FGL_J1555.7+1111_daily_bin1775.fits
.....................!
real 192.02
user 186.91
sys 4.63

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

Setting source of interest to:
4FGL J1555.7+1111 @ 238.931 11.1884

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/785460/ft1_filtered_4FGL_J1555.7+1111_daily_bin1775.fits scfile=/scratch/kocevski/785460/ft2_4FGL_J1555.7+1111_daily_bin1775.fits outfile=/scratch/kocevski/785460/cmap_699408001_699667201_4FGL_J1555.7+1111_daily_bin1775.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=238.931 yref=11.1884 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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/785460/ft1_filtered_4FGL_J1555.7+1111_daily_bin1775.fits scfile=/scratch/kocevski/785460/ft2_4FGL_J1555.7+1111_daily_bin1775.fits outfile=/scratch/kocevski/785460/cmap_HighResolution_699408001_699667201_4FGL_J1555.7+1111_daily_bin1775.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=238.931 yref=11.1884 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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/785460/ft1_filtered_4FGL_J1555.7+1111_daily_bin1775.fits evtable="EVENTS" scfile=/scratch/kocevski/785460/ft2_4FGL_J1555.7+1111_daily_bin1775.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/785460/Model_4FGL_J1555.7+1111_daily_bin1775.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/785460/ft1_filtered_4FGL_J1555.7+1111_daily_bin1775.fits.....................!
real 75.47
user 74.11
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/785460/ft1_filtered_4FGL_J1555.7+1111_daily_bin1775.fits', '/scratch/kocevski/785460/ft2_4FGL_J1555.7+1111_daily_bin1775.fits', expMap='/scratch/kocevski/785460/expmap_699408001_699667201_4FGL_J1555.7+1111_daily_bin1775.fits', expCube='/scratch/kocevski/785460/ltcube_699408001_699667201_4FGL_J1555.7+1111_daily_bin1775.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/785460/Model_4FGL_J1555.7+1111_daily_bin1775.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1555.7+1111'

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  3.843e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
266        alpha:  1.541e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
267         beta:  6.792e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
268           Eb:  1.802e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/785460/ft1_filtered_4FGL_J1555.7+1111_daily_bin1775.fits
Spacecraft file(s): /scratch/kocevski/785460/ft2_4FGL_J1555.7+1111_daily_bin1775.fits
Exposure map: /scratch/kocevski/785460/expmap_699408001_699667201_4FGL_J1555.7+1111_daily_bin1775.fits
Exposure cube: /scratch/kocevski/785460/ltcube_699408001_699667201_4FGL_J1555.7+1111_daily_bin1775.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/785460/Model_4FGL_J1555.7+1111_daily_bin1775.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) = 10018.7602153

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14988E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .16816E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .23311E-03   1.0000          .0000       .10000E+07
     4 'norm      '    4.5407       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.1839       1.0000          .0000       .10000E+07
     6 'norm      '    1.6545       1.0000          .0000       .10000E+07
     7 'Prefactor '    .28975E-02   1.0000          .0000       .10000E+07
     8 'norm      '    17.867       1.0000          .0000       .10000E+07
     9 'norm      '    4.1236       1.0000          .0000       .10000E+07
    10 'norm      '    46.751       1.0000          .0000       .10000E+07
    11 'Prefactor '    .55917E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    11.621       1.0000          .0000       .10000E+07
    13 'Prefactor '    .21179E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    1.8183       1.0000          .0000       .10000E+07
    15 'Prefactor '    .81626E-05   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.1295       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .96829       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=   10018.72     FROM MIGRAD    STATUS=CONVERGED    122 CALLS      956 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.3127       -.47004E-06** at limit **
   2  Prefactor     .13434E-06    24.555       -.18919E-05** at limit **
   3  Prefactor     .62506E-07    3.2199        .92030E-06** at limit **
   4  norm          4.5393        2.6844       -.31451E-06   -.31087E-02
   5  Prefactor     5.1739        3.8546        .68781E-06    .62272E-02
   6  norm          1.6517        2.8398       -.12291E-05   -.11493E-02
   7  Prefactor     .16293E-06    32.979       -.44009E-05** at limit **
   8  norm          17.859        8.9226       -.55616E-06   -.19523E-02
   9  norm          4.1276        1.7617        .88817E-07   -.29635E-02
  10  norm          46.066        17.973       -.90971E-06   -.32784E-01
  11  Prefactor     .72164E-09    5.9200       -.91098E-06** at limit **
  12  Prefactor     11.729        4.9644        .52582E-06   -.10007    
  13  Prefactor     .53402E-07    3.5317        .84240E-06** at limit **
  14  Prefactor     1.8632        12.936        .83543E-06   -.87817E-03
  15  Prefactor      .0000        4.3278       -.75705E-06** at limit **
  16  Normalizat    1.1307        .24462       -.15875E-04    .10159E-04
  17  Prefactor     .96827        .11321        .74791E-05   -.81648E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 1.34337e-07
  Prefactor  = 6.25056e-08
  norm       = 4.53934
  Prefactor  = 5.17387
  norm       = 1.6517
  Prefactor  = 1.62925e-07
  norm       = 17.8591
  norm       = 4.12763
  norm       = 46.0657
  Prefactor  = 7.21645e-10
  Prefactor  = 11.7294
  Prefactor  = 5.34017e-08
  Prefactor  = 1.86323
  Prefactor  = 0
  Normalizat = 1.13069
  Prefactor  = 0.968273
 **********
 **   18 **HESSE 
 **********

 FCN=   10018.72     FROM HESSE     STATUS=OK           257 CALLS     1213 TOTAL
                     EDM=   .42E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.3100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .13434E-06    24.528        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .62506E-07    6.6391        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.5393        2.6910        .47219E-03   -1.5665    
   5  Prefactor     5.1739        3.8580        .44129E-03   -1.5662    
   6  norm          1.6517        2.8640        .82025E-03   -1.5682    
   7  Prefactor     .16293E-06    32.992        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          17.859        8.9268        .23668E-03   -1.5623    
   9  norm          4.1276        1.7604        .49617E-03   -1.5667    
  10  norm          46.066        18.054        .14626E-03   -1.5572    
  11  Prefactor     .72164E-09    5.9230        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.729        94.083        .29362E-03   -1.5639    
  13  Prefactor     .53402E-07    6.6864        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.8632        12.860        .77418E-03   -1.5681    
  15  Prefactor      .0000        4.3143        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.1307        .20606        .82559E-01   -.88772    
  17  Prefactor     .96827        .94996E-01    .45870E-01   -.93795    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.1555e-06
Minuit parameter uncertainties:
  1  5.92137e-06
  2  0.0036306
  3  0.00128817
  4  2.69103
  5  3.85804
  6  2.86395
  7  0.00463688
  8  8.92679
  9  1.76041
  10  18.0545
  11  0.000131768
  12  66.4406
  13  0.00119488
  14  9.79017
  15  1.95196e-05
  16  0.206205
  17  0.0950126
Done.

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

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  4.128e+00  1.760e+00  0.000e+00  1.000e+06 ( 1.000e-12)
266        alpha:  1.541e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
267         beta:  6.792e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
268           Eb:  1.802e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
525    Prefactor:  9.683e-01  9.501e-02  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:  1.131e+00  2.062e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 27.33
Ra Dec: 238.931 11.188
Photon Index (Fixed Index): 1.54 +/- 0.00
Photon Flux (Fixed Index): 5.09e-08 +/- 2.17e-08
Energy Flux (Fixed Index): 1.15e-04 +/- 4.92e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10018.6552949
delta logL = 0.0661922677264

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10018.6487915
delta logL = 0.0726956665621

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.2454       1.0000          .0000       .10000E+07
     2 'alpha     '    1.6619       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1253       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96804       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=   10018.65     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      205 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.2459        37.087        .48879E-03   -.14258E-03
   2  alpha         1.6618        3.2194        .28965        .18333E-04
   3  Normalizat    1.1253        .30070        .82703E-01    .26076E-04
   4  Prefactor     .96802        .81855E-01    .45866E-01    .11154E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.24586
  alpha      = 1.66176
  Normalizat = 1.12532
  Prefactor  = 0.968023
 **********
 **   18 **HESSE 
 **********

 FCN=   10018.65     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .95E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.2459        1.7318        .81650E-05   -1.5667    
   2  alpha         1.6618        .31153        .10918E-01   -.34192    
   3  Normalizat    1.1253        .24199        .36616E-03   -.88943    
   4  Prefactor     .96802        .11151        .17939E-03   -.93803    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.48035e-11
Minuit parameter uncertainties:
  1  1.73179
  2  0.312449
  3  0.242225
  4  0.111532
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/785460': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10018.6487913
delta logL = 0.0726958079013

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  4.246e+00  1.732e+00  0.000e+00  1.000e+06 ( 1.000e-12)
266        alpha:  1.662e+00  3.124e-01  0.000e+00  5.000e+00 ( 1.000e+00)
267         beta:  6.792e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
268           Eb:  1.802e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
525    Prefactor:  9.680e-01  1.115e-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:  1.125e+00  2.422e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 27.50
Ra Dec: 238.931 11.188
Photon Index (Free Index): 1.66 +/- 0.31
Photon Flux (Free Index): 6.06e-08 +/- 3.58e-08
Energy Flux (Free Index): 9.85e-05 +/- 5.72e-05

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/785460/cmap_HighResolution_699408001_699667201_4FGL_J1555.7+1111_daily_bin1775.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.09e-08', energy_flux2='9.85e-05', photon_flux_error='2.17e-08', dlogl='7.27e-02', energy_flux='1.15e-04', photon_flux2='6.06e-08', job_status='DONE', time_completed='2023-03-05 03:36:56.263688', photon_index_error2='0.31', photon_index2='1.66', ts='27.33', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='5.72e-05', EG='1.13', time_epoch_completed='1678016216.26', return_code='0', job_id='785460', GAL2='0.97', EG2='1.13', return_code2='0', energy_flux_error='4.92e-05', photon_flux_error2='3.58e-08', ts2='27.50', photon_index='1.54' WHERE bin_id='1775' AND source_name='4FGL J1555.7+1111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Mar  5 03:36:56 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0166>
Subject: Job 785460: <4FGL_J1555.7+1111_daily_bin1775> in cluster <slac> Done

Job <4FGL_J1555.7+1111_daily_bin1775> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Mar  5 03:20:22 2023
Job was executed on host(s) <bullet0166>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Mar  5 03:25:59 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Mar  5 03:25:59 2023
Terminated at Sun Mar  5 03:36:57 2023
Results reported at Sun Mar  5 03:36:57 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1555.7+1111_daily_bin1775 238.931 11.1884 699408001 699667201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1555.7+1111 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   539.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             349.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   659 sec.
    Turnaround time :                            995 sec.

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

