aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  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 2 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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 = 17011
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1418.4+3543_weekly_bin138
RA = 214.623, Dec = 35.7192
tmin = 322444801, tmax = 323049601
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='293688', job_status='RUN', time_executed='2021-07-21 14:16:19.689427', time_epoch_executed='1626902179.69' WHERE source_name='4FGL J1418.4+3543' and cadence='weekly' and bin_id='138'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/293688

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/293688/ft1_4FGL_J1418.4+3543_weekly_bin138.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/293688/ft2_4FGL_J1418.4+3543_weekly_bin138.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/293688/ft1_4FGL_J1418.4+3543_weekly_bin138.fits outfile=/scratch/kocevski/293688/ft1_filteredMKT_4FGL_J1418.4+3543_weekly_bin138.fits ra=214.623 dec=35.7192 rad=12.0 tmin=322444801.0 tmax=323049601.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 16.65
user 16.06
sys 0.50

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/293688/ft2_4FGL_J1418.4+3543_weekly_bin138.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/293688/ft1_filteredMKT_4FGL_J1418.4+3543_weekly_bin138.fits evtable="EVENTS" outfile="/scratch/kocevski/293688/ft1_filtered_4FGL_J1418.4+3543_weekly_bin138.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.48
user 0.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/293688/ft1_filtered_4FGL_J1418.4+3543_weekly_bin138.fits" evtable="EVENTS" scfile=/scratch/kocevski/293688/ft2_4FGL_J1418.4+3543_weekly_bin138.fits sctable="SC_DATA" outfile=/scratch/kocevski/293688/ltcube_322444801_323049601_4FGL_J1418.4+3543_weekly_bin138.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/293688/ft2_4FGL_J1418.4+3543_weekly_bin138.fits
.....................!
real 24.01
user 22.98
sys 0.54

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/293688/ft1_filtered_4FGL_J1418.4+3543_weekly_bin138.fits evtable="EVENTS" scfile=/scratch/kocevski/293688/ft2_4FGL_J1418.4+3543_weekly_bin138.fits sctable="SC_DATA" expcube=/scratch/kocevski/293688/ltcube_322444801_323049601_4FGL_J1418.4+3543_weekly_bin138.fits outfile=/scratch/kocevski/293688/expmap_322444801_323049601_4FGL_J1418.4+3543_weekly_bin138.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/293688/ltcube_322444801_323049601_4FGL_J1418.4+3543_weekly_bin138.fits
.....................!
real 157.35
user 151.94
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 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/293688/ft1_filtered_4FGL_J1418.4+3543_weekly_bin138.fits scfile=/scratch/kocevski/293688/ft2_4FGL_J1418.4+3543_weekly_bin138.fits outfile=/scratch/kocevski/293688/cmap_322444801_323049601_4FGL_J1418.4+3543_weekly_bin138.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/293688/ft1_filtered_4FGL_J1418.4+3543_weekly_bin138.fits scfile=/scratch/kocevski/293688/ft2_4FGL_J1418.4+3543_weekly_bin138.fits outfile=/scratch/kocevski/293688/cmap_HighResolution_322444801_323049601_4FGL_J1418.4+3543_weekly_bin138.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.50
user 0.34
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/293688/ft1_filtered_4FGL_J1418.4+3543_weekly_bin138.fits evtable="EVENTS" scfile=/scratch/kocevski/293688/ft2_4FGL_J1418.4+3543_weekly_bin138.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/293688/Model_4FGL_J1418.4+3543_weekly_bin138.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/293688/ft1_filtered_4FGL_J1418.4+3543_weekly_bin138.fits.....................!
real 66.92
user 65.47
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/293688/ft1_filtered_4FGL_J1418.4+3543_weekly_bin138.fits', '/scratch/kocevski/293688/ft2_4FGL_J1418.4+3543_weekly_bin138.fits', expMap='/scratch/kocevski/293688/expmap_322444801_323049601_4FGL_J1418.4+3543_weekly_bin138.fits', expCube='/scratch/kocevski/293688/ltcube_322444801_323049601_4FGL_J1418.4+3543_weekly_bin138.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/293688/Model_4FGL_J1418.4+3543_weekly_bin138.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  1.000e-04  1.000e+04 ( 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  0.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/293688/ft1_filtered_4FGL_J1418.4+3543_weekly_bin138.fits
Spacecraft file(s): /scratch/kocevski/293688/ft2_4FGL_J1418.4+3543_weekly_bin138.fits
Exposure map: /scratch/kocevski/293688/expmap_322444801_323049601_4FGL_J1418.4+3543_weekly_bin138.fits
Exposure cube: /scratch/kocevski/293688/ltcube_322444801_323049601_4FGL_J1418.4+3543_weekly_bin138.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/293688/Model_4FGL_J1418.4+3543_weekly_bin138.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) = 12096.7714695

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    19.345       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    7.5120       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    23.598       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .14901       1.0000         .10000E-03   10000.    
     9 'norm      '    8.7700       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    4.8336       1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.524       1.0000         .10000E-03   10000.    
    15 'norm      '    .30391       1.0000         .10000E-03   10000.    
    16 'Prefactor '    20.162       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    17.122       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.6902       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.2028       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .92410       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0187       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.

 FCN=   12096.70     FROM MIGRAD    STATUS=CONVERGED    570 CALLS     2403 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    23.955        .13092E-05** at limit **
   2  Prefactor     19.343        13.366        .12795E-06    .24337E-04
   3  Prefactor     .10000E-03    8.8273        .72280E-07** at limit **
   4  norm          7.5118        1.4229        .24865E-08   -.15410E-03
   5  Prefactor     .10000E-03    .89824        .46843E-07** at limit **
   6  norm          23.598        10.320        .78952E-07    .25609E-04
   7  Prefactor     .10000E-03    4.2055       -.82421E-08** at limit **
   8  Prefactor     .17206        8.0500        .87368E-06   -.27327E-03
   9  norm          8.7706        3.1926        .58491E-06   -.93009E-03
  10  Prefactor     .10000E-03    2.1716       -.33152E-07** at limit **
  11  Prefactor     .10000E-03    7.1699       -.77988E-07** at limit **
  12  Prefactor     .10000E-03    1.5650       -.28767E-07** at limit **
  13  norm          4.8362        7.3793       -.24923E-06   -.13076E-03
  14  Prefactor     12.525        14.465        .13898E-06   -.31909E-04
  15  norm          .27696        2.0006        .61173E-07   -.86065E-04
  16  Prefactor     20.175        19.928       -.13671E-05   -.25710E-03
  17  Prefactor     .10000E-03    31.765        .64279E-06** at limit **
  18  norm          17.125        7.1699       -.28209E-06   -.34244E-03
  19  Prefactor     1.6944        14.697        .86969E-06   -.11593E-03
  20  Prefactor     .10000E-03    2.4541       -.75213E-07** at limit **
  21  norm          1.2028        .93581        .38635E-07   -.10793E-03
  22  Prefactor     .10000E-03    25.731       -.19552E-05** at limit **
  23  Normalizat    .92415        .12018       -.21882E-06   -.18081E-03
  24  Prefactor     1.0187        .13464       -.97713E-07   -.14818E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 19.3432
  Prefactor  = 0.0001
  norm       = 7.51177
  Prefactor  = 0.0001
  norm       = 23.598
  Prefactor  = 0.0001
  Prefactor  = 0.172062
  norm       = 8.77057
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.83618
  Prefactor  = 12.5247
  norm       = 0.276958
  Prefactor  = 20.1745
  Prefactor  = 0.0001
  norm       = 17.1252
  Prefactor  = 1.69437
  Prefactor  = 0.0001
  norm       = 1.2028
  Prefactor  = 0.000100001
  Normalizat = 0.924155
  Prefactor  = 1.01865
 **********
 **   18 **HESSE 
 **********

 FCN=   12096.70     FROM HESSE     STATUS=OK           411 CALLS     2814 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    24.402        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     19.343        13.356        .91062E-04   -1.4828    
   3  Prefactor     .10000E-03    8.8309        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.5118        1.4236        .55057E-04   -1.5160    
   5  Prefactor     .10000E-03    4.3780        .19961E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          23.598        10.328        .82457E-04   -1.4736    
   7  Prefactor     .10000E-03    4.2397        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .17206        9.4695        .85179E-01   -1.5625    
   9  norm          8.7706        3.2939        .58532E-03   -1.5116    
  10  Prefactor     .10000E-03    2.1763        .15825E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.3132        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    1.6348        .26831E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.8362        7.3931        .18298E-03   -1.5268    
  14  Prefactor     12.525        14.458        .11319E-03   -1.5000    
  15  norm          .27696        20.571        .28619E-02   -1.5603    
  16  Prefactor     20.175        20.801        .89201E-04   -1.4809    
  17  Prefactor     .10000E-03    32.188        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          17.125        7.2190        .96793E-04   -1.4880    
  19  Prefactor     1.6944        15.090        .32380E-03   -1.5448    
  20  Prefactor     .10000E-03    2.4769        .16803E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.2028        .91852        .89235E-04   -1.5489    
  22  Prefactor     .10000E-03    26.427        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .92415        .14091        .23318E-03   -.95616    
  24  Prefactor     1.0187        .15837        .26077E-03   -.92110    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.4968e-08
Minuit parameter uncertainties:
  1  0.000212665
  2  13.358
  3  6.37223e-06
  4  1.42365
  5  2.20578e-05
  6  10.3286
  7  1.04857e-06
  8  2.55259
  9  3.29393
  10  3.76158e-07
  11  1.6811e-06
  12  2.84721e-06
  13  7.39448
  14  14.4617
  15  4.77467
  16  20.808
  17  0.00013603
  18  7.21933
  19  10.1161
  20  9.49212e-07
  21  0.918532
  22  0.000354172
  23  0.140962
  24  0.158442
Done.

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

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  8.771e+00  3.294e+00  1.000e-04  1.000e+04 ( 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  0.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.019e+00  1.584e-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:  9.242e-01  1.410e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.04
Ra Dec: 214.623 35.719
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 5.33e-08 +/- 2.00e-08
Energy Flux (Fixed Index): 3.03e-05 +/- 1.14e-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) = 12095.384219
delta logL = 1.31082479999

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12095.3688976
delta logL = 1.32614619972

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.4395       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5827       1.0000          .0000       5.0000    
     3 'Normalizat'    .88461       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0492       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=   12095.37     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      279 TOTAL
                     EDM=   .63E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.4394        3.3937        .89567E-04    .74964E-03
   2  alpha         2.5828        .40004        .96599E-02    .69978E-04
   3  Normalizat    .88457        .13831        .23765E-03    .42480E-04
   4  Prefactor     1.0492        .16019        .25750E-03   -.48036E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.43939
  alpha      = 2.58275
  Normalizat = 0.884567
  Prefactor  = 1.04925
 **********
 **   18 **HESSE 
 **********

 FCN=   12095.37     FROM HESSE     STATUS=OK            25 CALLS      304 TOTAL
                     EDM=   .56E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.4394        3.2044        .35827E-05   -1.5200    
   2  alpha         2.5828        .37759        .38640E-03    .33107E-01
   3  Normalizat    .88457        .13826        .95061E-05   -.97005    
   4  Prefactor     1.0492        .16016        .10300E-04   -.91105    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.57533e-11
Minuit parameter uncertainties:
  1  3.20446
  2  0.379038
  3  0.13831
  4  0.16023
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/293688': 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) = 12095.3688975
delta logL = 1.32614627574

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  6.439e+00  3.204e+00  1.000e-04  1.000e+04 ( 1.000e-12)
284        alpha:  2.583e+00  3.790e-01  0.000e+00  5.000e+00 ( 1.000e+00)
285         beta:  6.612e-02  0.000e+00  0.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.049e+00  1.602e-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:  8.846e-01  1.383e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.69
Ra Dec: 214.623 35.719
Photon Index (Free Index): 2.58 +/- 0.38
Photon Flux (Free Index): 8.12e-08 +/- 3.09e-08
Energy Flux (Free Index): 2.23e-05 +/- 8.15e-06

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/293688/cmap_HighResolution_322444801_323049601_4FGL_J1418.4+3543_weekly_bin138.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.33e-08', energy_flux2='2.23e-05', photon_flux_error='2.00e-08', dlogl='1.33e+00', energy_flux='3.03e-05', photon_flux2='8.12e-08', job_status='DONE', time_completed='2021-07-21 14:30:05.264960', photon_index_error2='0.38', photon_index2='2.58', ts='13.04', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='8.15e-06', EG='0.92', time_epoch_completed='1626903005.27', return_code='0', job_id='293688', GAL2='1.05', EG2='0.88', return_code2='0', energy_flux_error='1.14e-05', photon_flux_error2='3.09e-08', ts2='15.69', photon_index='2.02' WHERE bin_id='138' AND source_name='4FGL J1418.4+3543' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Wed Jul 21 14:30:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0026>
Subject: Job 293688: <4FGL_J1418.4+3543_weekly_bin138> in cluster <slac> Done

Job <4FGL_J1418.4+3543_weekly_bin138> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Wed Jul 21 14:15:14 2021
Job was executed on host(s) <bullet0026>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jul 21 14:16:09 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jul 21 14:16:09 2021
Terminated at Wed Jul 21 14:30:06 2021
Results reported at Wed Jul 21 14:30:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4+3543_weekly_bin138 214.623 35.7192 322444801 323049601 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 :                                   812.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             330.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   839 sec.
    Turnaround time :                            892 sec.

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

