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 88 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_J0204.8+1513_daily_bin1764
RA = 31.2182, Dec = 15.2326
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='434333', job_status='RUN', time_executed='2023-01-31 00:09:13.183588', time_epoch_executed='1675152553.18' WHERE source_name='4FGL J0204.8+1513' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/434333

Creating custom pfile directory:
/scratch/kocevski/434333/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/434333/ft1_4FGL_J0204.8+1513_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/434333/ft2_4FGL_J0204.8+1513_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/434333/ft1_4FGL_J0204.8+1513_daily_bin1764.fits outfile=/scratch/kocevski/434333/ft1_filteredMKT_4FGL_J0204.8+1513_daily_bin1764.fits ra=31.2182 dec=15.2326 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.72
user 3.48
sys 0.21

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

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

Number of photons that the gtmktime cut: 858

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/434333/ft1_filtered_4FGL_J0204.8+1513_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/434333/ft2_4FGL_J0204.8+1513_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/434333/ltcube_696556801_696816001_4FGL_J0204.8+1513_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/434333/ft2_4FGL_J0204.8+1513_daily_bin1764.fits
.....................!
real 17.64
user 17.19
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/434333/ft1_filtered_4FGL_J0204.8+1513_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/434333/ft2_4FGL_J0204.8+1513_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/434333/ltcube_696556801_696816001_4FGL_J0204.8+1513_daily_bin1764.fits outfile=/scratch/kocevski/434333/expmap_696556801_696816001_4FGL_J0204.8+1513_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/434333/ltcube_696556801_696816001_4FGL_J0204.8+1513_daily_bin1764.fits
.....................!
real 191.90
user 185.54
sys 5.79

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/434333/ft1_filtered_4FGL_J0204.8+1513_daily_bin1764.fits scfile=/scratch/kocevski/434333/ft2_4FGL_J0204.8+1513_daily_bin1764.fits outfile=/scratch/kocevski/434333/cmap_696556801_696816001_4FGL_J0204.8+1513_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=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.60
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/434333/ft1_filtered_4FGL_J0204.8+1513_daily_bin1764.fits scfile=/scratch/kocevski/434333/ft2_4FGL_J0204.8+1513_daily_bin1764.fits outfile=/scratch/kocevski/434333/cmap_HighResolution_696556801_696816001_4FGL_J0204.8+1513_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=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.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/434333/ft1_filtered_4FGL_J0204.8+1513_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/434333/ft2_4FGL_J0204.8+1513_daily_bin1764.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/434333/Model_4FGL_J0204.8+1513_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/434333/ft1_filtered_4FGL_J0204.8+1513_daily_bin1764.fits.....................!
real 112.20
user 110.58
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .91895E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .10559E-01   1.0000          .0000       .10000E+07
     3 'norm      '    .40766E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .13739E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    9.0964       1.0000          .0000       .10000E+07
     6 'norm      '    22.417       1.0000          .0000       .10000E+07
     7 'Prefactor '    .12313E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .74987       1.0000          .0000       .10000E+07
     9 'norm      '    .13232E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    29.467       1.0000          .0000       .10000E+07
    11 'Prefactor '    29.753       1.0000          .0000       .10000E+07
    12 'Prefactor '    .52367E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    62.123       1.0000          .0000       .10000E+07
    14 'Prefactor '    .44148E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .17479E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    6.1388       1.0000          .0000       .10000E+07
    17 'norm      '    .53292       1.0000          .0000       .10000E+07
    18 'Prefactor '    .49500E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .32175E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    .35021E-01   1.0000          .0000       .10000E+07
    21 'Prefactor '    2.8896       1.0000          .0000       .10000E+07
    22 'Prefactor '    .98094E-03   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.5028       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .88301       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=   9044.827     FROM MIGRAD    STATUS=CONVERGED    145 CALLS     1990 TOTAL
                     EDM=   .99E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-08    12.432       -.54011E-07** at limit **
   2  Prefactor     .12774E-05    15.935        .10353E-06** at limit **
   3  norm          .94369E-08    6.8846       -.18877E-06** at limit **
   4  Prefactor     .11102E-09    4.4641       -.45069E-07** at limit **
   5  Prefactor     9.1029        3.6656        .45331E-07   -.24421E-03
   6  norm          22.191        7.6634        .24965E-07   -.15596E-03
   7  Prefactor     .24258E-07    2.1414       -.15232E-06** at limit **
   8  Prefactor     .76434        2.2318       -.50972E-07   -.57555E-04
   9  norm          .53130E-06    20.128        .16802E-06** at limit **
  10  Prefactor     29.412        1.1563        .13346E-08    .59301E-04
  11  Prefactor     29.564        13.769       -.19470E-08    .12916E-01
  12  Prefactor     .31641E-08    9.3656       -.42002E-07** at limit **
  13  Prefactor     62.203        7.7935        .51773E-08   -.61676E-01
  14  Prefactor     .55511E-10    2.9554        .94391E-07** at limit **
  15  Prefactor     .49960E-09    8.0164       -.16857E-06** at limit **
  16  Prefactor     6.1407        9.0932        .12127E-07   -.42493E-03
  17  norm          .53254        .55559        .37013E-08   -.90633E-04
  18  Prefactor     .61062E-09    9.2295       -.41370E-07** at limit **
  19  norm           .0000        36.354        .22844E-06** at limit **
  20  Prefactor     .31564E-06    3.2773        .47523E-07** at limit **
  21  Prefactor     3.3119        50.458        .21902E-08   -.26962E-02
  22  Prefactor     .16653E-09    6.7197       -.20713E-06** at limit **
  23  Normalizat    1.5037        .22143        .68541E-06   -.62891E-06
  24  Prefactor     .88288        .11789       -.11211E-05    .38708E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-09
  Prefactor  = 1.27742e-06
  norm       = 9.4369e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 9.10288
  norm       = 22.1907
  Prefactor  = 2.42584e-08
  Prefactor  = 0.764344
  norm       = 5.31297e-07
  Prefactor  = 29.4124
  Prefactor  = 29.5636
  Prefactor  = 3.16414e-09
  Prefactor  = 62.2029
  Prefactor  = 5.55112e-11
  Prefactor  = 4.996e-10
  Prefactor  = 6.14068
  norm       = 0.532544
  Prefactor  = 6.10623e-10
  norm       = 0
  Prefactor  = 3.15636e-07
  Prefactor  = 3.31192
  Prefactor  = 1.66533e-10
  Normalizat = 1.50368
  Prefactor  = 0.882876
 **********
 **   18 **HESSE 
 **********

 FCN=   9044.827     FROM HESSE     STATUS=OK           455 CALLS     2445 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-08    12.658        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .12774E-05    31.775        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .94369E-08    7.6636        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-09    4.4852        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.1029        3.6568        .33207E-03   -1.5648    
   6  norm          22.191        7.6876        .21126E-03   -1.5614    
   7  Prefactor     .24258E-07    9.3287        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .76434        2.2871        .56749E-03   -1.5690    
   9  norm          .53130E-06    26.090        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     29.412        23.305        .18425E-03   -1.5599    
  11  Prefactor     29.564        33.943        .18336E-03   -1.5599    
  12  Prefactor     .31641E-08    18.550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     62.203        47.772        .12688E-03   -1.5550    
  14  Prefactor     .55511E-10    2.9639        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .49960E-09    8.7408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.1407        9.3093        .40496E-03   -1.5658    
  17  norm          .53254        .62646        .75465E-03   -1.5693    
  18  Prefactor     .61062E-09    18.564        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        5.1642        .11859E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .31564E-06    15.429        .11114E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.3119        98.485        .59759E-03   -1.5672    
  22  Prefactor     .16653E-09    6.7902        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.5037        .19625        .69132E-01   -.77675    
  24  Prefactor     .88288        .10438        .44788E-01   -.96742    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53259e-06
Minuit parameter uncertainties:
  1  0.000443701
  2  0.012742
  3  0.000538441
  4  4.67576e-05
  5  3.65678
  6  7.68762
  7  0.000951643
  8  2.28713
  9  0.00744614
  10  23.3047
  11  33.943
  12  0.000483477
  13  47.7724
  14  2.02003e-05
  15  0.000132438
  16  9.30934
  17  0.626455
  18  0.000216854
  19  1.79317e-08
  20  0.00441364
  21  36.1213
  22  7.03174e-05
  23  0.196347
  24  0.104406
Done.

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

Extracting fit parameters...

4FGL J0204.8+1513
   Spectrum: PowerLaw
231    Prefactor:  9.103e+00  3.657e+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:  8.829e-01  1.044e-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:  1.504e+00  1.963e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.32
Ra Dec: 31.218 15.233
Photon Index (Fixed Index): 2.31 +/- 0.00
Photon Flux (Fixed Index): 1.36e-07 +/- 5.47e-08
Energy Flux (Fixed Index): 5.04e-05 +/- 2.03e-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) = 9041.02635369
delta logL = 3.80100401587

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9040.96336617
delta logL = 3.86399154447

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.2671       1.0000          .0000       .10000E+07
     2 'Index     '    3.5131       1.0000          .0000       10.000    
     3 'Normalizat'    1.3419       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93768       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=   9040.963     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      226 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.2684        7.7758        .68186E-03    .41643E-02
   2  Index         3.5128        1.7454        .66877E-01    .25062E-03
   3  Normalizat    1.3419        .90689E-01    .72126E-01    .13026E-04
   4  Prefactor     .93762        .46713E-01    .45483E-01    .70727E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.26836
  Index      = 3.51284
  Normalizat = 1.34187
  Prefactor  = 0.937616
 **********
 **   18 **HESSE 
 **********

 FCN=   9040.963     FROM HESSE     STATUS=OK            33 CALLS      259 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.2684        3.0593        .39059E-05   -1.5678    
   2  Index         3.5128        .74237        .28246E-02   -.30200    
   3  Normalizat    1.3419        .22716        .31914E-03   -.82325    
   4  Prefactor     .93762        .11964        .20202E-03   -.94839    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51869e-08
Minuit parameter uncertainties:
  1  3.05927
  2  0.745398
  3  0.22733
  4  0.119674
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/434333': 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) = 9040.96336534
delta logL = 3.8639923736

Extracting fit parameters...

4FGL J0204.8+1513
   Spectrum: PowerLaw
231    Prefactor:  2.268e+00  3.059e+00  0.000e+00  1.000e+06 ( 1.000e-12)
232        Index:  3.513e+00  7.454e-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.376e-01  1.197e-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:  1.342e+00  2.273e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 21.08
Ra Dec: 31.218 15.233
Photon Index (Free Index): 3.51 +/- 0.75
Photon Flux (Free Index): 2.74e-07 +/- 8.42e-08
Energy Flux (Free Index): 4.55e-05 +/- 1.43e-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/434333/cmap_HighResolution_696556801_696816001_4FGL_J0204.8+1513_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.36e-07', energy_flux2='4.55e-05', photon_flux_error='5.47e-08', dlogl='3.86e+00', energy_flux='5.04e-05', photon_flux2='2.74e-07', job_status='DONE', time_completed='2023-01-31 00:21:04.296211', photon_index_error2='0.75', photon_index2='3.51', ts='12.32', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', energy_flux_error2='1.43e-05', EG='1.50', time_epoch_completed='1675153264.3', return_code='0', job_id='434333', GAL2='0.94', EG2='1.34', return_code2='0', energy_flux_error='2.03e-05', photon_flux_error2='8.42e-08', ts2='21.08', photon_index='2.31' WHERE bin_id='1764' AND source_name='4FGL J0204.8+1513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 00:21:04 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 434333: <4FGL_J0204.8+1513_daily_bin1764> in cluster <slac> Done

Job <4FGL_J0204.8+1513_daily_bin1764> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Jan 31 00:04:47 2023
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 00:07:36 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 00:07:36 2023
Terminated at Tue Jan 31 00:21:05 2023
Results reported at Tue Jan 31 00:21:05 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0204.8+1513_daily_bin1764 31.2182 15.2326 696556801 696816001 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 :                                   711.52 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             327.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   808 sec.
    Turnaround time :                            978 sec.

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

