aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


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


Performing analysis on: 4FGL_J1814.4+2953_daily_bin1692
RA = 273.615, Dec = 29.8943
tmin = 677894401, tmax = 678153601
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='406311', job_status='RUN', time_executed='2022-06-29 04:53:13.659817', time_epoch_executed='1656503593.66' WHERE source_name='4FGL J1814.4+2953' and cadence='daily' and bin_id='1692'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/406311

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/406311/ft1_4FGL_J1814.4+2953_daily_bin1692.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/406311/ft2_4FGL_J1814.4+2953_daily_bin1692.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/406311/ft1_4FGL_J1814.4+2953_daily_bin1692.fits outfile=/scratch/kocevski/406311/ft1_filteredMKT_4FGL_J1814.4+2953_daily_bin1692.fits ra=273.615 dec=29.8943 rad=12.0 tmin=677894401.0 tmax=678153601.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.48
user 4.23
sys 0.23

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

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

Number of photons that the gtmktime cut: 1117

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/406311/ft1_filtered_4FGL_J1814.4+2953_daily_bin1692.fits" evtable="EVENTS" scfile=/scratch/kocevski/406311/ft2_4FGL_J1814.4+2953_daily_bin1692.fits sctable="SC_DATA" outfile=/scratch/kocevski/406311/ltcube_677894401_678153601_4FGL_J1814.4+2953_daily_bin1692.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/406311/ft2_4FGL_J1814.4+2953_daily_bin1692.fits
.....................!
real 14.77
user 14.32
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/406311/ft1_filtered_4FGL_J1814.4+2953_daily_bin1692.fits evtable="EVENTS" scfile=/scratch/kocevski/406311/ft2_4FGL_J1814.4+2953_daily_bin1692.fits sctable="SC_DATA" expcube=/scratch/kocevski/406311/ltcube_677894401_678153601_4FGL_J1814.4+2953_daily_bin1692.fits outfile=/scratch/kocevski/406311/expmap_677894401_678153601_4FGL_J1814.4+2953_daily_bin1692.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/406311/ltcube_677894401_678153601_4FGL_J1814.4+2953_daily_bin1692.fits
.....................!
real 193.17
user 186.73
sys 5.10

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/406311/ft1_filtered_4FGL_J1814.4+2953_daily_bin1692.fits scfile=/scratch/kocevski/406311/ft2_4FGL_J1814.4+2953_daily_bin1692.fits outfile=/scratch/kocevski/406311/cmap_677894401_678153601_4FGL_J1814.4+2953_daily_bin1692.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 1.36
user 0.38
sys 0.09

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/406311/ft1_filtered_4FGL_J1814.4+2953_daily_bin1692.fits scfile=/scratch/kocevski/406311/ft2_4FGL_J1814.4+2953_daily_bin1692.fits outfile=/scratch/kocevski/406311/cmap_HighResolution_677894401_678153601_4FGL_J1814.4+2953_daily_bin1692.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.73
user 0.39
sys 0.18

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/406311/ft1_filtered_4FGL_J1814.4+2953_daily_bin1692.fits', '/scratch/kocevski/406311/ft2_4FGL_J1814.4+2953_daily_bin1692.fits', expMap='/scratch/kocevski/406311/expmap_677894401_678153601_4FGL_J1814.4+2953_daily_bin1692.fits', expCube='/scratch/kocevski/406311/ltcube_677894401_678153601_4FGL_J1814.4+2953_daily_bin1692.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/406311/Model_4FGL_J1814.4+2953_daily_bin1692.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/406311/ft1_filtered_4FGL_J1814.4+2953_daily_bin1692.fits
Spacecraft file(s): /scratch/kocevski/406311/ft2_4FGL_J1814.4+2953_daily_bin1692.fits
Exposure map: /scratch/kocevski/406311/expmap_677894401_678153601_4FGL_J1814.4+2953_daily_bin1692.fits
Exposure cube: /scratch/kocevski/406311/ltcube_677894401_678153601_4FGL_J1814.4+2953_daily_bin1692.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/406311/Model_4FGL_J1814.4+2953_daily_bin1692.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) = 11767.0849153

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.039       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    142.76       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10155E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10301E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .59266       1.0000         .10000E-03   10000.    
     9 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.2407       1.0000         .10000E-03   10000.    
    11 'norm      '    7.2886       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.6309       1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.893       1.0000         .10000E-03   10000.    
    14 'norm      '    15.327       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.5957       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10036E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.7355       1.0000         .10000E-03   10000.    
    20 'Prefactor '    90.955       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .53081       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1022       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=   11767.08     FROM MIGRAD    STATUS=CONVERGED    463 CALLS     2353 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.041        28.878        .10981E-06    .57033E-05
   2  Prefactor     .10000E-03    28.487        .92503E-06** at limit **
   3  Prefactor     .10000E-03    3.3202       -.24708E-07** at limit **
   4  Prefactor     142.65        65.552       -.88978E-06   -.17338E-05
   5  Prefactor     .10000E-03    15.198       -.19300E-05** at limit **
   6  Prefactor     .10000E-03    33.675       -.29629E-05** at limit **
   7  Prefactor     .10009E-03    5.7098       -.13931E-05** at limit **
   8  norm          .59223        1.2297        .23112E-06    .47767E-03
   9  norm          .10000E-03    13.660        .37632E-06** at limit **
  10  Prefactor     3.2409        5.7519        .40525E-06   -.32750E-04
  11  norm          7.2890        6.3930        .20123E-07    .39103E-05
  12  Prefactor     6.6319        5.3444       -.87247E-07   -.55271E-04
  13  Prefactor     14.886        21.504       -.32079E-06   -.11884E-04
  14  norm          15.327        16.813       -.73113E-07   -.62470E-05
  15  Prefactor     1.5972        6.5177        .20621E-05   -.41484E-04
  16  norm          .10000E-03    18.093       -.45925E-06** at limit **
  17  norm          .10000E-03    .76952        .55009E-07** at limit **
  18  norm          .10000E-03    .60403        .82930E-07** at limit **
  19  Prefactor     7.7372        11.355        .32311E-05   -.37611E-04
  20  Prefactor     90.955        54.602       -.36390E-06   -.12547E-04
  21  Normalizat    .53075        .22238        .12064E-05    .66689E-04
  22  Prefactor     1.1022        .75917E-01    .22426E-06    .36055E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.041
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 142.649
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100094
  norm       = 0.592228
  norm       = 0.0001
  Prefactor  = 3.24087
  norm       = 7.28898
  Prefactor  = 6.63186
  Prefactor  = 14.8861
  norm       = 15.3269
  Prefactor  = 1.59716
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 7.73717
  Prefactor  = 90.955
  Normalizat = 0.530752
  Prefactor  = 1.10222  **********
 **   18 **HESSE 
 **********

 FCN=   11767.08     FROM HESSE     STATUS=OK           342 CALLS     2695 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.041        28.874        .77042E-04   -1.4667    
   2  Prefactor     .10000E-03    28.505        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.3260        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     142.65        66.229        .16860E-03   -1.3314    
   5  Prefactor     .10000E-03    15.247        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    33.744        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10009E-03    29.131        .47271E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .59223        .98354        .16934E-02   -1.5554    
   9  norm          .10000E-03    13.664        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.2409        5.6990        .22500E-03   -1.5348    
  11  norm          7.2890        6.3923        .14857E-03   -1.5168    
  12  Prefactor     6.6319        5.3124        .15583E-03   -1.5193    
  13  Prefactor     14.886        21.364        .10379E-03   -1.4936    
  14  norm          15.327        16.811        .10231E-03   -1.4925    
  15  Prefactor     1.5972        6.3707        .33576E-03   -1.5455    
  16  norm          .10000E-03    18.107        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .77532        .92823E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .62483        .16405E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     7.7372        11.369        .72089E-03   -1.5152    
  20  Prefactor     90.955        54.437        .42134E-04   -1.3798    
  21  Normalizat    .53075        .22343        .54159E-03   -1.1101    
  22  Prefactor     1.1022        .79568E-01    .14192E-03   -.89396    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.2953e-09
Minuit parameter uncertainties:
  1  28.8886
  2  2.63764e-05
  3  4.18165e-06
  4  66.2636
  5  8.93604e-06
  6  4.8775e-05
  7  0.00331655
  8  0.983567
  9  2.8931e-06
  10  5.69996
  11  6.39294
  12  5.31277
  13  21.3745
  14  16.8166
  15  6.37337
  16  2.37072e-05
  17  4.20912e-06
  18  5.75199e-06
  19  11.3726
  20  54.4667
  21  0.223805
  22  0.0795762DDone.

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

Extracting fit parameters...

4FGL J1814.4+2953
   Spectrum: PowerLaw
352    Prefactor:  1.489e+01  2.137e+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:  1.102e+00  7.958e-02  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:  5.308e-01  2.238e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/406311/likelihoodResults_677894401_678153601_4FGL_J1814.4+2953_daily_bin1692.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) = 11765.4251137
delta logL = 1.65557159674

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11765.3208769
delta logL = 1.75980834508

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26108       1.0000         .10000E-03   10000.    
     2 'Index     '    5.2414       1.0000          .0000       10.000    
     3 'Normalizat'    .43839       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1211       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.

 FCN=   11765.32     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      299 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .26086        1.5302        .67357E-02    .26713E-02
   2  Index         5.2421        1.7463        .12262        .28226E-03
   3  Normalizat    .43837        .47503E-01    .13354        .96931E-04
   4  Prefactor     1.1211        .17555E-01    .36834E-01   -.30380E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.260861
  Index      = 5.24206
  Normalizat = 0.438368
  Prefactor  = 1.12115
 **********
 **   18 **HESSE 
 **********

 FCN=   11765.32     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      334 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .26086        4.0017        .30754E-03   -1.5606    
   2  Index         5.2421        3.3375        .44395E-02    .48432E-01
   3  Normalizat    .43837        .16937        .59193E-03   -1.1536    
   4  Prefactor     1.1211        .61765E-01    .14074E-03   -.88793    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.59747e-07
Minuit parameter uncertainties:
  1  2.04318
  2  3.65526
  3  0.169572
  4  0.0617685
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/406311': 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): 102
logL (Free Index) = 11765.3208761
delta logL = 1.75980919541

Extracting fit parameters...

4FGL J1814.4+2953
   Spectrum: PowerLaw
352    Prefactor:  2.609e-01  2.043e+00  1.000e-04  1.000e+04 ( 1.000e-13)
353        Index:  5.242e+00  3.655e+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:  1.121e+00  6.177e-02  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:  4.384e-01  1.696e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.49
Ra Dec: 273.615 29.894
Photon Index (Free Index): 5.24 +/- 3.66
Photon Flux (Free Index): 1.22e-07 +/- 6.93e-08
Energy Flux (Free Index): 1.60e-05 +/- 1.11e-05

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/406311/cmap_HighResolution_677894401_678153601_4FGL_J1814.4+2953_daily_bin1692.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.08e-02', comment='SUCCESS', energy_flux2='1.60e-05', dlogl='1.76e+00', photon_flux2='1.22e-07', job_status='DONE', time_completed='2022-06-29 05:12:44.547230', photon_index_error2='3.66', photon_index2='5.24', ts='0.67', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', photon_flux_upper_limit='1.39e-07', energy_flux_error2='1.11e-05', EG='0.53', time_epoch_completed='1656504764.55', return_code='0', job_id='406311', GAL2='1.12', EG2='0.44', return_code2='102', photon_flux_error2='6.93e-08', ts2='4.49', photon_index='2.55' WHERE bin_id='1692' AND source_name='4FGL J1814.4+2953' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jun 29 05:12:44 PDT 2022

------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 406320: <4FGL_J1814.4+2953_daily_bin1692> in cluster <slac> Done

Job <4FGL_J1814.4+2953_daily_bin1692> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Jun 29 00:07:37 2022
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jun 29 04:52:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jun 29 04:52:23 2022
Terminated at Wed Jun 29 05:12:07 2022
Results reported at Wed Jun 29 05:12:07 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1814.4+2953_daily_bin1692 273.615 29.8943 677894401 678153601 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 :                                   1155.33 sec.
    Max Memory :                                 619 MB
    Average Memory :                             321.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1183 sec.
    Turnaround time :                            18270 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0182>
Subject: Job 406311: <4FGL_J1814.4+2953_daily_bin1692> in cluster <slac> Done

Job <4FGL_J1814.4+2953_daily_bin1692> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Jun 29 00:07:37 2022
Job was executed on host(s) <bullet0182>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jun 29 04:52:14 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jun 29 04:52:14 2022
Terminated at Wed Jun 29 05:12:45 2022
Results reported at Wed Jun 29 05:12:45 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1814.4+2953_daily_bin1692 273.615 29.8943 677894401 678153601 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 :                                   1168.12 sec.
    Max Memory :                                 1259 MB
    Average Memory :                             322.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1230 sec.
    Turnaround time :                            18308 sec.

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

