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


Performing analysis on: 4FGL_J0204.8+1513_daily_bin1711
RA = 31.2182, Dec = 15.2326
tmin = 682819201, tmax = 683078401
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='2699', job_status='RUN', time_executed='2022-09-16 10:26:25.889772', time_epoch_executed='1663349185.89' WHERE source_name='4FGL J0204.8+1513' and cadence='daily' and bin_id='1711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/2699

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/2699/ft1_4FGL_J0204.8+1513_daily_bin1711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/2699/ft2_4FGL_J0204.8+1513_daily_bin1711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/2699/ft1_4FGL_J0204.8+1513_daily_bin1711.fits outfile=/scratch/kocevski/2699/ft1_filteredMKT_4FGL_J0204.8+1513_daily_bin1711.fits ra=31.2182 dec=15.2326 rad=12.0 tmin=682819201.0 tmax=683078401.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.61
user 4.31
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/2699/ft2_4FGL_J0204.8+1513_daily_bin1711.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/2699/ft2_4FGL_J0204.8+1513_daily_bin1711.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/2699/ft1_filteredMKT_4FGL_J0204.8+1513_daily_bin1711.fits evtable="EVENTS" outfile="/scratch/kocevski/2699/ft1_filtered_4FGL_J0204.8+1513_daily_bin1711.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: 783

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/2699/ft1_filtered_4FGL_J0204.8+1513_daily_bin1711.fits" evtable="EVENTS" scfile=/scratch/kocevski/2699/ft2_4FGL_J0204.8+1513_daily_bin1711.fits sctable="SC_DATA" outfile=/scratch/kocevski/2699/ltcube_682819201_683078401_4FGL_J0204.8+1513_daily_bin1711.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/2699/ft2_4FGL_J0204.8+1513_daily_bin1711.fits
.....................!
real 13.78
user 13.34
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/2699/ft1_filtered_4FGL_J0204.8+1513_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/2699/ft2_4FGL_J0204.8+1513_daily_bin1711.fits sctable="SC_DATA" expcube=/scratch/kocevski/2699/ltcube_682819201_683078401_4FGL_J0204.8+1513_daily_bin1711.fits outfile=/scratch/kocevski/2699/expmap_682819201_683078401_4FGL_J0204.8+1513_daily_bin1711.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/2699/ltcube_682819201_683078401_4FGL_J0204.8+1513_daily_bin1711.fits
.....................!
real 193.45
user 186.77
sys 5.96

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

Setting source of interest to:
4FGL J0204.8+1513 @ 31.2182 15.2326

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/2699/ft1_filtered_4FGL_J0204.8+1513_daily_bin1711.fits scfile=/scratch/kocevski/2699/ft2_4FGL_J0204.8+1513_daily_bin1711.fits outfile=/scratch/kocevski/2699/cmap_682819201_683078401_4FGL_J0204.8+1513_daily_bin1711.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=31.2182 yref=15.2326 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/2699/ft1_filtered_4FGL_J0204.8+1513_daily_bin1711.fits scfile=/scratch/kocevski/2699/ft2_4FGL_J0204.8+1513_daily_bin1711.fits outfile=/scratch/kocevski/2699/cmap_HighResolution_682819201_683078401_4FGL_J0204.8+1513_daily_bin1711.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=31.2182 yref=15.2326 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.57
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/2699/ft1_filtered_4FGL_J0204.8+1513_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/2699/ft2_4FGL_J0204.8+1513_daily_bin1711.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/2699/Model_4FGL_J0204.8+1513_daily_bin1711.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/2699/ft1_filtered_4FGL_J0204.8+1513_daily_bin1711.fits.....................!
real 98.13
user 96.71
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/2699/ft1_filtered_4FGL_J0204.8+1513_daily_bin1711.fits', '/scratch/kocevski/2699/ft2_4FGL_J0204.8+1513_daily_bin1711.fits', expMap='/scratch/kocevski/2699/expmap_682819201_683078401_4FGL_J0204.8+1513_daily_bin1711.fits', expCube='/scratch/kocevski/2699/ltcube_682819201_683078401_4FGL_J0204.8+1513_daily_bin1711.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/2699/Model_4FGL_J0204.8+1513_daily_bin1711.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0204.8+1513'

4FGL J0204.8+1513
   Spectrum: PowerLaw
231    Prefactor:  1.139e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
232        Index:  2.315e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
233        Scale:  9.796e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/2699/ft1_filtered_4FGL_J0204.8+1513_daily_bin1711.fits
Spacecraft file(s): /scratch/kocevski/2699/ft2_4FGL_J0204.8+1513_daily_bin1711.fits
Exposure map: /scratch/kocevski/2699/expmap_682819201_683078401_4FGL_J0204.8+1513_daily_bin1711.fits
Exposure cube: /scratch/kocevski/2699/ltcube_682819201_683078401_4FGL_J0204.8+1513_daily_bin1711.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/2699/Model_4FGL_J0204.8+1513_daily_bin1711.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) = 8529.51770463

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27078E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.4438       1.0000          .0000       .10000E+07
     3 'norm      '    .16354E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    4.3996       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.9288       1.0000          .0000       .10000E+07
     6 'norm      '    8.5356       1.0000          .0000       .10000E+07
     7 'Prefactor '    .52358       1.0000          .0000       .10000E+07
     8 'Prefactor '    .81242       1.0000          .0000       .10000E+07
     9 'norm      '    31.465       1.0000          .0000       .10000E+07
    10 'Prefactor '    .80503E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .15807E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.4857       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.4749       1.0000          .0000       .10000E+07
    14 'Prefactor '    .15996E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    2.3521       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.6837       1.0000          .0000       .10000E+07
    17 'norm      '    .41513       1.0000          .0000       .10000E+07
    18 'Prefactor '    .34657E-05   1.0000          .0000       .10000E+07
    19 'norm      '    26.273       1.0000          .0000       .10000E+07
    20 'Prefactor '    32.112       1.0000          .0000       .10000E+07
    21 'Prefactor '    .26928E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    18.520       1.0000          .0000       .10000E+07
    23 'Normalizat'    .52945       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2862       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5330E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8529.500     FROM MIGRAD    STATUS=CONVERGED    141 CALLS     1999 TOTAL
                     EDM=   .99E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .26718E-06    7.3581       -.11649E-06** at limit **
   2  Prefactor     3.4134        9.3693       -.60010E-07   -.28237E-01
   3  norm           .0000        4.0618       -.16200E-06** at limit **
   4  Prefactor     4.4025        4.9225        .13675E-07   -.65083E-03
   5  Prefactor     5.9310        2.8347        .34878E-07    .85390E-03
   6  norm          8.5382        5.4695        .81568E-08   -.17935E-02
   7  Prefactor     .52048        3.9953       -.15837E-07   -.28931E-03
   8  Prefactor     .81571        1.7458        .90602E-07    .13753E-02
   9  norm          31.476        1.2246        .17431E-08   -.78417E-02
  10  Prefactor     .73452E-06    27.399        .35454E-06** at limit **
  11  Prefactor     .21089E-06    7.5356       -.19485E-06** at limit **
  12  Prefactor     3.2270        15.885       -.89116E-07    .43452E-01
  13  Prefactor     4.4750        1.0607       -.55634E-10    .14974E-02
  14  Prefactor     .55511E-10    3.2285       -.15610E-06** at limit **
  15  Prefactor     2.4014        1.9414       -.30829E-07   -.71271E-02
  16  Prefactor     3.7152        9.7155        .89763E-08   -.55963E-02
  17  norm          .41526        .51590        .32886E-07    .58712E-02
  18  Prefactor     .64648E-06    18.103        .38195E-06** at limit **
  19  norm          26.228        10.138       -.18854E-07   -.11155    
  20  Prefactor     32.089        1.1331       -.91393E-10    .34014E-02
  21  Prefactor     .46685E-07    16.180        .17671E-06** at limit **
  22  Prefactor     18.541        1.0275       -.10417E-08    .24940E-02
  23  Normalizat    .52941        .20929       -.44335E-05   -.13755E-03
  24  Prefactor     1.2863        .12166        .28736E-06   -.25695E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.67175e-07
  Prefactor  = 3.41343
  norm       = 0
  Prefactor  = 4.40246
  Prefactor  = 5.93105
  norm       = 8.53824
  Prefactor  = 0.520483
  Prefactor  = 0.815708
  norm       = 31.4756
  Prefactor  = 7.34524e-07
  Prefactor  = 2.10887e-07
  Prefactor  = 3.22703
  Prefactor  = 4.47503
  Prefactor  = 5.55112e-11
  Prefactor  = 2.40138
  Prefactor  = 3.71519
  norm       = 0.415259
  Prefactor  = 6.46483e-07
  norm       = 26.2281
  Prefactor  = 32.0892
  Prefactor  = 4.66849e-08
  Prefactor  = 18.5408
  Normalizat = 0.529406
  Prefactor  = 1.28628
 **********
 **   18 **HESSE 
 **********

 FCN=   8529.500     FROM HESSE     STATUS=OK           455 CALLS     2454 TOTAL
                     EDM=   .38E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .26718E-06    9.7680        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.4134        9.8156        .54477E-03   -1.5671    
   3  norm           .0000        4.0580        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.4025        4.9357        .47990E-03   -1.5666    
   5  Prefactor     5.9310        2.8309        .41217E-03   -1.5659    
   6  norm          8.5382        5.4960        .34287E-03   -1.5650    
   7  Prefactor     .52048        4.0268        .76372E-03   -1.5694    
   8  Prefactor     .81571        1.7756        .52013E-03   -1.5690    
   9  norm          31.476        58.007        .17830E-03   -1.5596    
  10  Prefactor     .73452E-06    28.692        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .21089E-06    9.2285        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.2270        115.29        .54134E-03   -1.5672    
  13  Prefactor     4.4750        38.008        .47574E-03   -1.5666    
  14  Prefactor     .55511E-10    3.2256        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.4014        33.111        .66808E-03   -1.5677    
  16  Prefactor     3.7152        10.449        .52599E-03   -1.5669    
  17  norm          .41526        .66422        .14627E-02   -1.5695    
  18  Prefactor     .64648E-06    21.508        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          26.228        12.887        .19513E-03   -1.5606    
  20  Prefactor     32.089        22.772        .17649E-03   -1.5595    
  21  Prefactor     .46685E-07    17.408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     18.541        24.347        .23246E-03   -1.5622    
  23  Normalizat    .52941        .20250        .98360E-01   -1.1107    
  24  Prefactor     1.2863        .11582        .32854E-01   -.83716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.77411e-06
Minuit parameter uncertainties:
  1  0.00323103
  2  9.81563
  3  1.68982e-05
  4  4.93571
  5  2.83089
  6  5.49599
  7  2.89542
  8  1.77559
  9  58.0076
  10  0.0091814
  11  0.00279013
  12  38.5769
  13  26.0836
  14  2.54376e-05
  15  17.8341
  16  10.4493
  17  0.664217
  18  0.00745763
  19  12.8868
  20  22.7723
  21  0.00180274
  22  24.3469
  23  0.202778
  24  0.115847
Done.

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

Extracting fit parameters...

4FGL J0204.8+1513
   Spectrum: PowerLaw
231    Prefactor:  5.931e+00  2.831e+00  0.000e+00  1.000e+06 ( 1.000e-12)
232        Index:  2.315e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
233        Scale:  9.796e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  1.286e+00  1.158e-01  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  5.294e-01  2.028e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.49
Ra Dec: 31.218 15.233
Photon Index (Fixed Index): 2.31 +/- 0.00
Photon Flux (Fixed Index): 8.88e-08 +/- 4.24e-08
Energy Flux (Fixed Index): 3.29e-05 +/- 1.57e-05

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) = 8529.45249315
delta logL = 0.047674813999

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8529.45003652
delta logL = 0.0501314409448

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.1073       1.0000          .0000       .10000E+07
     2 'Index     '    2.4609       1.0000          .0000       10.000    
     3 'Normalizat'    .51797       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2911       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5330E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8529.450     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      260 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.1082        37.805        .44465E-03    .32166E-02
   2  Index         2.4609        2.7680        .14200        .14656E-03
   3  Normalizat    .51826        .87546E-01    .99346E-01    .57999E-04
   4  Prefactor     1.2908        .43921E-01    .32767E-01   -.10220E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.10825
  Index      = 2.46087
  Normalizat = 0.518259
  Prefactor  = 1.29084
 **********
 **   18 **HESSE 
 **********

 FCN=   8529.450     FROM HESSE     STATUS=OK            33 CALLS      293 TOTAL
                     EDM=   .79E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.1082        3.9932        .93196E-05   -1.5663    
   2  Index         2.4609        .51993        .52705E-02   -.53266    
   3  Normalizat    .51826        .20727        .44036E-03   -1.1158    
   4  Prefactor     1.2908        .12118        .17042E-03   -.83580    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.89228e-12
Minuit parameter uncertainties:
  1  3.9932
  2  0.521205
  3  0.207577
  4  0.121208
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/2699': 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) = 8529.45003421
delta logL = 0.0501337443966

Extracting fit parameters...

4FGL J0204.8+1513
   Spectrum: PowerLaw
231    Prefactor:  5.108e+00  3.993e+00  0.000e+00  1.000e+06 ( 1.000e-12)
232        Index:  2.461e+00  5.212e-01  0.000e+00  1.000e+01 (-1.000e+00)
233        Scale:  9.796e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  1.291e+00  1.212e-01  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  5.183e-01  2.076e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.60
Ra Dec: 31.218 15.233
Photon Index (Free Index): 2.46 +/- 0.52
Photon Flux (Free Index): 9.61e-08 +/- 4.92e-08
Energy Flux (Free Index): 2.92e-05 +/- 1.82e-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/2699/cmap_HighResolution_682819201_683078401_4FGL_J0204.8+1513_daily_bin1711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.88e-08', energy_flux2='2.92e-05', photon_flux_error='4.24e-08', dlogl='5.01e-02', energy_flux='3.29e-05', photon_flux2='9.61e-08', job_status='DONE', time_completed='2022-09-16 10:37:37.170441', photon_index_error2='0.52', photon_index2='2.46', ts='7.49', fit_tolerance='1e-08', GAL='1.29', photon_index_error='0.00', energy_flux_error2='1.82e-05', EG='0.53', time_epoch_completed='1663349857.17', return_code='0', job_id='2699', GAL2='1.29', EG2='0.52', return_code2='0', energy_flux_error='1.57e-05', photon_flux_error2='4.92e-08', ts2='7.60', photon_index='2.31' WHERE bin_id='1711' AND source_name='4FGL J0204.8+1513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 10:37:37 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0226>
Subject: Job 2699: <4FGL_J0204.8+1513_daily_bin1711> in cluster <slac> Done

Job <4FGL_J0204.8+1513_daily_bin1711> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 10:21:08 2022
Job was executed on host(s) <bullet0226>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 10:23:00 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 10:23:00 2022
Terminated at Fri Sep 16 10:37:37 2022
Results reported at Fri Sep 16 10:37:37 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0204.8+1513_daily_bin1711 31.2182 15.2326 682819201 683078401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0204.8+1513 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   673.00 sec.
    Max Memory :                                 1092 MB
    Average Memory :                             272.66 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   877 sec.
    Turnaround time :                            989 sec.

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

