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


Performing analysis on: 4FGL_J1608.7+1029_daily_bin1756
RA = 242.176, Dec = 10.4938
tmin = 694483201, tmax = 694742401
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='17246', job_status='RUN', time_executed='2023-01-07 01:08:45.698312', time_epoch_executed='1673082525.7' WHERE source_name='4FGL J1608.7+1029' and cadence='daily' and bin_id='1756'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/17246

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/17246/ft1_4FGL_J1608.7+1029_daily_bin1756.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/17246/ft2_4FGL_J1608.7+1029_daily_bin1756.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/17246/ft1_4FGL_J1608.7+1029_daily_bin1756.fits outfile=/scratch/kocevski/17246/ft1_filteredMKT_4FGL_J1608.7+1029_daily_bin1756.fits ra=242.176 dec=10.4938 rad=12.0 tmin=694483201.0 tmax=694742401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 2.97
user 2.75
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/17246/ft2_4FGL_J1608.7+1029_daily_bin1756.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/17246/ft2_4FGL_J1608.7+1029_daily_bin1756.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/17246/ft1_filteredMKT_4FGL_J1608.7+1029_daily_bin1756.fits evtable="EVENTS" outfile="/scratch/kocevski/17246/ft1_filtered_4FGL_J1608.7+1029_daily_bin1756.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.36
sys 0.15

Number of photons that the gtmktime cut: 1226

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/17246/ft1_filtered_4FGL_J1608.7+1029_daily_bin1756.fits" evtable="EVENTS" scfile=/scratch/kocevski/17246/ft2_4FGL_J1608.7+1029_daily_bin1756.fits sctable="SC_DATA" outfile=/scratch/kocevski/17246/ltcube_694483201_694742401_4FGL_J1608.7+1029_daily_bin1756.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/17246/ft2_4FGL_J1608.7+1029_daily_bin1756.fits
.....................!
real 15.16
user 14.78
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/17246/ft1_filtered_4FGL_J1608.7+1029_daily_bin1756.fits evtable="EVENTS" scfile=/scratch/kocevski/17246/ft2_4FGL_J1608.7+1029_daily_bin1756.fits sctable="SC_DATA" expcube=/scratch/kocevski/17246/ltcube_694483201_694742401_4FGL_J1608.7+1029_daily_bin1756.fits outfile=/scratch/kocevski/17246/expmap_694483201_694742401_4FGL_J1608.7+1029_daily_bin1756.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/17246/ltcube_694483201_694742401_4FGL_J1608.7+1029_daily_bin1756.fits
.....................!
real 193.27
user 187.66
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 158 point sources and 0 extended sources

Setting source of interest to:
4FGL J1608.7+1029 @ 242.176 10.4938

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/17246/ft1_filtered_4FGL_J1608.7+1029_daily_bin1756.fits scfile=/scratch/kocevski/17246/ft2_4FGL_J1608.7+1029_daily_bin1756.fits outfile=/scratch/kocevski/17246/cmap_694483201_694742401_4FGL_J1608.7+1029_daily_bin1756.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=242.176 yref=10.4938 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.63
user 0.41
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/17246/ft1_filtered_4FGL_J1608.7+1029_daily_bin1756.fits scfile=/scratch/kocevski/17246/ft2_4FGL_J1608.7+1029_daily_bin1756.fits outfile=/scratch/kocevski/17246/cmap_HighResolution_694483201_694742401_4FGL_J1608.7+1029_daily_bin1756.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=242.176 yref=10.4938 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.62
user 0.43
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/17246/ft1_filtered_4FGL_J1608.7+1029_daily_bin1756.fits evtable="EVENTS" scfile=/scratch/kocevski/17246/ft2_4FGL_J1608.7+1029_daily_bin1756.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/17246/Model_4FGL_J1608.7+1029_daily_bin1756.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/17246/ft1_filtered_4FGL_J1608.7+1029_daily_bin1756.fits.....................!
real 95.42
user 93.88
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/17246/ft1_filtered_4FGL_J1608.7+1029_daily_bin1756.fits', '/scratch/kocevski/17246/ft2_4FGL_J1608.7+1029_daily_bin1756.fits', expMap='/scratch/kocevski/17246/expmap_694483201_694742401_4FGL_J1608.7+1029_daily_bin1756.fits', expCube='/scratch/kocevski/17246/ltcube_694483201_694742401_4FGL_J1608.7+1029_daily_bin1756.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/17246/Model_4FGL_J1608.7+1029_daily_bin1756.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1608.7+1029'

4FGL J1608.7+1029
   Spectrum: LogParabola
261         norm:  8.130e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
262        alpha:  2.458e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
263         beta:  1.591e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
264           Eb:  5.195e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/17246/ft1_filtered_4FGL_J1608.7+1029_daily_bin1756.fits
Spacecraft file(s): /scratch/kocevski/17246/ft2_4FGL_J1608.7+1029_daily_bin1756.fits
Exposure map: /scratch/kocevski/17246/expmap_694483201_694742401_4FGL_J1608.7+1029_daily_bin1756.fits
Exposure cube: /scratch/kocevski/17246/ltcube_694483201_694742401_4FGL_J1608.7+1029_daily_bin1756.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/17246/Model_4FGL_J1608.7+1029_daily_bin1756.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) = 13146.6146714

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .55511E-09   1.0000          .0000       .10000E+07
     2 'Prefactor '    .54382       1.0000          .0000       .10000E+07
     3 'norm      '    1.1862       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.0069       1.0000          .0000       .10000E+07
     5 'norm      '    4.2119       1.0000          .0000       .10000E+07
     6 'Prefactor '    .32725E-01   1.0000          .0000       .10000E+07
     7 'norm      '    9.6058       1.0000          .0000       .10000E+07
     8 'norm      '    7.0765       1.0000          .0000       .10000E+07
     9 'norm      '    51.139       1.0000          .0000       .10000E+07
    10 'Prefactor '    11.755       1.0000          .0000       .10000E+07
    11 'Prefactor '    7.9675       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.1428       1.0000          .0000       .10000E+07
    13 'Prefactor '    .16898E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    3.1104       1.0000          .0000       .10000E+07
    15 'Prefactor '    .11285E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    7.3909       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.2598       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .92087       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13146.03     FROM MIGRAD    STATUS=CONVERGED    110 CALLS     1028 TOTAL
                     EDM=   .23E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.8592       -.41054E-06** at limit **
   2  Prefactor     .78256        77.936        .76024E-05    .45536E-03
   3  norm          1.1858        1.2190        .40381E-07    .55798E-03
   4  Prefactor     2.9913        3.5422       -.24833E-06   -.73873E-04
   5  norm          4.1995        3.0791        .26667E-07    .93367E-03
   6  Prefactor     .55511E-10    22.544        .42550E-05** at limit **
   7  norm          9.6052        5.6616       -.13776E-06    .50174E-03
   8  norm          7.0726        1.7012        .33270E-07    .41734E-03
   9  norm          51.349        14.233        .45370E-06   -.90444E-04
  10  Prefactor     11.709        1.3094        .41892E-07   -.33827E-02
  11  Prefactor     7.9035        3.9206       -.59732E-06    .21367E-02
  12  Prefactor     .16653E-09    152.88        .36188E-05** at limit **
  13  Prefactor      .0000        3.9842        .22358E-06** at limit **
  14  Prefactor     3.1143        5.0106       -.49184E-06   -.31042E-03
  15  Prefactor      .0000        1.8151        .29387E-06** at limit **
  16  Prefactor     7.3852        5.8419        .57068E-06   -.54899E-03
  17  Normalizat    1.2602        .22119       -.22864E-06    .48372E-04
  18  Prefactor     .92106        .96834E-01   -.14796E-05    .28789E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0.782563
  norm       = 1.18575
  Prefactor  = 2.99126
  norm       = 4.19952
  Prefactor  = 5.55112e-11
  norm       = 9.6052
  norm       = 7.0726
  norm       = 51.3494
  Prefactor  = 11.7087
  Prefactor  = 7.90346
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  Prefactor  = 3.11434
  Prefactor  = 0
  Prefactor  = 7.38523
  Normalizat = 1.26024
  Prefactor  = 0.921058
 **********
 **   18 **HESSE 
 **********

 FCN=   13146.03     FROM HESSE     STATUS=OK           294 CALLS     1322 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.8666        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .78256        77.451        .74419E-03   -1.5690    
   3  norm          1.1858        1.2387        .10471E-02   -1.5686    
   4  Prefactor     2.9913        3.5742        .58507E-03   -1.5673    
   5  norm          4.1995        3.1073        .49078E-03   -1.5667    
   6  Prefactor     .55511E-10    22.389        .16310E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          9.6052        5.6677        .32309E-03   -1.5646    
   8  norm          7.0726        1.7028        .37686E-03   -1.5655    
   9  norm          51.349        14.192        .13985E-03   -1.5565    
  10  Prefactor     11.709        10.379        .29193E-03   -1.5640    
  11  Prefactor     7.9035        25.651        .35498E-03   -1.5652    
  12  Prefactor     .16653E-09    15.136        .14181E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        3.9868        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.1143        5.0470        .57469E-03   -1.5673    
  15  Prefactor      .0000        1.8192        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.3852        5.8529        .36868E-03   -1.5654    
  17  Normalizat    1.2602        .18739        .80684E-01   -.84761    
  18  Prefactor     .92106        .80784E-01    .45270E-01   -.95409    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23293e-07
Minuit parameter uncertainties:
  1  1.03928e-05
  2  15.5707
  3  1.23874
  4  3.57416
  5  3.10735
  6  7.33009e-05
  7  5.66768
  8  1.70281
  9  14.1923
  10  10.3795
  11  25.6511
  12  0.000106626
  13  4.71954e-06
  14  5.04699
  15  2.88574e-06
  16  5.85287
  17  0.187489
  18  0.0807943
Done.

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

Extracting fit parameters...

4FGL J1608.7+1029
   Spectrum: LogParabola
261         norm:  5.135e+01  1.419e+01  0.000e+00  1.000e+06 ( 1.000e-12)
262        alpha:  2.458e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
263         beta:  1.591e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
264           Eb:  5.195e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  9.211e-01  8.079e-02  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.260e+00  1.875e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 35.03
Ra Dec: 242.176 10.494
Photon Index (Fixed Index): 2.46 +/- 0.00
Photon Flux (Fixed Index): 1.64e-07 +/- 4.52e-08
Energy Flux (Fixed Index): 4.68e-05 +/- 1.29e-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) = 13144.9947357
delta logL = 1.03359200247

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13144.9908991
delta logL = 1.03742866157

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    52.716       1.0000          .0000       .10000E+07
     2 'alpha     '    2.0043       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3168       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90666       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13144.99     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      210 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          52.716        16.785        .13774E-03   -.57046E-01
   2  alpha         2.0043        .30419        .31199        .19075E-04
   3  Normalizat    1.3168        .18434        .79270E-01    .63541E-03
   4  Prefactor     .90666        .80068E-01    .45090E-01    .12586E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 52.7161
  alpha      = 2.00434
  Normalizat = 1.31675
  Prefactor  = 0.906664
 **********
 **   18 **HESSE 
 **********

 FCN=   13144.99     FROM HESSE     STATUS=OK            27 CALLS      237 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          52.716        16.000        .55096E-05   -1.5563    
   2  alpha         2.0043        .31468        .12637E-01   -.19959    
   3  Normalizat    1.3168        .22213        .35088E-03   -.83068    
   4  Prefactor     .90666        .96338E-01    .18077E-03   -.95909    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69488e-08
Minuit parameter uncertainties:
  1  16.0003
  2  0.315554
  3  0.222288
  4  0.0963561
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/17246': 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) = 13144.990899
delta logL = 1.03742869565

Extracting fit parameters...

4FGL J1608.7+1029
   Spectrum: LogParabola
261         norm:  5.272e+01  1.600e+01  0.000e+00  1.000e+06 ( 1.000e-12)
262        alpha:  2.004e+00  3.156e-01  0.000e+00  5.000e+00 ( 1.000e+00)
263         beta:  1.591e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
264           Eb:  5.195e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  9.067e-01  9.636e-02  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.317e+00  2.223e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 37.09
Ra Dec: 242.176 10.494
Photon Index (Free Index): 2.00 +/- 0.32
Photon Flux (Free Index): 1.17e-07 +/- 4.76e-08
Energy Flux (Free Index): 5.19e-05 +/- 1.62e-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/17246/cmap_HighResolution_694483201_694742401_4FGL_J1608.7+1029_daily_bin1756.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.64e-07', energy_flux2='5.19e-05', photon_flux_error='4.52e-08', dlogl='1.04e+00', energy_flux='4.68e-05', photon_flux2='1.17e-07', job_status='DONE', time_completed='2023-01-07 01:19:07.901144', photon_index_error2='0.32', photon_index2='2.00', ts='35.03', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='1.62e-05', EG='1.26', time_epoch_completed='1673083147.9', return_code='0', job_id='17246', GAL2='0.91', EG2='1.32', return_code2='0', energy_flux_error='1.29e-05', photon_flux_error2='4.76e-08', ts2='37.09', photon_index='2.46' WHERE bin_id='1756' AND source_name='4FGL J1608.7+1029' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan  7 01:19:07 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 17246: <4FGL_J1608.7+1029_daily_bin1756> in cluster <slac> Done

Job <4FGL_J1608.7+1029_daily_bin1756> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Jan  7 01:05:31 2023
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan  7 01:08:34 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan  7 01:08:34 2023
Terminated at Sat Jan  7 01:19:08 2023
Results reported at Sat Jan  7 01:19:08 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1608.7+1029_daily_bin1756 242.176 10.4938 694483201 694742401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1608.7+1029 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   624.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             381.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   634 sec.
    Turnaround time :                            817 sec.

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

