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


Performing analysis on: 4FGL_J0204.8+1513_daily_bin1715
RA = 31.2182, Dec = 15.2326
tmin = 683856001, tmax = 684115201
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='2705', job_status='RUN', time_executed='2022-09-16 10:23:16.630977', time_epoch_executed='1663348996.63' WHERE source_name='4FGL J0204.8+1513' and cadence='daily' and bin_id='1715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/2705

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/2705/ft1_4FGL_J0204.8+1513_daily_bin1715.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/2705/ft2_4FGL_J0204.8+1513_daily_bin1715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/2705/ft1_4FGL_J0204.8+1513_daily_bin1715.fits outfile=/scratch/kocevski/2705/ft1_filteredMKT_4FGL_J0204.8+1513_daily_bin1715.fits ra=31.2182 dec=15.2326 rad=12.0 tmin=683856001.0 tmax=684115201.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 2.65
user 2.44
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/2705/ft2_4FGL_J0204.8+1513_daily_bin1715.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/2705/ft1_filteredMKT_4FGL_J0204.8+1513_daily_bin1715.fits evtable="EVENTS" outfile="/scratch/kocevski/2705/ft1_filtered_4FGL_J0204.8+1513_daily_bin1715.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.42
user 0.26
sys 0.15

Number of photons that the gtmktime cut: 831

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/2705/ft1_filtered_4FGL_J0204.8+1513_daily_bin1715.fits" evtable="EVENTS" scfile=/scratch/kocevski/2705/ft2_4FGL_J0204.8+1513_daily_bin1715.fits sctable="SC_DATA" outfile=/scratch/kocevski/2705/ltcube_683856001_684115201_4FGL_J0204.8+1513_daily_bin1715.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/2705/ft2_4FGL_J0204.8+1513_daily_bin1715.fits
.....................!
real 9.20
user 8.92
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/2705/ft1_filtered_4FGL_J0204.8+1513_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/2705/ft2_4FGL_J0204.8+1513_daily_bin1715.fits sctable="SC_DATA" expcube=/scratch/kocevski/2705/ltcube_683856001_684115201_4FGL_J0204.8+1513_daily_bin1715.fits outfile=/scratch/kocevski/2705/expmap_683856001_684115201_4FGL_J0204.8+1513_daily_bin1715.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/2705/ltcube_683856001_684115201_4FGL_J0204.8+1513_daily_bin1715.fits
.....................!
real 150.19
user 145.64
sys 4.30

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/2705/ft1_filtered_4FGL_J0204.8+1513_daily_bin1715.fits scfile=/scratch/kocevski/2705/ft2_4FGL_J0204.8+1513_daily_bin1715.fits outfile=/scratch/kocevski/2705/cmap_683856001_684115201_4FGL_J0204.8+1513_daily_bin1715.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.94
user 0.33
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/2705/ft1_filtered_4FGL_J0204.8+1513_daily_bin1715.fits scfile=/scratch/kocevski/2705/ft2_4FGL_J0204.8+1513_daily_bin1715.fits outfile=/scratch/kocevski/2705/cmap_HighResolution_683856001_684115201_4FGL_J0204.8+1513_daily_bin1715.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.48
user 0.31
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.6480       1.0000          .0000       .10000E+07
     2 'Prefactor '    .85878       1.0000          .0000       .10000E+07
     3 'norm      '    6.0354       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.1382       1.0000          .0000       .10000E+07
     5 'Prefactor '    .71442       1.0000          .0000       .10000E+07
     6 'norm      '    15.669       1.0000          .0000       .10000E+07
     7 'Prefactor '    .37648E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    3.7190       1.0000          .0000       .10000E+07
     9 'norm      '    58.690       1.0000          .0000       .10000E+07
    10 'Prefactor '    14.491       1.0000          .0000       .10000E+07
    11 'Prefactor '    20.622       1.0000          .0000       .10000E+07
    12 'Prefactor '    .26315E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .85103E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .63094E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    .58176E-07   1.0000          .0000       .10000E+07
    16 'Prefactor '    .25629E-03   1.0000          .0000       .10000E+07
    17 'norm      '    1.5027       1.0000          .0000       .10000E+07
    18 'Prefactor '    .42771E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .51449E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    1.9145       1.0000          .0000       .10000E+07
    21 'Prefactor '    .41805E-01   1.0000          .0000       .10000E+07
    22 'Prefactor '    .21751E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0174       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0913       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=   9159.272     FROM MIGRAD    STATUS=CONVERGED    162 CALLS     1598 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9132        1.4844       -.73793E-06    .49281E-02
   2  Prefactor     .90931        2.0598       -.56171E-05   -.34861E-01
   3  norm          6.1079        14.719       -.14585E-04   -.40845E-01
   4  Prefactor     2.1384        3.3680       -.13260E-06    .38115E-02
   5  Prefactor     .75753        2.5318        .41263E-06   -.41921E-02
   6  norm          15.688        5.8074        .13863E-06   -.57188E-03
   7  Prefactor     .95267E-04    12.721        .79630E-05** at limit **
   8  Prefactor     3.7162        2.2306       -.41660E-06    .50331E-02
   9  norm          63.989        63.849        .32776E-05   -.96745E-02
  10  Prefactor     14.853        16.159        .97474E-06   -.99074E-01
  11  Prefactor     21.561        8.3760       -.13987E-06    .35223E-03
  12  Prefactor     .78187E-06    25.144        .10343E-04** at limit **
  13  Prefactor     .36552E-05    28.105       -.14800E-04** at limit **
  14  Prefactor     .42744E-08    8.1034        .10188E-05** at limit **
  15  Prefactor     .31808E-07    11.082        .11616E-05** at limit **
  16  Prefactor     .11102E-09    5.5893       -.25816E-06** at limit **
  17  norm          1.5036        .57014       -.16033E-06    .53898E-02
  18  Prefactor     .44694E-05    50.981        .46768E-05** at limit **
  19  norm          .72164E-09    7.6487       -.12896E-05** at limit **
  20  Prefactor     1.8500        4.3980        .80186E-05    .28609E-01
  21  Prefactor     .44409E-09    39.262       -.21729E-05** at limit **
  22  Prefactor      .0000        8.4267       -.17996E-06** at limit **
  23  Normalizat    1.0163        .21355        .25573E-05   -.57095E-04
  24  Prefactor     1.0906        .11731        .66829E-05   -.11008E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.91317
  Prefactor  = 0.909309
  norm       = 6.10786
  Prefactor  = 2.13839
  Prefactor  = 0.757525
  norm       = 15.6876
  Prefactor  = 9.52672e-05
  Prefactor  = 3.71617
  norm       = 63.9892
  Prefactor  = 14.8534
  Prefactor  = 21.5608
  Prefactor  = 7.81875e-07
  Prefactor  = 3.65524e-06
  Prefactor  = 4.27436e-09
  Prefactor  = 3.18079e-08
  Prefactor  = 1.11022e-10
  norm       = 1.5036
  Prefactor  = 4.46937e-06
  norm       = 7.21645e-10
  Prefactor  = 1.84996
  Prefactor  = 4.44089e-10
  Prefactor  = 0
  Normalizat = 1.01632
  Prefactor  = 1.09065
 **********
 **   18 **HESSE 
 **********

 FCN=   9159.272     FROM HESSE     STATUS=OK           455 CALLS     2053 TOTAL
                     EDM=   .25E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9132        104.16        .52866E-03   -1.5668    
   2  Prefactor     .90931        15.233        .48653E-03   -1.5689    
   3  norm          6.1079        18.607        .40846E-03   -1.5659    
   4  Prefactor     2.1384        3.4043        .70464E-03   -1.5679    
   5  Prefactor     .75753        2.5480        .59545E-03   -1.5691    
   6  norm          15.688        5.8281        .25276E-03   -1.5629    
   7  Prefactor     .95267E-04    5.9539        .59004E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.7162        2.2506        .52339E-03   -1.5669    
   9  norm          63.989        64.033        .13054E-03   -1.5548    
  10  Prefactor     14.853        22.630        .26285E-03   -1.5631    
  11  Prefactor     21.561        37.148        .22028E-03   -1.5615    
  12  Prefactor     .78187E-06    30.073        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .36552E-05    33.352        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .42744E-08    8.0831        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .31808E-07    11.132        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11102E-09    5.6061        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.5036        .61842        .87298E-03   -1.5683    
  18  Prefactor     .44694E-05    60.726        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .72164E-09    7.6477        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.8500        36.516        .75090E-03   -1.5681    
  21  Prefactor     .44409E-09    38.941        .15883E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        8.4446        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0163        .19380        .78854E-01   -.92486    
  24  Prefactor     1.0906        .10450        .37927E-01   -.89766    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.46043e-06
Minuit parameter uncertainties:
  1  40.3782
  2  7.44351
  3  18.6073
  4  3.40428
  5  2.54798
  6  5.82815
  7  0.0476326
  8  2.25063
  9  64.0333
  10  22.6304
  11  37.1481
  12  0.00969823
  13  0.0220828
  14  0.0003726
  15  0.00119041
  16  5.57718e-05
  17  0.618417
  18  0.0329491
  19  0.000151083
  20  16.4383
  21  0.000266961
  22  7.96353e-06
  23  0.193938
  24  0.104522
Done.

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

Extracting fit parameters...

4FGL J0204.8+1513
   Spectrum: PowerLaw
231    Prefactor:  7.575e-01  2.548e+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.091e+00  1.045e-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.016e+00  1.939e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.10
Ra Dec: 31.218 15.233
Photon Flux Upper Limit: 1.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.72e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/2705/likelihoodResults_683856001_684115201_4FGL_J0204.8+1513_daily_bin1715.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) = 9159.13162209
delta logL = 0.140410811799

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9159.1050411
delta logL = 0.166991799982

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40264       1.0000          .0000       .10000E+07
     2 'Index     '    3.3436       1.0000          .0000       10.000    
     3 'Normalizat'    .98798       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0992       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=   9159.105     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      208 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40136        9.6704        .89181E-03    .25769E-01
   2  Index         3.3460        2.7124        .21422        .99827E-04
   3  Normalizat    .98796        .33303E-01    .79852E-01   -.45666E-04
   4  Prefactor     1.0992        .18373E-01    .37616E-01   -.37022E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.401364
  Index      = 3.34598
  Normalizat = 0.987964
  Prefactor  = 1.09924
 **********
 **   18 **HESSE 
 **********

 FCN=   9159.105     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      239 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40136        48.760        .91776E-05   -1.5695    
   2  Index         3.3460        5.1232        .90368E-02   -.33716    
   3  Normalizat    .98796        .21530        .35344E-03   -.93435    
   4  Prefactor     1.0992        .12114        .18513E-03   -.89491    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.08767e-06
Minuit parameter uncertainties:
  1  8.84782
  2  11.8861
  3  0.215487
  4  0.121168
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/2705': 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): 102
logL (Free Index) = 9159.1050403
delta logL = 0.166992593884

Extracting fit parameters...

4FGL J0204.8+1513
   Spectrum: PowerLaw
231    Prefactor:  4.014e-01  8.848e+00  0.000e+00  1.000e+06 ( 1.000e-12)
232        Index:  3.346e+00  1.189e+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.099e+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:  9.880e-01  2.155e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.10
Ra Dec: 31.218 15.233

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/2705/cmap_HighResolution_683856001_684115201_4FGL_J0204.8+1513_daily_bin1715.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.72e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2022-09-16 10:33:34.840604', job_id='2705', GAL2='1.10', fit_tolerance='1e-08', EG2='0.99', EG='1.02', time_epoch_completed='1663349614.84', return_code2='102', ts='0.10', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='1.67e-01', ts2='0.45', photon_index_error='0.00', photon_index='2.31' WHERE bin_id='1715' AND source_name='4FGL J0204.8+1513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 10:33:34 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0168>
Subject: Job 2705: <4FGL_J0204.8+1513_daily_bin1715> in cluster <slac> Done

Job <4FGL_J0204.8+1513_daily_bin1715> 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) <bullet0168>, 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:33:35 2022
Results reported at Fri Sep 16 10:33:35 2022

Your job looked like:

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

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

