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


Performing analysis on: 4FGL_J1608.7+1029_daily_bin1764
RA = 242.176, Dec = 10.4938
tmin = 696556801, tmax = 696816001
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='455489', job_status='RUN', time_executed='2023-01-31 01:24:40.140658', time_epoch_executed='1675157080.14' WHERE source_name='4FGL J1608.7+1029' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/455489

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/455489/ft1_4FGL_J1608.7+1029_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/455489/ft2_4FGL_J1608.7+1029_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/455489/ft1_4FGL_J1608.7+1029_daily_bin1764.fits outfile=/scratch/kocevski/455489/ft1_filteredMKT_4FGL_J1608.7+1029_daily_bin1764.fits ra=242.176 dec=10.4938 rad=12.0 tmin=696556801.0 tmax=696816001.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.75
user 3.51
sys 0.21

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

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

Number of photons that the gtmktime cut: 880

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/455489/ft1_filtered_4FGL_J1608.7+1029_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/455489/ft2_4FGL_J1608.7+1029_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/455489/ltcube_696556801_696816001_4FGL_J1608.7+1029_daily_bin1764.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/455489/ft2_4FGL_J1608.7+1029_daily_bin1764.fits
.....................!
real 15.39
user 14.95
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/455489/ft1_filtered_4FGL_J1608.7+1029_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/455489/ft2_4FGL_J1608.7+1029_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/455489/ltcube_696556801_696816001_4FGL_J1608.7+1029_daily_bin1764.fits outfile=/scratch/kocevski/455489/expmap_696556801_696816001_4FGL_J1608.7+1029_daily_bin1764.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/455489/ltcube_696556801_696816001_4FGL_J1608.7+1029_daily_bin1764.fits
.....................!
real 191.27
user 186.32
sys 4.42

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/455489/ft1_filtered_4FGL_J1608.7+1029_daily_bin1764.fits scfile=/scratch/kocevski/455489/ft2_4FGL_J1608.7+1029_daily_bin1764.fits outfile=/scratch/kocevski/455489/cmap_696556801_696816001_4FGL_J1608.7+1029_daily_bin1764.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.57
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/455489/ft1_filtered_4FGL_J1608.7+1029_daily_bin1764.fits scfile=/scratch/kocevski/455489/ft2_4FGL_J1608.7+1029_daily_bin1764.fits outfile=/scratch/kocevski/455489/cmap_HighResolution_696556801_696816001_4FGL_J1608.7+1029_daily_bin1764.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/455489/ft1_filtered_4FGL_J1608.7+1029_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/455489/ft2_4FGL_J1608.7+1029_daily_bin1764.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/455489/Model_4FGL_J1608.7+1029_daily_bin1764.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/455489/ft1_filtered_4FGL_J1608.7+1029_daily_bin1764.fits....................!
real 74.46
user 72.94
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31099E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    55.256       1.0000          .0000       .10000E+07
     3 'norm      '    7.5917       1.0000          .0000       .10000E+07
     4 'Prefactor '    .48794E-06   1.0000          .0000       .10000E+07
     5 'norm      '    .25424E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    85.025       1.0000          .0000       .10000E+07
     7 'norm      '    64.234       1.0000          .0000       .10000E+07
     8 'norm      '    7.5041       1.0000          .0000       .10000E+07
     9 'norm      '    57.267       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.4137       1.0000          .0000       .10000E+07
    11 'Prefactor '    .58788       1.0000          .0000       .10000E+07
    12 'Prefactor '    11.165       1.0000          .0000       .10000E+07
    13 'Prefactor '    .91927E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .34203E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .53143E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    4.0799       1.0000          .0000       .10000E+07
    17 'Normalizat'    .92539       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1475       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=   9640.349     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     1318 TOTAL
                     EDM=   .64E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    11.223        .72360E-07** at limit **
   2  Prefactor     55.791        28.501       -.94965E-06    .27148E-02
   3  norm          7.5949        3.1996        .15159E-06    .39879E-02
   4  Prefactor      .0000        1.5918        .49626E-07** at limit **
   5  norm          .55511E-10    1.9974       -.22644E-06** at limit **
   6  Prefactor     86.707        89.754        .21424E-05   -.73067E-03
   7  norm          64.177        9.5834       -.14773E-05   -.17364    
   8  norm          7.5008        2.4755        .14318E-06   -.76627E-02
   9  norm          57.365        15.832       -.24543E-05    .95530E-01
  10  Prefactor     2.5101        14.651       -.78452E-06   -.29154E-03
  11  Prefactor     .14932E-07    95.274       -.10735E-05** at limit **
  12  Prefactor     11.315        14.297       -.14068E-05    .10840E-01
  13  Prefactor     .49405E-08    13.026       -.20753E-06** at limit **
  14  Prefactor      .0000        7.9399       -.20376E-06** at limit **
  15  Prefactor      .0000        5.5993       -.82514E-07** at limit **
  16  Prefactor     4.1164        6.7228        .13810E-06   -.36297E-02
  17  Normalizat    .92401        .31295        .33135E-04   -.17996E-04
  18  Prefactor     1.1476        .13025       -.61286E-05    .11858E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Prefactor  = 55.7911
  norm       = 7.59492
  Prefactor  = 0
  norm       = 5.55112e-11
  Prefactor  = 86.7068
  norm       = 64.177
  norm       = 7.50079
  norm       = 57.3653
  Prefactor  = 2.51009
  Prefactor  = 1.49325e-08
  Prefactor  = 11.3149
  Prefactor  = 4.94049e-09
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 4.11643
  Normalizat = 0.924014
  Prefactor  = 1.14763
 **********
 **   18 **HESSE 
 **********

 FCN=   9640.349     FROM HESSE     STATUS=OK           282 CALLS     1600 TOTAL
                     EDM=   .36E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    11.227        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     55.791        31.651        .13454E-03   -1.5559    
   3  norm          7.5949        3.2223        .36373E-03   -1.5653    
   4  Prefactor      .0000        1.5914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .55511E-10    1.9912        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     86.707        89.713        .10846E-03   -1.5522    
   7  norm          64.177        15.122        .12478E-03   -1.5548    
   8  norm          7.5008        2.4877        .36587E-03   -1.5653    
   9  norm          57.365        21.317        .13215E-03   -1.5556    
  10  Prefactor     2.5101        14.564        .65863E-03   -1.5676    
  11  Prefactor     .14932E-07    95.557        .70320E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.315        31.532        .29958E-03   -1.5641    
  13  Prefactor     .49405E-08    13.015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        7.9275        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        5.5854        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.1164        6.7461        .49890E-03   -1.5667    
  17  Normalizat    .92401        .27364        .10516       -.95621    
  18  Prefactor     1.1476        .11266        .36009E-01   -.87958    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.63806e-07
Minuit parameter uncertainties:
  1  5.36006e-05
  2  31.6508
  3  3.22231
  4  5.10152e-06
  5  2.16709e-05
  6  89.7145
  7  15.1219
  8  2.4877
  9  21.3174
  10  12.0924
  11  0.00238998
  12  31.5327
  13  0.000506205
  14  2.22266e-06
  15  2.19567e-05
  16  6.74614
  17  0.274048
  18  0.112685
Done.

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

Extracting fit parameters...

4FGL J1608.7+1029
   Spectrum: LogParabola
261         norm:  5.737e+01  2.132e+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.148e+00  1.127e-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:  9.240e-01  2.740e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 17.17
Ra Dec: 242.176 10.494
Photon Index (Fixed Index): 2.46 +/- 0.00
Photon Flux (Fixed Index): 1.83e-07 +/- 6.80e-08
Energy Flux (Fixed Index): 5.23e-05 +/- 1.94e-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) = 9640.11187357
delta logL = 0.237236771873

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9640.1113751
delta logL = 0.237735232979

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    56.972       1.0000          .0000       .10000E+07
     2 'alpha     '    2.1394       1.0000          .0000       5.0000    
     3 'Normalizat'    .97973       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1328       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=   9640.111     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      259 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          56.962        23.505        .52998E-05    .30023E-02
   2  alpha         2.1391        .46941        .14307E-01    .90464E-04
   3  Normalizat    .97949        .31439        .45453E-03    .90083E-03
   4  Prefactor     1.1328        .13081        .18060E-03    .20900E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 56.9617
  alpha      = 2.1391
  Normalizat = 0.979495
  Prefactor  = 1.13278
 **********
 **   18 **HESSE 
 **********

 FCN=   9640.111     FROM HESSE     STATUS=OK            23 CALLS      282 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          56.962        23.721        .10600E-05   -1.5557    
   2  alpha         2.1391        .47334        .57228E-03   -.14487    
   3  Normalizat    .97949        .31478        .90906E-04   -.93721    
   4  Prefactor     1.1328        .13090        .36120E-04   -.88426    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.89804e-09
Minuit parameter uncertainties:
  1  23.7211
  2  0.476272
  3  0.315378
  4  0.130935
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/455489': 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) = 9640.11137255
delta logL = 0.23773779055

Extracting fit parameters...

4FGL J1608.7+1029
   Spectrum: LogParabola
261         norm:  5.696e+01  2.372e+01  0.000e+00  1.000e+06 ( 1.000e-12)
262        alpha:  2.139e+00  4.763e-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.133e+00  1.309e-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:  9.795e-01  3.154e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 17.66
Ra Dec: 242.176 10.494
Photon Index (Free Index): 2.14 +/- 0.48
Photon Flux (Free Index): 1.39e-07 +/- 8.70e-08
Energy Flux (Free Index): 5.30e-05 +/- 2.10e-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/455489/cmap_HighResolution_696556801_696816001_4FGL_J1608.7+1029_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.83e-07', energy_flux2='5.30e-05', photon_flux_error='6.80e-08', dlogl='2.38e-01', energy_flux='5.23e-05', photon_flux2='1.39e-07', job_status='DONE', time_completed='2023-01-31 01:34:12.788883', photon_index_error2='0.48', photon_index2='2.14', ts='17.17', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', energy_flux_error2='2.10e-05', EG='0.92', time_epoch_completed='1675157652.79', return_code='0', job_id='455489', GAL2='1.13', EG2='0.98', return_code2='0', energy_flux_error='1.94e-05', photon_flux_error2='8.70e-08', ts2='17.66', photon_index='2.46' WHERE bin_id='1764' AND source_name='4FGL J1608.7+1029' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 01:34:12 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0025>
Subject: Job 455489: <4FGL_J1608.7+1029_daily_bin1764> in cluster <slac> Done

Job <4FGL_J1608.7+1029_daily_bin1764> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Jan 31 01:20:21 2023
Job was executed on host(s) <bullet0025>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 01:20:46 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 01:20:46 2023
Terminated at Tue Jan 31 01:34:13 2023
Results reported at Tue Jan 31 01:34:13 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1608.7+1029_daily_bin1764 242.176 10.4938 696556801 696816001 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 :                                   574.30 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             229.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   807 sec.
    Turnaround time :                            832 sec.

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

