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


Performing analysis on: 4FGL_J1608.7+1029_daily_bin1747
RA = 242.176, Dec = 10.4938
tmin = 692150401, tmax = 692409601
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='806247', job_status='RUN', time_executed='2022-12-11 01:10:47.605488', time_epoch_executed='1670749847.61' WHERE source_name='4FGL J1608.7+1029' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/806247

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/806247/ft1_4FGL_J1608.7+1029_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/806247/ft2_4FGL_J1608.7+1029_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/806247/ft1_4FGL_J1608.7+1029_daily_bin1747.fits outfile=/scratch/kocevski/806247/ft1_filteredMKT_4FGL_J1608.7+1029_daily_bin1747.fits ra=242.176 dec=10.4938 rad=12.0 tmin=692150401.0 tmax=692409601.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 4.11
user 3.75
sys 0.21

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

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

Number of photons that the gtmktime cut: 792

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/806247/ft1_filtered_4FGL_J1608.7+1029_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/806247/ft2_4FGL_J1608.7+1029_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/806247/ltcube_692150401_692409601_4FGL_J1608.7+1029_daily_bin1747.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/806247/ft2_4FGL_J1608.7+1029_daily_bin1747.fits
.....................!
real 12.01
user 11.64
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/806247/ft1_filtered_4FGL_J1608.7+1029_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/806247/ft2_4FGL_J1608.7+1029_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/806247/ltcube_692150401_692409601_4FGL_J1608.7+1029_daily_bin1747.fits outfile=/scratch/kocevski/806247/expmap_692150401_692409601_4FGL_J1608.7+1029_daily_bin1747.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/806247/ltcube_692150401_692409601_4FGL_J1608.7+1029_daily_bin1747.fits
.....................!
real 193.12
user 187.36
sys 5.43

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/806247/ft1_filtered_4FGL_J1608.7+1029_daily_bin1747.fits scfile=/scratch/kocevski/806247/ft2_4FGL_J1608.7+1029_daily_bin1747.fits outfile=/scratch/kocevski/806247/cmap_692150401_692409601_4FGL_J1608.7+1029_daily_bin1747.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/806247/ft1_filtered_4FGL_J1608.7+1029_daily_bin1747.fits scfile=/scratch/kocevski/806247/ft2_4FGL_J1608.7+1029_daily_bin1747.fits outfile=/scratch/kocevski/806247/cmap_HighResolution_692150401_692409601_4FGL_J1608.7+1029_daily_bin1747.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.54
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/806247/ft1_filtered_4FGL_J1608.7+1029_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/806247/ft2_4FGL_J1608.7+1029_daily_bin1747.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/806247/Model_4FGL_J1608.7+1029_daily_bin1747.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/806247/ft1_filtered_4FGL_J1608.7+1029_daily_bin1747.fits.....................!
real 71.07
user 69.65
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.5256       1.0000          .0000       .10000E+07
     2 'Prefactor '    26.524       1.0000          .0000       .10000E+07
     3 'norm      '    5.1309       1.0000          .0000       .10000E+07
     4 'Prefactor '    .84888E-06   1.0000          .0000       .10000E+07
     5 'norm      '    1.9968       1.0000          .0000       .10000E+07
     6 'Prefactor '    .13275       1.0000          .0000       .10000E+07
     7 'norm      '    .63902E-04   1.0000          .0000       .10000E+07
     8 'norm      '    4.3409       1.0000          .0000       .10000E+07
     9 'norm      '    54.793       1.0000          .0000       .10000E+07
    10 'Prefactor '    .28262E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .29307E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .30724E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .19418E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    2.0972       1.0000          .0000       .10000E+07
    15 'Prefactor '    9.2251       1.0000          .0000       .10000E+07
    16 'Prefactor '    6.9502       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.2865       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .87885       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=   8681.033     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1342 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.3281        8.5700        .63315E-06   -.20135E-01
   2  Prefactor     26.566        1.7698        .10675E-07   -.49962E-01
   3  norm          5.1296        3.3488       -.18788E-06    .79751E-03
   4  Prefactor      .0000        2.3908        .80654E-07** at limit **
   5  norm          2.0061        3.2564        .13058E-06    .12306E-02
   6  Prefactor     .55511E-10    46.053       -.39358E-06** at limit **
   7  norm          .25302E-06    49.559       -.30313E-05** at limit **
   8  norm          4.3429        1.8341       -.32182E-07    .29850E-02
   9  norm          54.796        19.750        .20845E-06    .30555E-02
  10  Prefactor     .55511E-10    11.439       -.88272E-07** at limit **
  11  Prefactor      .0000        65.263       -.14968E-05** at limit **
  12  Prefactor     .33307E-09    20.689        .20053E-06** at limit **
  13  Prefactor     .48184E-07    264.86       -.24959E-05** at limit **
  14  Prefactor     2.1120        7.2169        .86380E-06    .40065E-03
  15  Prefactor     9.5489        8.9412       -.46930E-07   -.23731E-03
  16  Prefactor     7.0395        6.6784        .19211E-06    .82001E-03
  17  Normalizat    1.2851        .27919       -.32666E-06    .21292E-03
  18  Prefactor     .87859        .11875        .45410E-05    .42670E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.32811
  Prefactor  = 26.5663
  norm       = 5.12965
  Prefactor  = 0
  norm       = 2.00611
  Prefactor  = 5.55112e-11
  norm       = 2.5302e-07
  norm       = 4.34289
  norm       = 54.7961
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 3.33067e-10
  Prefactor  = 4.81837e-08
  Prefactor  = 2.11203
  Prefactor  = 9.54891
  Prefactor  = 7.03947
  Normalizat = 1.28511
  Prefactor  = 0.87859
 **********
 **   18 **HESSE 
 **********

 FCN=   8681.033     FROM HESSE     STATUS=OK           292 CALLS     1634 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.3281        40.946        .39262E-03   -1.5654    
   2  Prefactor     26.566        28.601        .19421E-03   -1.5605    
   3  norm          5.1296        3.3665        .44360E-03   -1.5663    
   4  Prefactor      .0000        2.3847        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.0061        3.3513        .73272E-03   -1.5680    
   6  Prefactor     .55511E-10    46.043        .13122E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .25302E-06    51.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.3429        1.8347        .48322E-03   -1.5666    
   9  norm          54.796        19.739        .13510E-03   -1.5560    
  10  Prefactor     .55511E-10    11.449        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        65.234        .16487E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .33307E-09    20.919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .48184E-07    10.042        .69977E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.1120        7.4291        .71241E-03   -1.5679    
  15  Prefactor     9.5489        8.9685        .32973E-03   -1.5646    
  16  Prefactor     7.0395        6.7099        .38031E-03   -1.5655    
  17  Normalizat    1.2851        .23541        .80604E-01   -.84012    
  18  Prefactor     .87859        .98316E-01    .44735E-01   -.96893    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55652e-07
Minuit parameter uncertainties:
  1  34.6447
  2  28.6009
  3  3.3665
  4  5.08533e-06
  5  3.3513
  6  0.000105116
  7  0.00721634
  8  1.83468
  9  19.7388
  10  5.9353e-05
  11  5.35798e-06
  12  0.000159893
  13  0.00139091
  14  7.42913
  15  8.96856
  16  6.70987
  17  0.235609
  18  0.0983354
Done.

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

Extracting fit parameters...

4FGL J1608.7+1029
   Spectrum: LogParabola
261         norm:  5.480e+01  1.974e+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:  8.786e-01  9.834e-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.285e+00  2.356e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.56
Ra Dec: 242.176 10.494
Photon Index (Fixed Index): 2.46 +/- 0.00
Photon Flux (Fixed Index): 1.75e-07 +/- 6.29e-08
Energy Flux (Fixed Index): 5.00e-05 +/- 1.80e-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) = 8680.93915019
delta logL = 0.0942584040367

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8680.93159985
delta logL = 0.101808745034

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    49.963       1.0000          .0000       .10000E+07
     2 'alpha     '    2.6771       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2520       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88914       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8680.932     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      295 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          49.966        22.897        .56594E-05   -.21655E-02
   2  alpha         2.6771        .51580        .12411E-01    .20532E-03
   3  Normalizat    1.2519        .28742        .36070E-03   -.11763E-03
   4  Prefactor     .88916        .11966        .17798E-03   -.22550E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 49.9656
  alpha      = 2.67711
  Normalizat = 1.25194
  Prefactor  = 0.889162
 **********
 **   18 **HESSE 
 **********

 FCN=   8680.932     FROM HESSE     STATUS=OK            25 CALLS      320 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          49.966        22.278        .11319E-05   -1.5567    
   2  alpha         2.6771        .50156        .24822E-02    .70904E-01
   3  Normalizat    1.2519        .28733        .14428E-04   -.85013    
   4  Prefactor     .88916        .11963        .35597E-04   -.96521    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.36678e-11
Minuit parameter uncertainties:
  1  22.2778
  2  0.505004
  3  0.287696
  4  0.119661
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/806247': 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) = 8680.93159979
delta logL = 0.101808802609

Extracting fit parameters...

4FGL J1608.7+1029
   Spectrum: LogParabola
261         norm:  4.997e+01  2.228e+01  0.000e+00  1.000e+06 ( 1.000e-12)
262        alpha:  2.677e+00  5.050e-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:  8.892e-01  1.197e-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.252e+00  2.877e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.83
Ra Dec: 242.176 10.494
Photon Index (Free Index): 2.68 +/- 0.51
Photon Flux (Free Index): 1.97e-07 +/- 8.26e-08
Energy Flux (Free Index): 4.84e-05 +/- 1.74e-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/806247/cmap_HighResolution_692150401_692409601_4FGL_J1608.7+1029_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.75e-07', energy_flux2='4.84e-05', photon_flux_error='6.29e-08', dlogl='1.02e-01', energy_flux='5.00e-05', photon_flux2='1.97e-07', job_status='DONE', time_completed='2022-12-11 01:19:53.778973', photon_index_error2='0.51', photon_index2='2.68', ts='14.56', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', energy_flux_error2='1.74e-05', EG='1.29', time_epoch_completed='1670750393.78', return_code='0', job_id='806247', GAL2='0.89', EG2='1.25', return_code2='0', energy_flux_error='1.80e-05', photon_flux_error2='8.26e-08', ts2='14.83', photon_index='2.46' WHERE bin_id='1747' AND source_name='4FGL J1608.7+1029' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 01:19:53 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0102>
Subject: Job 806247: <4FGL_J1608.7+1029_daily_bin1747> in cluster <slac> Done

Job <4FGL_J1608.7+1029_daily_bin1747> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Dec 11 01:10:24 2022
Job was executed on host(s) <bullet0102>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 01:10:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 01:10:25 2022
Terminated at Sun Dec 11 01:19:54 2022
Results reported at Sun Dec 11 01:19:54 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1608.7+1029_daily_bin1747 242.176 10.4938 692150401 692409601 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 :                                   549.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             285.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   569 sec.
    Turnaround time :                            570 sec.

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

