/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 138 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 = 7640
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1418.4+3543_daily_bin1522
RA = 214.623, Dec = 35.7192
tmin = 633830401, tmax = 634089601
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='323527', job_status='RUN', time_executed='2021-09-09 08:27:53.700705', time_epoch_executed='1631201273.7' WHERE source_name='4FGL J1418.4+3543' and cadence='daily' and bin_id='1522'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/323527

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/323527/ft1_4FGL_J1418.4+3543_daily_bin1522.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/323527/ft2_4FGL_J1418.4+3543_daily_bin1522.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/323527/ft1_4FGL_J1418.4+3543_daily_bin1522.fits outfile=/scratch/kocevski/323527/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin1522.fits ra=214.623 dec=35.7192 rad=12.0 tmin=633830401.0 tmax=634089601.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.40
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/323527/ft2_4FGL_J1418.4+3543_daily_bin1522.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/323527/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin1522.fits evtable="EVENTS" outfile="/scratch/kocevski/323527/ft1_filtered_4FGL_J1418.4+3543_daily_bin1522.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.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/323527/ft1_filtered_4FGL_J1418.4+3543_daily_bin1522.fits" evtable="EVENTS" scfile=/scratch/kocevski/323527/ft2_4FGL_J1418.4+3543_daily_bin1522.fits sctable="SC_DATA" outfile=/scratch/kocevski/323527/ltcube_633830401_634089601_4FGL_J1418.4+3543_daily_bin1522.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/323527/ft2_4FGL_J1418.4+3543_daily_bin1522.fits
.....................!
real 11.86
user 11.44
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/323527/ft1_filtered_4FGL_J1418.4+3543_daily_bin1522.fits evtable="EVENTS" scfile=/scratch/kocevski/323527/ft2_4FGL_J1418.4+3543_daily_bin1522.fits sctable="SC_DATA" expcube=/scratch/kocevski/323527/ltcube_633830401_634089601_4FGL_J1418.4+3543_daily_bin1522.fits outfile=/scratch/kocevski/323527/expmap_633830401_634089601_4FGL_J1418.4+3543_daily_bin1522.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/323527/ltcube_633830401_634089601_4FGL_J1418.4+3543_daily_bin1522.fits
.....................!
real 190.00
user 185.35
sys 4.23

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/323527/ft1_filtered_4FGL_J1418.4+3543_daily_bin1522.fits scfile=/scratch/kocevski/323527/ft2_4FGL_J1418.4+3543_daily_bin1522.fits outfile=/scratch/kocevski/323527/cmap_633830401_634089601_4FGL_J1418.4+3543_daily_bin1522.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.58
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/323527/ft1_filtered_4FGL_J1418.4+3543_daily_bin1522.fits scfile=/scratch/kocevski/323527/ft2_4FGL_J1418.4+3543_daily_bin1522.fits outfile=/scratch/kocevski/323527/cmap_HighResolution_633830401_634089601_4FGL_J1418.4+3543_daily_bin1522.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.59
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/323527/ft1_filtered_4FGL_J1418.4+3543_daily_bin1522.fits', '/scratch/kocevski/323527/ft2_4FGL_J1418.4+3543_daily_bin1522.fits', expMap='/scratch/kocevski/323527/expmap_633830401_634089601_4FGL_J1418.4+3543_daily_bin1522.fits', expCube='/scratch/kocevski/323527/ltcube_633830401_634089601_4FGL_J1418.4+3543_daily_bin1522.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/323527/Model_4FGL_J1418.4+3543_daily_bin1522.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/323527/ft1_filtered_4FGL_J1418.4+3543_daily_bin1522.fits
Spacecraft file(s): /scratch/kocevski/323527/ft2_4FGL_J1418.4+3543_daily_bin1522.fits
Exposure map: /scratch/kocevski/323527/expmap_633830401_634089601_4FGL_J1418.4+3543_daily_bin1522.fits
Exposure cube: /scratch/kocevski/323527/ltcube_633830401_634089601_4FGL_J1418.4+3543_daily_bin1522.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/323527/Model_4FGL_J1418.4+3543_daily_bin1522.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) = 5738.9868684

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.1157       1.0000         .10000E-03   10000.    
     3 'Prefactor '    42.449       1.0000         .10000E-03   10000.    
     4 'norm      '    6.6485       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.0917       1.0000         .10000E-03   10000.    
     6 'norm      '    9.0857       1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.718       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.2910       1.0000         .10000E-03   10000.    
     9 'norm      '    5.0934       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.247       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10252E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.8333       1.0000         .10000E-03   10000.    
    13 'norm      '    .10185E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .11615E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    57.561       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.2140       1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.7681       1.0000         .10000E-03   10000.    
    21 'norm      '    3.3212       1.0000         .10000E-03   10000.    
    22 'Prefactor '    45.610       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0120       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .82936       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=   5738.979     FROM MIGRAD    STATUS=CONVERGED    521 CALLS     2682 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    31.678       -.18897E-05** at limit **
   2  Prefactor     9.1179        16.062        .12970E-05    .22654E-04
   3  Prefactor     42.454        59.122        .61170E-05    .32752E-04
   4  norm          6.6490        2.1161       -.31689E-07   -.68424E-04
   5  Prefactor     2.0921        4.2998       -.22783E-05   -.28104E-03
   6  norm          9.0878        10.409       -.52266E-07   -.14726E-04
   7  Prefactor     13.718        15.062       -.98863E-06   -.44329E-04
   8  Prefactor     2.2913        9.4442        .18758E-05   -.83735E-03
   9  norm          5.0939        4.0961        .12268E-05    .13022E-03
  10  Prefactor     10.254        14.099        .17842E-05   -.39486E-04
  11  Prefactor     .10000E-03    8.9717        .28159E-05** at limit **
  12  Prefactor     6.8349        4.2383       -.16712E-05   -.33008E-03
  13  norm          .10000E-03    7.3690        .21015E-05** at limit **
  14  Prefactor     .10000E-03    15.962        .32180E-05** at limit **
  15  norm          .10000E-03    6.3474       -.15160E-05** at limit **
  16  Prefactor     .10000E-03    10.051       -.52382E-05** at limit **
  17  Prefactor     57.569        37.919        .61485E-05    .11416E-03
  18  norm          .10000E-03    2.7023       -.66922E-07** at limit **
  19  Prefactor     2.2142        6.4201        .10737E-05   -.12927E-02
  20  Prefactor     6.7684        5.1059        .84232E-07    .16339E-04
  21  norm          3.3214        1.4890       -.13774E-07   -.21546E-04
  22  Prefactor     45.609        54.852       -.10374E-05   -.74327E-05
  23  Normalizat    1.0116        .17822       -.41415E-06    .21463E-04
  24  Prefactor     .82980        .18823       -.47233E-06    .13840E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 9.11792
  Prefactor  = 42.4542
  norm       = 6.64904
  Prefactor  = 2.09209
  norm       = 9.0878
  Prefactor  = 13.7184
  Prefactor  = 2.29125
  norm       = 5.09394
  Prefactor  = 10.2536
  Prefactor  = 0.0001
  Prefactor  = 6.83489
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 57.5688
  norm       = 0.0001
  Prefactor  = 2.21425
  Prefactor  = 6.76843
  norm       = 3.32138
  Prefactor  = 45.6091
  Normalizat = 1.0116
  Prefactor  = 0.829799
 **********
 **   18 **HESSE 
 **********

 FCN=   5738.979     FROM HESSE     STATUS=OK           401 CALLS     3083 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    31.721        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.1179        16.065        .13275E-03   -1.5104    
   3  Prefactor     42.454        59.360        .61529E-04   -1.4404    
   4  norm          6.6490        2.1224        .59536E-04   -1.5192    
   5  Prefactor     2.0921        4.3470        .20967E-03   -1.5419    
   6  norm          9.0878        10.419        .13297E-03   -1.5105    
   7  Prefactor     13.718        15.056        .10814E-03   -1.4967    
   8  Prefactor     2.2913        13.730        .13560E-02   -1.5405    
   9  norm          5.0939        4.0891        .12986E-03   -1.5257    
  10  Prefactor     10.254        14.105        .12517E-03   -1.5067    
  11  Prefactor     .10000E-03    8.9589        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.8349        4.2726        .11609E-03   -1.5185    
  13  norm          .10000E-03    7.3573        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    16.017        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    6.6327        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    10.071        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     57.569        38.120        .52877E-04   -1.4189    
  18  norm          .10000E-03    2.7042        .12162E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.2142        9.0539        .13821E-02   -1.5410    
  20  Prefactor     6.7684        5.1106        .14308E-03   -1.5188    
  21  norm          3.3214        1.4895        .59165E-04   -1.5343    
  22  Prefactor     45.609        54.855        .59367E-04   -1.4356    
  23  Normalizat    1.0116        .21288        .22233E-03   -.92643    
  24  Prefactor     .82980        .22176        .27734E-03   -.98639    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02312e-08
Minuit parameter uncertainties:
  1  4.78846e-05
  2  16.073
  3  59.4429
  4  2.12244
  5  4.34768
  6  10.4209
  7  15.0599
  8  11.2212
  9  4.08936
  10  14.1098
  11  7.25238e-07
  12  4.27283
  13  2.83511e-06
  14  4.66888e-05
  15  1.45559e-05
  16  7.83231e-05
  17  38.1366
  18  8.62435e-07
  19  8.95705
  20  5.1109
  21  1.48955
  22  54.9154
  23  0.213061
  24  0.221998
Done.

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

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  5.094e+00  4.089e+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:  8.298e-01  2.220e-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:  1.012e+00  2.131e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.21
Ra Dec: 214.623 35.719
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 3.09e-08 +/- 2.48e-08
Energy Flux (Fixed Index): 1.76e-05 +/- 1.41e-05

TS (Fixed Index): 3.21
Ra Dec: 214.623 35.719
Photon Flux Upper Limit: 8.84e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.03e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/323527/likelihoodResults_633830401_634089601_4FGL_J1418.4+3543_daily_bin1522.txt

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) = 5738.281207
delta logL = 0.697446731501

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5738.27681772
delta logL = 0.701836016877

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.1546       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0547       1.0000          .0000       5.0000    
     3 'Normalizat'    .93918       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88394       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=   5738.277     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      268 TOTAL
                     EDM=   .69E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.1548        4.6075        .73979E-04    .79910E-05
   2  alpha         3.0551        1.0780        .10804E-01    .10744E-04
   3  Normalizat    .93902        .20552        .22941E-03    .59963E-05
   4  Prefactor     .88413        .22733        .26951E-03    .76477E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.15484
  alpha      = 3.05513
  Normalizat = 0.939019
  Prefactor  = 0.884133
 **********
 **   18 **HESSE 
 **********

 FCN=   5738.277     FROM HESSE     STATUS=OK            25 CALLS      293 TOTAL
                     EDM=   .33E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.1548        3.7076        .29592E-05   -1.5353    
   2  alpha         3.0551        .87664        .43215E-03    .22392    
   3  Normalizat    .93902        .20268        .91764E-05   -.95102    
   4  Prefactor     .88413        .22511        .10780E-04   -.96698    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.33038e-11
Minuit parameter uncertainties:
  1  3.70786
  2  0.896734
  3  0.202849
  4  0.225346
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/323527': 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) = 5738.27681691
delta logL = 0.701836825694

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  3.155e+00  3.708e+00  1.000e-04  1.000e+04 ( 1.000e-12)
284        alpha:  3.055e+00  8.967e-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:  8.841e-01  2.253e-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.390e-01  2.028e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.69
Ra Dec: 214.623 35.719
Photon Index (Free Index): 3.06 +/- 0.90
Photon Flux (Free Index): 8.16e-08 +/- 5.84e-08
Energy Flux (Free Index): 1.66e-05 +/- 9.75e-06

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/323527/cmap_HighResolution_633830401_634089601_4FGL_J1418.4+3543_daily_bin1522.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.03e-05', comment='SUCCESS', photon_flux='3.09e-08', energy_flux2='1.66e-05', photon_flux_error='2.48e-08', dlogl='7.02e-01', energy_flux='1.76e-05', photon_flux2='8.16e-08', job_status='DONE', time_completed='2021-09-09 08:38:58.736304', photon_index_error2='0.90', photon_index2='3.06', ts='3.21', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', photon_flux_upper_limit='8.84e-08', energy_flux_error2='9.75e-06', EG='1.01', time_epoch_completed='1631201938.74', return_code='0', job_id='323527', GAL2='0.88', EG2='0.94', return_code2='0', energy_flux_error='1.41e-05', photon_flux_error2='5.84e-08', ts2='4.69', photon_index='2.02' WHERE bin_id='1522' AND source_name='4FGL J1418.4+3543' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:38:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 323527: <4FGL_J1418.4+3543_daily_bin1522> in cluster <slac> Done

Job <4FGL_J1418.4+3543_daily_bin1522> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Thu Sep  9 08:25:25 2021
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 08:25:27 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 08:25:27 2021
Terminated at Thu Sep  9 08:38:59 2021
Results reported at Thu Sep  9 08:38:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4+3543_daily_bin1522 214.623 35.7192 633830401 634089601 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 :                                   652.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             290.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   811 sec.
    Turnaround time :                            814 sec.

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

