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


Performing analysis on: 4FGL_J1813.5+3144_daily_bin1764
RA = 273.387, Dec = 31.7497
tmin = 696556801, tmax = 696816001
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='459177', job_status='RUN', time_executed='2023-01-31 01:36:36.911392', time_epoch_executed='1675157796.91' WHERE source_name='4FGL J1813.5+3144' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/459177

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/459177/ft1_4FGL_J1813.5+3144_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/459177/ft2_4FGL_J1813.5+3144_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/459177/ft1_4FGL_J1813.5+3144_daily_bin1764.fits outfile=/scratch/kocevski/459177/ft1_filteredMKT_4FGL_J1813.5+3144_daily_bin1764.fits ra=273.387 dec=31.7497 rad=12.0 tmin=696556801.0 tmax=696816001.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.76
user 3.48
sys 0.23

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

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

Number of photons that the gtmktime cut: 1070

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/459177/ft1_filtered_4FGL_J1813.5+3144_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/459177/ft2_4FGL_J1813.5+3144_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/459177/ltcube_696556801_696816001_4FGL_J1813.5+3144_daily_bin1764.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/459177/ft2_4FGL_J1813.5+3144_daily_bin1764.fits
.....................!
real 15.37
user 14.87
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/459177/ft1_filtered_4FGL_J1813.5+3144_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/459177/ft2_4FGL_J1813.5+3144_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/459177/ltcube_696556801_696816001_4FGL_J1813.5+3144_daily_bin1764.fits outfile=/scratch/kocevski/459177/expmap_696556801_696816001_4FGL_J1813.5+3144_daily_bin1764.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/459177/ltcube_696556801_696816001_4FGL_J1813.5+3144_daily_bin1764.fits
.....................!
real 194.49
user 187.80
sys 5.07

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/459177/ft1_filtered_4FGL_J1813.5+3144_daily_bin1764.fits scfile=/scratch/kocevski/459177/ft2_4FGL_J1813.5+3144_daily_bin1764.fits outfile=/scratch/kocevski/459177/cmap_696556801_696816001_4FGL_J1813.5+3144_daily_bin1764.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.58
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/459177/ft1_filtered_4FGL_J1813.5+3144_daily_bin1764.fits scfile=/scratch/kocevski/459177/ft2_4FGL_J1813.5+3144_daily_bin1764.fits outfile=/scratch/kocevski/459177/cmap_HighResolution_696556801_696816001_4FGL_J1813.5+3144_daily_bin1764.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.58
user 0.40
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/459177/ft1_filtered_4FGL_J1813.5+3144_daily_bin1764.fits', '/scratch/kocevski/459177/ft2_4FGL_J1813.5+3144_daily_bin1764.fits', expMap='/scratch/kocevski/459177/expmap_696556801_696816001_4FGL_J1813.5+3144_daily_bin1764.fits', expCube='/scratch/kocevski/459177/ltcube_696556801_696816001_4FGL_J1813.5+3144_daily_bin1764.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/459177/Model_4FGL_J1813.5+3144_daily_bin1764.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/459177/ft1_filtered_4FGL_J1813.5+3144_daily_bin1764.fits
Spacecraft file(s): /scratch/kocevski/459177/ft2_4FGL_J1813.5+3144_daily_bin1764.fits
Exposure map: /scratch/kocevski/459177/expmap_696556801_696816001_4FGL_J1813.5+3144_daily_bin1764.fits
Exposure cube: /scratch/kocevski/459177/ltcube_696556801_696816001_4FGL_J1813.5+3144_daily_bin1764.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/459177/Model_4FGL_J1813.5+3144_daily_bin1764.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 10981.2376442

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .93407       1.0000          .0000       .10000E+07
     2 'Prefactor '    .28866E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    12.536       1.0000          .0000       .10000E+07
     4 'Prefactor '    .55044E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .22106E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .21688       1.0000          .0000       .10000E+07
     7 'Prefactor '    9.8018       1.0000          .0000       .10000E+07
     8 'norm      '    .21524       1.0000          .0000       .10000E+07
     9 'norm      '    .25322E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    1.3483       1.0000          .0000       .10000E+07
    11 'norm      '    4.5815       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.5508       1.0000          .0000       .10000E+07
    13 'Prefactor '    10.699       1.0000          .0000       .10000E+07
    14 'Prefactor '    .17544E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .21777E-03   1.0000          .0000       .10000E+07
    16 'norm      '    1.6429       1.0000          .0000       .10000E+07
    17 'norm      '    .20223E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    .52369E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    1.2123       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0348       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1265       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=   10981.15     FROM MIGRAD    STATUS=CONVERGED    153 CALLS     1346 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .88594        1.2322       -.24444E-05   -.44829E-01
   2  Prefactor      .0000        23.235        .68178E-05** at limit **
   3  Prefactor     9.9823        141.00       -.37509E-04   -.62677E-04
   4  Prefactor      .0000        3.9204        .22733E-05** at limit **
   5  Prefactor     .42916E-06    8.4203       -.81683E-05** at limit **
   6  Prefactor     .73873E-05    18.541       -.17778E-04** at limit **
   7  Prefactor     9.7879        9.4699       -.59604E-06   -.16651E-02
   8  norm          .21500        1.1655       -.19155E-05** at limit **
   9  norm          .28699E-06    9.7408        .76476E-05** at limit **
  10  Prefactor     1.3427        3.7104       -.21965E-05    .41622E-02
  11  norm          4.6058        5.1638        .16579E-05    .14243E-02
  12  Prefactor     3.6188        4.5316       -.86842E-06   -.16481E-04
  13  Prefactor     10.297        1.9504       -.99470E-06    .32424E-01
  14  Prefactor     .38858E-09    6.3770        .12760E-06** at limit **
  15  norm          .55511E-09    17.075       -.84927E-05** at limit **
  16  norm          1.6422        1.7078        .48626E-06    .48328E-02
  17  norm          .55511E-10    .59539        .13452E-08** at limit **
  18  Prefactor     .53291E-08    7.4806        .46792E-05** at limit **
  19  Prefactor     1.2012        25.274        .22478E-04   -.42220E-03
  20  Normalizat    1.0369        .23240        .53359E-04   -.26193E-03
  21  Prefactor     1.1262        .92182E-01   -.28656E-04   -.43713E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.88594
  Prefactor  = 0
  Prefactor  = 9.98226
  Prefactor  = 0
  Prefactor  = 4.29157e-07
  Prefactor  = 7.38731e-06
  Prefactor  = 9.78787
  norm       = 0.214999
  norm       = 2.86993e-07
  Prefactor  = 1.34273
  norm       = 4.6058
  Prefactor  = 3.61876
  Prefactor  = 10.297
  Prefactor  = 3.88578e-10
  norm       = 5.55112e-10
  norm       = 1.64224
  norm       = 5.55112e-11
  Prefactor  = 5.32907e-09
  Prefactor  = 1.20118
  Normalizat = 1.03693
  Prefactor  = 1.12619
 **********
 **   18 **HESSE 
 **********

 FCN=   10981.15     FROM HESSE     STATUS=OK           359 CALLS     1705 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .88594        8.3835        .43433E-03   -1.5689    
   2  Prefactor      .0000        23.327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     9.9823        146.15        .28266E-03   -1.5645    
   4  Prefactor      .0000        3.9256        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .42916E-06    10.376        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .73873E-05    66.763        .11483E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.7879        9.4950        .31983E-03   -1.5645    
   8  norm          .21500        1.1494        .11511E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .28699E-06    11.049        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.3427        3.7381        .94227E-03   -1.5685    
  11  norm          4.6058        5.2296        .47003E-03   -1.5665    
  12  Prefactor     3.6188        4.8642        .53614E-03   -1.5670    
  13  Prefactor     10.297        20.630        .30606E-03   -1.5644    
  14  Prefactor     .38858E-09    6.3509        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .55511E-09    17.260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.6422        1.7196        .82390E-03   -1.5682    
  17  norm          .55511E-10    .59463        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .53291E-08    7.4845        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.2012        24.837        .10266E-02   -1.5686    
  20  Normalizat    1.0369        .21217        .92108E-01   -.91803    
  21  Prefactor     1.1262        .81729E-01    .36658E-01   -.88634    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14458e-06
Minuit parameter uncertainties:
  1  5.45061
  2  4.48594e-05
  3  76.3938
  4  1.71368e-05
  5  0.00422043
  6  0.0444168
  7  9.49506
  8  0.994221
  9  0.00356133
  10  3.73815
  11  5.22965
  12  4.86423
  13  20.6306
  14  9.9681e-05
  15  0.000197874
  16  1.71957
  17  8.19745e-06
  18  0.000399245
  19  10.9241
  20  0.212344
  21  0.0817381
Done.

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

Extracting fit parameters...

4FGL J1813.5+3144
   Spectrum: PowerLaw
345    Prefactor:  3.619e+00  4.864e+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.126e+00  8.174e-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:  1.037e+00  2.123e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.74
Ra Dec: 273.387 31.750
Photon Flux Upper Limit: 1.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.67e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/459177/likelihoodResults_696556801_696816001_4FGL_J1813.5+3144_daily_bin1764.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) = 10981.0879173
delta logL = 0.0652544353925

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10981.0846638
delta logL = 0.0685079777413

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4726       1.0000          .0000       .10000E+07
     2 'Index     '    2.4249       1.0000          .0000       10.000    
     3 'Normalizat'    1.0303       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1274       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=   10981.08     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      255 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4726        74.534        .64999E-03    .12745E-01
   2  Index         2.4249        2.9057        .13386        .22362E-03
   3  Normalizat    1.0303        .61370E-01    .92361E-01    .36388E-04
   4  Prefactor     1.1274        .23554E-01    .36628E-01   -.86162E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.47257
  Index      = 2.42487
  Normalizat = 1.03032
  Prefactor  = 1.12738
 **********
 **   18 **HESSE 
 **********

 FCN=   10981.08     FROM HESSE     STATUS=OK            33 CALLS      288 TOTAL
                     EDM=   .39E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4726        5.9721        .18442E-04   -1.5677    
   2  Index         2.4249        .95159        .79496E-02   -.54104    
   3  Normalizat    1.0303        .22842        .40909E-03   -.92021    
   4  Prefactor     1.1274        .91372E-01    .15686E-03   -.88596    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.86462e-08
Minuit parameter uncertainties:
  1  5.97213
  2  0.959584
  3  0.228636
  4  0.0913845
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/459177': 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) = 10981.0846638
delta logL = 0.0685079780415

Extracting fit parameters...

4FGL J1813.5+3144
   Spectrum: PowerLaw
345    Prefactor:  2.473e+00  5.972e+00  0.000e+00  1.000e+06 ( 1.000e-13)
346        Index:  2.425e+00  9.596e-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.127e+00  9.138e-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:  1.030e+00  2.286e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.74
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/459177/cmap_HighResolution_696556801_696816001_4FGL_J1813.5+3144_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.67e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2023-01-31 01:51:21.554314', job_id='459177', GAL2='1.13', fit_tolerance='1e-08', EG2='1.03', EG='1.04', time_epoch_completed='1675158681.55', return_code2='0', ts='0.74', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='6.85e-02', ts2='0.88', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='1764' AND source_name='4FGL J1813.5+3144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 01:51:21 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0158>
Subject: Job 459177: <4FGL_J1813.5+3144_daily_bin1764> in cluster <slac> Done

Job <4FGL_J1813.5+3144_daily_bin1764> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Jan 31 01:35:12 2023
Job was executed on host(s) <bullet0158>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 01:35:51 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 01:35:51 2023
Terminated at Tue Jan 31 01:51:22 2023
Results reported at Tue Jan 31 01:51:22 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1813.5+3144_daily_bin1764 273.387 31.7497 696556801 696816001 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.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             350.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   930 sec.
    Turnaround time :                            970 sec.

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

