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 32 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J0204.8+1513_daily_bin1698
RA = 31.2182, Dec = 15.2326
tmin = 679449601, tmax = 679708801
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='916381', job_status='RUN', time_executed='2022-07-17 00:05:28.159227', time_epoch_executed='1658041528.16' WHERE source_name='4FGL J0204.8+1513' and cadence='daily' and bin_id='1698'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/916381

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/916381/ft1_4FGL_J0204.8+1513_daily_bin1698.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/916381/ft2_4FGL_J0204.8+1513_daily_bin1698.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/916381/ft1_4FGL_J0204.8+1513_daily_bin1698.fits outfile=/scratch/kocevski/916381/ft1_filteredMKT_4FGL_J0204.8+1513_daily_bin1698.fits ra=31.2182 dec=15.2326 rad=12.0 tmin=679449601.0 tmax=679708801.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.43
user 3.20
sys 0.21

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

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

Number of photons that the gtmktime cut: 852

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/916381/ft1_filtered_4FGL_J0204.8+1513_daily_bin1698.fits evtable="EVENTS" scfile=/scratch/kocevski/916381/ft2_4FGL_J0204.8+1513_daily_bin1698.fits sctable="SC_DATA" expcube=/scratch/kocevski/916381/ltcube_679449601_679708801_4FGL_J0204.8+1513_daily_bin1698.fits outfile=/scratch/kocevski/916381/expmap_679449601_679708801_4FGL_J0204.8+1513_daily_bin1698.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/916381/ltcube_679449601_679708801_4FGL_J0204.8+1513_daily_bin1698.fits
.....................!
real 193.21
user 185.89
sys 5.77

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/916381/ft1_filtered_4FGL_J0204.8+1513_daily_bin1698.fits scfile=/scratch/kocevski/916381/ft2_4FGL_J0204.8+1513_daily_bin1698.fits outfile=/scratch/kocevski/916381/cmap_679449601_679708801_4FGL_J0204.8+1513_daily_bin1698.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 1.53
user 0.36
sys 0.16

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

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/916381/ft1_filtered_4FGL_J0204.8+1513_daily_bin1698.fits', '/scratch/kocevski/916381/ft2_4FGL_J0204.8+1513_daily_bin1698.fits', expMap='/scratch/kocevski/916381/expmap_679449601_679708801_4FGL_J0204.8+1513_daily_bin1698.fits', expCube='/scratch/kocevski/916381/ltcube_679449601_679708801_4FGL_J0204.8+1513_daily_bin1698.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/916381/Model_4FGL_J0204.8+1513_daily_bin1698.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  1.000e-04  1.000e+04 ( 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/916381/ft1_filtered_4FGL_J0204.8+1513_daily_bin1698.fits
Spacecraft file(s): /scratch/kocevski/916381/ft2_4FGL_J0204.8+1513_daily_bin1698.fits
Exposure map: /scratch/kocevski/916381/expmap_679449601_679708801_4FGL_J0204.8+1513_daily_bin1698.fits
Exposure cube: /scratch/kocevski/916381/ltcube_679449601_679708801_4FGL_J0204.8+1513_daily_bin1698.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/916381/Model_4FGL_J0204.8+1513_daily_bin1698.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) = 9442.14797258

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.1538       1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.4522       1.0000         .10000E-03   10000.    
     5 'Prefactor '    52.753       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.4204       1.0000         .10000E-03   10000.    
     7 'norm      '    15.239       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.4776       1.0000         .10000E-03   10000.    
    10 'norm      '    42.280       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .24339       1.0000         .10000E-03   10000.    
    12 'Prefactor '    28.767       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.8213       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10266E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.5619       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.2500       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .38268E-02   1.0000         .10000E-03   10000.    
    22 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    63.271       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .57226       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.2197       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9442.136     FROM MIGRAD    STATUS=CONVERGED    658 CALLS     3827 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.3351        .19964E-07** at limit **
   2  Prefactor     2.1539        8.3769        .95742E-05    .17894E-03
   3  norm          .10000E-03    7.2362       -.13474E-06** at limit **
   4  Prefactor     4.4519        5.4348        .12979E-05    .75900E-04
   5  Prefactor     52.853        131.43       -.13137E-04    .33925E-04
   6  Prefactor     5.4204        3.1262        .15097E-07   -.47311E-04
   7  norm          15.239        5.6181       -.29668E-07   -.86517E-04
   8  Prefactor     .10000E-03    2.4212        .22170E-06** at limit **
   9  Prefactor     1.4777        1.8369        .81105E-07   -.27085E-03
  10  norm          42.238        91.296        .54937E-05   -.29999E-04
  11  Prefactor     .23527        14.091        .36071E-05   -.35489E-03
  12  Prefactor     28.745        36.681       -.13249E-05   -.48673E-05
  13  Prefactor     2.8216        6.5040        .16621E-06   -.11032E-03
  14  Prefactor     .10000E-03    18.823       -.72962E-08** at limit **
  15  Prefactor     .10000E-03    20.791        .65544E-08** at limit **
  16  Prefactor     .10000E-03    18.216        .47747E-06** at limit **
  17  Prefactor     .10000E-03    12.228        .17520E-06** at limit **
  18  Prefactor     2.5627        7.6082        .43085E-06   -.71968E-04
  19  Prefactor     .10000E-03    6.6319        .28669E-06** at limit **
  20  norm          1.2501        .51816        .43753E-07   -.18443E-03
  21  Prefactor     .11189E-03    44.196       -.42204E-05** at limit **
  22  norm          .10000E-03    5.0605        .13980E-06** at limit **
  23  Prefactor     .10000E-03    10.379       -.27490E-07** at limit **
  24  Prefactor     63.213        44.249       -.39232E-05   -.28819E-03
  25  Prefactor     .10000E-03    13.250       -.26502E-06** at limit **
  26  Normalizat    .57236        .19504        .36205E-07   -.12566E-03
  27  Prefactor     1.2196        .10813       -.60470E-06   -.38308E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.15394
  norm       = 0.0001
  Prefactor  = 4.45192
  Prefactor  = 52.8528
  Prefactor  = 5.42044
  norm       = 15.239
  Prefactor  = 0.0001
  Prefactor  = 1.47769
  norm       = 42.2378
  Prefactor  = 0.235266
  Prefactor  = 28.7449
  Prefactor  = 2.82156
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 2.56272
  Prefactor  = 0.0001
  norm       = 1.2501
  Prefactor  = 0.000111886
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 63.2131
  Prefactor  = 0.0001
  Normalizat = 0.572356
  Prefactor  = 1.21964
 **********
 **   18 **HESSE 
 **********

 FCN=   9442.136     FROM HESSE     STATUS=OK           502 CALLS     4329 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.3378        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.1539        8.3624        .14037E-02   -1.5414    
   3  norm          .10000E-03    7.2643        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.4519        5.4299        .95419E-03   -1.5286    
   5  Prefactor     52.853        130.34        .27611E-03   -1.4253    
   6  Prefactor     5.4204        3.1184        .12182E-03   -1.5242    
   7  norm          15.239        5.6051        .10260E-03   -1.4927    
   8  Prefactor     .10000E-03    2.4373        .14765E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.4777        1.8065        .13784E-03   -1.5465    
  10  norm          42.238        91.227        .61651E-04   -1.4407    
  11  Prefactor     .23527        16.030        .10333       -1.5611    
  12  Prefactor     28.745        36.596        .74697E-04   -1.4635    
  13  Prefactor     2.8216        6.4490        .24214E-03   -1.5372    
  14  Prefactor     .10000E-03    18.828        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    20.807        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    18.664        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    12.296        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.5627        7.5888        .25505E-03   -1.5388    
  19  Prefactor     .10000E-03    6.6762        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.2501        .51422        .42683E-04   -1.5484    
  21  Prefactor     .11189E-03    38.287        .16016       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    5.1167        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    10.459        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     63.213        45.840        .50449E-04   -1.4116    
  25  Prefactor     .10000E-03    13.299        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .57236        .20739        .42464E-03   -1.0917    
  27  Prefactor     1.2196        .11720        .17234E-03   -.85729    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.69727e-09
Minuit parameter uncertainties:
  1  6.84039e-06
  2  8.36698
  3  1.48583e-05
  4  5.43049
  5  131.05
  6  3.11847
  7  5.60529
  8  1.5686e-05
  9  1.80658
  10  91.5311
  11  3.88428
  12  36.625
  13  6.45056
  14  1.23556e-05
  15  5.14549e-06
  16  0.000276373
  17  5.29634e-05
  18  7.59168
  19  5.99561e-05
  20  0.514221
  21  0.0426924
  22  2.61394e-05
  23  3.57855e-05
  24  45.8652
  25  1.73273e-05
  26  0.207675
  27  0.117222
Done.

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

Extracting fit parameters...

4FGL J0204.8+1513
   Spectrum: PowerLaw
231    Prefactor:  5.420e+00  3.118e+00  1.000e-04  1.000e+04 ( 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.220e+00  1.172e-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:  5.724e-01  2.077e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.79
Ra Dec: 31.218 15.233
Photon Index (Fixed Index): 2.31 +/- 0.00
Photon Flux (Fixed Index): 8.12e-08 +/- 4.67e-08
Energy Flux (Fixed Index): 3.00e-05 +/- 1.73e-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) = 9440.95327377
delta logL = 1.18261368571

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9440.93839697
delta logL = 1.19749048425

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.2695       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1347       1.0000          .0000       10.000    
     3 'Normalizat'    .49948       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2466       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=   9440.938     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      244 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.2693        13.179        .68154E-02    .41198E-03
   2  Index         3.1348        2.2501        .11237        .20482E-03
   3  Normalizat    .49948        .66304E-01    .10208       -.14058E-04
   4  Prefactor     1.2466        .36310E-01    .33612E-01   -.25441E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.26928
  Index      = 3.13477
  Normalizat = 0.499477
  Prefactor  = 1.24661
 **********
 **   18 **HESSE 
 **********

 FCN=   9440.938     FROM HESSE     STATUS=OK            31 CALLS      275 TOTAL
                     EDM=   .29E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.2693        3.4788        .62294E-04   -1.5407    
   2  Index         3.1348        .86385        .43347E-02   -.38229    
   3  Normalizat    .49948        .20763        .45247E-03   -1.1244    
   4  Prefactor     1.2466        .11725        .17063E-03   -.84909    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85048e-08
Minuit parameter uncertainties:
  1  3.47913
  2  0.868924
  3  0.207951
  4  0.117279
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/916381': 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) = 9440.93839696
delta logL = 1.19749050185

Extracting fit parameters...

4FGL J0204.8+1513
   Spectrum: PowerLaw
231    Prefactor:  2.269e+00  3.479e+00  1.000e-04  1.000e+04 ( 1.000e-12)
232        Index:  3.135e+00  8.689e-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.247e+00  1.173e-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:  4.995e-01  2.080e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.52
Ra Dec: 31.218 15.233
Photon Index (Free Index): 3.13 +/- 0.87
Photon Flux (Free Index): 1.36e-07 +/- 6.43e-08
Energy Flux (Free Index): 2.56e-05 +/- 1.33e-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/916381/cmap_HighResolution_679449601_679708801_4FGL_J0204.8+1513_daily_bin1698.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.12e-08', energy_flux2='2.56e-05', photon_flux_error='4.67e-08', dlogl='1.20e+00', energy_flux='3.00e-05', photon_flux2='1.36e-07', job_status='DONE', time_completed='2022-07-17 00:20:32.109854', photon_index_error2='0.87', photon_index2='3.13', ts='4.79', fit_tolerance='1e-08', GAL='1.22', photon_index_error='0.00', energy_flux_error2='1.33e-05', EG='0.57', time_epoch_completed='1658042432.11', return_code='0', job_id='916381', GAL2='1.25', EG2='0.50', return_code2='0', energy_flux_error='1.73e-05', photon_flux_error2='6.43e-08', ts2='7.52', photon_index='2.31' WHERE bin_id='1698' AND source_name='4FGL J0204.8+1513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 17 00:20:32 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0222>
Subject: Job 916381: <4FGL_J0204.8+1513_daily_bin1698> in cluster <slac> Done

Job <4FGL_J0204.8+1513_daily_bin1698> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Jul 17 00:04:45 2022
Job was executed on host(s) <bullet0222>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jul 17 00:04:46 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jul 17 00:04:46 2022
Terminated at Sun Jul 17 00:20:32 2022
Results reported at Sun Jul 17 00:20:32 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0204.8+1513_daily_bin1698 31.2182 15.2326 679449601 679708801 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 :                                   900.16 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             331.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   946 sec.
    Turnaround time :                            947 sec.

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

