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


Performing analysis on: 4FGL_J1608.7+1029_weekly_bin749
RA = 242.176, Dec = 10.4938
tmin = 691977601, tmax = 692582401
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='533098', job_status='RUN', time_executed='2022-12-13 01:21:55.015371', time_epoch_executed='1670923315.02' WHERE source_name='4FGL J1608.7+1029' and cadence='weekly' and bin_id='749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/533098

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/533098/ft1_4FGL_J1608.7+1029_weekly_bin749.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/533098/ft2_4FGL_J1608.7+1029_weekly_bin749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/533098/ft1_4FGL_J1608.7+1029_weekly_bin749.fits outfile=/scratch/kocevski/533098/ft1_filteredMKT_4FGL_J1608.7+1029_weekly_bin749.fits ra=242.176 dec=10.4938 rad=12.0 tmin=691977601.0 tmax=692582401.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 9.20
user 8.85
sys 0.27

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

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

Number of photons that the gtmktime cut: 1906

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/533098/ft1_filtered_4FGL_J1608.7+1029_weekly_bin749.fits" evtable="EVENTS" scfile=/scratch/kocevski/533098/ft2_4FGL_J1608.7+1029_weekly_bin749.fits sctable="SC_DATA" outfile=/scratch/kocevski/533098/ltcube_691977601_692582401_4FGL_J1608.7+1029_weekly_bin749.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/533098/ft2_4FGL_J1608.7+1029_weekly_bin749.fits
.....................!
real 26.59
user 25.78
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/533098/ft1_filtered_4FGL_J1608.7+1029_weekly_bin749.fits evtable="EVENTS" scfile=/scratch/kocevski/533098/ft2_4FGL_J1608.7+1029_weekly_bin749.fits sctable="SC_DATA" expcube=/scratch/kocevski/533098/ltcube_691977601_692582401_4FGL_J1608.7+1029_weekly_bin749.fits outfile=/scratch/kocevski/533098/expmap_691977601_692582401_4FGL_J1608.7+1029_weekly_bin749.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/533098/ltcube_691977601_692582401_4FGL_J1608.7+1029_weekly_bin749.fits
.....................!
real 192.51
user 187.18
sys 4.39

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/533098/ft1_filtered_4FGL_J1608.7+1029_weekly_bin749.fits scfile=/scratch/kocevski/533098/ft2_4FGL_J1608.7+1029_weekly_bin749.fits outfile=/scratch/kocevski/533098/cmap_691977601_692582401_4FGL_J1608.7+1029_weekly_bin749.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.58
user 0.42
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/533098/ft1_filtered_4FGL_J1608.7+1029_weekly_bin749.fits scfile=/scratch/kocevski/533098/ft2_4FGL_J1608.7+1029_weekly_bin749.fits outfile=/scratch/kocevski/533098/cmap_HighResolution_691977601_692582401_4FGL_J1608.7+1029_weekly_bin749.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.61
user 0.42
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/533098/ft1_filtered_4FGL_J1608.7+1029_weekly_bin749.fits evtable="EVENTS" scfile=/scratch/kocevski/533098/ft2_4FGL_J1608.7+1029_weekly_bin749.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/533098/Model_4FGL_J1608.7+1029_weekly_bin749.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/533098/ft1_filtered_4FGL_J1608.7+1029_weekly_bin749.fits.....................!
real 147.78
user 145.84
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18423E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    15.017       1.0000          .0000       .10000E+07
     3 'norm      '    1.4575       1.0000          .0000       .10000E+07
     4 'Prefactor '    .25535E-08   1.0000          .0000       .10000E+07
     5 'norm      '    2.3110       1.0000          .0000       .10000E+07
     6 'Prefactor '    25.039       1.0000          .0000       .10000E+07
     7 'norm      '    .29365E-06   1.0000          .0000       .10000E+07
     8 'norm      '    4.6996       1.0000          .0000       .10000E+07
     9 'norm      '    53.506       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.8689       1.0000          .0000       .10000E+07
    11 'Prefactor '    .19678E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .34980E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.3410       1.0000          .0000       .10000E+07
    14 'Prefactor '    5.7750       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.0231       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.9700       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.3355       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .90742       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=   20783.08     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1113 TOTAL
                     EDM=   .47E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .34972E-08    22.029        .19852E-05** at limit **
   2  Prefactor     15.376        15.618        .25825E-06   -.20084E-03
   3  norm          1.4586        1.4771        .91762E-07   -.20110E-02
   4  Prefactor     .55511E-10    .90203        .24635E-06** at limit **
   5  norm          2.2998        2.2432        .78583E-07   -.22110E-02
   6  Prefactor     26.050        34.052       -.16660E-06    .40078E-03
   7  norm           .0000        5.7386        .66632E-07** at limit **
   8  norm          4.6968        1.2031       -.15286E-07    .60911E-02
   9  norm          53.506        12.796       -.19398E-06    .49988E-02
  10  Prefactor     1.8725        5.0635        .38582E-06   -.15799E-02
  11  Prefactor     .55511E-09    31.761        .58459E-06** at limit **
  12  Prefactor     .45408E-07    116.59       -.75129E-05** at limit **
  13  Prefactor     4.3472        4.7623       -.40829E-06    .33376E-02
  14  Prefactor     5.7685        4.3191       -.59811E-07    .20175E-02
  15  Prefactor     3.0018        4.2856        .50742E-08    .63513E-03
  16  Prefactor     3.9997        4.0910       -.10520E-06    .23577E-02
  17  Normalizat    1.3351        .18300       -.20087E-05    .39243E-03
  18  Prefactor     .90737        .77734E-01   -.22725E-05    .84524E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.4972e-09
  Prefactor  = 15.3759
  norm       = 1.45863
  Prefactor  = 5.55112e-11
  norm       = 2.29978
  Prefactor  = 26.0499
  norm       = 0
  norm       = 4.69678
  norm       = 53.5061
  Prefactor  = 1.87246
  Prefactor  = 5.55112e-10
  Prefactor  = 4.54081e-08
  Prefactor  = 4.34717
  Prefactor  = 5.76854
  Prefactor  = 3.00179
  Prefactor  = 3.99974
  Normalizat = 1.33506
  Prefactor  = 0.907366
 **********
 **   18 **HESSE 
 **********

 FCN=   20783.08     FROM HESSE     STATUS=OK           286 CALLS     1399 TOTAL
                     EDM=   .62E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .34972E-08    22.061        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     15.376        15.673        .25820E-03   -1.5630    
   3  norm          1.4586        1.4941        .89126E-03   -1.5684    
   4  Prefactor     .55511E-10    .90517        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.2998        2.2660        .67462E-03   -1.5678    
   6  Prefactor     26.050        34.067        .19989E-03   -1.5606    
   7  norm           .0000        5.7419        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.6968        1.2066        .46395E-03   -1.5665    
   9  norm          53.506        12.787        .13672E-03   -1.5562    
  10  Prefactor     1.8725        5.0930        .76163E-03   -1.5681    
  11  Prefactor     .55511E-09    31.817        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .45408E-07    114.13        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.3472        4.7707        .48322E-03   -1.5666    
  14  Prefactor     5.7685        4.3241        .41771E-03   -1.5660    
  15  Prefactor     3.0018        4.3020        .58341E-03   -1.5673    
  16  Prefactor     3.9997        4.0944        .50598E-03   -1.5668    
  17  Normalizat    1.3351        .15184        .80589E-01   -.82526    
  18  Prefactor     .90737        .64196E-01    .45099E-01   -.95884    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.18026e-07
Minuit parameter uncertainties:
  1  0.000556658
  2  15.6733
  3  1.49406
  4  1.29904e-05
  5  2.26597
  6  34.0671
  7  2.03892e-05
  8  1.20664
  9  12.7865
  10  5.09299
  11  0.000268459
  12  0.00455441
  13  4.77068
  14  4.32408
  15  4.30203
  16  4.09436
  17  0.151887
  18  0.0642012
Done.

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

Extracting fit parameters...

4FGL J1608.7+1029
   Spectrum: LogParabola
261         norm:  5.351e+01  1.279e+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.074e-01  6.420e-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.335e+00  1.519e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 31.38
Ra Dec: 242.176 10.494
Photon Index (Fixed Index): 2.46 +/- 0.00
Photon Flux (Fixed Index): 1.71e-07 +/- 4.08e-08
Energy Flux (Fixed Index): 4.88e-05 +/- 1.17e-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) = 20783.0744022
delta logL = 0.009518264902

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 20783.0722119
delta logL = 0.0117085168131

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    54.239       1.0000          .0000       .10000E+07
     2 'alpha     '    2.4116       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3420       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90524       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=   20783.07     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      209 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          54.239        173.25        .13579E-03    .66267E-02
   2  alpha         2.4116        3.6718        .34312        .84513E-04
   3  Normalizat    1.3420        .14559        .80421E-01    .57397E-04
   4  Prefactor     .90524        .52312E-01    .45072E-01    .53274E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 54.2388
  alpha      = 2.41163
  Normalizat = 1.34197
  Prefactor  = 0.905242
 **********
 **   18 **HESSE 
 **********

 FCN=   20783.07     FROM HESSE     STATUS=OK            31 CALLS      240 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          54.239        13.857        .54317E-05   -1.5561    
   2  alpha         2.4116        .30159        .13219E-01   -.35355E-01
   3  Normalizat    1.3420        .18701        .35599E-03   -.82322    
   4  Prefactor     .90524        .78153E-01    .17994E-03   -.95958    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33136e-10
Minuit parameter uncertainties:
  1  13.8573
  2  0.302331
  3  0.187101
  4  0.0781627
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/533098': 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) = 20783.0722119
delta logL = 0.0117085186248

Extracting fit parameters...

4FGL J1608.7+1029
   Spectrum: LogParabola
261         norm:  5.424e+01  1.386e+01  0.000e+00  1.000e+06 ( 1.000e-12)
262        alpha:  2.412e+00  3.023e-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.052e-01  7.816e-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.342e+00  1.871e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 31.39
Ra Dec: 242.176 10.494
Photon Index (Free Index): 2.41 +/- 0.30
Photon Flux (Free Index): 1.66e-07 +/- 4.97e-08
Energy Flux (Free Index): 4.92e-05 +/- 1.21e-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/533098/cmap_HighResolution_691977601_692582401_4FGL_J1608.7+1029_weekly_bin749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.71e-07', energy_flux2='4.92e-05', photon_flux_error='4.08e-08', dlogl='1.17e-02', energy_flux='4.88e-05', photon_flux2='1.66e-07', job_status='DONE', time_completed='2022-12-13 01:36:18.808922', photon_index_error2='0.30', photon_index2='2.41', ts='31.38', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='1.21e-05', EG='1.34', time_epoch_completed='1670924178.81', return_code='0', job_id='533098', GAL2='0.91', EG2='1.34', return_code2='0', energy_flux_error='1.17e-05', photon_flux_error2='4.97e-08', ts2='31.39', photon_index='2.46' WHERE bin_id='749' AND source_name='4FGL J1608.7+1029' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 13 01:36:18 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0272>
Subject: Job 533098: <4FGL_J1608.7+1029_weekly_bin749> in cluster <slac> Done

Job <4FGL_J1608.7+1029_weekly_bin749> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Dec 13 01:20:20 2022
Job was executed on host(s) <bullet0272>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 13 01:20:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 13 01:20:20 2022
Terminated at Tue Dec 13 01:36:19 2022
Results reported at Tue Dec 13 01:36:19 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1608.7+1029_weekly_bin749 242.176 10.4938 691977601 692582401 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 :                                   860.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             324.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   959 sec.
    Turnaround time :                            959 sec.

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

