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


Performing analysis on: 4FGL_J0204.8+1513_daily_bin1716
RA = 31.2182, Dec = 15.2326
tmin = 684115201, tmax = 684374401
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='2707', job_status='RUN', time_executed='2022-09-16 10:24:58.618451', time_epoch_executed='1663349098.62' WHERE source_name='4FGL J0204.8+1513' and cadence='daily' and bin_id='1716'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/2707

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/2707/ft1_4FGL_J0204.8+1513_daily_bin1716.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/2707/ft2_4FGL_J0204.8+1513_daily_bin1716.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/2707/ft1_4FGL_J0204.8+1513_daily_bin1716.fits outfile=/scratch/kocevski/2707/ft1_filteredMKT_4FGL_J0204.8+1513_daily_bin1716.fits ra=31.2182 dec=15.2326 rad=12.0 tmin=684115201.0 tmax=684374401.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.10
user 3.86
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/2707/ft2_4FGL_J0204.8+1513_daily_bin1716.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/2707/ft1_filteredMKT_4FGL_J0204.8+1513_daily_bin1716.fits evtable="EVENTS" outfile="/scratch/kocevski/2707/ft1_filtered_4FGL_J0204.8+1513_daily_bin1716.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.50
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 803

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/2707/ft1_filtered_4FGL_J0204.8+1513_daily_bin1716.fits" evtable="EVENTS" scfile=/scratch/kocevski/2707/ft2_4FGL_J0204.8+1513_daily_bin1716.fits sctable="SC_DATA" outfile=/scratch/kocevski/2707/ltcube_684115201_684374401_4FGL_J0204.8+1513_daily_bin1716.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/2707/ft2_4FGL_J0204.8+1513_daily_bin1716.fits
.....................!
real 11.99
user 11.62
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/2707/ft1_filtered_4FGL_J0204.8+1513_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/2707/ft2_4FGL_J0204.8+1513_daily_bin1716.fits sctable="SC_DATA" expcube=/scratch/kocevski/2707/ltcube_684115201_684374401_4FGL_J0204.8+1513_daily_bin1716.fits outfile=/scratch/kocevski/2707/expmap_684115201_684374401_4FGL_J0204.8+1513_daily_bin1716.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/2707/ltcube_684115201_684374401_4FGL_J0204.8+1513_daily_bin1716.fits
.....................!
real 191.42
user 185.44
sys 5.50

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/2707/ft1_filtered_4FGL_J0204.8+1513_daily_bin1716.fits scfile=/scratch/kocevski/2707/ft2_4FGL_J0204.8+1513_daily_bin1716.fits outfile=/scratch/kocevski/2707/cmap_684115201_684374401_4FGL_J0204.8+1513_daily_bin1716.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.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/2707/ft1_filtered_4FGL_J0204.8+1513_daily_bin1716.fits scfile=/scratch/kocevski/2707/ft2_4FGL_J0204.8+1513_daily_bin1716.fits outfile=/scratch/kocevski/2707/cmap_HighResolution_684115201_684374401_4FGL_J0204.8+1513_daily_bin1716.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.55
user 0.37
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/2707/ft1_filtered_4FGL_J0204.8+1513_daily_bin1716.fits', '/scratch/kocevski/2707/ft2_4FGL_J0204.8+1513_daily_bin1716.fits', expMap='/scratch/kocevski/2707/expmap_684115201_684374401_4FGL_J0204.8+1513_daily_bin1716.fits', expCube='/scratch/kocevski/2707/ltcube_684115201_684374401_4FGL_J0204.8+1513_daily_bin1716.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/2707/Model_4FGL_J0204.8+1513_daily_bin1716.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/2707/ft1_filtered_4FGL_J0204.8+1513_daily_bin1716.fits
Spacecraft file(s): /scratch/kocevski/2707/ft2_4FGL_J0204.8+1513_daily_bin1716.fits
Exposure map: /scratch/kocevski/2707/expmap_684115201_684374401_4FGL_J0204.8+1513_daily_bin1716.fits
Exposure cube: /scratch/kocevski/2707/ltcube_684115201_684374401_4FGL_J0204.8+1513_daily_bin1716.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/2707/Model_4FGL_J0204.8+1513_daily_bin1716.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) = 8944.10876653

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .55201E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.3185       1.0000          .0000       .10000E+07
     3 'norm      '    14.512       1.0000          .0000       .10000E+07
     4 'Prefactor '    .80658E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    8.8808       1.0000          .0000       .10000E+07
     6 'norm      '    10.141       1.0000          .0000       .10000E+07
     7 'Prefactor '    7.5759       1.0000          .0000       .10000E+07
     8 'Prefactor '    5.3832       1.0000          .0000       .10000E+07
     9 'norm      '    5.3831       1.0000          .0000       .10000E+07
    10 'Prefactor '    .19622E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .10598E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    53.908       1.0000          .0000       .10000E+07
    13 'Prefactor '    .58543E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    20.259       1.0000          .0000       .10000E+07
    15 'Prefactor '    .88266E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .72389E-03   1.0000          .0000       .10000E+07
    17 'norm      '    .75296       1.0000          .0000       .10000E+07
    18 'Prefactor '    52.091       1.0000          .0000       .10000E+07
    19 'norm      '    .11359E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    .10445E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .40715E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    12.871       1.0000          .0000       .10000E+07
    23 'Normalizat'    .98461       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .97710       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=   8944.095     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     1965 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .39578E-05    12.425        .23371E-05** at limit **
   2  Prefactor     3.3341        10.725        .62593E-06   -.11180E-01
   3  norm          14.510        1.3670        .46466E-09    .21815E-02
   4  Prefactor      .0000        1.3866        .15712E-06** at limit **
   5  Prefactor     8.8803        3.4581        .31004E-07   -.11290E-02
   6  norm          10.136        4.6719        .35682E-07   -.28380E-03
   7  Prefactor     7.5252        5.6904       -.25601E-07   -.32420E-04
   8  Prefactor     5.3845        2.9026       -.39028E-07    .10425E-02
   9  norm          7.5487        147.56        .11252E-04   -.52799E-02
  10  Prefactor     .70427E-06    7.3922        .13866E-06** at limit **
  11  Prefactor     .16653E-09    9.4788       -.46987E-07** at limit **
  12  Prefactor     53.748        3.9995       -.22413E-06   -.57110E-01
  13  Prefactor     .72109E-07    20.271        .21080E-07** at limit **
  14  Prefactor     20.329        10.360        .65753E-07   -.15690E-01
  15  Prefactor     .39968E-08    8.5308       -.81243E-07** at limit **
  16  Prefactor     .31086E-08    7.5889        .31131E-06** at limit **
  17  norm          .75272        .44344       -.48547E-07   -.55738E-02
  18  Prefactor     52.257        7.2469        .43930E-06    .67991E-01
  19  norm           .0000        3.9279        .64768E-07** at limit **
  20  Prefactor     .36657E-05    16.976        .24899E-05** at limit **
  21  Prefactor     .66941E-06    8.8751        .42535E-06** at limit **
  22  Prefactor     12.868        3.4433       -.97876E-07   -.84607E-01
  23  Normalizat    .98479        .21145        .81760E-06   -.54741E-04
  24  Prefactor     .97677        .11170       -.21307E-05   -.10230E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.95778e-06
  Prefactor  = 3.33406
  norm       = 14.5097
  Prefactor  = 0
  Prefactor  = 8.88032
  norm       = 10.1356
  Prefactor  = 7.52518
  Prefactor  = 5.38446
  norm       = 7.54866
  Prefactor  = 7.0427e-07
  Prefactor  = 1.66533e-10
  Prefactor  = 53.7479
  Prefactor  = 7.2109e-08
  Prefactor  = 20.329
  Prefactor  = 3.9968e-09
  Prefactor  = 3.10862e-09
  norm       = 0.752721
  Prefactor  = 52.2569
  norm       = 0
  Prefactor  = 3.66568e-06
  Prefactor  = 6.69409e-07
  Prefactor  = 12.8678
  Normalizat = 0.984791
  Prefactor  = 0.976769
 **********
 **   18 **HESSE 
 **********

 FCN=   8944.095     FROM HESSE     STATUS=OK           447 CALLS     2412 TOTAL
                     EDM=   .89E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .39578E-05    27.122        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.3341        10.906        .55544E-03   -1.5671    
   3  norm          14.510        14.189        .26266E-03   -1.5632    
   4  Prefactor      .0000        1.3858        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.8803        3.4554        .33610E-03   -1.5648    
   6  norm          10.136        4.6771        .31440E-03   -1.5644    
   7  Prefactor     7.5252        5.6878        .36411E-03   -1.5653    
   8  Prefactor     5.3845        2.9317        .43289E-03   -1.5662    
   9  norm          7.5487        150.12        .43290E-03   -1.5653    
  10  Prefactor     .70427E-06    16.235        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .16653E-09    9.5779        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     53.748        53.259        .13621E-03   -1.5561    
  13  Prefactor     .72109E-07    21.365        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     20.329        11.073        .22224E-03   -1.5618    
  15  Prefactor     .39968E-08    8.7329        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .31086E-08    7.6171        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .75272        .44631        .56509E-03   -1.5691    
  18  Prefactor     52.257        50.523        .13856E-03   -1.5563    
  19  norm           .0000        3.9236        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .36657E-05    29.075        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .66941E-06    15.691        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     12.868        12.580        .27895E-03   -1.5636    
  23  Normalizat    .98479        .18722        .77922E-01   -.93542    
  24  Prefactor     .97677        .98569E-01    .45980E-01   -.93508    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.89358e-07
Minuit parameter uncertainties:
  1  0.0207213
  2  10.9065
  3  14.1889
  4  5.66889e-06
  5  3.45538
  6  4.67714
  7  5.68784
  8  2.93169
  9  67.3274
  10  0.00676274
  11  8.46714e-05
  12  53.2596
  13  0.0024822
  14  11.0733
  15  0.000373209
  16  0.000308318
  17  0.446314
  18  50.5232
  19  3.53974e-06
  20  0.0206476
  21  0.00648203
  22  12.58
  23  0.18734
  24  0.0985869
Done.

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

Extracting fit parameters...

4FGL J0204.8+1513
   Spectrum: PowerLaw
231    Prefactor:  8.880e+00  3.455e+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:  9.768e-01  9.859e-02  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:  9.848e-01  1.873e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 18.03
Ra Dec: 31.218 15.233
Photon Index (Fixed Index): 2.31 +/- 0.00
Photon Flux (Fixed Index): 1.33e-07 +/- 5.17e-08
Energy Flux (Fixed Index): 4.92e-05 +/- 1.91e-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) = 8943.96694545
delta logL = 0.12775652772

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8943.95392707
delta logL = 0.14077489822

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.5328       1.0000          .0000       .10000E+07
     2 'Index     '    2.5317       1.0000          .0000       10.000    
     3 'Normalizat'    .95476       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98665       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8943.954     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      282 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.5328        4.4368        .44833E-04   -.16467E-02
   2  Index         2.5317        .45928        .47574E-02    .29169E-04
   3  Normalizat    .95477        .21273        .34937E-03    .10543E-05
   4  Prefactor     .98664        .11213        .18698E-03    .12160E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.53281
  Index      = 2.53175
  Normalizat = 0.954769
  Prefactor  = 0.986639
 **********
 **   18 **HESSE 
 **********

 FCN=   8943.954     FROM HESSE     STATUS=OK            25 CALLS      307 TOTAL
                     EDM=   .66E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.5328        4.0697        .17933E-05   -1.5653    
   2  Index         2.5317        .42075        .19029E-03   -.51628    
   3  Normalizat    .95477        .21192        .69875E-04   -.94561    
   4  Prefactor     .98664        .11187        .74793E-05   -.93176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.63124e-12
Minuit parameter uncertainties:
  1  4.06968
  2  0.421411
  3  0.212106
  4  0.111899
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/2707': 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) = 8943.95392707
delta logL = 0.140774904839

Extracting fit parameters...

4FGL J0204.8+1513
   Spectrum: PowerLaw
231    Prefactor:  7.533e+00  4.070e+00  0.000e+00  1.000e+06 ( 1.000e-12)
232        Index:  2.532e+00  4.214e-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:  9.866e-01  1.119e-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:  9.548e-01  2.121e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 18.37
Ra Dec: 31.218 15.233
Photon Index (Free Index): 2.53 +/- 0.42
Photon Flux (Free Index): 1.59e-07 +/- 7.43e-08
Energy Flux (Free Index): 4.46e-05 +/- 1.77e-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/2707/cmap_HighResolution_684115201_684374401_4FGL_J0204.8+1513_daily_bin1716.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.33e-07', energy_flux2='4.46e-05', photon_flux_error='5.17e-08', dlogl='1.41e-01', energy_flux='4.92e-05', photon_flux2='1.59e-07', job_status='DONE', time_completed='2022-09-16 10:36:17.851001', photon_index_error2='0.42', photon_index2='2.53', ts='18.03', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='1.77e-05', EG='0.98', time_epoch_completed='1663349777.85', return_code='0', job_id='2707', GAL2='0.99', EG2='0.95', return_code2='0', energy_flux_error='1.91e-05', photon_flux_error2='7.43e-08', ts2='18.37', photon_index='2.31' WHERE bin_id='1716' AND source_name='4FGL J0204.8+1513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 10:36:17 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0171>
Subject: Job 2707: <4FGL_J0204.8+1513_daily_bin1716> in cluster <slac> Done

Job <4FGL_J0204.8+1513_daily_bin1716> 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) <bullet0171>, 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:36:18 2022
Results reported at Fri Sep 16 10:36:18 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0204.8+1513_daily_bin1716 31.2182 15.2326 684115201 684374401 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 :                                   681.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             275.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   798 sec.
    Turnaround time :                            910 sec.

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

