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


Performing analysis on: 4FGL_J1418.4-0233_weekly_bin749
RA = 214.606, Dec = -2.5594
tmin = 691977601, tmax = 692582401
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='529482', job_status='RUN', time_executed='2022-12-13 01:07:37.539532', time_epoch_executed='1670922457.54' WHERE source_name='4FGL J1418.4-0233' and cadence='weekly' and bin_id='749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/529482

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/529482/ft1_4FGL_J1418.4-0233_weekly_bin749.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/529482/ft2_4FGL_J1418.4-0233_weekly_bin749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/529482/ft1_4FGL_J1418.4-0233_weekly_bin749.fits outfile=/scratch/kocevski/529482/ft1_filteredMKT_4FGL_J1418.4-0233_weekly_bin749.fits ra=214.606 dec=-2.5594 rad=12.0 tmin=691977601.0 tmax=692582401.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 9.13
user 8.80
sys 0.31

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

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

Number of photons that the gtmktime cut: 1922

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/529482/ft1_filtered_4FGL_J1418.4-0233_weekly_bin749.fits" evtable="EVENTS" scfile=/scratch/kocevski/529482/ft2_4FGL_J1418.4-0233_weekly_bin749.fits sctable="SC_DATA" outfile=/scratch/kocevski/529482/ltcube_691977601_692582401_4FGL_J1418.4-0233_weekly_bin749.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/529482/ft2_4FGL_J1418.4-0233_weekly_bin749.fits
.....................!
real 25.79
user 25.41
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/529482/ft1_filtered_4FGL_J1418.4-0233_weekly_bin749.fits evtable="EVENTS" scfile=/scratch/kocevski/529482/ft2_4FGL_J1418.4-0233_weekly_bin749.fits sctable="SC_DATA" expcube=/scratch/kocevski/529482/ltcube_691977601_692582401_4FGL_J1418.4-0233_weekly_bin749.fits outfile=/scratch/kocevski/529482/expmap_691977601_692582401_4FGL_J1418.4-0233_weekly_bin749.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/529482/ltcube_691977601_692582401_4FGL_J1418.4-0233_weekly_bin749.fits
.....................!
real 191.36
user 186.30
sys 4.75

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/529482/ft1_filtered_4FGL_J1418.4-0233_weekly_bin749.fits scfile=/scratch/kocevski/529482/ft2_4FGL_J1418.4-0233_weekly_bin749.fits outfile=/scratch/kocevski/529482/cmap_691977601_692582401_4FGL_J1418.4-0233_weekly_bin749.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.58
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/529482/ft1_filtered_4FGL_J1418.4-0233_weekly_bin749.fits scfile=/scratch/kocevski/529482/ft2_4FGL_J1418.4-0233_weekly_bin749.fits outfile=/scratch/kocevski/529482/cmap_HighResolution_691977601_692582401_4FGL_J1418.4-0233_weekly_bin749.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.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/529482/ft1_filtered_4FGL_J1418.4-0233_weekly_bin749.fits evtable="EVENTS" scfile=/scratch/kocevski/529482/ft2_4FGL_J1418.4-0233_weekly_bin749.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/529482/Model_4FGL_J1418.4-0233_weekly_bin749.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/529482/ft1_filtered_4FGL_J1418.4-0233_weekly_bin749.fits.....................!
real 137.68
user 136.16
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/529482/ft1_filtered_4FGL_J1418.4-0233_weekly_bin749.fits', '/scratch/kocevski/529482/ft2_4FGL_J1418.4-0233_weekly_bin749.fits', expMap='/scratch/kocevski/529482/expmap_691977601_692582401_4FGL_J1418.4-0233_weekly_bin749.fits', expCube='/scratch/kocevski/529482/ltcube_691977601_692582401_4FGL_J1418.4-0233_weekly_bin749.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/529482/Model_4FGL_J1418.4-0233_weekly_bin749.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/529482/ft1_filtered_4FGL_J1418.4-0233_weekly_bin749.fits
Spacecraft file(s): /scratch/kocevski/529482/ft2_4FGL_J1418.4-0233_weekly_bin749.fits
Exposure map: /scratch/kocevski/529482/expmap_691977601_692582401_4FGL_J1418.4-0233_weekly_bin749.fits
Exposure cube: /scratch/kocevski/529482/ltcube_691977601_692582401_4FGL_J1418.4-0233_weekly_bin749.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/529482/Model_4FGL_J1418.4-0233_weekly_bin749.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) = 20939.2568099

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .81906       1.0000          .0000       .10000E+07
     2 'norm      '    32.153       1.0000          .0000       .10000E+07
     3 'Prefactor '    .69944E-08   1.0000          .0000       .10000E+07
     4 'Prefactor '    27.761       1.0000          .0000       .10000E+07
     5 'norm      '    2.3782       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.2179       1.0000          .0000       .10000E+07
     7 'norm      '    32.602       1.0000          .0000       .10000E+07
     8 'Prefactor '    6.3137       1.0000          .0000       .10000E+07
     9 'norm      '    10.576       1.0000          .0000       .10000E+07
    10 'norm      '    .51825E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    4.6615       1.0000          .0000       .10000E+07
    12 'norm      '    .39755E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .27807E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    6.4126       1.0000          .0000       .10000E+07
    15 'norm      '    .34337E-03   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.1933       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .96554       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=   20938.70     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      931 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .82010        .75986        .61126E-07    .24907E-01
   2  norm          31.103        10.355       -.74543E-06    .10169    
   3  Prefactor      .0000        1.0215        .29275E-07** at limit **
   4  Prefactor     27.686        2.9920        .21810E-06   -.36303E-01
   5  norm          2.3787        2.8387       -.29619E-07    .46408E-02
   6  Prefactor     2.1958        5.7424       -.11484E-05   -.28670E-01
   7  norm          32.600        2.9352       -.39310E-08    .25197E-02
   8  Prefactor     6.4153        6.0114        .46012E-06    .39499E-01
   9  norm          10.690        6.0563       -.39892E-06   -.61933E-01
  10  norm          .17208E-08    2.4907       -.59159E-07** at limit **
  11  Prefactor     4.6465        6.5041        .11386E-05    .10259E-01
  12  norm          .17369E-06    12.998        .16011E-06** at limit **
  13  Prefactor     .14988E-08    8.8472        .66660E-07** at limit **
  14  Prefactor     6.4003        7.2553        .73130E-07   -.40073E-01
  15  norm          .26645E-08    3.6658        .21429E-07** at limit **
  16  Normalizat    1.1932        .14652        .13973E-05    .75452E-04
  17  Prefactor     .96577        .83620E-01   -.59333E-06   -.15382E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.820102
  norm       = 31.1032
  Prefactor  = 0
  Prefactor  = 27.6861
  norm       = 2.37866
  Prefactor  = 2.19581
  norm       = 32.6005
  Prefactor  = 6.41532
  norm       = 10.6904
  norm       = 1.72085e-09
  Prefactor  = 4.64655
  norm       = 1.73694e-07
  Prefactor  = 1.4988e-09
  Prefactor  = 6.40032
  norm       = 2.66454e-09
  Normalizat = 1.19317
  Prefactor  = 0.965774
 **********
 **   18 **HESSE 
 **********

 FCN=   20938.70     FROM HESSE     STATUS=OK           261 CALLS     1192 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .82010        .76128        .51525E-03   -1.5690    
   2  norm          31.103        17.982        .17638E-03   -1.5596    
   3  Prefactor      .0000        1.0197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     27.686        16.080        .18983E-03   -1.5603    
   5  norm          2.3787        2.8616        .66401E-03   -1.5677    
   6  Prefactor     2.1958        6.2763        .69026E-03   -1.5678    
   7  norm          32.600        2.9380        .17516E-03   -1.5594    
   8  Prefactor     6.4153        6.2860        .39924E-03   -1.5657    
   9  norm          10.690        6.5164        .30785E-03   -1.5643    
  10  norm          .17208E-08    2.4970        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.6465        11.530        .46589E-03   -1.5665    
  12  norm          .17369E-06    13.867        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .14988E-08    8.8842        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.4003        8.3905        .39611E-03   -1.5657    
  15  norm          .26645E-08    3.7250        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.1932        .12766        .73318E-01   -.86814    
  17  Prefactor     .96577        .72091E-01    .45835E-01   -.93879    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.89031e-07
Minuit parameter uncertainties:
  1  0.761276
  2  17.9825
  3  5.67668e-06
  4  16.0801
  5  2.86157
  6  6.27635
  7  2.93805
  8  6.28605
  9  6.51638
  10  0.000131373
  11  11.5301
  12  0.00310404
  13  0.000232608
  14  8.39051
  15  0.00019925
  16  0.127692
  17  0.0720986
Done.

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

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  1.069e+01  6.516e+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

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  9.658e-01  7.210e-02  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.193e+00  1.277e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.74
Ra Dec: 214.606 -2.559
Photon Index (Fixed Index): 1.64 +/- 0.00
Photon Flux (Fixed Index): 1.47e-08 +/- 8.97e-09
Energy Flux (Fixed Index): 2.52e-05 +/- 1.54e-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) = 20938.695171
delta logL = 9.46333784668e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 20938.6951696
delta logL = 9.60410907282e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.683       1.0000          .0000       .10000E+07
     2 'alpha     '    1.6337       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1932       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96582       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=   20938.70     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      224 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.677        170.87        .30629E-03    .42522E-03
   2  alpha         1.6332        3.0016        .44816       -.66940E-05
   3  Normalizat    1.1932        .99674E-01    .73317E-01    .41868E-04
   4  Prefactor     .96580        .36559E-01    .45838E-01    .44606E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.6767
  alpha      = 1.63315
  Normalizat = 1.19323
  Prefactor  = 0.965801
 **********
 **   18 **HESSE 
 **********

 FCN=   20938.70     FROM HESSE     STATUS=OK            33 CALLS      257 TOTAL
                     EDM=   .95E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.677        6.5632        .12252E-04   -1.5643    
   2  alpha         1.6332        .47180        .20704E-01   -.35409    
   3  Normalizat    1.1932        .14279        .32445E-03   -.86812    
   4  Prefactor     .96580        .83163E-01    .20602E-03   -.93878    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.49429e-13
Minuit parameter uncertainties:
  1  6.56318
  2  0.475041
  3  0.142835
  4  0.0831736
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/529482': 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) = 20938.6951685
delta logL = 9.71535773715e-05

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  1.068e+01  6.563e+00  0.000e+00  1.000e+06 ( 1.000e-13)
270        alpha:  1.633e+00  4.750e-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.658e-01  8.317e-02  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.193e+00  1.428e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.74
Ra Dec: 214.606 -2.559
Photon Index (Free Index): 1.63 +/- 0.48
Photon Flux (Free Index): 1.46e-08 +/- 1.33e-08
Energy Flux (Free Index): 2.54e-05 +/- 2.13e-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/529482/cmap_HighResolution_691977601_692582401_4FGL_J1418.4-0233_weekly_bin749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.47e-08', energy_flux2='2.54e-05', photon_flux_error='8.97e-09', dlogl='9.72e-05', energy_flux='2.52e-05', photon_flux2='1.46e-08', job_status='DONE', time_completed='2022-12-13 01:20:58.459700', photon_index_error2='0.48', photon_index2='1.63', ts='8.74', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='2.13e-05', EG='1.19', time_epoch_completed='1670923258.46', return_code='0', job_id='529482', GAL2='0.97', EG2='1.19', return_code2='0', energy_flux_error='1.54e-05', photon_flux_error2='1.33e-08', ts2='8.74', photon_index='1.64' WHERE bin_id='749' AND source_name='4FGL J1418.4-0233' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 13 01:20:58 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0193>
Subject: Job 529482: <4FGL_J1418.4-0233_weekly_bin749> in cluster <slac> Done

Job <4FGL_J1418.4-0233_weekly_bin749> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Dec 13 01:05:25 2022
Job was executed on host(s) <bullet0193>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 13 01:05:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 13 01:05:25 2022
Terminated at Tue Dec 13 01:20:59 2022
Results reported at Tue Dec 13 01:20:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4-0233_weekly_bin749 214.606 -2.5594 691977601 692582401 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 :                                   801.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             317.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   933 sec.
    Turnaround time :                            934 sec.

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

