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


Performing analysis on: 4FGL_J1814.4+2953_daily_bin1215
RA = 273.615, Dec = 29.8943
tmin = 554256001, tmax = 554515201
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='740631', job_status='RUN', time_executed='2021-09-20 01:17:58.425876', time_epoch_executed='1632125878.43' WHERE source_name='4FGL J1814.4+2953' and cadence='daily' and bin_id='1215'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/740631

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/740631/ft1_4FGL_J1814.4+2953_daily_bin1215.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/740631/ft2_4FGL_J1814.4+2953_daily_bin1215.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/740631/ft1_4FGL_J1814.4+2953_daily_bin1215.fits outfile=/scratch/kocevski/740631/ft1_filteredMKT_4FGL_J1814.4+2953_daily_bin1215.fits ra=273.615 dec=29.8943 rad=12.0 tmin=554256001.0 tmax=554515201.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 4.01
user 3.78
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/740631/ft2_4FGL_J1814.4+2953_daily_bin1215.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/740631/ft2_4FGL_J1814.4+2953_daily_bin1215.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/740631/ft1_filteredMKT_4FGL_J1814.4+2953_daily_bin1215.fits evtable="EVENTS" outfile="/scratch/kocevski/740631/ft1_filtered_4FGL_J1814.4+2953_daily_bin1215.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.33
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/740631/ft1_filtered_4FGL_J1814.4+2953_daily_bin1215.fits" evtable="EVENTS" scfile=/scratch/kocevski/740631/ft2_4FGL_J1814.4+2953_daily_bin1215.fits sctable="SC_DATA" outfile=/scratch/kocevski/740631/ltcube_554256001_554515201_4FGL_J1814.4+2953_daily_bin1215.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/740631/ft2_4FGL_J1814.4+2953_daily_bin1215.fits
.....................!
real 11.75
user 11.40
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/740631/ft1_filtered_4FGL_J1814.4+2953_daily_bin1215.fits evtable="EVENTS" scfile=/scratch/kocevski/740631/ft2_4FGL_J1814.4+2953_daily_bin1215.fits sctable="SC_DATA" expcube=/scratch/kocevski/740631/ltcube_554256001_554515201_4FGL_J1814.4+2953_daily_bin1215.fits outfile=/scratch/kocevski/740631/expmap_554256001_554515201_4FGL_J1814.4+2953_daily_bin1215.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/740631/ltcube_554256001_554515201_4FGL_J1814.4+2953_daily_bin1215.fits
.....................!
real 189.55
user 184.93
sys 4.30

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

Setting source of interest to:
4FGL J1814.4+2953 @ 273.615 29.8943

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/740631/ft1_filtered_4FGL_J1814.4+2953_daily_bin1215.fits scfile=/scratch/kocevski/740631/ft2_4FGL_J1814.4+2953_daily_bin1215.fits outfile=/scratch/kocevski/740631/cmap_554256001_554515201_4FGL_J1814.4+2953_daily_bin1215.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=273.615 yref=29.8943 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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/740631/ft1_filtered_4FGL_J1814.4+2953_daily_bin1215.fits scfile=/scratch/kocevski/740631/ft2_4FGL_J1814.4+2953_daily_bin1215.fits outfile=/scratch/kocevski/740631/cmap_HighResolution_554256001_554515201_4FGL_J1814.4+2953_daily_bin1215.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=273.615 yref=29.8943 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.54
user 0.40
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/740631/ft1_filtered_4FGL_J1814.4+2953_daily_bin1215.fits evtable="EVENTS" scfile=/scratch/kocevski/740631/ft2_4FGL_J1814.4+2953_daily_bin1215.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/740631/Model_4FGL_J1814.4+2953_daily_bin1215.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/740631/ft1_filtered_4FGL_J1814.4+2953_daily_bin1215.fits.....................!
real 47.82
user 46.55
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/740631/ft1_filtered_4FGL_J1814.4+2953_daily_bin1215.fits', '/scratch/kocevski/740631/ft2_4FGL_J1814.4+2953_daily_bin1215.fits', expMap='/scratch/kocevski/740631/expmap_554256001_554515201_4FGL_J1814.4+2953_daily_bin1215.fits', expCube='/scratch/kocevski/740631/ltcube_554256001_554515201_4FGL_J1814.4+2953_daily_bin1215.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/740631/Model_4FGL_J1814.4+2953_daily_bin1215.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1814.4+2953'

4FGL J1814.4+2953
   Spectrum: PowerLaw
352    Prefactor:  2.583e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
353        Index:  2.553e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
354        Scale:  1.024e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/740631/ft1_filtered_4FGL_J1814.4+2953_daily_bin1215.fits
Spacecraft file(s): /scratch/kocevski/740631/ft2_4FGL_J1814.4+2953_daily_bin1215.fits
Exposure map: /scratch/kocevski/740631/expmap_554256001_554515201_4FGL_J1814.4+2953_daily_bin1215.fits
Exposure cube: /scratch/kocevski/740631/ltcube_554256001_554515201_4FGL_J1814.4+2953_daily_bin1215.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/740631/Model_4FGL_J1814.4+2953_daily_bin1215.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) = 4185.08253355

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .42138E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10490E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12716E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    39.471       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    66.663       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.6000       1.0000         .10000E-03   10000.    
    11 'norm      '    10.890       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    36.987       1.0000         .10000E-03   10000.    
    14 'norm      '    44.661       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    140.22       1.0000         .10000E-03   10000.    
    17 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    26.869       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .53630E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .66401       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .99760       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4184.973     FROM MIGRAD    STATUS=CONVERGED    461 CALLS     2362 TOTAL
                     EDM=   .16E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    157.15        .13655E-05** at limit **
   2  Prefactor     .10000E-03    76.784        .39564E-06** at limit **
   3  Prefactor     .10000E-03    18.715        .47377E-05** at limit **
   4  Prefactor     .10000E-03    27.165       -.92087E-07** at limit **
   5  Prefactor     .10000E-03    22.524        .94320E-07** at limit **
   6  Prefactor     .10000E-03    250.67        .20474E-06** at limit **
   7  Prefactor     39.478        20.189       -.30392E-06   -.14083E-04
   8  norm          .10000E-03    1.0269        .64645E-06** at limit **
   9  norm          67.182        151.75       -.33356E-05   -.18265E-05
  10  Prefactor     7.5961        21.140        .10445E-05   -.11253E-04
  11  norm          10.892        15.921       -.14667E-07   -.48549E-05
  12  Prefactor     .10000E-03    6.8993        .24899E-06** at limit **
  13  Prefactor     36.998        56.299       -.64450E-06   -.93738E-05
  14  norm          44.662        69.731       -.11922E-06   -.19490E-05
  15  Prefactor     .10000E-03    24.264        .37887E-06** at limit **
  16  norm          140.32        164.59        .11695E-06    .62399E-06
  17  norm          .10000E-03    5.9724        .11282E-06** at limit **
  18  norm          .10000E-03    4.7611        .72487E-07** at limit **
  19  Prefactor     26.872        25.766       -.17592E-06   -.74504E-05
  20  Prefactor     .10000E-03    507.57       -.39131E-06** at limit **
  21  Normalizat    .66371        .42336        .25918E-05   -.10753E-04
  22  Prefactor     .99761        .12418       -.36891E-06   -.89974E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 39.4775
  norm       = 0.0001
  norm       = 67.1822
  Prefactor  = 7.5961
  norm       = 10.8923
  Prefactor  = 0.0001
  Prefactor  = 36.9984
  norm       = 44.6623
  Prefactor  = 0.0001
  norm       = 140.325
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 26.8721
  Prefactor  = 0.0001
  Normalizat = 0.663712
  Prefactor  = 0.997609
 **********
 **   18 **HESSE 
 **********

 FCN=   4184.973     FROM HESSE     STATUS=OK           336 CALLS     2698 TOTAL
                     EDM=   .34E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    157.12        .21240E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    76.778        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    18.718        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    27.170        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    22.526        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    251.61        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     39.478        20.112        .63799E-04   -1.4451    
   8  norm          .10000E-03    1.0267        .64015E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          67.182        151.61        .24578E-03   -1.4067    
  10  Prefactor     7.5961        21.085        .14547E-03   -1.5157    
  11  norm          10.892        15.906        .12141E-03   -1.5048    
  12  Prefactor     .10000E-03    6.9103        .16577E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     36.998        56.113        .65899E-04   -1.4491    
  14  norm          44.662        69.758        .59993E-04   -1.4370    
  15  Prefactor     .10000E-03    24.487        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          140.32        164.55        .17010E-03   -1.3333    
  17  norm          .10000E-03    5.9886        .15438E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    4.8010        .13780E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     26.872        25.829        .77284E-04   -1.4671    
  20  Prefactor     .10000E-03    508.14        .21122E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .66371        .43462        .58103E-03   -1.0534    
  22  Prefactor     .99761        .13017        .14675E-03   -.92809    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.42645e-12
Minuit parameter uncertainties:
  1  4.34424e-06
  2  1.42109e-05
  3  7.55315e-06
  4  3.41993e-06
  5  5.88174e-06
  6  7.72735e-06
  7  20.1156
  8  3.09278e-07
  9  152.497
  10  21.1054
  11  15.9121
  12  2.58203e-06
  13  56.1935
  14  69.8861
  15  8.39208e-06
  16  165.09
  17  1.77027e-06
  18  2.46429e-06
  19  25.8394
  20  0.00015863
  21  0.436891
  22  0.130207
Done.

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

Extracting fit parameters...

4FGL J1814.4+2953
   Spectrum: PowerLaw
352    Prefactor:  3.700e+01  5.619e+01  1.000e-04  1.000e+04 ( 1.000e-13)
353        Index:  2.553e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
354        Scale:  1.024e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
766    Prefactor:  9.976e-01  1.302e-01  0.000e+00  1.000e+01 ( 1.000e+00)
767        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
768        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
765   Normalization:  6.637e-01  4.369e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.56
Ra Dec: 273.615 29.894
Photon Flux Upper Limit: 3.82e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.98e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/740631/likelihoodResults_554256001_554515201_4FGL_J1814.4+2953_daily_bin1215.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) = 4184.97255569
delta logL = 0.000461741207801

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4184.97208831
delta logL = 0.000929118565182

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    39.037       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4958       1.0000          .0000       10.000    
     3 'Normalizat'    .66754       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99716       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7690E+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=   4184.972     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      263 TOTAL
                     EDM=   .36E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     39.171        77.027        .64151E-04    .10810E-04
   2  Index         2.4906        1.4487        .47100E-02    .34323E-05
   3  Normalizat    .66749        .42996        .57960E-03    .20007E-04
   4  Prefactor     .99685        .12970        .14679E-03    .71019E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 39.1713
  Index      = 2.49055
  Normalizat = 0.667492
  Prefactor  = 0.996852
 **********
 **   18 **HESSE 
 **********

 FCN=   4184.972     FROM HESSE     STATUS=OK            25 CALLS      288 TOTAL
                     EDM=   .38E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     39.171        73.863        .25661E-05   -1.4455    
   2  Index         2.4906        1.3898        .18840E-03   -.52578    
   3  Normalizat    .66749        .42944        .23184E-04   -1.0519    
   4  Prefactor     .99685        .12959        .58717E-05   -.92835    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.80899e-12
Minuit parameter uncertainties:
  1  74.0362
  2  1.41486
  3  0.43162
  4  0.129632
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/740631': 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) = 4184.9720674
delta logL = 0.000950028227635

Extracting fit parameters...

4FGL J1814.4+2953
   Spectrum: PowerLaw
352    Prefactor:  3.917e+01  7.404e+01  1.000e-04  1.000e+04 ( 1.000e-13)
353        Index:  2.491e+00  1.415e+00  0.000e+00  1.000e+01 (-1.000e+00)
354        Scale:  1.024e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
766    Prefactor:  9.969e-01  1.296e-01  0.000e+00  1.000e+01 ( 1.000e+00)
767        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
768        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
765   Normalization:  6.675e-01  4.316e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.56
Ra Dec: 273.615 29.894

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/740631/cmap_HighResolution_554256001_554515201_4FGL_J1814.4+2953_daily_bin1215.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.98e-02', job_status='DONE', photon_flux_upper_limit='3.82e-07', time_completed='2021-09-20 01:27:53.378245', job_id='740631', GAL2='1.00', fit_tolerance='1e-08', EG2='0.67', EG='0.66', time_epoch_completed='1632126473.38', return_code2='0', ts='0.56', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='9.50e-04', ts2='0.56', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1215' AND source_name='4FGL J1814.4+2953' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 20 01:27:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 740631: <4FGL_J1814.4+2953_daily_bin1215> in cluster <slac> Done

Job <4FGL_J1814.4+2953_daily_bin1215> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Mon Sep 20 01:15:27 2021
Job was executed on host(s) <bullet0234>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 20 01:15:28 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Sep 20 01:15:28 2021
Terminated at Mon Sep 20 01:27:54 2021
Results reported at Mon Sep 20 01:27:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1814.4+2953_daily_bin1215 273.615 29.8943 554256001 554515201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1814.4+2953 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   591.15 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             276.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   745 sec.
    Turnaround time :                            747 sec.

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

