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


Performing analysis on: 4FGL_J1813.5+3144_daily_bin1667
RA = 273.387, Dec = 31.7497
tmin = 671414401, tmax = 671673601
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='478530', job_status='RUN', time_executed='2022-04-15 03:33:56.104192', time_epoch_executed='1650018836.1' WHERE source_name='4FGL J1813.5+3144' and cadence='daily' and bin_id='1667'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/478530

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/478530/ft1_4FGL_J1813.5+3144_daily_bin1667.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/478530/ft2_4FGL_J1813.5+3144_daily_bin1667.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/478530/ft1_4FGL_J1813.5+3144_daily_bin1667.fits outfile=/scratch/kocevski/478530/ft1_filteredMKT_4FGL_J1813.5+3144_daily_bin1667.fits ra=273.387 dec=31.7497 rad=12.0 tmin=671414401.0 tmax=671673601.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.53
user 3.26
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/478530/ft2_4FGL_J1813.5+3144_daily_bin1667.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/478530/ft2_4FGL_J1813.5+3144_daily_bin1667.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/478530/ft1_filteredMKT_4FGL_J1813.5+3144_daily_bin1667.fits evtable="EVENTS" outfile="/scratch/kocevski/478530/ft1_filtered_4FGL_J1813.5+3144_daily_bin1667.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.35
sys 0.15

Number of photons that the gtmktime cut: 1033

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/478530/ft1_filtered_4FGL_J1813.5+3144_daily_bin1667.fits" evtable="EVENTS" scfile=/scratch/kocevski/478530/ft2_4FGL_J1813.5+3144_daily_bin1667.fits sctable="SC_DATA" outfile=/scratch/kocevski/478530/ltcube_671414401_671673601_4FGL_J1813.5+3144_daily_bin1667.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/478530/ft2_4FGL_J1813.5+3144_daily_bin1667.fits
.....................!
real 13.61
user 13.20
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/478530/ft1_filtered_4FGL_J1813.5+3144_daily_bin1667.fits evtable="EVENTS" scfile=/scratch/kocevski/478530/ft2_4FGL_J1813.5+3144_daily_bin1667.fits sctable="SC_DATA" expcube=/scratch/kocevski/478530/ltcube_671414401_671673601_4FGL_J1813.5+3144_daily_bin1667.fits outfile=/scratch/kocevski/478530/expmap_671414401_671673601_4FGL_J1813.5+3144_daily_bin1667.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/478530/ltcube_671414401_671673601_4FGL_J1813.5+3144_daily_bin1667.fits
.....................!
real 194.28
user 188.20
sys 5.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 212 point sources and 0 extended sources

Setting source of interest to:
4FGL J1813.5+3144 @ 273.387 31.7497

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/478530/ft1_filtered_4FGL_J1813.5+3144_daily_bin1667.fits scfile=/scratch/kocevski/478530/ft2_4FGL_J1813.5+3144_daily_bin1667.fits outfile=/scratch/kocevski/478530/cmap_671414401_671673601_4FGL_J1813.5+3144_daily_bin1667.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.387 yref=31.7497 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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/478530/ft1_filtered_4FGL_J1813.5+3144_daily_bin1667.fits scfile=/scratch/kocevski/478530/ft2_4FGL_J1813.5+3144_daily_bin1667.fits outfile=/scratch/kocevski/478530/cmap_HighResolution_671414401_671673601_4FGL_J1813.5+3144_daily_bin1667.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.387 yref=31.7497 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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/478530/ft1_filtered_4FGL_J1813.5+3144_daily_bin1667.fits evtable="EVENTS" scfile=/scratch/kocevski/478530/ft2_4FGL_J1813.5+3144_daily_bin1667.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/478530/Model_4FGL_J1813.5+3144_daily_bin1667.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/478530/ft1_filtered_4FGL_J1813.5+3144_daily_bin1667.fits.....................!
real 96.18
user 94.76
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/478530/ft1_filtered_4FGL_J1813.5+3144_daily_bin1667.fits', '/scratch/kocevski/478530/ft2_4FGL_J1813.5+3144_daily_bin1667.fits', expMap='/scratch/kocevski/478530/expmap_671414401_671673601_4FGL_J1813.5+3144_daily_bin1667.fits', expCube='/scratch/kocevski/478530/ltcube_671414401_671673601_4FGL_J1813.5+3144_daily_bin1667.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/478530/Model_4FGL_J1813.5+3144_daily_bin1667.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1813.5+3144'

4FGL J1813.5+3144
   Spectrum: PowerLaw
345    Prefactor:  1.997e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
346        Index:  2.169e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
347        Scale:  2.267e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/478530/ft1_filtered_4FGL_J1813.5+3144_daily_bin1667.fits
Spacecraft file(s): /scratch/kocevski/478530/ft2_4FGL_J1813.5+3144_daily_bin1667.fits
Exposure map: /scratch/kocevski/478530/expmap_671414401_671673601_4FGL_J1813.5+3144_daily_bin1667.fits
Exposure cube: /scratch/kocevski/478530/ltcube_671414401_671673601_4FGL_J1813.5+3144_daily_bin1667.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/478530/Model_4FGL_J1813.5+3144_daily_bin1667.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) = 11029.2967709

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    5.4276       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10440E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    31.104       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    29.861       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.8703       1.0000         .10000E-03   10000.    
    10 'norm      '    .71926       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.9773       1.0000         .10000E-03   10000.    
    13 'norm      '    10.805       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .88632E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.7596       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .16443       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    6.3188       1.0000         .10000E-03   10000.    
    20 'norm      '    1.8657       1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.2652       1.0000         .10000E-03   10000.    
    22 'Prefactor '    109.19       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .91384       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .97375       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11029.29     FROM MIGRAD    STATUS=CONVERGED    609 CALLS     2982 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    27.644       -.20377E-06** at limit **
   2  norm          5.4266        4.5086        .19872E-05   -.13370E-02
   3  Prefactor     .10000E-03    47.130       -.33869E-06** at limit **
   4  Prefactor     .10000E-03    67.090       -.27099E-06** at limit **
   5  Prefactor     .10000E-03    3.9551       -.19099E-08** at limit **
   6  Prefactor     31.103        40.848       -.15099E-06   -.16516E-04
   7  Prefactor     .10000E-03    20.242        .36908E-06** at limit **
   8  Prefactor     29.865        45.086        .77118E-08   -.78000E-05
   9  Prefactor     8.8706        7.0777        .40925E-06    .23123E-03
  10  norm          .71935        1.4098        .56187E-06    .36202E-03
  11  norm          .10000E-03    17.632        .47555E-07** at limit **
  12  Prefactor     4.9782        5.4011        .11693E-06   -.12094E-03
  13  norm          10.806        8.0682        .25909E-06    .10850E-03
  14  Prefactor     .10099E-03    2.1779        .12537E-06** at limit **
  15  Prefactor     9.7665        16.518       -.57723E-06   -.12127E-03
  16  norm          .10000E-03    8.6202       -.11542E-07** at limit **
  17  Prefactor     .16711        2.8955       -.72215E-07    .83721E-04
  18  norm          .10000E-03    20.376       -.38019E-06** at limit **
  19  norm          6.3151        4.6240       -.15955E-06   -.45910E-04
  20  norm          1.8692        2.9822        .69052E-06    .30236E-04
  21  Prefactor     2.2652        13.749        .95385E-06   -.45899E-04
  22  Prefactor     109.13        64.782       -.56147E-05   -.52800E-03
  23  Prefactor     .10000E-03    8.1872       -.18703E-07** at limit **
  24  Normalizat    .91390        .19642       -.75802E-06   -.57043E-04
  25  Prefactor     .97371        .74881E-01    .70854E-07   -.15621E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 5.42656
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 31.1028
  Prefactor  = 0.0001
  Prefactor  = 29.8652
  Prefactor  = 8.87056
  norm       = 0.719354
  norm       = 0.0001
  Prefactor  = 4.9782
  norm       = 10.8059
  Prefactor  = 0.000100989
  Prefactor  = 9.76652
  norm       = 0.0001
  Prefactor  = 0.167107
  norm       = 0.0001
  norm       = 6.31509
  norm       = 1.8692
  Prefactor  = 2.2652
  Prefactor  = 109.132
  Prefactor  = 0.0001
  Normalizat = 0.913902
  Prefactor  = 0.973714
 **********
 **   18 **HESSE 
 **********

 FCN=   11029.29     FROM HESSE     STATUS=OK           439 CALLS     3421 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    27.754        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.4266        4.7463        .86241E-03   -1.5242    
   3  Prefactor     .10000E-03    47.216        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    67.225        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.9611        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     31.103        40.856        .71843E-04   -1.4592    
   7  Prefactor     .10000E-03    20.276        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     29.865        45.071        .73319E-04   -1.4614    
   9  Prefactor     8.8706        7.0842        .13458E-03   -1.5112    
  10  norm          .71935        1.2190        .17335E-02   -1.5538    
  11  norm          .10000E-03    17.637        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.9782        5.4017        .18026E-03   -1.5262    
  13  norm          10.806        8.0700        .12188E-03   -1.5050    
  14  Prefactor     .10099E-03    2.2032        .51006E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     9.7665        16.545        .12827E-03   -1.5083    
  16  norm          .10000E-03    8.6238        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .16711        43.751        .33638E-02   -1.5626    
  18  norm          .10000E-03    20.406        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          6.3151        4.5640        .13102E-03   -1.5205    
  20  norm          1.8692        2.9220        .14746E-03   -1.5435    
  21  Prefactor     2.2652        13.829        .27290E-03   -1.5407    
  22  Prefactor     109.13        69.791        .19246E-03   -1.3615    
  23  Prefactor     .10000E-03    8.2047        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .91390        .21754        .40931E-03   -.95973    
  25  Prefactor     .97371        .83905E-01    .15345E-03   -.93611    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.60671e-09
Minuit parameter uncertainties:
  1  5.21772e-05
  2  4.74664
  3  0.000110756
  4  0.00011624
  5  2.04252e-06
  6  40.8931
  7  5.66391e-05
  8  45.1227
  9  7.08483
  10  1.21908
  11  4.89912e-06
  12  5.40223
  13  8.07077
  14  0.00295261
  15  16.5528
  16  1.51245e-06
  17  5.41022
  18  6.86174e-05
  19  4.56421
  20  2.92227
  21  11.1976
  22  69.8434
  23  5.30558e-06
  24  0.217751
  25  0.0839167
Done.

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

Extracting fit parameters...

4FGL J1813.5+3144
   Spectrum: PowerLaw
345    Prefactor:  1.010e-04  2.953e-03  1.000e-04  1.000e+04 ( 1.000e-13)
346        Index:  2.169e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
347        Scale:  2.267e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
717    Prefactor:  9.737e-01  8.392e-02  0.000e+00  1.000e+01 ( 1.000e+00)
718        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
719        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
716   Normalization:  9.139e-01  2.178e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 273.387 31.750
Photon Flux Upper Limit: 6.33e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.81e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/478530/likelihoodResults_671414401_671673601_4FGL_J1813.5+3144_daily_bin1667.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): 102
logL (Free Index) = 11029.2899128
delta logL = -1.58896928042e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11029.2899128
delta logL = -1.58820403158e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96367E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1686       1.0000          .0000       10.000    
     3 'Normalizat'    .91390       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97370       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11029.29     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      268 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .26716E-01    .87593        .58232E-01    .50694E-03
   2  Index         2.0422        1.2952        .50000        .15718E-04
   3  Normalizat    .91386        .31487E-02    .92408E-01    .47687E-03
   4  Prefactor     .97369        .12211E-02    .34727E-01    .10409E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0267156
  Index      = 2.0422
  Normalizat = 0.913862
  Prefactor  = 0.97369
 **********
 **   18 **HESSE 
 **********

 FCN=   11029.29     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      307 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .26716E-01    51.535        .55799E-01   -1.5675    
   2  Index         2.0422        8.1120        .54476E-01   -.63299    
   3  Normalizat    .91386        .24237E-01    .40931E-03   -.95975    
   4  Prefactor     .97369        .94176E-02    .15345E-03   -.93612    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.59185e-10
Minuit parameter uncertainties:
  1  2.34437
  2  38.312
  3  0.0242377
  4  0.00941761
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/478530': 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) = 11029.2898538
delta logL = 4.30472173321e-05

Extracting fit parameters...

4FGL J1813.5+3144
   Spectrum: PowerLaw
345    Prefactor:  2.672e-02  2.344e+00  1.000e-04  1.000e+04 ( 1.000e-13)
346        Index:  2.042e+00  3.831e+01  0.000e+00  1.000e+01 (-1.000e+00)
347        Scale:  2.267e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
717    Prefactor:  9.737e-01  9.418e-03  0.000e+00  1.000e+01 ( 1.000e+00)
718        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
719        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
716   Normalization:  9.139e-01  2.424e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 273.387 31.750

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/478530/cmap_HighResolution_671414401_671673601_4FGL_J1813.5+3144_daily_bin1667.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.81e-03', job_status='DONE', photon_flux_upper_limit='6.33e-08', time_completed='2022-04-15 03:54:10.088497', job_id='478530', GAL2='0.97', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1650020050.09', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='4.30e-05', ts2='0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='1667' AND source_name='4FGL J1813.5+3144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Apr 15 03:54:10 PDT 2022



------------------------------------------------------------
Sender: LSF System <scs@bullet0179>
Subject: Job 478531: <4FGL_J1813.5+3144_daily_bin1667> in cluster <slac> Done

Job <4FGL_J1813.5+3144_daily_bin1667> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Apr 15 00:07:56 2022
Job was executed on host(s) <bullet0179>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Apr 15 03:32:13 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Apr 15 03:32:13 2022
Terminated at Fri Apr 15 03:53:29 2022
Results reported at Fri Apr 15 03:53:29 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1813.5+3144_daily_bin1667 273.387 31.7497 671414401 671673601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1813.5+3144 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1196.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             340.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1275 sec.
    Turnaround time :                            13533 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0226>
Subject: Job 478530: <4FGL_J1813.5+3144_daily_bin1667> in cluster <slac> Done

Job <4FGL_J1813.5+3144_daily_bin1667> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Apr 15 00:07:56 2022
Job was executed on host(s) <bullet0226>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Apr 15 03:32:13 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Apr 15 03:32:13 2022
Terminated at Fri Apr 15 03:54:14 2022
Results reported at Fri Apr 15 03:54:14 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1813.5+3144_daily_bin1667 273.387 31.7497 671414401 671673601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1813.5+3144 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1215.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             331.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1317 sec.
    Turnaround time :                            13578 sec.

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

