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


Performing analysis on: 4FGL_J1418.4+3543_daily_bin1751
RA = 214.623, Dec = 35.7192
tmin = 693187201, tmax = 693446401
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='79147', job_status='RUN', time_executed='2022-12-23 00:47:49.033972', time_epoch_executed='1671785269.03' WHERE source_name='4FGL J1418.4+3543' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/79147

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/79147/ft1_4FGL_J1418.4+3543_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/79147/ft2_4FGL_J1418.4+3543_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/79147/ft1_4FGL_J1418.4+3543_daily_bin1751.fits outfile=/scratch/kocevski/79147/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin1751.fits ra=214.623 dec=35.7192 rad=12.0 tmin=693187201.0 tmax=693446401.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.62
user 3.44
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/79147/ft2_4FGL_J1418.4+3543_daily_bin1751.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/79147/ft2_4FGL_J1418.4+3543_daily_bin1751.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/79147/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/79147/ft1_filtered_4FGL_J1418.4+3543_daily_bin1751.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.51
user 0.32
sys 0.18

Number of photons that the gtmktime cut: 588

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/79147/ft1_filtered_4FGL_J1418.4+3543_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/79147/ft2_4FGL_J1418.4+3543_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/79147/ltcube_693187201_693446401_4FGL_J1418.4+3543_daily_bin1751.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/79147/ft2_4FGL_J1418.4+3543_daily_bin1751.fits
.....................!
real 12.53
user 12.18
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/79147/ft1_filtered_4FGL_J1418.4+3543_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/79147/ft2_4FGL_J1418.4+3543_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/79147/ltcube_693187201_693446401_4FGL_J1418.4+3543_daily_bin1751.fits outfile=/scratch/kocevski/79147/expmap_693187201_693446401_4FGL_J1418.4+3543_daily_bin1751.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/79147/ltcube_693187201_693446401_4FGL_J1418.4+3543_daily_bin1751.fits
.....................!
real 190.56
user 185.82
sys 4.43

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

Setting source of interest to:
4FGL J1418.4+3543 @ 214.623 35.7192

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/79147/ft1_filtered_4FGL_J1418.4+3543_daily_bin1751.fits scfile=/scratch/kocevski/79147/ft2_4FGL_J1418.4+3543_daily_bin1751.fits outfile=/scratch/kocevski/79147/cmap_693187201_693446401_4FGL_J1418.4+3543_daily_bin1751.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.623 yref=35.7192 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/79147/ft1_filtered_4FGL_J1418.4+3543_daily_bin1751.fits scfile=/scratch/kocevski/79147/ft2_4FGL_J1418.4+3543_daily_bin1751.fits outfile=/scratch/kocevski/79147/cmap_HighResolution_693187201_693446401_4FGL_J1418.4+3543_daily_bin1751.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.623 yref=35.7192 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/79147/ft1_filtered_4FGL_J1418.4+3543_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/79147/ft2_4FGL_J1418.4+3543_daily_bin1751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/79147/Model_4FGL_J1418.4+3543_daily_bin1751.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/79147/ft1_filtered_4FGL_J1418.4+3543_daily_bin1751.fits.....................!
real 47.76
user 46.51
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/79147/ft1_filtered_4FGL_J1418.4+3543_daily_bin1751.fits', '/scratch/kocevski/79147/ft2_4FGL_J1418.4+3543_daily_bin1751.fits', expMap='/scratch/kocevski/79147/expmap_693187201_693446401_4FGL_J1418.4+3543_daily_bin1751.fits', expCube='/scratch/kocevski/79147/ltcube_693187201_693446401_4FGL_J1418.4+3543_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/79147/Model_4FGL_J1418.4+3543_daily_bin1751.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1418.4+3543'

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  4.095e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
284        alpha:  2.016e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
285         beta:  6.612e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
286           Eb:  8.292e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/79147/ft1_filtered_4FGL_J1418.4+3543_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/79147/ft2_4FGL_J1418.4+3543_daily_bin1751.fits
Exposure map: /scratch/kocevski/79147/expmap_693187201_693446401_4FGL_J1418.4+3543_daily_bin1751.fits
Exposure cube: /scratch/kocevski/79147/ltcube_693187201_693446401_4FGL_J1418.4+3543_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/79147/Model_4FGL_J1418.4+3543_daily_bin1751.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) = 6273.61995814

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15225E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    19.628       1.0000          .0000       .10000E+07
     3 'norm      '    .23259E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    4.9911       1.0000          .0000       .10000E+07
     5 'norm      '    6.4394       1.0000          .0000       .10000E+07
     6 'Prefactor '    17.503       1.0000          .0000       .10000E+07
     7 'norm      '    5.8472       1.0000          .0000       .10000E+07
     8 'Prefactor '    .47751E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .35586E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    38.520       1.0000          .0000       .10000E+07
    11 'norm      '    .84488E-07   1.0000          .0000       .10000E+07
    12 'norm      '    .45603E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    110.89       1.0000          .0000       .10000E+07
    14 'norm      '    .49010E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .50371E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    7.8976       1.0000          .0000       .10000E+07
    17 'norm      '    .16810       1.0000          .0000       .10000E+07
    18 'Prefactor '    71.344       1.0000          .0000       .10000E+07
    19 'Normalizat'    .79590       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1319       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6273.572     FROM MIGRAD    STATUS=CONVERGED    212 CALLS     1655 TOTAL
                     EDM=   .68E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    32.295       -.72006E-06** at limit **
   2  Prefactor     19.593        15.706        .28309E-07   -.28886E-03
   3  norm           .0000        .62745       -.67423E-07** at limit **
   4  Prefactor     4.9950        3.6458        .26997E-07   -.13473E-02
   5  norm          6.4431        9.5400        .16235E-06   -.59867E-03
   6  Prefactor     17.406        20.628        .23559E-06   -.68193E-03
   7  norm          5.8481        4.1810       -.24387E-07   -.34687E-03
   8  Prefactor      .0000        15.553        .54163E-07** at limit **
   9  Prefactor     .55511E-10    19.895        .50340E-06** at limit **
  10  Prefactor     38.515        7.1431        .39430E-07   -.20410E-02
  11  norm          .55511E-10    3.7176        .39450E-06** at limit **
  12  norm           .0000        88.088       -.72468E-06** at limit **
  13  Prefactor     112.80        46.214       -.29693E-06    .46275E-03
  14  norm          .11102E-09    33.028        .61254E-06** at limit **
  15  Prefactor      .0000        8.6593       -.87844E-07** at limit **
  16  Prefactor     7.9132        7.8047       -.23558E-06    .39487E-03
  17  norm          .17211        1.8978       -.38104E-06** at limit **
  18  Prefactor     69.372        102.71        .20498E-06   -.15738E-03
  19  Normalizat    .79513        .20584        .13163E-04   -.15862E-03
  20  Prefactor     1.1321        .23213       -.76778E-05   -.83463E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Prefactor  = 19.5929
  norm       = 0
  Prefactor  = 4.99496
  norm       = 6.44306
  Prefactor  = 17.4062
  norm       = 5.8481
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 38.5146
  norm       = 5.55112e-11
  norm       = 0
  Prefactor  = 112.801
  norm       = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 7.91316
  norm       = 0.172111
  Prefactor  = 69.372
  Normalizat = 0.795128
  Prefactor  = 1.13207
 **********
 **   18 **HESSE 
 **********

 FCN=   6273.572     FROM HESSE     STATUS=OK           345 CALLS     2000 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    32.274        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     19.593        15.704        .22579E-03   -1.5619    
   3  norm           .0000        .62118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.9950        3.6522        .44990E-03   -1.5663    
   5  norm          6.4431        9.5498        .39528E-03   -1.5657    
   6  Prefactor     17.406        20.567        .23912E-03   -1.5625    
   7  norm          5.8481        4.1899        .41508E-03   -1.5660    
   8  Prefactor      .0000        15.570        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    19.862        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     38.515        7.1390        .16114E-03   -1.5584    
  11  norm          .55511E-10    3.7352        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        8.2110        .56796E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     112.80        46.163        .94971E-04   -1.5496    
  14  norm          .11102E-09    32.582        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        8.6534        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.9132        7.5131        .35656E-03   -1.5652    
  17  norm          .17211        .90338        .27356E-02   -1.5716    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     69.372        101.40        .11840E-03   -1.5541    
  19  Normalizat    .79513        .17382        .43557E-01   -1.0025    
  20  Prefactor     1.1321        .19543        .59221E-01   -.88448    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.02683e-09
Minuit parameter uncertainties:
  1  0.000131729
  2  15.7039
  3  2.14839e-06
  4  3.65215
  5  9.54987
  6  20.5674
  7  4.18987
  8  1.96701e-05
  9  8.00668e-05
  10  7.13901
  11  2.84621e-05
  12  2.71583e-05
  13  46.163
  14  0.000118396
  15  8.6277e-06
  16  7.51308
  17  0.788625
  18  101.4
  19  0.173937
  20  0.195551
Done.

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

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  5.848e+00  4.190e+00  0.000e+00  1.000e+06 ( 1.000e-12)
284        alpha:  2.016e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
285         beta:  6.612e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
286           Eb:  8.292e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  1.132e+00  1.956e-01  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  7.951e-01  1.739e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.21
Ra Dec: 214.623 35.719
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 3.55e-08 +/- 2.54e-08
Energy Flux (Fixed Index): 2.02e-05 +/- 1.45e-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) = 6273.56914892
delta logL = 0.00285566919047

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6273.56902359
delta logL = 0.00298100138752

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6273.569     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      257 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.8108        4.2342        .13331E-04    .30973E-02
   2  alpha         1.9594        .71877        .15491E-01    .33398E-04
   3  Normalizat    .79762        .19790        .26100E-03   -.40405E-03
   4  Prefactor     1.1305        .23110        .26206E-03   -.60466E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.81082
  alpha      = 1.95944
  Normalizat = 0.797619
  Prefactor  = 1.13053
 **********
 **   18 **HESSE 
 **********

 FCN=   6273.569     FROM HESSE     STATUS=OK            23 CALLS      280 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.8108        4.2621        .53324E-06   -1.5660    
   2  alpha         1.9594        .72319        .61964E-03   -.21794    
   3  Normalizat    .79762        .19806        .52200E-04   -1.0016    
   4  Prefactor     1.1305        .23127        .52412E-04   -.88497    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.19293e-10
Minuit parameter uncertainties:
  1  4.26211
  2  0.734214
  3  0.198237
  4  0.231472
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/79147': 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) = 6273.56901132
delta logL = 0.00299326405639

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  5.811e+00  4.262e+00  0.000e+00  1.000e+06 ( 1.000e-12)
284        alpha:  1.959e+00  7.342e-01  0.000e+00  5.000e+00 ( 1.000e+00)
285         beta:  6.612e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
286           Eb:  8.292e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  1.131e+00  2.315e-01  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  7.976e-01  1.982e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.22
Ra Dec: 214.623 35.719
Photon Index (Free Index): 1.96 +/- 0.73
Photon Flux (Free Index): 3.32e-08 +/- 3.83e-08
Energy Flux (Free Index): 2.10e-05 +/- 1.89e-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/79147/cmap_HighResolution_693187201_693446401_4FGL_J1418.4+3543_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.55e-08', energy_flux2='2.10e-05', photon_flux_error='2.54e-08', dlogl='2.99e-03', energy_flux='2.02e-05', photon_flux2='3.32e-08', job_status='DONE', time_completed='2022-12-23 00:56:38.605683', photon_index_error2='0.73', photon_index2='1.96', ts='5.21', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', energy_flux_error2='1.89e-05', EG='0.80', time_epoch_completed='1671785798.61', return_code='0', job_id='79147', GAL2='1.13', EG2='0.80', return_code2='0', energy_flux_error='1.45e-05', photon_flux_error2='3.83e-08', ts2='5.22', photon_index='2.02' WHERE bin_id='1751' AND source_name='4FGL J1418.4+3543' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 00:56:38 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0008>
Subject: Job 79147: <4FGL_J1418.4+3543_daily_bin1751> in cluster <slac> Done

Job <4FGL_J1418.4+3543_daily_bin1751> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Dec 23 00:45:31 2022
Job was executed on host(s) <bullet0008>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:45:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:45:31 2022
Terminated at Fri Dec 23 00:56:39 2022
Results reported at Fri Dec 23 00:56:39 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4+3543_daily_bin1751 214.623 35.7192 693187201 693446401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1418.4+3543 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   531.42 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             301.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   667 sec.
    Turnaround time :                            668 sec.

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

