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


Performing analysis on: 4FGL_J1608.7+1029_daily_bin1712
RA = 242.176, Dec = 10.4938
tmin = 683078401, tmax = 683337601
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='165529', job_status='RUN', time_executed='2022-09-16 19:25:46.063364', time_epoch_executed='1663381546.06' WHERE source_name='4FGL J1608.7+1029' and cadence='daily' and bin_id='1712'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/165529

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/165529/ft1_4FGL_J1608.7+1029_daily_bin1712.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/165529/ft2_4FGL_J1608.7+1029_daily_bin1712.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/165529/ft1_4FGL_J1608.7+1029_daily_bin1712.fits outfile=/scratch/kocevski/165529/ft1_filteredMKT_4FGL_J1608.7+1029_daily_bin1712.fits ra=242.176 dec=10.4938 rad=12.0 tmin=683078401.0 tmax=683337601.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.84
user 4.57
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/165529/ft2_4FGL_J1608.7+1029_daily_bin1712.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/165529/ft1_filteredMKT_4FGL_J1608.7+1029_daily_bin1712.fits evtable="EVENTS" outfile="/scratch/kocevski/165529/ft1_filtered_4FGL_J1608.7+1029_daily_bin1712.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.55
user 0.35
sys 0.17

Number of photons that the gtmktime cut: 786

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/165529/ft1_filtered_4FGL_J1608.7+1029_daily_bin1712.fits" evtable="EVENTS" scfile=/scratch/kocevski/165529/ft2_4FGL_J1608.7+1029_daily_bin1712.fits sctable="SC_DATA" outfile=/scratch/kocevski/165529/ltcube_683078401_683337601_4FGL_J1608.7+1029_daily_bin1712.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/165529/ft2_4FGL_J1608.7+1029_daily_bin1712.fits
.....................!
real 14.84
user 14.45
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/165529/ft1_filtered_4FGL_J1608.7+1029_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/165529/ft2_4FGL_J1608.7+1029_daily_bin1712.fits sctable="SC_DATA" expcube=/scratch/kocevski/165529/ltcube_683078401_683337601_4FGL_J1608.7+1029_daily_bin1712.fits outfile=/scratch/kocevski/165529/expmap_683078401_683337601_4FGL_J1608.7+1029_daily_bin1712.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/165529/ltcube_683078401_683337601_4FGL_J1608.7+1029_daily_bin1712.fits
.....................!
real 192.12
user 186.00
sys 5.73

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/165529/ft1_filtered_4FGL_J1608.7+1029_daily_bin1712.fits scfile=/scratch/kocevski/165529/ft2_4FGL_J1608.7+1029_daily_bin1712.fits outfile=/scratch/kocevski/165529/cmap_683078401_683337601_4FGL_J1608.7+1029_daily_bin1712.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/165529/ft1_filtered_4FGL_J1608.7+1029_daily_bin1712.fits scfile=/scratch/kocevski/165529/ft2_4FGL_J1608.7+1029_daily_bin1712.fits outfile=/scratch/kocevski/165529/cmap_HighResolution_683078401_683337601_4FGL_J1608.7+1029_daily_bin1712.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.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/165529/ft1_filtered_4FGL_J1608.7+1029_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/165529/ft2_4FGL_J1608.7+1029_daily_bin1712.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/165529/Model_4FGL_J1608.7+1029_daily_bin1712.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/165529/ft1_filtered_4FGL_J1608.7+1029_daily_bin1712.fits.....................!
real 68.34
user 66.98
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.834       1.0000          .0000       .10000E+07
     2 'Prefactor '    49.890       1.0000          .0000       .10000E+07
     3 'norm      '    10.359       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.2048       1.0000          .0000       .10000E+07
     5 'norm      '    2.4224       1.0000          .0000       .10000E+07
     6 'Prefactor '    27.165       1.0000          .0000       .10000E+07
     7 'norm      '    .13592E-03   1.0000          .0000       .10000E+07
     8 'norm      '    7.9488       1.0000          .0000       .10000E+07
     9 'norm      '    21.997       1.0000          .0000       .10000E+07
    10 'Prefactor '    .11439E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    92.587       1.0000          .0000       .10000E+07
    12 'Prefactor '    8.7193       1.0000          .0000       .10000E+07
    13 'Prefactor '    5.3661       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.7548       1.0000          .0000       .10000E+07
    15 'Prefactor '    .53100E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    6.9452       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1156       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0727       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=   8505.844     FROM MIGRAD    STATUS=CONVERGED    145 CALLS     1310 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.140        35.305        .80435E-05    .49626E-01
   2  Prefactor     50.815        30.681       -.38786E-05    .16074    
   3  norm          10.329        3.6761       -.82561E-07   -.26338E-02
   4  Prefactor     7.2234        5.7360        .32291E-07    .26355E-02
   5  norm          2.4298        3.3837        .39052E-06   -.30347E-02
   6  Prefactor     25.605        34.339        .10004E-04    .91891E-01
   7  norm          .55511E-10    2.6194        .21077E-06** at limit **
   8  norm          7.9552        2.3547        .13714E-06   -.15989E-01
   9  norm          22.231        16.896       -.15037E-06    .65033E-03
  10  Prefactor     .36082E-08    26.632       -.97582E-06** at limit **
  11  Prefactor     93.961        90.703        .18685E-04   -.39109E-01
  12  Prefactor     11.620        31.814        .13976E-05    .84972E-03
  13  Prefactor     5.2222        8.8371        .32331E-06   -.18270E-02
  14  Prefactor     2.7253        5.5703        .10428E-06   -.17673E-02
  15  Prefactor      .0000        3.6555       -.18282E-06** at limit **
  16  Prefactor     6.9471        7.3693        .34141E-07    .20187E-03
  17  Normalizat    1.1136        .30467        .64001E-05   -.57261E-03
  18  Prefactor     1.0715        .13256       -.84112E-05   -.96027E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.1396
  Prefactor  = 50.8153
  norm       = 10.329
  Prefactor  = 7.22339
  norm       = 2.42978
  Prefactor  = 25.6054
  norm       = 5.55112e-11
  norm       = 7.95515
  norm       = 22.2309
  Prefactor  = 3.60822e-09
  Prefactor  = 93.9612
  Prefactor  = 11.6196
  Prefactor  = 5.22218
  Prefactor  = 2.72535
  Prefactor  = 0
  Prefactor  = 6.94705
  Normalizat = 1.11365
  Prefactor  = 1.07152
 **********
 **   18 **HESSE 
 **********

 FCN=   8505.844     FROM HESSE     STATUS=OK           288 CALLS     1598 TOTAL
                     EDM=   .20E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.140        36.452        .18311E-03   -1.5596    
   2  Prefactor     50.815        47.220        .14159E-03   -1.5565    
   3  norm          10.329        3.6751        .31107E-03   -1.5644    
   4  Prefactor     7.2234        5.8159        .37346E-03   -1.5654    
   5  norm          2.4298        3.4382        .65733E-03   -1.5677    
   6  Prefactor     25.605        40.809        .19190E-03   -1.5607    
   7  norm          .55511E-10    2.6189        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          7.9552        2.3574        .35540E-03   -1.5652    
   9  norm          22.231        16.890        .21327E-03   -1.5614    
  10  Prefactor     .36082E-08    26.445        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     93.961        93.210        .10393E-03   -1.5514    
  12  Prefactor     11.620        31.916        .33922E-03   -1.5640    
  13  Prefactor     5.2222        8.8666        .43359E-03   -1.5662    
  14  Prefactor     2.7253        5.6057        .61304E-03   -1.5675    
  15  Prefactor      .0000        3.6666        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.9471        7.3862        .38045E-03   -1.5655    
  17  Normalizat    1.1136        .26372        .93017E-01   -.89315    
  18  Prefactor     1.0715        .11285        .38732E-01   -.90382    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.00429e-06
Minuit parameter uncertainties:
  1  36.4525
  2  47.2199
  3  3.67513
  4  5.81591
  5  3.43819
  6  40.8099
  7  1.79961e-05
  8  2.3574
  9  16.8901
  10  0.000615755
  11  93.2117
  12  31.9163
  13  8.86663
  14  5.60574
  15  1.69457e-05
  16  7.38625
  17  0.264033
  18  0.11287
Done.

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

Extracting fit parameters...

4FGL J1608.7+1029
   Spectrum: LogParabola
261         norm:  2.223e+01  1.689e+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.072e+00  1.129e-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.114e+00  2.640e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.67
Ra Dec: 242.176 10.494
Photon Index (Fixed Index): 2.46 +/- 0.00
Photon Flux (Fixed Index): 7.09e-08 +/- 5.38e-08
Energy Flux (Fixed Index): 2.03e-05 +/- 1.54e-05

TS (Fixed Index): 2.67
Ra Dec: 242.176 10.494
Photon Flux Upper Limit: 1.84e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.25e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/165529/likelihoodResults_683078401_683337601_4FGL_J1608.7+1029_daily_bin1712.txt

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) = 8505.80509345
delta logL = 0.038517729683

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8505.80181976
delta logL = 0.0417914223108

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    23.062       1.0000          .0000       .10000E+07
     2 'alpha     '    2.1991       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1320       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0660       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=   8505.802     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      256 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          23.063        17.771        .83314E-05   -.27340E-02
   2  alpha         2.1991        .85179        .24564E-01   -.28100E-04
   3  Normalizat    1.1318        .30442        .40915E-03    .67353E-04
   4  Prefactor     1.0661        .13108        .18197E-03    .20774E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 23.0626
  alpha      = 2.19909
  Normalizat = 1.13178
  Prefactor  = 1.06611
 **********
 **   18 **HESSE 
 **********

 FCN=   8505.802     FROM HESSE     STATUS=OK            25 CALLS      281 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          23.063        17.788        .16663E-05   -1.5612    
   2  alpha         2.1991        .85214        .98258E-03   -.12065    
   3  Normalizat    1.1318        .30458        .16366E-04   -.88738    
   4  Prefactor     1.0661        .13112        .36395E-04   -.90557    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.34268e-10
Minuit parameter uncertainties:
  1  17.7881
  2  0.869835
  3  0.305055
  4  0.131164
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/165529': 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) = 8505.80181943
delta logL = 0.0417917486338

Extracting fit parameters...

4FGL J1608.7+1029
   Spectrum: LogParabola
261         norm:  2.306e+01  1.779e+01  0.000e+00  1.000e+06 ( 1.000e-12)
262        alpha:  2.199e+00  8.698e-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.066e+00  1.312e-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.132e+00  3.051e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.74
Ra Dec: 242.176 10.494
Photon Index (Free Index): 2.20 +/- 0.87
Photon Flux (Free Index): 5.91e-08 +/- 6.20e-08
Energy Flux (Free Index): 2.11e-05 +/- 1.66e-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/165529/cmap_HighResolution_683078401_683337601_4FGL_J1608.7+1029_daily_bin1712.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.25e-05', comment='SUCCESS', photon_flux='7.09e-08', energy_flux2='2.11e-05', photon_flux_error='5.38e-08', dlogl='4.18e-02', energy_flux='2.03e-05', photon_flux2='5.91e-08', job_status='DONE', time_completed='2022-09-16 19:35:55.819291', photon_index_error2='0.87', photon_index2='2.20', ts='2.67', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='1.84e-07', energy_flux_error2='1.66e-05', EG='1.11', time_epoch_completed='1663382155.82', return_code='0', job_id='165529', GAL2='1.07', EG2='1.13', return_code2='0', energy_flux_error='1.54e-05', photon_flux_error2='6.20e-08', ts2='2.74', photon_index='2.46' WHERE bin_id='1712' AND source_name='4FGL J1608.7+1029' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 19:35:55 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 165529: <4FGL_J1608.7+1029_daily_bin1712> in cluster <slac> Done

Job <4FGL_J1608.7+1029_daily_bin1712> 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) <bullet0252>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 19:24:02 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:02 2022
Terminated at Fri Sep 16 19:35:56 2022
Results reported at Fri Sep 16 19:35:56 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1608.7+1029_daily_bin1712 242.176 10.4938 683078401 683337601 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 :                                   605.54 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             267.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   714 sec.
    Turnaround time :                            937 sec.

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

