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


Performing analysis on: 4FGL_J2232.6+1143_weekly_bin732
RA = 338.152, Dec = 11.7306
tmin = 681696001, tmax = 682300801
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='341393', job_status='RUN', time_executed='2022-09-17 05:23:17.849731', time_epoch_executed='1663417397.85' WHERE source_name='4FGL J2232.6+1143' and cadence='weekly' and bin_id='732'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/341393

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/341393/ft1_4FGL_J2232.6+1143_weekly_bin732.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/341393/ft2_4FGL_J2232.6+1143_weekly_bin732.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/341393/ft1_4FGL_J2232.6+1143_weekly_bin732.fits outfile=/scratch/kocevski/341393/ft1_filteredMKT_4FGL_J2232.6+1143_weekly_bin732.fits ra=338.152 dec=11.7306 rad=12.0 tmin=681696001.0 tmax=682300801.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 9.52
user 9.15
sys 0.32

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/341393/ft2_4FGL_J2232.6+1143_weekly_bin732.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/341393/ft2_4FGL_J2232.6+1143_weekly_bin732.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/341393/ft1_filteredMKT_4FGL_J2232.6+1143_weekly_bin732.fits evtable="EVENTS" outfile="/scratch/kocevski/341393/ft1_filtered_4FGL_J2232.6+1143_weekly_bin732.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.57
user 0.38
sys 0.16

Number of photons that the gtmktime cut: 1587

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/341393/ft1_filtered_4FGL_J2232.6+1143_weekly_bin732.fits" evtable="EVENTS" scfile=/scratch/kocevski/341393/ft2_4FGL_J2232.6+1143_weekly_bin732.fits sctable="SC_DATA" outfile=/scratch/kocevski/341393/ltcube_681696001_682300801_4FGL_J2232.6+1143_weekly_bin732.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/341393/ft2_4FGL_J2232.6+1143_weekly_bin732.fits
.....................!
real 30.40
user 29.98
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/341393/ft1_filtered_4FGL_J2232.6+1143_weekly_bin732.fits evtable="EVENTS" scfile=/scratch/kocevski/341393/ft2_4FGL_J2232.6+1143_weekly_bin732.fits sctable="SC_DATA" expcube=/scratch/kocevski/341393/ltcube_681696001_682300801_4FGL_J2232.6+1143_weekly_bin732.fits outfile=/scratch/kocevski/341393/expmap_681696001_682300801_4FGL_J2232.6+1143_weekly_bin732.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/341393/ltcube_681696001_682300801_4FGL_J2232.6+1143_weekly_bin732.fits
.....................!
real 191.80
user 186.52
sys 4.88

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

Setting source of interest to:
4FGL J2232.6+1143 @ 338.152 11.7306

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/341393/ft1_filtered_4FGL_J2232.6+1143_weekly_bin732.fits scfile=/scratch/kocevski/341393/ft2_4FGL_J2232.6+1143_weekly_bin732.fits outfile=/scratch/kocevski/341393/cmap_681696001_682300801_4FGL_J2232.6+1143_weekly_bin732.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=338.152 yref=11.7306 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.59
user 0.43
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/341393/ft1_filtered_4FGL_J2232.6+1143_weekly_bin732.fits scfile=/scratch/kocevski/341393/ft2_4FGL_J2232.6+1143_weekly_bin732.fits outfile=/scratch/kocevski/341393/cmap_HighResolution_681696001_682300801_4FGL_J2232.6+1143_weekly_bin732.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=338.152 yref=11.7306 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.60
user 0.43
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/341393/ft1_filtered_4FGL_J2232.6+1143_weekly_bin732.fits evtable="EVENTS" scfile=/scratch/kocevski/341393/ft2_4FGL_J2232.6+1143_weekly_bin732.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/341393/Model_4FGL_J2232.6+1143_weekly_bin732.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/341393/ft1_filtered_4FGL_J2232.6+1143_weekly_bin732.fits.....................!
real 158.13
user 156.51
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/341393/ft1_filtered_4FGL_J2232.6+1143_weekly_bin732.fits', '/scratch/kocevski/341393/ft2_4FGL_J2232.6+1143_weekly_bin732.fits', expMap='/scratch/kocevski/341393/expmap_681696001_682300801_4FGL_J2232.6+1143_weekly_bin732.fits', expCube='/scratch/kocevski/341393/ltcube_681696001_682300801_4FGL_J2232.6+1143_weekly_bin732.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/341393/Model_4FGL_J2232.6+1143_weekly_bin732.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2232.6+1143'

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  3.234e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-10)
269       Index1:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  5.313e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
271    Expfactor:  2.832e+00  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
272       Index2:  6.667e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/341393/ft1_filtered_4FGL_J2232.6+1143_weekly_bin732.fits
Spacecraft file(s): /scratch/kocevski/341393/ft2_4FGL_J2232.6+1143_weekly_bin732.fits
Exposure map: /scratch/kocevski/341393/expmap_681696001_682300801_4FGL_J2232.6+1143_weekly_bin732.fits
Exposure cube: /scratch/kocevski/341393/ltcube_681696001_682300801_4FGL_J2232.6+1143_weekly_bin732.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/341393/Model_4FGL_J2232.6+1143_weekly_bin732.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) = 17159.8639515

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .49821E-05   1.0000          .0000       .10000E+07
     2 'norm      '    20.557       1.0000          .0000       .10000E+07
     3 'norm      '    .71165E-07   1.0000          .0000       .10000E+07
     4 'norm      '    3.0429       1.0000          .0000       .10000E+07
     5 'Prefactor '    7.6375       1.0000          .0000       .10000E+07
     6 'Prefactor '    .21954E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .82988       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.7006       1.0000          .0000       .10000E+07
    10 'Prefactor '    5.1643       1.0000          .0000       .10000E+07
    11 'Prefactor '    28.979       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.1916       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .84915E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    8.2144       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.0067       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .90102       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17159.84     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      876 TOTAL
                     EDM=   .98E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    1.3103        .35635E-07** at limit **
   2  norm          21.662        18.578       -.57882E-07   -.49340E-01
   3  norm           .0000        .13159        .26237E-08** at limit **
   4  norm          3.0467        2.2600        .39619E-07    .48550E-02
   5  Prefactor     7.6846        10.716       -.29617E-07    .15850E-01
   6  Prefactor     .37083E-05    6.6625        .16014E-06** at limit **
   7  Prefactor     .82998        .16514       -.28278E-07   -.12490E-02
   8  Prefactor     .10000E-03    1.5835        .16093E-05** at limit **
   9  norm          1.7007        .92312        .25629E-07    .10040E-01
  10  Prefactor     5.2136        1.0363        .19304E-08   -.15205E-01
  11  Prefactor     29.008        8.7410        .69219E-10    .11604E-01
  12  Prefactor     1.1917        .13802       -.85461E-08   -.24274E-03
  13  Prefactor     .14999E-05    7.2760        .10781E-06** at limit **
  14  Prefactor     8.2162        4.5195       -.19621E-07   -.72545E-03
  15  Normalizat    1.0059        .17506        .22893E-05    .16296E-03
  16  Prefactor     .90094        .92662E-01   -.98324E-06    .77610E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  norm       = 21.6623
  norm       = 0
  norm       = 3.0467
  Prefactor  = 7.68462
  Prefactor  = 3.70831e-06
  Prefactor  = 0.829983
  Prefactor  = 0.0001
  norm       = 1.70074
  Prefactor  = 5.21356
  Prefactor  = 29.008
  Prefactor  = 1.19175
  Prefactor  = 1.49991e-06
  Prefactor  = 8.21616
  Normalizat = 1.00587
  Prefactor  = 0.900941
 **********
 **   18 **HESSE 
 **********

 FCN=   17159.84     FROM HESSE     STATUS=OK           237 CALLS     1113 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    1.2932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          21.662        19.549        .22063E-03   -1.5615    
   3  norm           .0000        .13184        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.0467        2.2607        .58140E-03   -1.5673    
   5  Prefactor     7.6846        10.744        .36263E-03   -1.5653    
   6  Prefactor     .37083E-05    15.057        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .82998        .16578        .49183E-02   -1.5526    
   8  Prefactor     .10000E-03    1.5820        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.7007        .92379        .80634E-03   -1.5682    
  10  Prefactor     5.2136        18.464        .44214E-03   -1.5662    
  11  Prefactor     29.008        8.7490        .18579E-03   -1.5600    
  12  Prefactor     1.1917        .14045        .35287E-02   -1.5490    
  13  Prefactor     .14999E-05    10.756        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.2162        4.5138        .34956E-03   -1.5651    
  15  Normalizat    1.0059        .14801        .78585E-01   -.92834    
  16  Prefactor     .90094        .78181E-01    .45018E-01   -.96108    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.4874e-07
Minuit parameter uncertainties:
  1  1.53514e-05
  2  19.5486
  3  3.52023e-07
  4  2.26075
  5  10.7441
  6  0.0149447
  7  0.165776
  8  3.49594e-05
  9  0.923786
  10  18.4643
  11  8.74896
  12  0.140452
  13  0.00803328
  14  4.51384
  15  0.148073
  16  0.0781906
Done.

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

Extracting fit parameters...

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  8.300e-01  1.658e-01  1.000e-04  1.000e+04 ( 1.000e-10)
269       Index1:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  5.313e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
271    Expfactor:  2.832e+00  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
272       Index2:  6.667e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
502    Prefactor:  9.009e-01  7.819e-02  0.000e+00  1.000e+01 ( 1.000e+00)
503        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
504        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
501   Normalization:  1.006e+00  1.481e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 68.89
Ra Dec: 338.152 11.731
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 2.12e-07 +/- 4.22e-08
Energy Flux (Fixed Index): 7.84e-05 +/- 1.57e-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) = 17159.3330119
delta logL = 0.50361484594

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17159.3282888
delta logL = 0.508337952258

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80225       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.2341       1.0000          .0000       10.000    
     3 'Normalizat'    .97265       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91240       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   17159.33     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      221 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .80224        2.0566        .46745E-02    .88343E-03
   2  Index1        2.2341        2.1630        .11663        .14917E-03
   3  Normalizat    .97265        .14065        .79702E-01    .53614E-04
   4  Prefactor     .91240        .85371E-01    .45163E-01    .11881E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.802244
  Index1     = 2.23409
  Normalizat = 0.972648
  Prefactor  = 0.912404
 **********
 **   18 **HESSE 
 **********

 FCN=   17159.33     FROM HESSE     STATUS=OK            33 CALLS      254 TOTAL
                     EDM=   .11E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .80224        .15809        .20716E-04   -1.5529    
   2  Index1        2.2341        .18401        .49190E-02   -.58618    
   3  Normalizat    .97265        .17392        .35278E-03   -.93952    
   4  Prefactor     .91240        .93273E-01    .19673E-03   -.95709    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09407e-12
Minuit parameter uncertainties:
  1  0.158089
  2  0.184069
  3  0.174026
  4  0.0932889
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/341393': 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) = 17159.3282888
delta logL = 0.508337954383

Extracting fit parameters...

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  8.022e-01  1.581e-01  1.000e-04  1.000e+04 ( 1.000e-10)
269       Index1:  2.234e+00  1.841e-01  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  5.313e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
271    Expfactor:  2.832e+00  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
272       Index2:  6.667e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
502    Prefactor:  9.124e-01  9.329e-02  0.000e+00  1.000e+01 ( 1.000e+00)
503        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
504        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
501   Normalization:  9.726e-01  1.740e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 69.54
Ra Dec: 338.152 11.731
Photon Index (Free Index): 2.23 +/- 0.18
Photon Flux (Free Index): 2.40e-07 +/- 5.18e-08
Energy Flux (Free Index): 7.34e-05 +/- 1.46e-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/341393/cmap_HighResolution_681696001_682300801_4FGL_J2232.6+1143_weekly_bin732.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.12e-07', energy_flux2='7.34e-05', photon_flux_error='4.22e-08', dlogl='5.08e-01', energy_flux='7.84e-05', photon_flux2='2.40e-07', job_status='DONE', time_completed='2022-09-17 05:36:09.607784', photon_index_error2='0.18', photon_index2='2.23', ts='68.89', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='1.46e-05', EG='1.01', time_epoch_completed='1663418169.61', return_code='0', job_id='341393', GAL2='0.91', EG2='0.97', return_code2='0', energy_flux_error='1.57e-05', photon_flux_error2='5.18e-08', ts2='69.54', photon_index='2.05' WHERE bin_id='732' AND source_name='4FGL J2232.6+1143' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Sep 17 05:36:09 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 341393: <4FGL_J2232.6+1143_weekly_bin732> in cluster <slac> Done

Job <4FGL_J2232.6+1143_weekly_bin732> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep 17 05:20:30 2022
Job was executed on host(s) <bullet0242>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 17 05:22:44 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 17 05:22:44 2022
Terminated at Sat Sep 17 05:36:10 2022
Results reported at Sat Sep 17 05:36:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2232.6+1143_weekly_bin732 338.152 11.7306 681696001 682300801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2232.6+1143 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   770.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             344.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   806 sec.
    Turnaround time :                            940 sec.

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

