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


Performing analysis on: 4FGL_J1608.7+1029_daily_bin1776
RA = 242.176, Dec = 10.4938
tmin = 699667201, tmax = 699926401
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='837061', job_status='RUN', time_executed='2023-03-08 00:51:36.613078', time_epoch_executed='1678265496.61' WHERE source_name='4FGL J1608.7+1029' and cadence='daily' and bin_id='1776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/837061

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/837061/ft1_4FGL_J1608.7+1029_daily_bin1776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/837061/ft2_4FGL_J1608.7+1029_daily_bin1776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/837061/ft1_4FGL_J1608.7+1029_daily_bin1776.fits outfile=/scratch/kocevski/837061/ft1_filteredMKT_4FGL_J1608.7+1029_daily_bin1776.fits ra=242.176 dec=10.4938 rad=12.0 tmin=699667201.0 tmax=699926401.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.11
user 2.88
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/837061/ft2_4FGL_J1608.7+1029_daily_bin1776.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/837061/ft1_filteredMKT_4FGL_J1608.7+1029_daily_bin1776.fits evtable="EVENTS" outfile="/scratch/kocevski/837061/ft1_filtered_4FGL_J1608.7+1029_daily_bin1776.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.45
user 0.28
sys 0.14

Number of photons that the gtmktime cut: 1083

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/837061/ft1_filtered_4FGL_J1608.7+1029_daily_bin1776.fits" evtable="EVENTS" scfile=/scratch/kocevski/837061/ft2_4FGL_J1608.7+1029_daily_bin1776.fits sctable="SC_DATA" outfile=/scratch/kocevski/837061/ltcube_699667201_699926401_4FGL_J1608.7+1029_daily_bin1776.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/837061/ft2_4FGL_J1608.7+1029_daily_bin1776.fits
.....................!
real 9.49
user 9.21
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/837061/ft1_filtered_4FGL_J1608.7+1029_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/837061/ft2_4FGL_J1608.7+1029_daily_bin1776.fits sctable="SC_DATA" expcube=/scratch/kocevski/837061/ltcube_699667201_699926401_4FGL_J1608.7+1029_daily_bin1776.fits outfile=/scratch/kocevski/837061/expmap_699667201_699926401_4FGL_J1608.7+1029_daily_bin1776.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/837061/ltcube_699667201_699926401_4FGL_J1608.7+1029_daily_bin1776.fits
.....................!
real 149.58
user 146.09
sys 3.18

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/837061/ft1_filtered_4FGL_J1608.7+1029_daily_bin1776.fits scfile=/scratch/kocevski/837061/ft2_4FGL_J1608.7+1029_daily_bin1776.fits outfile=/scratch/kocevski/837061/cmap_699667201_699926401_4FGL_J1608.7+1029_daily_bin1776.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.47
user 0.31
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/837061/ft1_filtered_4FGL_J1608.7+1029_daily_bin1776.fits scfile=/scratch/kocevski/837061/ft2_4FGL_J1608.7+1029_daily_bin1776.fits outfile=/scratch/kocevski/837061/cmap_HighResolution_699667201_699926401_4FGL_J1608.7+1029_daily_bin1776.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.47
user 0.31
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/837061/ft1_filtered_4FGL_J1608.7+1029_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/837061/ft2_4FGL_J1608.7+1029_daily_bin1776.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/837061/Model_4FGL_J1608.7+1029_daily_bin1776.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/837061/ft1_filtered_4FGL_J1608.7+1029_daily_bin1776.fits.....................!
real 68.46
user 67.28
sys 0.93

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13599E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    12.935       1.0000          .0000       .10000E+07
     3 'norm      '    4.5415       1.0000          .0000       .10000E+07
     4 'Prefactor '    5.3043       1.0000          .0000       .10000E+07
     5 'norm      '    .11650E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    70.151       1.0000          .0000       .10000E+07
     7 'norm      '    3.1353       1.0000          .0000       .10000E+07
     8 'norm      '    8.6023       1.0000          .0000       .10000E+07
     9 'norm      '    42.487       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.7818       1.0000          .0000       .10000E+07
    11 'Prefactor '    82.194       1.0000          .0000       .10000E+07
    12 'Prefactor '    15.954       1.0000          .0000       .10000E+07
    13 'Prefactor '    .12823E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .24449E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    4.9376       1.0000          .0000       .10000E+07
    16 'Prefactor '    .12029E-04   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0963       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0580       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=   11758.61     FROM MIGRAD    STATUS=CONVERGED    116 CALLS     1295 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    8.5156        .34567E-06** at limit **
   2  Prefactor     12.966        13.748       -.10263E-05   -.58369E-01
   3  norm          4.5441        2.4420       -.53942E-06    .39566E-02
   4  Prefactor     5.3100        3.6625        .50544E-07   -.12533E-02
   5  norm           .0000        2.2671       -.77205E-06** at limit **
   6  Prefactor     71.893        57.351        .78771E-06   -.15907E-02
   7  norm          3.0912        6.1745        .89227E-06    .13615E-02
   8  norm          8.5992        2.1050       -.22625E-07   -.91098E-02
   9  norm          42.666        14.560        .14717E-05    .93302E-01
  10  Prefactor     2.6649        16.585       -.29648E-05   -.35608E-02
  11  Prefactor     82.053        4.8660       -.40459E-07   -.10085E-01
  12  Prefactor     15.872        22.818        .65918E-05   -.31338E-01
  13  Prefactor      .0000        1.8684       -.41933E-07** at limit **
  14  Prefactor      .0000        .99664       -.94279E-07** at limit **
  15  Prefactor     4.9494        6.1397       -.20726E-06    .29964E-03
  16  Prefactor      .0000        2.2582       -.16141E-06** at limit **
  17  Normalizat    1.0950        .26415        .13237E-04   -.69522E-04
  18  Prefactor     1.0582        .10990       -.85674E-05   -.20790E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  Prefactor  = 12.9657
  norm       = 4.5441
  Prefactor  = 5.31
  norm       = 0
  Prefactor  = 71.8926
  norm       = 3.09115
  norm       = 8.59916
  norm       = 42.666
  Prefactor  = 2.66495
  Prefactor  = 82.0528
  Prefactor  = 15.8716
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 4.9494
  Prefactor  = 0
  Normalizat = 1.09499
  Prefactor  = 1.05819
 **********
 **   18 **HESSE 
 **********

 FCN=   11758.61     FROM HESSE     STATUS=OK           286 CALLS     1581 TOTAL
                     EDM=   .26E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    8.5134        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.966        18.899        .27825E-03   -1.5636    
   3  norm          4.5441        2.4456        .47216E-03   -1.5665    
   4  Prefactor     5.3100        3.6762        .43616E-03   -1.5662    
   5  norm           .0000        2.2545        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     71.893        57.533        .11940E-03   -1.5538    
   7  norm          3.0912        6.2079        .57228E-03   -1.5673    
   8  norm          8.5992        2.1083        .34153E-03   -1.5649    
   9  norm          42.666        17.520        .15343E-03   -1.5577    
  10  Prefactor     2.6649        16.462        .60985E-03   -1.5675    
  11  Prefactor     82.053        62.526        .11031E-03   -1.5527    
  12  Prefactor     15.872        25.896        .25048E-03   -1.5628    
  13  Prefactor      .0000        1.8693        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        .99869        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.9494        6.1459        .45238E-03   -1.5663    
  16  Prefactor      .0000        2.2482        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.0950        .22470        .91919E-01   -.89913    
  18  Prefactor     1.0582        .92871E-01    .39464E-01   -.90814    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.62269e-07
Minuit parameter uncertainties:
  1  8.79471e-05
  2  18.8996
  3  2.44558
  4  3.6762
  5  3.49348e-06
  6  57.5334
  7  6.2079
  8  2.10827
  9  17.5199
  10  13.2468
  11  62.5269
  12  25.8959
  13  5.63599e-06
  14  7.80591e-06
  15  6.14589
  16  8.09832e-06
  17  0.224898
  18  0.0928853
Done.

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

Extracting fit parameters...

4FGL J1608.7+1029
   Spectrum: LogParabola
261         norm:  4.267e+01  1.752e+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.058e+00  9.289e-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.095e+00  2.249e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.90
Ra Dec: 242.176 10.494
Photon Index (Fixed Index): 2.46 +/- 0.00
Photon Flux (Fixed Index): 1.36e-07 +/- 5.59e-08
Energy Flux (Fixed Index): 3.89e-05 +/- 1.60e-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) = 11757.769973
delta logL = 0.838428566247

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11757.7574221
delta logL = 0.850979459614

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    32.821       1.0000          .0000       .10000E+07
     2 'alpha     '    3.0821       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0047       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0847       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=   11757.76     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      266 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          32.839        151.69        .17457E-03   -.47253E-03
   2  alpha         3.0829        4.0027        .31885        .73568E-04
   3  Normalizat    1.0047        .11482        .95398E-01    .62198E-04
   4  Prefactor     1.0846        .42998E-01    .38198E-01    .44762E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 32.8388
  alpha      = 3.08293
  Normalizat = 1.00473
  Prefactor  = 1.08463
 **********
 **   18 **HESSE 
 **********

 FCN=   11757.76     FROM HESSE     STATUS=OK            33 CALLS      299 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          32.839        18.276        .69830E-05   -1.5593    
   2  alpha         3.0829        .53513        .13007E-01    .23534    
   3  Normalizat    1.0047        .26728        .42257E-03   -.92872    
   4  Prefactor     1.0846        .11152        .17449E-03   -.89959    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.7598e-09
Minuit parameter uncertainties:
  1  18.2765
  2  0.539553
  3  0.267634
  4  0.111546
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/837061': 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) = 11757.7574151
delta logL = 0.850986477619

Extracting fit parameters...

4FGL J1608.7+1029
   Spectrum: LogParabola
261         norm:  3.284e+01  1.828e+01  0.000e+00  1.000e+06 ( 1.000e-12)
262        alpha:  3.083e+00  5.396e-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.085e+00  1.115e-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.005e+00  2.676e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.95
Ra Dec: 242.176 10.494
Photon Index (Free Index): 3.08 +/- 0.54
Photon Flux (Free Index): 1.99e-07 +/- 7.95e-08
Energy Flux (Free Index): 4.00e-05 +/- 1.45e-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/837061/cmap_HighResolution_699667201_699926401_4FGL_J1608.7+1029_daily_bin1776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.36e-07', energy_flux2='4.00e-05', photon_flux_error='5.59e-08', dlogl='8.51e-01', energy_flux='3.89e-05', photon_flux2='1.99e-07', job_status='DONE', time_completed='2023-03-08 00:59:38.652678', photon_index_error2='0.54', photon_index2='3.08', ts='10.90', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='1.45e-05', EG='1.09', time_epoch_completed='1678265978.65', return_code='0', job_id='837061', GAL2='1.08', EG2='1.00', return_code2='0', energy_flux_error='1.60e-05', photon_flux_error2='7.95e-08', ts2='12.95', photon_index='2.46' WHERE bin_id='1776' AND source_name='4FGL J1608.7+1029' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar  8 00:59:38 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0168>
Subject: Job 837061: <4FGL_J1608.7+1029_daily_bin1776> in cluster <slac> Done

Job <4FGL_J1608.7+1029_daily_bin1776> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Mar  8 00:50:19 2023
Job was executed on host(s) <bullet0168>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar  8 00:50:20 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Mar  8 00:50:20 2023
Terminated at Wed Mar  8 00:59:39 2023
Results reported at Wed Mar  8 00:59:39 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1608.7+1029_daily_bin1776 242.176 10.4938 699667201 699926401 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 :                                   482.36 sec.
    Max Memory :                                 1178 MB
    Average Memory :                             329.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   558 sec.
    Turnaround time :                            560 sec.

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

