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


Performing analysis on: 4FGL_J0204.8+1513_daily_bin1708
RA = 31.2182, Dec = 15.2326
tmin = 682041601, tmax = 682300801
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='2695', job_status='RUN', time_executed='2022-09-16 10:25:25.052384', time_epoch_executed='1663349125.05' WHERE source_name='4FGL J0204.8+1513' and cadence='daily' and bin_id='1708'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/2695

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/2695/ft1_4FGL_J0204.8+1513_daily_bin1708.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/2695/ft2_4FGL_J0204.8+1513_daily_bin1708.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/2695/ft1_4FGL_J0204.8+1513_daily_bin1708.fits outfile=/scratch/kocevski/2695/ft1_filteredMKT_4FGL_J0204.8+1513_daily_bin1708.fits ra=31.2182 dec=15.2326 rad=12.0 tmin=682041601.0 tmax=682300801.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.98
user 3.75
sys 0.21

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

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

Number of photons that the gtmktime cut: 705

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/2695/ft1_filtered_4FGL_J0204.8+1513_daily_bin1708.fits" evtable="EVENTS" scfile=/scratch/kocevski/2695/ft2_4FGL_J0204.8+1513_daily_bin1708.fits sctable="SC_DATA" outfile=/scratch/kocevski/2695/ltcube_682041601_682300801_4FGL_J0204.8+1513_daily_bin1708.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/2695/ft2_4FGL_J0204.8+1513_daily_bin1708.fits
.....................!
real 13.02
user 12.66
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/2695/ft1_filtered_4FGL_J0204.8+1513_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/2695/ft2_4FGL_J0204.8+1513_daily_bin1708.fits sctable="SC_DATA" expcube=/scratch/kocevski/2695/ltcube_682041601_682300801_4FGL_J0204.8+1513_daily_bin1708.fits outfile=/scratch/kocevski/2695/expmap_682041601_682300801_4FGL_J0204.8+1513_daily_bin1708.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/2695/ltcube_682041601_682300801_4FGL_J0204.8+1513_daily_bin1708.fits
.....................!
real 191.21
user 185.29
sys 5.49

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/2695/ft1_filtered_4FGL_J0204.8+1513_daily_bin1708.fits scfile=/scratch/kocevski/2695/ft2_4FGL_J0204.8+1513_daily_bin1708.fits outfile=/scratch/kocevski/2695/cmap_682041601_682300801_4FGL_J0204.8+1513_daily_bin1708.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.38
sys 0.17

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24401E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .14988E-08   1.0000          .0000       .10000E+07
     3 'norm      '    4.4918       1.0000          .0000       .10000E+07
     4 'Prefactor '    .10177E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    7.2994       1.0000          .0000       .10000E+07
     6 'norm      '    27.864       1.0000          .0000       .10000E+07
     7 'Prefactor '    .78291E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .14339E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .48017       1.0000          .0000       .10000E+07
    10 'Prefactor '    73.350       1.0000          .0000       .10000E+07
    11 'Prefactor '    .20663E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .15377E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .15668E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    1.7241       1.0000          .0000       .10000E+07
    15 'Prefactor '    .52023E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    .31158E-04   1.0000          .0000       .10000E+07
    17 'norm      '    1.5174       1.0000          .0000       .10000E+07
    18 'Prefactor '    .12150E-02   1.0000          .0000       .10000E+07
    19 'norm      '    .27471E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .19211E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    .13452E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .52672E-04   1.0000          .0000       .10000E+07
    23 'Normalizat'    .84904       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0397       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=   7535.705     FROM MIGRAD    STATUS=CONVERGED    160 CALLS     1560 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .34872E-06    17.752       -.26058E-05** at limit **
   2  Prefactor     .16653E-09    8.1429        .86264E-06** at limit **
   3  norm          4.4869        1.0820       -.40407E-07    .23334E-03
   4  Prefactor      .0000        1.8761       -.27247E-06** at limit **
   5  Prefactor     7.2971        2.6950        .48203E-07    .17242E-02
   6  norm          27.879        7.7024        .21510E-06    .26681E-03
   7  Prefactor      .0000        1.7766       -.92333E-07** at limit **
   8  Prefactor      .0000        1.1930        .20981E-06** at limit **
   9  norm          .63610E-06    213.60       -.71758E-05** at limit **
  10  Prefactor     72.440        6.9269        .33198E-06   -.60633E-01
  11  Prefactor     .70499E-08    4.8719       -.54678E-06** at limit **
  12  Prefactor     .22760E-06    16.578        .39807E-05** at limit **
  13  Prefactor     .82573E-06    8.5589       -.73722E-06** at limit **
  14  Prefactor     1.7249        6.4430        .18232E-05    .24457E-03
  15  Prefactor      .0000        28.458       -.25547E-06** at limit **
  16  Prefactor      .0000        3.4634        .99301E-06** at limit **
  17  norm          1.5170        .53161       -.51720E-07   -.33757E-02
  18  Prefactor     .15377E-07    11.963        .36925E-05** at limit **
  19  norm          .23370E-07    9.1087       -.31040E-05** at limit **
  20  Prefactor     .55511E-10    5.6080        .15904E-05** at limit **
  21  Prefactor     .32307E-07    10.305        .24886E-05** at limit **
  22  Prefactor      .0000        6.6963       -.11365E-06** at limit **
  23  Normalizat    .84978        .21188        .25063E-05   -.59775E-04
  24  Prefactor     1.0396        .12130        .25705E-05   -.17790E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.48721e-07
  Prefactor  = 1.66533e-10
  norm       = 4.48685
  Prefactor  = 0
  Prefactor  = 7.29713
  norm       = 27.8785
  Prefactor  = 0
  Prefactor  = 0
  norm       = 6.36102e-07
  Prefactor  = 72.4397
  Prefactor  = 7.04992e-09
  Prefactor  = 2.27596e-07
  Prefactor  = 8.25728e-07
  Prefactor  = 1.72489
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.51705
  Prefactor  = 1.53766e-08
  norm       = 2.33702e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 3.23075e-08
  Prefactor  = 0
  Normalizat = 0.849781
  Prefactor  = 1.03961
 **********
 **   18 **HESSE 
 **********

 FCN=   7535.705     FROM HESSE     STATUS=OK           441 CALLS     2001 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .34872E-06    22.445        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .16653E-09    8.1271        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.4869        11.706        .47482E-03   -1.5666    
   4  Prefactor      .0000        1.8781        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.2971        2.6962        .37101E-03   -1.5654    
   6  norm          27.879        7.7145        .18948E-03   -1.5602    
   7  Prefactor      .0000        1.7775        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        1.1904        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .63610E-06    217.90        .80730E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     72.440        30.409        .11677E-03   -1.5538    
  11  Prefactor     .70499E-08    12.787        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .22760E-06    30.587        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .82573E-06    25.950        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.7249        6.4636        .79954E-03   -1.5682    
  15  Prefactor      .0000        11.114        .10759E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        3.4585        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.5170        .53286        .81780E-03   -1.5683    
  18  Prefactor     .15377E-07    13.612        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .23370E-07    12.651        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .55511E-10    5.6116        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .32307E-07    29.798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        6.7041        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .84978        .18892        .77615E-01   -.98248    
  24  Prefactor     1.0396        .10696        .40557E-01   -.91421    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10542e-07
Minuit parameter uncertainties:
  1  0.0055954
  2  6.86664e-05
  3  11.7062
  4  2.63487e-06
  5  2.6962
  6  7.71447
  7  3.90711e-06
  8  4.3387e-06
  9  0.0235471
  10  30.4095
  11  0.000600627
  12  0.00527707
  13  0.00925798
  14  6.46362
  15  1.90929e-05
  16  1.51004e-06
  17  0.532862
  18  0.000915704
  19  0.00108773
  20  3.58096e-05
  21  0.00196189
  22  2.67638e-05
  23  0.189063
  24  0.106986
Done.

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

Extracting fit parameters...

4FGL J0204.8+1513
   Spectrum: PowerLaw
231    Prefactor:  7.297e+00  2.696e+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.040e+00  1.070e-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.498e-01  1.891e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 16.77
Ra Dec: 31.218 15.233
Photon Index (Fixed Index): 2.31 +/- 0.00
Photon Flux (Fixed Index): 1.09e-07 +/- 4.03e-08
Energy Flux (Fixed Index): 4.04e-05 +/- 1.49e-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) = 7535.35247592
delta logL = 0.352832351936

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7535.35228828
delta logL = 0.353019984969

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.1707       1.0000          .0000       .10000E+07
     2 'Index     '    2.0680       1.0000          .0000       10.000    
     3 'Normalizat'    .86377       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0342       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=   7535.352     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      264 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.1657        66.385        .33071E-03    .19891E-02
   2  Index         2.0676        3.0002        .11584        .12762E-03
   3  Normalizat    .86393        .17561        .77058E-01    .38868E-04
   4  Prefactor     1.0342        .91041E-01    .40936E-01    .42607E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.16572
  Index      = 2.06757
  Normalizat = 0.863926
  Prefactor  = 1.03421
 **********
 **   18 **HESSE 
 **********

 FCN=   7535.352     FROM HESSE     STATUS=OK            31 CALLS      295 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.1657        3.8822        .94117E-05   -1.5647    
   2  Index         2.0676        .28325        .48013E-02   -.62671    
   3  Normalizat    .86393        .21160        .34107E-03   -.97740    
   4  Prefactor     1.0342        .12076        .17871E-03   -.91598    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.36668e-11
Minuit parameter uncertainties:
  1  3.88222
  2  0.283483
  3  0.211803
  4  0.120792
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/2695': 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) = 7535.35228422
delta logL = 0.353024044685

Extracting fit parameters...

4FGL J0204.8+1513
   Spectrum: PowerLaw
231    Prefactor:  9.166e+00  3.882e+00  0.000e+00  1.000e+06 ( 1.000e-12)
232        Index:  2.068e+00  2.835e-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.034e+00  1.208e-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.639e-01  2.118e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 17.45
Ra Dec: 31.218 15.233
Photon Index (Free Index): 2.07 +/- 0.28
Photon Flux (Free Index): 9.61e-08 +/- 3.94e-08
Energy Flux (Free Index): 5.66e-05 +/- 3.35e-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/2695/cmap_HighResolution_682041601_682300801_4FGL_J0204.8+1513_daily_bin1708.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.09e-07', energy_flux2='5.66e-05', photon_flux_error='4.03e-08', dlogl='3.53e-01', energy_flux='4.04e-05', photon_flux2='9.61e-08', job_status='DONE', time_completed='2022-09-16 10:35:22.287737', photon_index_error2='0.28', photon_index2='2.07', ts='16.77', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='3.35e-05', EG='0.85', time_epoch_completed='1663349722.29', return_code='0', job_id='2695', GAL2='1.03', EG2='0.86', return_code2='0', energy_flux_error='1.49e-05', photon_flux_error2='3.94e-08', ts2='17.45', photon_index='2.31' WHERE bin_id='1708' AND source_name='4FGL J0204.8+1513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 10:35:22 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0195>
Subject: Job 2695: <4FGL_J0204.8+1513_daily_bin1708> in cluster <slac> Done

Job <4FGL_J0204.8+1513_daily_bin1708> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 10:21:07 2022
Job was executed on host(s) <bullet0195>, 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:35:23 2022
Results reported at Fri Sep 16 10:35:23 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0204.8+1513_daily_bin1708 31.2182 15.2326 682041601 682300801 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 :                                   599.48 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             300.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   742 sec.
    Turnaround time :                            856 sec.

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

