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


Performing analysis on: 4FGL_J2311.7+2604_weekly_bin740
RA = 347.931, Dec = 26.0831
tmin = 686534401, tmax = 687139201
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='835758', job_status='RUN', time_executed='2022-10-11 00:56:45.770111', time_epoch_executed='1665475005.77' WHERE source_name='4FGL J2311.7+2604' and cadence='weekly' and bin_id='740'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/835758

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/835758/ft1_4FGL_J2311.7+2604_weekly_bin740.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/835758/ft2_4FGL_J2311.7+2604_weekly_bin740.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/835758/ft1_4FGL_J2311.7+2604_weekly_bin740.fits outfile=/scratch/kocevski/835758/ft1_filteredMKT_4FGL_J2311.7+2604_weekly_bin740.fits ra=347.931 dec=26.0831 rad=12.0 tmin=686534401.0 tmax=687139201.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 7.17
user 6.91
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/835758/ft2_4FGL_J2311.7+2604_weekly_bin740.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/835758/ft2_4FGL_J2311.7+2604_weekly_bin740.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/835758/ft1_filteredMKT_4FGL_J2311.7+2604_weekly_bin740.fits evtable="EVENTS" outfile="/scratch/kocevski/835758/ft1_filtered_4FGL_J2311.7+2604_weekly_bin740.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.54
user 0.37
sys 0.16

Number of photons that the gtmktime cut: 881

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/835758/ft1_filtered_4FGL_J2311.7+2604_weekly_bin740.fits" evtable="EVENTS" scfile=/scratch/kocevski/835758/ft2_4FGL_J2311.7+2604_weekly_bin740.fits sctable="SC_DATA" outfile=/scratch/kocevski/835758/ltcube_686534401_687139201_4FGL_J2311.7+2604_weekly_bin740.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/835758/ft2_4FGL_J2311.7+2604_weekly_bin740.fits
.....................!
real 27.73
user 27.30
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/835758/ft1_filtered_4FGL_J2311.7+2604_weekly_bin740.fits evtable="EVENTS" scfile=/scratch/kocevski/835758/ft2_4FGL_J2311.7+2604_weekly_bin740.fits sctable="SC_DATA" expcube=/scratch/kocevski/835758/ltcube_686534401_687139201_4FGL_J2311.7+2604_weekly_bin740.fits outfile=/scratch/kocevski/835758/expmap_686534401_687139201_4FGL_J2311.7+2604_weekly_bin740.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/835758/ltcube_686534401_687139201_4FGL_J2311.7+2604_weekly_bin740.fits
.....................!
real 191.15
user 185.55
sys 5.23

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 163 point sources and 0 extended sources

Setting source of interest to:
4FGL J2311.7+2604 @ 347.931 26.0831

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/835758/ft1_filtered_4FGL_J2311.7+2604_weekly_bin740.fits scfile=/scratch/kocevski/835758/ft2_4FGL_J2311.7+2604_weekly_bin740.fits outfile=/scratch/kocevski/835758/cmap_686534401_687139201_4FGL_J2311.7+2604_weekly_bin740.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=347.931 yref=26.0831 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.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/835758/ft1_filtered_4FGL_J2311.7+2604_weekly_bin740.fits scfile=/scratch/kocevski/835758/ft2_4FGL_J2311.7+2604_weekly_bin740.fits outfile=/scratch/kocevski/835758/cmap_HighResolution_686534401_687139201_4FGL_J2311.7+2604_weekly_bin740.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=347.931 yref=26.0831 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.58
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/835758/ft1_filtered_4FGL_J2311.7+2604_weekly_bin740.fits evtable="EVENTS" scfile=/scratch/kocevski/835758/ft2_4FGL_J2311.7+2604_weekly_bin740.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/835758/Model_4FGL_J2311.7+2604_weekly_bin740.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/835758/ft1_filtered_4FGL_J2311.7+2604_weekly_bin740.fits.....................!
real 109.70
user 108.26
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/835758/ft1_filtered_4FGL_J2311.7+2604_weekly_bin740.fits', '/scratch/kocevski/835758/ft2_4FGL_J2311.7+2604_weekly_bin740.fits', expMap='/scratch/kocevski/835758/expmap_686534401_687139201_4FGL_J2311.7+2604_weekly_bin740.fits', expCube='/scratch/kocevski/835758/ltcube_686534401_687139201_4FGL_J2311.7+2604_weekly_bin740.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/835758/Model_4FGL_J2311.7+2604_weekly_bin740.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2311.7+2604'

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  4.423e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
369        Index:  2.429e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  1.013e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/835758/ft1_filtered_4FGL_J2311.7+2604_weekly_bin740.fits
Spacecraft file(s): /scratch/kocevski/835758/ft2_4FGL_J2311.7+2604_weekly_bin740.fits
Exposure map: /scratch/kocevski/835758/expmap_686534401_687139201_4FGL_J2311.7+2604_weekly_bin740.fits
Exposure cube: /scratch/kocevski/835758/ltcube_686534401_687139201_4FGL_J2311.7+2604_weekly_bin740.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/835758/Model_4FGL_J2311.7+2604_weekly_bin740.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) = 9327.29586864

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .74158E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .85156       1.0000          .0000       .10000E+07
     3 'norm      '    .31253E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    10.424       1.0000          .0000       .10000E+07
     5 'Prefactor '    46.345       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.8228       1.0000         .10000E-03   10000.    
     7 'Prefactor '    17.494       1.0000          .0000       .10000E+07
     8 'Prefactor '    .74496E-06   1.0000          .0000       .10000E+07
     9 'norm      '    3.0046       1.0000          .0000       .10000E+07
    10 'Prefactor '    59.710       1.0000          .0000       .10000E+07
    11 'Prefactor '    40.721       1.0000          .0000       .10000E+07
    12 'Prefactor '    .10690E-01   1.0000          .0000       .10000E+07
    13 'norm      '    .24606E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .28324E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .42721E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .21388E-06   1.0000          .0000       .10000E+07
    17 'Normalizat'    .98444       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0062       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9327.245     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     1338 TOTAL
                     EDM=   .84E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    8.4610        .17557E-06** at limit **
   2  norm          .85449        1.0218        .70417E-06   -.68285E-03
   3  norm           .0000        1.6022        .11229E-05** at limit **
   4  Prefactor     18.120        77.782        .16271E-04   -.89221E-03
   5  Prefactor     46.270        6.7555       -.88454E-06   -.21684    
   6  Prefactor     5.8109        .46469        .62026E-06   -.21114E-02
   7  Prefactor     17.580        17.017       -.11823E-06    .29851E-01
   8  Prefactor      .0000        2.3329        .35708E-06** at limit **
   9  norm          3.0066        1.7204        .16885E-06   -.41070E-02
  10  Prefactor     60.543        30.450        .72803E-06   -.13980E-01
  11  Prefactor     41.634        15.344        .61978E-06    .60300E-03
  12  Prefactor     .33307E-07    17.352        .18477E-05** at limit **
  13  norm          .44409E-09    4.0460       -.36583E-05** at limit **
  14  Prefactor     .34117E-06    21.402       -.68298E-05** at limit **
  15  Prefactor     .12002E-06    99.305       -.32651E-06** at limit **
  16  Prefactor     .28350E-06    22.434        .45210E-05** at limit **
  17  Normalizat    .98407        .27350       -.97649E-05    .29423E-03
  18  Prefactor     1.0052        .13619        .34513E-05    .49378E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  norm       = 0.854487
  norm       = 0
  Prefactor  = 18.1198
  Prefactor  = 46.2699
  Prefactor  = 5.81091
  Prefactor  = 17.5796
  Prefactor  = 0
  norm       = 3.00657
  Prefactor  = 60.5434
  Prefactor  = 41.6339
  Prefactor  = 3.33067e-08
  norm       = 4.44089e-10
  Prefactor  = 3.41172e-07
  Prefactor  = 1.20015e-07
  Prefactor  = 2.83495e-07
  Normalizat = 0.98407
  Prefactor  = 1.00523
 **********
 **   18 **HESSE 
 **********

 FCN=   9327.245     FROM HESSE     STATUS=OK           280 CALLS     1618 TOTAL
                     EDM=   .41E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    8.4910        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .85449        1.0317        .49168E-03   -1.5689    
   3  norm           .0000        1.5733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     18.120        76.711        .31009E-03   -1.5623    
   5  Prefactor     46.270        18.696        .14690E-03   -1.5572    
   6  Prefactor     5.8109        .46381        .39073E-02   -1.5226    
   7  Prefactor     17.580        17.320        .23919E-03   -1.5624    
   8  Prefactor      .0000        2.3371        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.0066        1.7318        .58531E-03   -1.5673    
  10  Prefactor     60.543        36.975        .12942E-03   -1.5552    
  11  Prefactor     41.634        45.694        .15672E-03   -1.5579    
  12  Prefactor     .33307E-07    17.384        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .44409E-09    4.0291        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .34117E-06    22.263        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .12002E-06    99.881        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .28350E-06    23.105        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .98407        .23996        .96705E-01   -.93566    
  18  Prefactor     1.0052        .11824        .43944E-01   -.92556    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.08015e-07
Minuit parameter uncertainties:
  1  8.89359e-05
  2  1.03171
  3  4.70649e-06
  4  74.5667
  5  18.696
  6  0.463809
  7  17.3204
  8  1.04181e-05
  9  1.73177
  10  36.9755
  11  45.6947
  12  0.00152157
  13  8.51015e-05
  14  0.00551214
  15  0.00692478
  16  0.00511887
  17  0.240221
  18  0.118275
Done.

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

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  6.054e+01  3.698e+01  0.000e+00  1.000e+06 ( 1.000e-13)
369        Index:  2.429e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  1.013e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.005e+00  1.183e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  9.841e-01  2.402e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.54
Ra Dec: 347.931 26.083
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 1.17e-07 +/- 7.17e-08
Energy Flux (Fixed Index): 3.71e-05 +/- 2.26e-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) = 9326.45369466
delta logL = 0.791462135165

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9326.44150426
delta logL = 0.803652531953

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.018       1.0000          .0000       .10000E+07
     2 'Index     '    3.2146       1.0000          .0000       10.000    
     3 'Normalizat'    .89992       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0354       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+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=   9326.442     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      286 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.010        48.783        .81637E-05   -.30999E-02
   2  Index         3.2147        1.1547        .45245E-02   -.14549E-03
   3  Normalizat    .89989        .28503        .44559E-03    .37531E-03
   4  Prefactor     1.0354        .14174        .21175E-03    .39831E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.0096
  Index      = 3.21471
  Normalizat = 0.899894
  Prefactor  = 1.03539
 **********
 **   18 **HESSE 
 **********

 FCN=   9326.442     FROM HESSE     STATUS=OK            25 CALLS      311 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.010        31.051        .32655E-06   -1.5610    
   2  Index         3.2147        .73846        .18098E-03   -.36512    
   3  Normalizat    .89989        .27969        .17824E-04   -.96464    
   4  Prefactor     1.0354        .13887        .42350E-04   -.91559    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.89943e-10
Minuit parameter uncertainties:
  1  31.0516
  2  0.741575
  3  0.280142
  4  0.138917
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/835758': 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) = 9326.4415042
delta logL = 0.803652593686

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  2.401e+01  3.105e+01  0.000e+00  1.000e+06 ( 1.000e-13)
369        Index:  3.215e+00  7.416e-01  0.000e+00  1.000e+01 (-1.000e+00)
370        Scale:  1.013e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.035e+00  1.389e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  8.999e-01  2.801e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.28
Ra Dec: 347.931 26.083
Photon Index (Free Index): 3.21 +/- 0.74
Photon Flux (Free Index): 1.86e-07 +/- 9.88e-08
Energy Flux (Free Index): 3.38e-05 +/- 1.71e-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/835758/cmap_HighResolution_686534401_687139201_4FGL_J2311.7+2604_weekly_bin740.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.17e-07', energy_flux2='3.38e-05', photon_flux_error='7.17e-08', dlogl='8.04e-01', energy_flux='3.71e-05', photon_flux2='1.86e-07', job_status='DONE', time_completed='2022-10-11 01:07:41.475253', photon_index_error2='0.74', photon_index2='3.21', ts='4.54', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='1.71e-05', EG='0.98', time_epoch_completed='1665475661.48', return_code='0', job_id='835758', GAL2='1.04', EG2='0.90', return_code2='0', energy_flux_error='2.26e-05', photon_flux_error2='9.88e-08', ts2='6.28', photon_index='2.43' WHERE bin_id='740' AND source_name='4FGL J2311.7+2604' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 11 01:07:41 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0284>
Subject: Job 835758: <4FGL_J2311.7+2604_weekly_bin740> in cluster <slac> Done

Job <4FGL_J2311.7+2604_weekly_bin740> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Oct 11 00:55:27 2022
Job was executed on host(s) <bullet0284>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Oct 11 00:55:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Oct 11 00:55:28 2022
Terminated at Tue Oct 11 01:07:42 2022
Results reported at Tue Oct 11 01:07:42 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.7+2604_weekly_bin740 347.931 26.0831 686534401 687139201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2311.7+2604 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   657.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             336.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   733 sec.
    Turnaround time :                            735 sec.

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

