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


Performing analysis on: 4FGL_J0204.8+1513_daily_bin1718
RA = 31.2182, Dec = 15.2326
tmin = 684633601, tmax = 684892801
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='2710', job_status='RUN', time_executed='2022-09-16 10:26:32.142076', time_epoch_executed='1663349192.14' WHERE source_name='4FGL J0204.8+1513' and cadence='daily' and bin_id='1718'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/2710

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/2710/ft1_4FGL_J0204.8+1513_daily_bin1718.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/2710/ft2_4FGL_J0204.8+1513_daily_bin1718.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/2710/ft1_4FGL_J0204.8+1513_daily_bin1718.fits outfile=/scratch/kocevski/2710/ft1_filteredMKT_4FGL_J0204.8+1513_daily_bin1718.fits ra=31.2182 dec=15.2326 rad=12.0 tmin=684633601.0 tmax=684892801.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.20
user 2.98
sys 0.20

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

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

Number of photons that the gtmktime cut: 613

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/2710/ft1_filtered_4FGL_J0204.8+1513_daily_bin1718.fits evtable="EVENTS" scfile=/scratch/kocevski/2710/ft2_4FGL_J0204.8+1513_daily_bin1718.fits sctable="SC_DATA" expcube=/scratch/kocevski/2710/ltcube_684633601_684892801_4FGL_J0204.8+1513_daily_bin1718.fits outfile=/scratch/kocevski/2710/expmap_684633601_684892801_4FGL_J0204.8+1513_daily_bin1718.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/2710/ltcube_684633601_684892801_4FGL_J0204.8+1513_daily_bin1718.fits
.....................!
real 191.97
user 185.24
sys 5.39

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/2710/ft1_filtered_4FGL_J0204.8+1513_daily_bin1718.fits scfile=/scratch/kocevski/2710/ft2_4FGL_J0204.8+1513_daily_bin1718.fits outfile=/scratch/kocevski/2710/cmap_684633601_684892801_4FGL_J0204.8+1513_daily_bin1718.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/2710/ft1_filtered_4FGL_J0204.8+1513_daily_bin1718.fits scfile=/scratch/kocevski/2710/ft2_4FGL_J0204.8+1513_daily_bin1718.fits outfile=/scratch/kocevski/2710/cmap_HighResolution_684633601_684892801_4FGL_J0204.8+1513_daily_bin1718.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.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40163E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    1.7764       1.0000          .0000       .10000E+07
     3 'norm      '    .38860E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .98532E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.6361       1.0000          .0000       .10000E+07
     6 'norm      '    20.144       1.0000          .0000       .10000E+07
     7 'Prefactor '    4.2617       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.3607       1.0000          .0000       .10000E+07
     9 'norm      '    .62141E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .23336E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .54325E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .21410E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    63.769       1.0000          .0000       .10000E+07
    14 'Prefactor '    17.592       1.0000          .0000       .10000E+07
    15 'Prefactor '    .58046E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    11.344       1.0000          .0000       .10000E+07
    17 'norm      '    1.2114       1.0000          .0000       .10000E+07
    18 'Prefactor '    .78883E-04   1.0000          .0000       .10000E+07
    19 'norm      '    .13843E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    14.445       1.0000          .0000       .10000E+07
    21 'Prefactor '    .16055E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .37478E-01   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.4020       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .85921       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=   6999.588     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     2061 TOTAL
                     EDM=   .78E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22464E-05    7.5792       -.14218E-06** at limit **
   2  Prefactor     1.8017        8.8694        .75993E-07    .88192E-03
   3  norm          .38303E-08    12.122       -.63785E-07** at limit **
   4  Prefactor      .0000        4.6902        .54033E-07** at limit **
   5  Prefactor     1.6348        2.5469        .23034E-07    .72163E-03
   6  norm          20.279        9.7061       -.16341E-07   -.21180E-02
   7  Prefactor     4.2621        4.5893        .54828E-08    .91665E-04
   8  Prefactor     4.3517        3.9169       -.46908E-07   -.28553E-02
   9  norm          .33223E-05    10.702       -.54444E-07** at limit **
  10  Prefactor     .48317E-06    7.3517       -.15699E-06** at limit **
  11  Prefactor     .10223E-05    16.367        .56951E-07** at limit **
  12  Prefactor     .12212E-08    38.570       -.36122E-06** at limit **
  13  Prefactor     63.466        37.870       -.20325E-06    .10093    
  14  Prefactor     17.399        11.726        .70973E-07    .31043E-01
  15  Prefactor     .58835E-05    28.563       -.30235E-06** at limit **
  16  Prefactor     11.250        5.3421        .41460E-07    .14357E-01
  17  norm          1.2136        .65037        .39516E-08    .45752E-02
  18  Prefactor     .31915E-05    9.1793       -.60564E-07** at limit **
  19  norm           .0000        6.8104        .17646E-06** at limit **
  20  Prefactor     14.478        1.2199        .42686E-08    .34060E-02
  21  Prefactor     .99643E-07    7.1849       -.14820E-06** at limit **
  22  Prefactor     .55511E-10    48.230        .65355E-07** at limit **
  23  Normalizat    1.4023        .27995       -.28189E-05   -.88754E-04
  24  Prefactor     .85930        .13657        .13481E-05   -.16970E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.24637e-06
  Prefactor  = 1.80174
  norm       = 3.83027e-09
  Prefactor  = 0
  Prefactor  = 1.63484
  norm       = 20.2794
  Prefactor  = 4.26211
  Prefactor  = 4.35167
  norm       = 3.32234e-06
  Prefactor  = 4.83169e-07
  Prefactor  = 1.02235e-06
  Prefactor  = 1.22125e-09
  Prefactor  = 63.4656
  Prefactor  = 17.3991
  Prefactor  = 5.88352e-06
  Prefactor  = 11.2505
  norm       = 1.21361
  Prefactor  = 3.1915e-06
  norm       = 0
  Prefactor  = 14.4776
  Prefactor  = 9.96425e-08
  Prefactor  = 5.55112e-11
  Normalizat = 1.4023
  Prefactor  = 0.859301
 **********
 **   18 **HESSE 
 **********

 FCN=   6999.588     FROM HESSE     STATUS=OK           447 CALLS     2508 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22464E-05    20.863        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.8017        8.9841        .78512E-03   -1.5681    
   3  norm          .38303E-08    12.107        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        4.6847        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.6348        2.5756        .82604E-03   -1.5682    
   6  norm          20.279        9.7320        .22288E-03   -1.5618    
   7  Prefactor     4.2621        4.5944        .48782E-03   -1.5667    
   8  Prefactor     4.3517        3.9222        .48210E-03   -1.5666    
   9  norm          .33223E-05    28.954        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .48317E-06    23.057        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10223E-05    17.933        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .12212E-08    38.514        .16946E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     63.466        48.514        .12523E-03   -1.5549    
  14  Prefactor     17.399        14.381        .23852E-03   -1.5625    
  15  Prefactor     .58835E-05    35.112        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     11.250        19.202        .29719E-03   -1.5641    
  17  norm          1.2136        .74817        .10273E-02   -1.5686    
  18  Prefactor     .31915E-05    27.728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        6.8013        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     14.478        25.435        .26327E-03   -1.5632    
  21  Prefactor     .99643E-07    23.606        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .55511E-10    14.097        .12057E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4023        .24307        .76163E-01   -.80562    
  24  Prefactor     .85930        .11806        .44483E-01   -.97578    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.97862e-07
Minuit parameter uncertainties:
  1  0.0136918
  2  8.04663
  3  0.00043196
  4  1.47874e-05
  5  2.57564
  6  9.73199
  7  4.59444
  8  3.92219
  9  0.019616
  10  0.00667552
  11  0.00856373
  12  0.000428901
  13  48.514
  14  14.3813
  15  0.0287463
  16  19.2024
  17  0.748167
  18  0.0188142
  19  8.43457e-06
  20  25.4357
  21  0.00306742
  22  4.10353e-05
  23  0.24327
  24  0.118093
Done.

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

Extracting fit parameters...

4FGL J0204.8+1513
   Spectrum: PowerLaw
231    Prefactor:  1.635e+00  2.576e+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.593e-01  1.181e-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.402e+00  2.433e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/2710/likelihoodResults_684633601_684892801_4FGL_J0204.8+1513_daily_bin1718.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) = 6999.13258025
delta logL = 0.45493158602

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6999.13165796
delta logL = 0.455853876761

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6959       1.0000          .0000       .10000E+07
     2 'Index     '    1.2574       1.0000          .0000       10.000    
     3 'Normalizat'    1.4064       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85960       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=   6999.132     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      208 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6959        1.8913        .80770E-03    .17868E-01
   2  Index         1.2574        .39401        .26652       -.27320E-04
   3  Normalizat    1.4063        .23606        .76032E-01   -.22232E-05
   4  Prefactor     .85961        .11601        .44488E-01    .11676E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.69594
  Index      = 1.25737
  Normalizat = 1.40635
  Prefactor  = 0.85961
 **********
 **   18 **HESSE 
 **********

 FCN=   6999.132     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6959        2.6640        .11826E-04   -1.5682    
   2  Index         1.2574        .67888        .97137E-02   -.84584    
   3  Normalizat    1.4063        .27444        .33647E-03   -.80445    
   4  Prefactor     .85961        .13508        .20427E-03   -.97567    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66232e-09
Minuit parameter uncertainties:
  1  2.66397
  2  0.683714
  3  0.27473
  4  0.13513
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/2710': 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) = 6999.13165795
delta logL = 0.455853880354

Extracting fit parameters...

4FGL J0204.8+1513
   Spectrum: PowerLaw
231    Prefactor:  1.696e+00  2.664e+00  0.000e+00  1.000e+06 ( 1.000e-12)
232        Index:  1.257e+00  6.837e-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:  8.596e-01  1.351e-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.406e+00  2.747e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.48
Ra Dec: 31.218 15.233
Photon Index (Free Index): 1.26 +/- 0.68
Photon Flux (Free Index): 9.65e-09 +/- 1.43e-08
Energy Flux (Free Index): 6.76e-05 +/- 1.08e-04

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/2710/cmap_HighResolution_684633601_684892801_4FGL_J0204.8+1513_daily_bin1718.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.60e-03', comment='SUCCESS', energy_flux2='6.76e-05', dlogl='4.56e-01', photon_flux2='9.65e-09', job_status='DONE', time_completed='2022-09-16 10:37:18.872381', photon_index_error2='0.68', photon_index2='1.26', ts='0.57', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='1.25e-07', energy_flux_error2='1.08e-04', EG='1.40', time_epoch_completed='1663349838.87', return_code='0', job_id='2710', GAL2='0.86', EG2='1.41', return_code2='0', photon_flux_error2='1.43e-08', ts2='1.48', photon_index='2.31' WHERE bin_id='1718' AND source_name='4FGL J0204.8+1513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 10:37:18 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0021>
Subject: Job 2710: <4FGL_J0204.8+1513_daily_bin1718> in cluster <slac> Done

Job <4FGL_J0204.8+1513_daily_bin1718> 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) <bullet0021>, 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:19 2022
Results reported at Fri Sep 16 10:37:19 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0204.8+1513_daily_bin1718 31.2182 15.2326 684633601 684892801 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 :                                   646.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             304.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   859 sec.
    Turnaround time :                            971 sec.

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

