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


Performing analysis on: 4FGL_J1608.7+1029_daily_bin1714
RA = 242.176, Dec = 10.4938
tmin = 683596801, tmax = 683856001
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='165532', job_status='RUN', time_executed='2022-09-16 19:27:52.534527', time_epoch_executed='1663381672.53' WHERE source_name='4FGL J1608.7+1029' and cadence='daily' and bin_id='1714'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/165532

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/165532/ft1_4FGL_J1608.7+1029_daily_bin1714.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/165532/ft2_4FGL_J1608.7+1029_daily_bin1714.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/165532/ft1_4FGL_J1608.7+1029_daily_bin1714.fits outfile=/scratch/kocevski/165532/ft1_filteredMKT_4FGL_J1608.7+1029_daily_bin1714.fits ra=242.176 dec=10.4938 rad=12.0 tmin=683596801.0 tmax=683856001.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.53
user 3.28
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/165532/ft2_4FGL_J1608.7+1029_daily_bin1714.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/165532/ft1_filteredMKT_4FGL_J1608.7+1029_daily_bin1714.fits evtable="EVENTS" outfile="/scratch/kocevski/165532/ft1_filtered_4FGL_J1608.7+1029_daily_bin1714.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.51
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 830

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/165532/ft1_filtered_4FGL_J1608.7+1029_daily_bin1714.fits" evtable="EVENTS" scfile=/scratch/kocevski/165532/ft2_4FGL_J1608.7+1029_daily_bin1714.fits sctable="SC_DATA" outfile=/scratch/kocevski/165532/ltcube_683596801_683856001_4FGL_J1608.7+1029_daily_bin1714.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/165532/ft2_4FGL_J1608.7+1029_daily_bin1714.fits
.....................!
real 15.08
user 14.69
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/165532/ft1_filtered_4FGL_J1608.7+1029_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/165532/ft2_4FGL_J1608.7+1029_daily_bin1714.fits sctable="SC_DATA" expcube=/scratch/kocevski/165532/ltcube_683596801_683856001_4FGL_J1608.7+1029_daily_bin1714.fits outfile=/scratch/kocevski/165532/expmap_683596801_683856001_4FGL_J1608.7+1029_daily_bin1714.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/165532/ltcube_683596801_683856001_4FGL_J1608.7+1029_daily_bin1714.fits
.....................!
real 190.84
user 186.33
sys 4.06

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/165532/ft1_filtered_4FGL_J1608.7+1029_daily_bin1714.fits scfile=/scratch/kocevski/165532/ft2_4FGL_J1608.7+1029_daily_bin1714.fits outfile=/scratch/kocevski/165532/cmap_683596801_683856001_4FGL_J1608.7+1029_daily_bin1714.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.55
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/165532/ft1_filtered_4FGL_J1608.7+1029_daily_bin1714.fits scfile=/scratch/kocevski/165532/ft2_4FGL_J1608.7+1029_daily_bin1714.fits outfile=/scratch/kocevski/165532/cmap_HighResolution_683596801_683856001_4FGL_J1608.7+1029_daily_bin1714.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/165532/ft1_filtered_4FGL_J1608.7+1029_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/165532/ft2_4FGL_J1608.7+1029_daily_bin1714.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/165532/Model_4FGL_J1608.7+1029_daily_bin1714.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/165532/ft1_filtered_4FGL_J1608.7+1029_daily_bin1714.fits.....................!
real 69.30
user 67.95
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/165532/ft1_filtered_4FGL_J1608.7+1029_daily_bin1714.fits', '/scratch/kocevski/165532/ft2_4FGL_J1608.7+1029_daily_bin1714.fits', expMap='/scratch/kocevski/165532/expmap_683596801_683856001_4FGL_J1608.7+1029_daily_bin1714.fits', expCube='/scratch/kocevski/165532/ltcube_683596801_683856001_4FGL_J1608.7+1029_daily_bin1714.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/165532/Model_4FGL_J1608.7+1029_daily_bin1714.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/165532/ft1_filtered_4FGL_J1608.7+1029_daily_bin1714.fits
Spacecraft file(s): /scratch/kocevski/165532/ft2_4FGL_J1608.7+1029_daily_bin1714.fits
Exposure map: /scratch/kocevski/165532/expmap_683596801_683856001_4FGL_J1608.7+1029_daily_bin1714.fits
Exposure cube: /scratch/kocevski/165532/ltcube_683596801_683856001_4FGL_J1608.7+1029_daily_bin1714.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/165532/Model_4FGL_J1608.7+1029_daily_bin1714.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) = 8750.48217399

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .83514E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    14.670       1.0000          .0000       .10000E+07
     3 'norm      '    8.6286       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.2136       1.0000          .0000       .10000E+07
     5 'norm      '    3.2542       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.5688       1.0000          .0000       .10000E+07
     7 'norm      '    .21272E-06   1.0000          .0000       .10000E+07
     8 'norm      '    2.0745       1.0000          .0000       .10000E+07
     9 'norm      '    52.816       1.0000          .0000       .10000E+07
    10 'Prefactor '    20.582       1.0000          .0000       .10000E+07
    11 'Prefactor '    27.520       1.0000          .0000       .10000E+07
    12 'Prefactor '    .80996E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .13096E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .26365E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    8.5706       1.0000          .0000       .10000E+07
    16 'Prefactor '    5.5251       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1173       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0460       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=   8750.339     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     1061 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11402E-06    13.598       -.40116E-07** at limit **
   2  Prefactor     13.835        12.000        .75322E-07    .24845E-01
   3  norm          8.6459        3.2413       -.31477E-07   -.22370E-02
   4  Prefactor     1.2170        4.0375        .16806E-06    .84059E-03
   5  norm          3.2796        2.8918        .26174E-07    .10441E-02
   6  Prefactor     .16912E-01    290.99        .24985E-05** at limit **
   7  norm           .0000        2.6051       -.58632E-07** at limit **
   8  norm          2.0784        1.2698        .16547E-08   -.46234E-03
   9  norm          52.716        4.1900        .11761E-07   -.33596E-01
  10  Prefactor     20.417        15.014       -.54615E-07   -.19129E-01
  11  Prefactor     34.838        80.908       -.10061E-05   -.87451E-01
  12  Prefactor     .88374E-07    29.688        .60605E-07** at limit **
  13  Prefactor     .25679E-06    12.390        .17972E-06** at limit **
  14  Prefactor     .55511E-10    4.4865       -.15921E-07** at limit **
  15  Prefactor     8.5132        8.8999       -.65943E-07    .25589E-03
  16  Prefactor     5.6170        5.8359        .77208E-07    .35192E-03
  17  Normalizat    1.1192        .28826       -.16560E-05   -.52552E-04
  18  Prefactor     1.0448        .12709        .39925E-06   -.75048E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.1402e-07
  Prefactor  = 13.8354
  norm       = 8.64595
  Prefactor  = 1.21703
  norm       = 3.27962
  Prefactor  = 0.0169122
  norm       = 0
  norm       = 2.07837
  norm       = 52.7157
  Prefactor  = 20.4171
  Prefactor  = 34.8376
  Prefactor  = 8.83738e-08
  Prefactor  = 2.56795e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 8.51318
  Prefactor  = 5.61699
  Normalizat = 1.11921
  Prefactor  = 1.04481
 **********
 **   18 **HESSE 
 **********

 FCN=   8750.339     FROM HESSE     STATUS=OK           292 CALLS     1353 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11402E-06    15.609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.835        19.072        .26124E-03   -1.5634    
   3  norm          8.6459        3.2380        .34101E-03   -1.5649    
   4  Prefactor     1.2170        4.0581        .10256E-02   -1.5686    
   5  norm          3.2796        2.8995        .56117E-03   -1.5672    
   6  Prefactor     .16912E-01    62.730        .15307E-01   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        2.6144        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.0784        1.2692        .71684E-03   -1.5679    
   9  norm          52.716        18.166        .13761E-03   -1.5563    
  10  Prefactor     20.417        15.332        .22049E-03   -1.5618    
  11  Prefactor     34.838        88.222        .19066E-03   -1.5590    
  12  Prefactor     .88374E-07    30.059        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .25679E-06    17.354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .55511E-10    4.4872        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.5132        8.9143        .34217E-03   -1.5650    
  16  Prefactor     5.6170        5.8498        .42720E-03   -1.5661    
  17  Normalizat    1.1192        .24782        .87669E-01   -.89138    
  18  Prefactor     1.0448        .10683        .40149E-01   -.91250    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.11779e-06
Minuit parameter uncertainties:
  1  0.00266817
  2  19.072
  3  3.238
  4  4.05806
  5  2.89948
  6  2.06003
  7  4.00049e-06
  8  1.26921
  9  18.1664
  10  15.3321
  11  88.2256
  12  0.00326013
  13  0.00422206
  14  2.36633e-05
  15  8.91433
  16  5.84982
  17  0.248078
  18  0.106849
Done.

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

Extracting fit parameters...

4FGL J1608.7+1029
   Spectrum: LogParabola
261         norm:  5.272e+01  1.817e+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:  1.045e+00  1.068e-01  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.119e+00  2.481e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 19.69
Ra Dec: 242.176 10.494
Photon Index (Fixed Index): 2.46 +/- 0.00
Photon Flux (Fixed Index): 1.68e-07 +/- 5.79e-08
Energy Flux (Fixed Index): 4.81e-05 +/- 1.66e-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) = 8750.20469589
delta logL = 0.134656401951

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8750.19242056
delta logL = 0.146931724037

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    54.698       1.0000          .0000       .10000E+07
     2 'alpha     '    2.2351       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1523       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0358       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=   8750.192     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      204 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          54.698        41.894        .13522E-03   -.21442E-02
   2  alpha         2.2351        .78852        .32879        .19053E-04
   3  Normalizat    1.1523        .25156        .86585E-01    .97341E-04
   4  Prefactor     1.0358        .10769        .40823E-01    .17053E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 54.6977
  alpha      = 2.23511
  Normalizat = 1.15234
  Prefactor  = 1.03581
 **********
 **   18 **HESSE 
 **********

 FCN=   8750.192     FROM HESSE     STATUS=OK            29 CALLS      233 TOTAL
                     EDM=   .52E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          54.698        19.532        .54089E-05   -1.5560    
   2  alpha         2.2351        .40881        .13072E-01   -.10615    
   3  Normalizat    1.1523        .29085        .38341E-03   -.88089    
   4  Prefactor     1.0358        .12614        .17664E-03   -.91545    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.17136e-11
Minuit parameter uncertainties:
  1  19.5321
  2  0.410673
  3  0.291259
  4  0.12618
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/165532': 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) = 8750.19242056
delta logL = 0.146931725905

Extracting fit parameters...

4FGL J1608.7+1029
   Spectrum: LogParabola
261         norm:  5.470e+01  1.953e+01  0.000e+00  1.000e+06 ( 1.000e-12)
262        alpha:  2.235e+00  4.107e-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:  1.036e+00  1.262e-01  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.152e+00  2.913e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 19.88
Ra Dec: 242.176 10.494
Photon Index (Free Index): 2.24 +/- 0.41
Photon Flux (Free Index): 1.44e-07 +/- 6.77e-08
Energy Flux (Free Index): 4.98e-05 +/- 1.82e-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/165532/cmap_HighResolution_683596801_683856001_4FGL_J1608.7+1029_daily_bin1714.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.68e-07', energy_flux2='4.98e-05', photon_flux_error='5.79e-08', dlogl='1.47e-01', energy_flux='4.81e-05', photon_flux2='1.44e-07', job_status='DONE', time_completed='2022-09-16 19:36:36.923266', photon_index_error2='0.41', photon_index2='2.24', ts='19.69', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='1.82e-05', EG='1.12', time_epoch_completed='1663382196.92', return_code='0', job_id='165532', GAL2='1.04', EG2='1.15', return_code2='0', energy_flux_error='1.66e-05', photon_flux_error2='6.77e-08', ts2='19.88', photon_index='2.46' WHERE bin_id='1714' AND source_name='4FGL J1608.7+1029' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 19:36:36 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0126>
Subject: Job 165532: <4FGL_J1608.7+1029_daily_bin1714> in cluster <slac> Done

Job <4FGL_J1608.7+1029_daily_bin1714> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Sep 16 19:20:19 2022
Job was executed on host(s) <bullet0126>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 19:24:05 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 19:24:05 2022
Terminated at Fri Sep 16 19:36:37 2022
Results reported at Fri Sep 16 19:36:37 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1608.7+1029_daily_bin1714 242.176 10.4938 683596801 683856001 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 :                                   526.50 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             262.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   752 sec.
    Turnaround time :                            978 sec.

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

