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 21 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J1813.5+3144_daily_bin1753
RA = 273.387, Dec = 31.7497
tmin = 693705601, tmax = 693964801
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='461721', job_status='RUN', time_executed='2022-12-29 01:22:01.763406', time_epoch_executed='1672305721.76' WHERE source_name='4FGL J1813.5+3144' and cadence='daily' and bin_id='1753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/461721

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/461721/ft1_4FGL_J1813.5+3144_daily_bin1753.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/461721/ft2_4FGL_J1813.5+3144_daily_bin1753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/461721/ft1_4FGL_J1813.5+3144_daily_bin1753.fits outfile=/scratch/kocevski/461721/ft1_filteredMKT_4FGL_J1813.5+3144_daily_bin1753.fits ra=273.387 dec=31.7497 rad=12.0 tmin=693705601.0 tmax=693964801.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.69
user 4.44
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/461721/ft2_4FGL_J1813.5+3144_daily_bin1753.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/461721/ft1_filteredMKT_4FGL_J1813.5+3144_daily_bin1753.fits evtable="EVENTS" outfile="/scratch/kocevski/461721/ft1_filtered_4FGL_J1813.5+3144_daily_bin1753.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.55
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 1008

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/461721/ft1_filtered_4FGL_J1813.5+3144_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/461721/ft2_4FGL_J1813.5+3144_daily_bin1753.fits sctable="SC_DATA" expcube=/scratch/kocevski/461721/ltcube_693705601_693964801_4FGL_J1813.5+3144_daily_bin1753.fits outfile=/scratch/kocevski/461721/expmap_693705601_693964801_4FGL_J1813.5+3144_daily_bin1753.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/461721/ltcube_693705601_693964801_4FGL_J1813.5+3144_daily_bin1753.fits
.....................!
real 191.89
user 186.19
sys 5.33

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/461721/ft1_filtered_4FGL_J1813.5+3144_daily_bin1753.fits scfile=/scratch/kocevski/461721/ft2_4FGL_J1813.5+3144_daily_bin1753.fits outfile=/scratch/kocevski/461721/cmap_693705601_693964801_4FGL_J1813.5+3144_daily_bin1753.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/461721/ft1_filtered_4FGL_J1813.5+3144_daily_bin1753.fits scfile=/scratch/kocevski/461721/ft2_4FGL_J1813.5+3144_daily_bin1753.fits outfile=/scratch/kocevski/461721/cmap_HighResolution_693705601_693964801_4FGL_J1813.5+3144_daily_bin1753.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.55
user 0.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/461721/ft1_filtered_4FGL_J1813.5+3144_daily_bin1753.fits', '/scratch/kocevski/461721/ft2_4FGL_J1813.5+3144_daily_bin1753.fits', expMap='/scratch/kocevski/461721/expmap_693705601_693964801_4FGL_J1813.5+3144_daily_bin1753.fits', expCube='/scratch/kocevski/461721/ltcube_693705601_693964801_4FGL_J1813.5+3144_daily_bin1753.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/461721/Model_4FGL_J1813.5+3144_daily_bin1753.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  0.000e+00  1.000e+06 ( 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/461721/ft1_filtered_4FGL_J1813.5+3144_daily_bin1753.fits
Spacecraft file(s): /scratch/kocevski/461721/ft2_4FGL_J1813.5+3144_daily_bin1753.fits
Exposure map: /scratch/kocevski/461721/expmap_693705601_693964801_4FGL_J1813.5+3144_daily_bin1753.fits
Exposure cube: /scratch/kocevski/461721/ltcube_693705601_693964801_4FGL_J1813.5+3144_daily_bin1753.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/461721/Model_4FGL_J1813.5+3144_daily_bin1753.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) = 10470.9432095

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.924       1.0000          .0000       .10000E+07
     2 'Prefactor '    .66679E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    107.42       1.0000          .0000       .10000E+07
     4 'Prefactor '    .27768E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .10977E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    76.933       1.0000          .0000       .10000E+07
     7 'Prefactor '    .89179       1.0000          .0000       .10000E+07
     8 'norm      '    .42910E-07   1.0000          .0000       .10000E+07
     9 'norm      '    .42992E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .17381E-05   1.0000          .0000       .10000E+07
    11 'norm      '    .36720       1.0000          .0000       .10000E+07
    12 'Prefactor '    .58081       1.0000          .0000       .10000E+07
    13 'Prefactor '    31.711       1.0000          .0000       .10000E+07
    14 'Prefactor '    10.861       1.0000          .0000       .10000E+07
    15 'norm      '    .43695E-04   1.0000          .0000       .10000E+07
    16 'norm      '    2.8540       1.0000          .0000       .10000E+07
    17 'norm      '    .22760E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    .41599E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .23437E-03   1.0000          .0000       .10000E+07
    20 'Normalizat'    .72831       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1112       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10470.82     FROM MIGRAD    STATUS=CONVERGED    206 CALLS     1759 TOTAL
                     EDM=   .34E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          16.921        7.0449       -.61421E-08   -.28756E-03
   2  Prefactor     .11102E-09    48.704       -.10547E-06** at limit **
   3  Prefactor     110.92        90.488       -.30992E-07   -.23355E-03
   4  Prefactor      .0000        3.7236       -.47453E-07** at limit **
   5  Prefactor     .16653E-09    103.17       -.97968E-06** at limit **
   6  Prefactor     80.325        61.569       -.13323E-06   -.17455E-04
   7  Prefactor     .84053        30.235       -.14584E-06    .29613E-02
   8  norm           .0000        .44990        .12075E-07** at limit **
   9  norm           .0000        21.388        .14260E-06** at limit **
  10  Prefactor      .0000        7.1621        .39727E-07** at limit **
  11  norm          .38667        30.542       -.22251E-06    .79044E-03
  12  Prefactor     .62691        8.2844        .49495E-07    .19898E-02
  13  Prefactor     31.315        4.9016       -.12754E-07   -.43025E-01
  14  Prefactor     10.874        6.6562        .33484E-07    .22873E-03
  15  norm          .54956E-08    22.695       -.36729E-07** at limit **
  16  norm          2.8574        2.7403        .13814E-08    .39878E-04
  17  norm           .0000        2.1897       -.73046E-07** at limit **
  18  Prefactor      .0000        3.2090        .57538E-08** at limit **
  19  Prefactor      .0000        4.5885       -.26857E-07** at limit **
  20  Normalizat    .72598        .23111       -.13450E-05   -.17208E-05
  21  Prefactor     1.1115        .91575E-01    .17097E-06   -.49263E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 16.9211
  Prefactor  = 1.11022e-10
  Prefactor  = 110.917
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 80.3246
  Prefactor  = 0.84053
  norm       = 0
  norm       = 0
  Prefactor  = 0
  norm       = 0.386673
  Prefactor  = 0.626909
  Prefactor  = 31.3153
  Prefactor  = 10.8743
  norm       = 5.4956e-09
  norm       = 2.85738
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 0.725976
  Prefactor  = 1.11154
 **********
 **   18 **HESSE 
 **********

 FCN=   10470.82     FROM HESSE     STATUS=OK           359 CALLS     2118 TOTAL
                     EDM=   .50E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          16.921        7.0357        .24319E-03   -1.5626    
   2  Prefactor     .11102E-09    48.636        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     110.92        90.348        .96490E-04   -1.5497    
   4  Prefactor      .0000        3.7242        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .16653E-09    102.98        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     80.325        61.744        .11402E-03   -1.5529    
   7  Prefactor     .84053        31.809        .46330E-03   -1.5690    
   8  norm           .0000        .44898        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        21.369        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        7.1411        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .38667        4.9736        .93390E-02   -1.5696    
  12  Prefactor     .62691        10.480        .70965E-03   -1.5692    
  13  Prefactor     31.315        23.070        .17761E-03   -1.5596    
  14  Prefactor     10.874        6.6678        .30376E-03   -1.5642    
  15  norm          .54956E-08    22.856        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.8574        2.7760        .60155E-03   -1.5674    
  17  norm           .0000        2.1878        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        3.2174        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        4.5988        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .72598        .21328        .10279       -1.0288    
  21  Prefactor     1.1115        .82844E-01    .37175E-01   -.89099    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.95547e-08
Minuit parameter uncertainties:
  1  7.03566
  2  0.000148057
  3  90.3492
  4  4.28083e-07
  5  0.000268438
  6  61.7448
  7  10.3415
  8  7.17507e-08
  9  1.31042e-05
  10  2.33634e-06
  11  2.77355
  12  5.12649
  13  23.0699
  14  6.66776
  15  0.000707338
  16  2.77603
  17  4.86834e-07
  18  1.33408e-07
  19  7.61529e-07
  20  0.213526
  21  0.0828537
Done.

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

Extracting fit parameters...

4FGL J1813.5+3144
   Spectrum: PowerLaw
345    Prefactor:  6.269e-01  5.126e+00  0.000e+00  1.000e+06 ( 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:  1.112e+00  8.285e-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:  7.260e-01  2.135e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/461721/likelihoodResults_693705601_693964801_4FGL_J1813.5+3144_daily_bin1753.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) = 10470.8090547
delta logL = 0.00641921661918

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10470.8082415
delta logL = 0.00723242906315

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .48146       1.0000          .0000       .10000E+07
     2 'Index     '    2.4605       1.0000          .0000       10.000    
     3 'Normalizat'    .72335       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1120       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=   10470.81     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      230 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .48961        2.0529        .58159E-02    .46584E-02
   2  Index         2.4625        .14297        .50000       -.73047E-04
   3  Normalizat    .72366        .71287E-02    .10294       -.17414E-04
   4  Prefactor     1.1118        .28886E-02    .37148E-01   -.37623E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.489608
  Index      = 2.46248
  Normalizat = 0.723663
  Prefactor  = 1.11185
 **********
 **   18 **HESSE 
 **********

 FCN=   10470.81     FROM HESSE     STATUS=OK            33 CALLS      263 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .48961        223.25        .21127E-03   -1.5694    
   2  Index         2.4625        7.8364        .24471E-02   -.53229    
   3  Normalizat    .72366        .22121        .45625E-03   -1.0297    
   4  Prefactor     1.1118        .92063E-01    .15131E-03   -.89089    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71537e-08
Minuit parameter uncertainties:
  1  20.9105
  2  14.1616
  3  0.221482
  4  0.092076
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/461721': 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) = 10470.8082325
delta logL = 0.00724138117403

Extracting fit parameters...

4FGL J1813.5+3144
   Spectrum: PowerLaw
345    Prefactor:  4.896e-01  2.091e+01  0.000e+00  1.000e+06 ( 1.000e-13)
346        Index:  2.462e+00  1.416e+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:  1.112e+00  9.208e-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:  7.237e-01  2.215e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
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/461721/cmap_HighResolution_693705601_693964801_4FGL_J1813.5+3144_daily_bin1753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.54e-03', job_status='DONE', photon_flux_upper_limit='8.61e-08', time_completed='2022-12-29 01:36:43.529465', job_id='461721', GAL2='1.11', fit_tolerance='1e-08', EG2='0.72', EG='0.73', time_epoch_completed='1672306603.53', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='7.24e-03', ts2='0.03', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='1753' AND source_name='4FGL J1813.5+3144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec 29 01:36:43 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0220>
Subject: Job 461721: <4FGL_J1813.5+3144_daily_bin1753> in cluster <slac> Done

Job <4FGL_J1813.5+3144_daily_bin1753> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Dec 29 01:20:16 2022
Job was executed on host(s) <bullet0220>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec 29 01:21:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec 29 01:21:31 2022
Terminated at Thu Dec 29 01:36:44 2022
Results reported at Thu Dec 29 01:36:44 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1813.5+3144_daily_bin1753 273.387 31.7497 693705601 693964801 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 :                                   883.29 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             326.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   912 sec.
    Turnaround time :                            988 sec.

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

