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


Performing analysis on: 4FGL_J1418.4+3543_daily_bin1144
RA = 214.623, Dec = 35.7192
tmin = 535852801, tmax = 536112001
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='320707', job_status='RUN', time_executed='2021-09-09 08:18:28.693016', time_epoch_executed='1631200708.69' WHERE source_name='4FGL J1418.4+3543' and cadence='daily' and bin_id='1144'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/320707

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/320707/ft1_4FGL_J1418.4+3543_daily_bin1144.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/320707/ft2_4FGL_J1418.4+3543_daily_bin1144.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/320707/ft1_4FGL_J1418.4+3543_daily_bin1144.fits outfile=/scratch/kocevski/320707/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin1144.fits ra=214.623 dec=35.7192 rad=12.0 tmin=535852801.0 tmax=536112001.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.60
user 3.39
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/320707/ft2_4FGL_J1418.4+3543_daily_bin1144.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/320707/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin1144.fits evtable="EVENTS" outfile="/scratch/kocevski/320707/ft1_filtered_4FGL_J1418.4+3543_daily_bin1144.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.52
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/320707/ft1_filtered_4FGL_J1418.4+3543_daily_bin1144.fits" evtable="EVENTS" scfile=/scratch/kocevski/320707/ft2_4FGL_J1418.4+3543_daily_bin1144.fits sctable="SC_DATA" outfile=/scratch/kocevski/320707/ltcube_535852801_536112001_4FGL_J1418.4+3543_daily_bin1144.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/320707/ft2_4FGL_J1418.4+3543_daily_bin1144.fits
.....................!
real 11.74
user 11.41
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/320707/ft1_filtered_4FGL_J1418.4+3543_daily_bin1144.fits evtable="EVENTS" scfile=/scratch/kocevski/320707/ft2_4FGL_J1418.4+3543_daily_bin1144.fits sctable="SC_DATA" expcube=/scratch/kocevski/320707/ltcube_535852801_536112001_4FGL_J1418.4+3543_daily_bin1144.fits outfile=/scratch/kocevski/320707/expmap_535852801_536112001_4FGL_J1418.4+3543_daily_bin1144.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/320707/ltcube_535852801_536112001_4FGL_J1418.4+3543_daily_bin1144.fits
.....................!
real 190.81
user 185.93
sys 4.46

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/320707/ft1_filtered_4FGL_J1418.4+3543_daily_bin1144.fits scfile=/scratch/kocevski/320707/ft2_4FGL_J1418.4+3543_daily_bin1144.fits outfile=/scratch/kocevski/320707/cmap_535852801_536112001_4FGL_J1418.4+3543_daily_bin1144.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/320707/ft1_filtered_4FGL_J1418.4+3543_daily_bin1144.fits scfile=/scratch/kocevski/320707/ft2_4FGL_J1418.4+3543_daily_bin1144.fits outfile=/scratch/kocevski/320707/cmap_HighResolution_535852801_536112001_4FGL_J1418.4+3543_daily_bin1144.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.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.272       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    74.387       1.0000         .10000E-03   10000.    
     4 'norm      '    8.7993       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.0400       1.0000         .10000E-03   10000.    
     6 'norm      '    7.3212       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.9907       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10615E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.3967       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10536E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    24.145       1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.916       1.0000         .10000E-03   10000.    
    13 'norm      '    13.278       1.0000         .10000E-03   10000.    
    14 'Prefactor '    41.306       1.0000         .10000E-03   10000.    
    15 'norm      '    1.6313       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    59.830       1.0000         .10000E-03   10000.    
    18 'norm      '    13.005       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.5492       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .34480       1.0000         .10000E-03   10000.    
    22 'Prefactor '    23.806       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .96819       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .80921       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=   6680.667     FROM MIGRAD    STATUS=CONVERGED     68 CALLS     2342 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 11.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.272        1.0005        .27345E-07   -.52082E-04
   2  Prefactor     .10000E-03    7.3634       -.13740E-05** at limit **
   3  Prefactor     74.386        1.0421       -.26785E-06    .89877E-03
   4  norm          8.7991        2.1417       -.19599E-07   -.34909E-04
   5  Prefactor     3.0400        3.1546        .13387E-06    .68421E-04
   6  norm          7.3201        1.1134       -.14403E-05    .34594E-04
   7  Prefactor     7.9907        1.1582       -.95819E-06    .55341E-04
   8  Prefactor     .10036E-03    34.924        .70130E-04** at limit **
   9  norm          1.3968        2.7513        .35502E-06   -.92115E-05
  10  Prefactor     .10009E-03    74.769       -.56594E-04** at limit **
  11  Prefactor     24.147        1.3899        .62428E-06   -.10692E-02
  12  Prefactor     15.916        1.0966       -.70027E-06   -.46183E-02
  13  norm          13.278        2.2083       -.43158E-05   -.56622E-04
  14  Prefactor     41.305        1.0109       -.18634E-06    .22319E-03
  15  norm          1.6317        4.9516       -.13697E-05   -.30216E-04
  16  Prefactor     .10014E-03    32.294       -.42125E-04** at limit **
  17  Prefactor     59.831        1.0010        .20029E-07    .63900E-04
  18  norm          13.006        4.4198        .10037E-04    .75302E-02
  19  Prefactor     2.5586        1.7331        .68844E-05    .81543E-03
  20  Prefactor     .10000E-03    2.6045       -.73586E-06** at limit **
  21  norm          .34468        .87685       -.24929E-06   -.38423E-03
  22  Prefactor     23.806        1.0025       -.10473E-06    .14024E-03
  23  Normalizat    .96830        .19459        .37566E-05   -.61820E-04
  24  Prefactor     .80909        .21391       -.18283E-05    .10749E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.2725
  Prefactor  = 0.0001
  Prefactor  = 74.3859
  norm       = 8.7991
  Prefactor  = 3.03996
  norm       = 7.32014
  Prefactor  = 7.9907
  Prefactor  = 0.000100358
  norm       = 1.39681
  Prefactor  = 0.000100085
  Prefactor  = 24.1465
  Prefactor  = 15.9157
  norm       = 13.2785
  Prefactor  = 41.3046
  norm       = 1.63171
  Prefactor  = 0.000100141
  Prefactor  = 59.8307
  norm       = 13.006
  Prefactor  = 2.55864
  Prefactor  = 0.0001
  norm       = 0.34468
  Prefactor  = 23.8059
  Normalizat = 0.968303
  Prefactor  = 0.809088
 **********
 **   18 **HESSE 
 **********

 FCN=   6680.667     FROM HESSE     STATUS=OK           463 CALLS     2805 TOTAL
                     EDM=   .68E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.272        33.794        .22809E-02   -1.4830    
   2  Prefactor     .10000E-03    7.3508        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     74.386        66.032        .11638E-02   -1.3981    
   4  norm          8.7991        2.1464        .33781E-02   -1.5115    
   5  Prefactor     3.0400        3.1724        .58179E-02   -1.5359    
   6  norm          7.3201        15.992        .37059E-02   -1.5167    
   7  Prefactor     7.9907        19.651        .35460E-02   -1.5143    
   8  Prefactor     .10036E-03    40.572        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.3968        2.8296        .91838E-02   -1.5472    
  10  Prefactor     .10009E-03    27.291        .90712E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     24.147        25.446        .20380E-02   -1.4725    
  12  Prefactor     15.916        4.8759        .25098E-02   -1.4910    
  13  norm          13.278        13.481        .27481E-02   -1.4979    
  14  Prefactor     41.305        26.726        .15593E-02   -1.4422    
  15  norm          1.6317        5.1077        .82769E-02   -1.5452    
  16  Prefactor     .10014E-03    35.266        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     59.831        40.646        .12968E-02   -1.4159    
  18  norm          13.006        9.7805        .27769E-02   -1.4987    
  19  Prefactor     2.5586        19.379        .63936E-02   -1.5388    
  20  Prefactor     .10000E-03    2.5963        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .34468        .95456        .28290E-01   -1.5591    
  22  Prefactor     23.806        62.161        .20524E-02   -1.4732    
  23  Normalizat    .96830        .17511        .45767E-01   -.94100    
  24  Prefactor     .80909        .18158        .64879E-01   -.99394    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.76915e-08
Minuit parameter uncertainties:
  1  33.828
  2  3.38395e-05
  3  66.0976
  4  2.14646
  5  3.17262
  6  16.0009
  7  19.6665
  8  0.00762835
  9  2.82984
  10  0.00305039
  11  25.4571
  12  4.87601
  13  13.4843
  14  26.7335
  15  5.10903
  16  0.00446049
  17  40.665
  18  9.78166
  19  14.0893
  20  8.53051e-06
  21  0.9546
  22  62.3303
  23  0.175215
  24  0.181714
Done.

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

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  1.397e+00  2.830e+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.091e-01  1.817e-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.683e-01  1.752e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/320707/likelihoodResults_535852801_536112001_4FGL_J1418.4+3543_daily_bin1144.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) = 6680.38973937
delta logL = 0.277468324038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6680.38134127
delta logL = 0.285866425377

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0530       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.1958       1.0000          .0000       5.0000    
     3 'Normalizat'    .93698       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83089       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.

 FCN=   6680.381     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      208 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0447        22.143        .12028E-01    .50681E-03
   2  alpha         3.2002        4.0929        .43373        .24952E-04
   3  Normalizat    .93693        .34229E-01    .45372E-01   -.18192E-03
   4  Prefactor     .83096        .37535E-01    .64082E-01   -.94680E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.04466
  alpha      = 3.2002
  Normalizat = 0.936928
  Prefactor  = 0.830957
 **********
 **   18 **HESSE 
 **********

 FCN=   6680.381     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .63E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0447        9.8788        .94783E-04   -1.5504    
   2  alpha         3.2002        4.1001        .19742E-01    .28388    
   3  Normalizat    .93693        .21497        .24222E-03   -.95174    
   4  Prefactor     .83096        .23312        .28345E-03   -.98597    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.26597e-11
Minuit parameter uncertainties:
  1  6.42602
  2  4.43913
  3  0.215171
  4  0.233401
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/320707': 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) = 6680.38133564
delta logL = 0.285872051379

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  1.045e+00  6.426e+00  1.000e-04  1.000e+04 ( 1.000e-12)
284        alpha:  3.200e+00  4.439e+00  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.310e-01  2.334e-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.369e-01  2.152e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.35
Ra Dec: 214.623 35.719

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/320707/cmap_HighResolution_535852801_536112001_4FGL_J1418.4+3543_daily_bin1144.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.22e-05', job_status='DONE', photon_flux_upper_limit='5.66e-08', time_completed='2021-09-09 08:30:31.792974', job_id='320707', GAL2='0.83', fit_tolerance='1e-08', EG2='0.94', EG='0.97', time_epoch_completed='1631201431.79', return_code2='0', ts='0.35', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='2.86e-01', ts2='0.93', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='1144' AND source_name='4FGL J1418.4+3543' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:30:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0238>
Subject: Job 320707: <4FGL_J1418.4+3543_daily_bin1144> in cluster <slac> Done

Job <4FGL_J1418.4+3543_daily_bin1144> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep  9 08:15:52 2021
Job was executed on host(s) <bullet0238>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 08:15:53 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:15:53 2021
Terminated at Thu Sep  9 08:30:32 2021
Results reported at Thu Sep  9 08:30:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4+3543_daily_bin1144 214.623 35.7192 535852801 536112001 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 :                                   669.43 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             275.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   879 sec.
    Turnaround time :                            880 sec.

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

