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


Performing analysis on: 4FGL_J1418.4-0233_daily_bin1727
RA = 214.606, Dec = -2.5594
tmin = 686966401, tmax = 687225601
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='207496', job_status='RUN', time_executed='2022-10-12 00:15:26.040979', time_epoch_executed='1665558926.04' WHERE source_name='4FGL J1418.4-0233' and cadence='daily' and bin_id='1727'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/207496

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/207496/ft1_4FGL_J1418.4-0233_daily_bin1727.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/207496/ft2_4FGL_J1418.4-0233_daily_bin1727.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/207496/ft1_4FGL_J1418.4-0233_daily_bin1727.fits outfile=/scratch/kocevski/207496/ft1_filteredMKT_4FGL_J1418.4-0233_daily_bin1727.fits ra=214.606 dec=-2.5594 rad=12.0 tmin=686966401.0 tmax=687225601.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 2.98
user 2.71
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/207496/ft2_4FGL_J1418.4-0233_daily_bin1727.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/207496/ft2_4FGL_J1418.4-0233_daily_bin1727.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/207496/ft1_filteredMKT_4FGL_J1418.4-0233_daily_bin1727.fits evtable="EVENTS" outfile="/scratch/kocevski/207496/ft1_filtered_4FGL_J1418.4-0233_daily_bin1727.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.55
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 263

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/207496/ft1_filtered_4FGL_J1418.4-0233_daily_bin1727.fits" evtable="EVENTS" scfile=/scratch/kocevski/207496/ft2_4FGL_J1418.4-0233_daily_bin1727.fits sctable="SC_DATA" outfile=/scratch/kocevski/207496/ltcube_686966401_687225601_4FGL_J1418.4-0233_daily_bin1727.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/207496/ft2_4FGL_J1418.4-0233_daily_bin1727.fits
.....................!
real 16.51
user 16.11
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/207496/ft1_filtered_4FGL_J1418.4-0233_daily_bin1727.fits evtable="EVENTS" scfile=/scratch/kocevski/207496/ft2_4FGL_J1418.4-0233_daily_bin1727.fits sctable="SC_DATA" expcube=/scratch/kocevski/207496/ltcube_686966401_687225601_4FGL_J1418.4-0233_daily_bin1727.fits outfile=/scratch/kocevski/207496/expmap_686966401_687225601_4FGL_J1418.4-0233_daily_bin1727.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/207496/ltcube_686966401_687225601_4FGL_J1418.4-0233_daily_bin1727.fits
.....................!
real 192.57
user 186.21
sys 5.95

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

Setting source of interest to:
4FGL J1418.4-0233 @ 214.606 -2.5594

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/207496/ft1_filtered_4FGL_J1418.4-0233_daily_bin1727.fits scfile=/scratch/kocevski/207496/ft2_4FGL_J1418.4-0233_daily_bin1727.fits outfile=/scratch/kocevski/207496/cmap_686966401_687225601_4FGL_J1418.4-0233_daily_bin1727.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=214.606 yref=-2.5594 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.59
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/207496/ft1_filtered_4FGL_J1418.4-0233_daily_bin1727.fits scfile=/scratch/kocevski/207496/ft2_4FGL_J1418.4-0233_daily_bin1727.fits outfile=/scratch/kocevski/207496/cmap_HighResolution_686966401_687225601_4FGL_J1418.4-0233_daily_bin1727.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=214.606 yref=-2.5594 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.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/207496/ft1_filtered_4FGL_J1418.4-0233_daily_bin1727.fits evtable="EVENTS" scfile=/scratch/kocevski/207496/ft2_4FGL_J1418.4-0233_daily_bin1727.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/207496/Model_4FGL_J1418.4-0233_daily_bin1727.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/207496/ft1_filtered_4FGL_J1418.4-0233_daily_bin1727.fits.....................!
real 34.70
user 32.67
sys 1.46

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/207496/ft1_filtered_4FGL_J1418.4-0233_daily_bin1727.fits', '/scratch/kocevski/207496/ft2_4FGL_J1418.4-0233_daily_bin1727.fits', expMap='/scratch/kocevski/207496/expmap_686966401_687225601_4FGL_J1418.4-0233_daily_bin1727.fits', expCube='/scratch/kocevski/207496/ltcube_686966401_687225601_4FGL_J1418.4-0233_daily_bin1727.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/207496/Model_4FGL_J1418.4-0233_daily_bin1727.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1418.4-0233'

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  7.824e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
270        alpha:  1.640e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
271         beta:  8.008e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  1.844e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/207496/ft1_filtered_4FGL_J1418.4-0233_daily_bin1727.fits
Spacecraft file(s): /scratch/kocevski/207496/ft2_4FGL_J1418.4-0233_daily_bin1727.fits
Exposure map: /scratch/kocevski/207496/expmap_686966401_687225601_4FGL_J1418.4-0233_daily_bin1727.fits
Exposure cube: /scratch/kocevski/207496/ltcube_686966401_687225601_4FGL_J1418.4-0233_daily_bin1727.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/207496/Model_4FGL_J1418.4-0233_daily_bin1727.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) = 3203.10930399

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .55123E-07   1.0000          .0000       .10000E+07
     2 'norm      '    56.737       1.0000          .0000       .10000E+07
     3 'Prefactor '    .28586E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .42015       1.0000          .0000       .10000E+07
     5 'norm      '    .51569E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .33750E-02   1.0000          .0000       .10000E+07
     7 'norm      '    15.328       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.8131       1.0000          .0000       .10000E+07
     9 'norm      '    33.754       1.0000          .0000       .10000E+07
    10 'norm      '    .31881E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .17776E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .77147E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .96181E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    54.507       1.0000          .0000       .10000E+07
    15 'norm      '    3.9779       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.0873       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .95869       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3202.973     FROM MIGRAD    STATUS=CONVERGED    124 CALLS     1178 TOTAL
                     EDM=   .92E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        5.6337       -.53590E-06** at limit **
   2  norm          55.483        29.019       -.62069E-06    .11681    
   3  Prefactor     .32407E-06    28.038        .39436E-06** at limit **
   4  Prefactor     .11919E-04    15.513        .61761E-06** at limit **
   5  norm          .22204E-08    19.051        .39466E-06** at limit **
   6  Prefactor     .28385E-03    157.62       -.42337E-05** at limit **
   7  norm          15.487        10.806       -.25105E-06   -.15492E-02
   8  Prefactor     1.9211        209.83       -.17590E-06   -.23828E-01
   9  norm          33.840        1.8973        .17243E-07    .14416E-01
  10  norm           .0000        15.254        .70205E-06** at limit **
  11  Prefactor      .0000        41.681        .63329E-06** at limit **
  12  norm          .20000E-05    46.825       -.11813E-05** at limit **
  13  Prefactor     .19004E-05    51.529       -.14741E-05** at limit **
  14  Prefactor     55.722        33.116        .46221E-06   -.15541    
  15  norm          2.9571        51.010       -.29883E-05    .48124E-02
  16  Normalizat    1.0870        .38907        .16011E-04   -.79503E-05
  17  Prefactor     .95895        .20819       -.64361E-05    .11907E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 55.4829
  Prefactor  = 3.24074e-07
  Prefactor  = 1.19194e-05
  norm       = 2.22045e-09
  Prefactor  = 0.000283855
  norm       = 15.4872
  Prefactor  = 1.92113
  norm       = 33.8405
  norm       = 0
  Prefactor  = 0
  norm       = 1.99996e-06
  Prefactor  = 1.90042e-06
  Prefactor  = 55.7218
  norm       = 2.95712
  Normalizat = 1.08703
  Prefactor  = 0.95895
 **********
 **   18 **HESSE 
 **********

 FCN=   3202.973     FROM HESSE     STATUS=OK           247 CALLS     1425 TOTAL
                     EDM=   .71E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        5.6405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          55.483        80.701        .13277E-03   -1.5559    
   3  Prefactor     .32407E-06    30.643        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11919E-04    134.95        .87189E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .22204E-08    19.069        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .28385E-03    204.51        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          15.487        10.840        .25556E-03   -1.5629    
   8  Prefactor     1.9211        264.63        .77551E-03   -1.5680    
   9  norm          33.840        28.047        .17214E-03   -1.5592    
  10  norm           .0000        15.347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        41.409        .17188E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .20000E-05    98.321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .19004E-05    90.932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     55.722        83.171        .13546E-03   -1.5559    
  15  norm          2.9571        168.27        .50546E-03   -1.5674    
  16  Normalizat    1.0870        .33216        .76222E-01   -.90169    
  17  Prefactor     .95895        .17575        .45749E-01   -.94111    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.07309e-06
Minuit parameter uncertainties:
  1  2.31318e-05
  2  80.7028
  3  0.00630236
  4  0.0802133
  5  0.000414068
  6  0.481895
  7  10.8405
  8  45.0966
  9  28.0474
  10  1.9149e-05
  11  3.74158e-05
  12  0.028046
  13  0.0262917
  14  83.1724
  15  44.6151
  16  0.332802
  17  0.175859
Done.

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

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  3.384e+01  2.805e+01  0.000e+00  1.000e+06 ( 1.000e-13)
270        alpha:  1.640e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
271         beta:  8.008e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  1.844e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  9.590e-01  1.759e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.087e+00  3.328e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.04
Ra Dec: 214.606 -2.559
Photon Index (Fixed Index): 1.64 +/- 0.00
Photon Flux (Fixed Index): 4.66e-08 +/- 3.86e-08
Energy Flux (Fixed Index): 7.97e-05 +/- 6.61e-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) = 3202.97210185
delta logL = 0.000681613582401

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3202.97209311
delta logL = 0.000690357322583

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    33.840       1.0000          .0000       .10000E+07
     2 'alpha     '    1.6166       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0877       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95903       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3202.972     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      200 TOTAL
                     EDM=   .18E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          33.709        42.742        .17192E-03    .66126E-07
   2  alpha         1.6160        .84432        .33415       -.26718E-05
   3  Normalizat    1.0877        .32728        .76203E-01    .75532E-05
   4  Prefactor     .95912        .17601        .45753E-01    .13269E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 33.709
  alpha      = 1.61597
  Normalizat = 1.08765
  Prefactor  = 0.959122
 **********
 **   18 **HESSE 
 **********

 FCN=   3202.972     FROM HESSE     STATUS=OK            31 CALLS      231 TOTAL
                     EDM=   .15E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          33.709        28.261        .68770E-05   -1.5592    
   2  alpha         1.6160        .62665        .13045E-01   -.36143    
   3  Normalizat    1.0877        .37988        .33727E-03   -.90149    
   4  Prefactor     .95912        .20863        .19380E-03   -.94105    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.47421e-14
Minuit parameter uncertainties:
  1  28.2608
  2  0.634401
  3  0.380834
  4  0.208806
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/207496': 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) = 3202.97208233
delta logL = 0.000701139878402

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  3.371e+01  2.826e+01  0.000e+00  1.000e+06 ( 1.000e-13)
270        alpha:  1.616e+00  6.344e-01  0.000e+00  5.000e+00 ( 1.000e+00)
271         beta:  8.008e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  1.844e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  9.591e-01  2.088e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.088e+00  3.808e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.04
Ra Dec: 214.606 -2.559
Photon Index (Free Index): 1.62 +/- 0.63
Photon Flux (Free Index): 4.50e-08 +/- 5.47e-08
Energy Flux (Free Index): 8.21e-05 +/- 9.48e-05

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/207496/cmap_HighResolution_686966401_687225601_4FGL_J1418.4-0233_daily_bin1727.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.66e-08', energy_flux2='8.21e-05', photon_flux_error='3.86e-08', dlogl='7.01e-04', energy_flux='7.97e-05', photon_flux2='4.50e-08', job_status='DONE', time_completed='2022-10-12 00:21:57.367129', photon_index_error2='0.63', photon_index2='1.62', ts='6.04', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='9.48e-05', EG='1.09', time_epoch_completed='1665559317.37', return_code='0', job_id='207496', GAL2='0.96', EG2='1.09', return_code2='0', energy_flux_error='6.61e-05', photon_flux_error2='5.47e-08', ts2='6.04', photon_index='1.64' WHERE bin_id='1727' AND source_name='4FGL J1418.4-0233' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Oct 12 00:21:57 PDT 2022

.09', return_code2='0', energy_flux_error='6.61e-05', photon_flux_error2='5.47e-08', ts2='6.04', photon_index='1.64' WHERE bin_id='1727' AND source_name='4FGL J1418.4-0233' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Oct 12 00:17:42 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0010>
Subject: Job 206805: <4FGL_J1418.4-0233_daily_bin1727> in cluster <slac> Done

Job <4FGL_J1418.4-0233_daily_bin1727> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Oct 12 00:07:43 2022
Job was executed on host(s) <bullet0010>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Oct 12 00:08:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Oct 12 00:08:25 2022
Terminated at Wed Oct 12 00:17:43 2022
Results reported at Wed Oct 12 00:17:43 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4-0233_daily_bin1727 214.606 -2.5594 686966401 687225601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1418.4-0233 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   378.33 sec.
    Max Memory :                                 1092 MB
    Average Memory :                             256.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   557 sec.
    Turnaround time :                            600 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 207496: <4FGL_J1418.4-0233_daily_bin1727> in cluster <slac> Done

Job <4FGL_J1418.4-0233_daily_bin1727> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Oct 12 00:08:28 2022
Job was executed on host(s) <bullet0225>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Oct 12 00:13:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Oct 12 00:13:31 2022
Terminated at Wed Oct 12 00:21:58 2022
Results reported at Wed Oct 12 00:21:58 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4-0233_daily_bin1727 214.606 -2.5594 686966401 687225601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1418.4-0233 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   390.31 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             288.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   506 sec.
    Turnaround time :                            810 sec.

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

