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


Performing analysis on: 4FGL_J0204.8+1513_daily_bin1713
RA = 31.2182, Dec = 15.2326
tmin = 683337601, tmax = 683596801
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='2702', job_status='RUN', time_executed='2022-09-16 10:25:35.103024', time_epoch_executed='1663349135.1' WHERE source_name='4FGL J0204.8+1513' and cadence='daily' and bin_id='1713'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/2702

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/2702/ft1_4FGL_J0204.8+1513_daily_bin1713.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/2702/ft2_4FGL_J0204.8+1513_daily_bin1713.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/2702/ft1_4FGL_J0204.8+1513_daily_bin1713.fits outfile=/scratch/kocevski/2702/ft1_filteredMKT_4FGL_J0204.8+1513_daily_bin1713.fits ra=31.2182 dec=15.2326 rad=12.0 tmin=683337601.0 tmax=683596801.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.52
user 3.27
sys 0.23

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

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

Number of photons that the gtmktime cut: 758

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/2702/ft1_filtered_4FGL_J0204.8+1513_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/2702/ft2_4FGL_J0204.8+1513_daily_bin1713.fits sctable="SC_DATA" expcube=/scratch/kocevski/2702/ltcube_683337601_683596801_4FGL_J0204.8+1513_daily_bin1713.fits outfile=/scratch/kocevski/2702/expmap_683337601_683596801_4FGL_J0204.8+1513_daily_bin1713.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/2702/ltcube_683337601_683596801_4FGL_J0204.8+1513_daily_bin1713.fits
.....................!
real 190.87
user 185.38
sys 5.16

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/2702/ft1_filtered_4FGL_J0204.8+1513_daily_bin1713.fits scfile=/scratch/kocevski/2702/ft2_4FGL_J0204.8+1513_daily_bin1713.fits outfile=/scratch/kocevski/2702/cmap_683337601_683596801_4FGL_J0204.8+1513_daily_bin1713.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.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/2702/ft1_filtered_4FGL_J0204.8+1513_daily_bin1713.fits scfile=/scratch/kocevski/2702/ft2_4FGL_J0204.8+1513_daily_bin1713.fits outfile=/scratch/kocevski/2702/cmap_HighResolution_683337601_683596801_4FGL_J0204.8+1513_daily_bin1713.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.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21574E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    21.039       1.0000          .0000       .10000E+07
     3 'norm      '    .49103E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .81015E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    12.089       1.0000          .0000       .10000E+07
     6 'norm      '    6.0369       1.0000          .0000       .10000E+07
     7 'Prefactor '    .36806       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.0623       1.0000          .0000       .10000E+07
     9 'norm      '    .34055       1.0000          .0000       .10000E+07
    10 'Prefactor '    .50475E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .12842       1.0000          .0000       .10000E+07
    12 'Prefactor '    .56491E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    27.847       1.0000          .0000       .10000E+07
    14 'Prefactor '    .19439E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .92782E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .69693E-02   1.0000          .0000       .10000E+07
    17 'norm      '    .93014       1.0000          .0000       .10000E+07
    18 'Prefactor '    .81095E-01   1.0000          .0000       .10000E+07
    19 'norm      '    .11695E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    12.252       1.0000          .0000       .10000E+07
    21 'Prefactor '    .41896E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    .23359E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    .90893       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99242       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=   8359.980     FROM MIGRAD    STATUS=CONVERGED    161 CALLS     1989 TOTAL
                     EDM=   .78E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .79214E-07    9.0743        .32595E-06** at limit **
   2  Prefactor     21.021        10.538       -.71603E-07   -.60444E-01
   3  norm          .74940E-07    5.8498       -.68402E-07** at limit **
   4  Prefactor     .33307E-09    7.4939       -.10858E-07** at limit **
   5  Prefactor     12.091        3.5981        .13029E-08    .12484E-02
   6  norm          6.0270        3.8292        .37329E-07    .19581E-02
   7  Prefactor     .36336        23.000        .11792E-06   -.34847E-02
   8  Prefactor     1.0610        2.4476        .26504E-07    .95429E-03
   9  norm          .10552E-05    13.966        .15662E-06** at limit **
  10  Prefactor     .71609E-07    5.7100       -.72321E-07** at limit **
  11  Prefactor     .14425E-04    21.355        .23261E-07** at limit **
  12  Prefactor     .17764E-07    10.387        .18400E-08** at limit **
  13  Prefactor     27.618        10.053       -.11029E-06    .14293    
  14  Prefactor     .55511E-10    3.6957       -.44674E-07** at limit **
  15  Prefactor     .20077E-05    92.304       -.12081E-05** at limit **
  16  Prefactor     .67246E-06    28.024       -.55270E-07** at limit **
  17  norm          .93056        .47212        .16278E-07    .89559E-02
  18  Prefactor     .27756E-09    40.435       -.31236E-06** at limit **
  19  norm           .0000        2.5008        .55164E-07** at limit **
  20  Prefactor     12.240        2.2619        .18062E-07   -.33003E-02
  21  Prefactor     .19584E-06    9.6898        .43369E-07** at limit **
  22  Prefactor     .40074E-06    9.4857       -.35316E-07** at limit **
  23  Normalizat    .90924        .20838        .16615E-05    .14824E-03
  24  Prefactor     .99243        .11037        .12566E-06    .27443E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.92144e-08
  Prefactor  = 21.0208
  norm       = 7.49401e-08
  Prefactor  = 3.33067e-10
  Prefactor  = 12.091
  norm       = 6.02696
  Prefactor  = 0.363365
  Prefactor  = 1.06105
  norm       = 1.05521e-06
  Prefactor  = 7.16094e-08
  Prefactor  = 1.44248e-05
  Prefactor  = 1.77636e-08
  Prefactor  = 27.6182
  Prefactor  = 5.55112e-11
  Prefactor  = 2.00767e-06
  Prefactor  = 6.72462e-07
  norm       = 0.930556
  Prefactor  = 2.77556e-10
  norm       = 0
  Prefactor  = 12.2405
  Prefactor  = 1.95843e-07
  Prefactor  = 4.00735e-07
  Normalizat = 0.909239
  Prefactor  = 0.992435
 **********
 **   18 **HESSE 
 **********

 FCN=   8359.980     FROM HESSE     STATUS=OK           447 CALLS     2436 TOTAL
                     EDM=   .27E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .79214E-07    9.2676        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     21.021        10.647        .21808E-03   -1.5616    
   3  norm          .74940E-07    12.291        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .33307E-09    7.4650        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.091        3.6001        .28786E-03   -1.5638    
   6  norm          6.0270        3.8434        .40841E-03   -1.5659    
   7  Prefactor     .36336        4.3565        .63062E-02   -1.5696    
   8  Prefactor     1.0610        2.4684        .11865E-02   -1.5687    
   9  norm          .10552E-05    81.863        .96725E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .71609E-07    12.284        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .14425E-04    23.033        .13221E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .17764E-07    20.350        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     27.618        58.635        .18953E-03   -1.5603    
  14  Prefactor     .55511E-10    3.6955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .20077E-05    91.925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .67246E-06    29.441        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .93056        .49739        .43698E-03   -1.5689    
  18  Prefactor     .27756E-09    40.108        .14468E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        2.5033        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     12.240        15.461        .28593E-03   -1.5638    
  21  Prefactor     .19584E-06    19.889        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .40074E-06    10.543        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .90924        .18622        .76642E-01   -.96136    
  24  Prefactor     .99243        .97061E-01    .46172E-01   -.92982    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.69033e-06
Minuit parameter uncertainties:
  1  0.00171345
  2  10.6469
  3  0.00191981
  4  0.000103322
  5  3.60012
  6  3.84338
  7  2.51635
  8  2.46839
  9  0.018589
  10  0.00187611
  11  0.0364557
  12  0.00120193
  13  58.6366
  14  3.08225e-05
  15  0.0271706
  16  0.00889901
  17  0.497385
  18  0.000220898
  19  5.13906e-07
  20  15.4609
  21  0.0039472
  22  0.00411093
  23  0.18635
  24  0.0970776
Done.

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

Extracting fit parameters...

4FGL J0204.8+1513
   Spectrum: PowerLaw
231    Prefactor:  1.209e+01  3.600e+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.924e-01  9.708e-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.092e-01  1.864e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 21.38
Ra Dec: 31.218 15.233
Photon Index (Fixed Index): 2.31 +/- 0.00
Photon Flux (Fixed Index): 1.81e-07 +/- 5.39e-08
Energy Flux (Fixed Index): 6.70e-05 +/- 1.99e-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) = 8359.39211449
delta logL = 0.587411178341

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8359.37960123
delta logL = 0.599924440732

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.2867       1.0000          .0000       .10000E+07
     2 'Index     '    2.6792       1.0000          .0000       10.000    
     3 'Normalizat'    .86000       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0104       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=   8359.380     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      245 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.2863        29.721        .34802E-03    .16238E-02
   2  Index         2.6792        2.1355        .81461E-01    .19806E-03
   3  Normalizat    .85999        .11802        .78480E-01    .30309E-04
   4  Prefactor     1.0104        .54324E-01    .43270E-01    .27258E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.28634
  Index      = 2.67924
  Normalizat = 0.859991
  Prefactor  = 1.01039
 **********
 **   18 **HESSE 
 **********

 FCN=   8359.380     FROM HESSE     STATUS=OK            33 CALLS      278 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.2863        4.9798        .70225E-05   -1.5650    
   2  Index         2.6792        .40061        .34004E-02   -.48268    
   3  Normalizat    .85999        .20764        .34740E-03   -.97881    
   4  Prefactor     1.0104        .11167        .17684E-03   -.92384    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.20954e-09
Minuit parameter uncertainties:
  1  4.97977
  2  0.401163
  3  0.207831
  4  0.111699
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/2702': 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) = 8359.37960121
delta logL = 0.599924464963

Extracting fit parameters...

4FGL J0204.8+1513
   Spectrum: PowerLaw
231    Prefactor:  8.286e+00  4.980e+00  0.000e+00  1.000e+06 ( 1.000e-12)
232        Index:  2.679e+00  4.012e-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.010e+00  1.117e-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:  8.600e-01  2.078e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 22.80
Ra Dec: 31.218 15.233
Photon Index (Free Index): 2.68 +/- 0.40
Photon Flux (Free Index): 2.23e-07 +/- 7.12e-08
Energy Flux (Free Index): 5.47e-05 +/- 1.83e-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/2702/cmap_HighResolution_683337601_683596801_4FGL_J0204.8+1513_daily_bin1713.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.81e-07', energy_flux2='5.47e-05', photon_flux_error='5.39e-08', dlogl='6.00e-01', energy_flux='6.70e-05', photon_flux2='2.23e-07', job_status='DONE', time_completed='2022-09-16 10:36:36.003320', photon_index_error2='0.40', photon_index2='2.68', ts='21.38', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='1.83e-05', EG='0.91', time_epoch_completed='1663349796.0', return_code='0', job_id='2702', GAL2='1.01', EG2='0.86', return_code2='0', energy_flux_error='1.99e-05', photon_flux_error2='7.12e-08', ts2='22.80', photon_index='2.31' WHERE bin_id='1713' AND source_name='4FGL J0204.8+1513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 10:36:36 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0163>
Subject: Job 2702: <4FGL_J0204.8+1513_daily_bin1713> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0204.8+1513_daily_bin1713 31.2182 15.2326 683337601 683596801 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 :                                   663.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             308.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   816 sec.
    Turnaround time :                            928 sec.

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

