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


Performing analysis on: 4FGL_J1608.7+1029_daily_bin1748
RA = 242.176, Dec = 10.4938
tmin = 692409601, tmax = 692668801
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='891262', job_status='RUN', time_executed='2022-12-14 00:56:09.782054', time_epoch_executed='1671008169.78' WHERE source_name='4FGL J1608.7+1029' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/891262

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/891262/ft1_4FGL_J1608.7+1029_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/891262/ft2_4FGL_J1608.7+1029_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/891262/ft1_4FGL_J1608.7+1029_daily_bin1748.fits outfile=/scratch/kocevski/891262/ft1_filteredMKT_4FGL_J1608.7+1029_daily_bin1748.fits ra=242.176 dec=10.4938 rad=12.0 tmin=692409601.0 tmax=692668801.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.56
user 3.32
sys 0.22

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

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

Number of photons that the gtmktime cut: 854

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/891262/ft1_filtered_4FGL_J1608.7+1029_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/891262/ft2_4FGL_J1608.7+1029_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/891262/ltcube_692409601_692668801_4FGL_J1608.7+1029_daily_bin1748.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/891262/ft2_4FGL_J1608.7+1029_daily_bin1748.fits
.....................!
real 12.44
user 12.07
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/891262/ft1_filtered_4FGL_J1608.7+1029_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/891262/ft2_4FGL_J1608.7+1029_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/891262/ltcube_692409601_692668801_4FGL_J1608.7+1029_daily_bin1748.fits outfile=/scratch/kocevski/891262/expmap_692409601_692668801_4FGL_J1608.7+1029_daily_bin1748.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/891262/ltcube_692409601_692668801_4FGL_J1608.7+1029_daily_bin1748.fits
.....................!
real 191.73
user 185.69
sys 5.68

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/891262/ft1_filtered_4FGL_J1608.7+1029_daily_bin1748.fits scfile=/scratch/kocevski/891262/ft2_4FGL_J1608.7+1029_daily_bin1748.fits outfile=/scratch/kocevski/891262/cmap_692409601_692668801_4FGL_J1608.7+1029_daily_bin1748.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.56
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/891262/ft1_filtered_4FGL_J1608.7+1029_daily_bin1748.fits scfile=/scratch/kocevski/891262/ft2_4FGL_J1608.7+1029_daily_bin1748.fits outfile=/scratch/kocevski/891262/cmap_HighResolution_692409601_692668801_4FGL_J1608.7+1029_daily_bin1748.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.55
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/891262/ft1_filtered_4FGL_J1608.7+1029_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/891262/ft2_4FGL_J1608.7+1029_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/891262/Model_4FGL_J1608.7+1029_daily_bin1748.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/891262/ft1_filtered_4FGL_J1608.7+1029_daily_bin1748.fits.....................!
real 69.45
user 68.06
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .58544E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    8.6568       1.0000          .0000       .10000E+07
     3 'norm      '    .51846       1.0000          .0000       .10000E+07
     4 'Prefactor '    .11948E-03   1.0000          .0000       .10000E+07
     5 'norm      '    4.3418       1.0000          .0000       .10000E+07
     6 'Prefactor '    125.86       1.0000          .0000       .10000E+07
     7 'norm      '    4.6797       1.0000          .0000       .10000E+07
     8 'norm      '    3.7804       1.0000          .0000       .10000E+07
     9 'norm      '    49.008       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.8699       1.0000          .0000       .10000E+07
    11 'Prefactor '    .55135       1.0000          .0000       .10000E+07
    12 'Prefactor '    .61469E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    8.3046       1.0000          .0000       .10000E+07
    14 'Prefactor '    10.113       1.0000          .0000       .10000E+07
    15 'Prefactor '    .50419E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    3.0367       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1378       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .95300       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=   9238.136     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1343 TOTAL
                     EDM=   .18E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    19.689       -.44356E-06** at limit **
   2  Prefactor     8.6845        14.111       -.11599E-06   -.48214E-02
   3  norm          .51578        1.7239        .37279E-06   -.11836E-02
   4  Prefactor      .0000        8.1170        .34947E-06** at limit **
   5  norm          4.3336        3.6538        .21435E-06   -.84662E-03
   6  Prefactor     127.76        76.598        .21953E-06   -.29608E-03
   7  norm          4.7349        7.6269       -.41622E-06    .47114E-03
   8  norm          3.7765        1.5304        .42682E-07   -.10108E-02
   9  norm          48.948        10.912        .31753E-07   -.14950E-01
  10  Prefactor     4.8734        7.6323       -.16450E-06    .34642E-03
  11  Prefactor     .55511E-10    111.70        .10019E-06** at limit **
  12  Prefactor      .0000        13.270       -.23525E-06** at limit **
  13  Prefactor     8.3217        8.1434        .33603E-07    .10964E-03
  14  Prefactor     10.106        6.9770       -.26346E-07    .18949E-03
  15  Prefactor      .0000        2.0310        .27582E-07** at limit **
  16  Prefactor     3.0375        5.4588        .20226E-06   -.24299E-03
  17  Normalizat    1.1368        .26093       -.14425E-05    .46199E-04
  18  Prefactor     .95318        .11238       -.35867E-05    .12140E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Prefactor  = 8.68449
  norm       = 0.515783
  Prefactor  = 0
  norm       = 4.33356
  Prefactor  = 127.762
  norm       = 4.73493
  norm       = 3.77647
  norm       = 48.9481
  Prefactor  = 4.87342
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 8.32169
  Prefactor  = 10.1059
  Prefactor  = 0
  Prefactor  = 3.03747
  Normalizat = 1.13684
  Prefactor  = 0.953176
 **********
 **   18 **HESSE 
 **********

 FCN=   9238.136     FROM HESSE     STATUS=OK           288 CALLS     1631 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    19.695        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.6845        17.833        .34045E-03   -1.5649    
   3  norm          .51578        1.7384        .76874E-03   -1.5694    
   4  Prefactor      .0000        7.8791        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.3336        3.6697        .48318E-03   -1.5666    
   6  Prefactor     127.76        76.494        .89143E-04   -1.5482    
   7  norm          4.7349        7.6392        .46496E-03   -1.5664    
   8  norm          3.7765        1.5302        .51896E-03   -1.5669    
   9  norm          48.948        18.090        .14286E-03   -1.5568    
  10  Prefactor     4.8734        7.6421        .45558E-03   -1.5664    
  11  Prefactor     .55511E-10    111.46        .73703E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        13.272        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.3217        8.1520        .34764E-03   -1.5650    
  14  Prefactor     10.106        6.9813        .31485E-03   -1.5644    
  15  Prefactor      .0000        2.0312        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.0375        5.4599        .58202E-03   -1.5673    
  17  Normalizat    1.1368        .22070        .83778E-01   -.88578    
  18  Prefactor     .95318        .94103E-01    .45677E-01   -.94307    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.3303e-07
Minuit parameter uncertainties:
  1  7.48316e-05
  2  17.8328
  3  1.73836
  4  1.06398e-05
  5  3.66966
  6  76.4951
  7  7.63922
  8  1.53025
  9  18.0897
  10  7.64209
  11  0.00012051
  12  1.79006e-06
  13  8.15203
  14  6.98126
  15  2.41316e-06
  16  5.45989
  17  0.220875
  18  0.0941189
Done.

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

Extracting fit parameters...

4FGL J1608.7+1029
   Spectrum: LogParabola
261         norm:  4.895e+01  1.809e+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.532e-01  9.412e-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.137e+00  2.209e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.04
Ra Dec: 242.176 10.494
Photon Index (Fixed Index): 2.46 +/- 0.00
Photon Flux (Fixed Index): 1.56e-07 +/- 5.77e-08
Energy Flux (Fixed Index): 4.46e-05 +/- 1.65e-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) = 9237.9285787
delta logL = 0.207855480985

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9237.92170503
delta logL = 0.214729153637

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    52.396       1.0000          .0000       .10000E+07
     2 'alpha     '    2.1697       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1740       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94174       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=   9237.922     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      246 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          52.416        165.03        .13816E-03    .96186E-03
   2  alpha         2.1702        3.5647        .35315        .36264E-05
   3  Normalizat    1.1739        .33422        .82663E-01    .22607E-04
   4  Prefactor     .94176        .14034        .45535E-01    .15027E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 52.4158
  alpha      = 2.1702
  Normalizat = 1.17391
  Prefactor  = 0.941763
 **********
 **   18 **HESSE 
 **********

 FCN=   9237.922     FROM HESSE     STATUS=OK            33 CALLS      279 TOTAL
                     EDM=   .20E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          52.416        19.722        .27632E-04   -1.5563    
   2  alpha         2.1702        .42484        .13526E-01   -.13230    
   3  Normalizat    1.1739        .26164        .36598E-03   -.87413    
   4  Prefactor     .94176        .11226        .17491E-03   -.94697    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.99646e-14
Minuit parameter uncertainties:
  1  19.7219
  2  0.426947
  3  0.261935
  4  0.112293
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/891262': 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) = 9237.92170383
delta logL = 0.214730355407

Extracting fit parameters...

4FGL J1608.7+1029
   Spectrum: LogParabola
261         norm:  5.242e+01  1.972e+01  0.000e+00  1.000e+06 ( 1.000e-12)
262        alpha:  2.170e+00  4.269e-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.418e-01  1.123e-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.174e+00  2.619e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.45
Ra Dec: 242.176 10.494
Photon Index (Free Index): 2.17 +/- 0.43
Photon Flux (Free Index): 1.31e-07 +/- 6.29e-08
Energy Flux (Free Index): 4.83e-05 +/- 1.93e-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/891262/cmap_HighResolution_692409601_692668801_4FGL_J1608.7+1029_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.56e-07', energy_flux2='4.83e-05', photon_flux_error='5.77e-08', dlogl='2.15e-01', energy_flux='4.46e-05', photon_flux2='1.31e-07', job_status='DONE', time_completed='2022-12-14 01:05:27.007395', photon_index_error2='0.43', photon_index2='2.17', ts='13.04', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='1.93e-05', EG='1.14', time_epoch_completed='1671008727.01', return_code='0', job_id='891262', GAL2='0.94', EG2='1.17', return_code2='0', energy_flux_error='1.65e-05', photon_flux_error2='6.29e-08', ts2='13.45', photon_index='2.46' WHERE bin_id='1748' AND source_name='4FGL J1608.7+1029' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:05:27 PST 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0119>
Subject: Job 891262: <4FGL_J1608.7+1029_daily_bin1748> in cluster <slac> Done

Job <4FGL_J1608.7+1029_daily_bin1748> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec 14 00:55:20 2022
Job was executed on host(s) <bullet0119>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:55:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:55:21 2022
Terminated at Wed Dec 14 01:05:27 2022
Results reported at Wed Dec 14 01:05:27 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1608.7+1029_daily_bin1748 242.176 10.4938 692409601 692668801 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 :                                   559.34 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             300.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   612 sec.
    Turnaround time :                            607 sec.

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

