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


Performing analysis on: 4FGL_J2232.6+1143_daily_bin1724
RA = 338.152, Dec = 11.7306
tmin = 686188801, tmax = 686448001
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='707871', job_status='RUN', time_executed='2022-10-03 01:20:18.034111', time_epoch_executed='1664785218.03' WHERE source_name='4FGL J2232.6+1143' and cadence='daily' and bin_id='1724'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/707871

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/707871/ft1_4FGL_J2232.6+1143_daily_bin1724.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/707871/ft2_4FGL_J2232.6+1143_daily_bin1724.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/707871/ft1_4FGL_J2232.6+1143_daily_bin1724.fits outfile=/scratch/kocevski/707871/ft1_filteredMKT_4FGL_J2232.6+1143_daily_bin1724.fits ra=338.152 dec=11.7306 rad=12.0 tmin=686188801.0 tmax=686448001.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 4.59
user 4.34
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/707871/ft2_4FGL_J2232.6+1143_daily_bin1724.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/707871/ft1_filteredMKT_4FGL_J2232.6+1143_daily_bin1724.fits evtable="EVENTS" outfile="/scratch/kocevski/707871/ft1_filtered_4FGL_J2232.6+1143_daily_bin1724.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.52
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 921

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/707871/ft1_filtered_4FGL_J2232.6+1143_daily_bin1724.fits evtable="EVENTS" scfile=/scratch/kocevski/707871/ft2_4FGL_J2232.6+1143_daily_bin1724.fits sctable="SC_DATA" expcube=/scratch/kocevski/707871/ltcube_686188801_686448001_4FGL_J2232.6+1143_daily_bin1724.fits outfile=/scratch/kocevski/707871/expmap_686188801_686448001_4FGL_J2232.6+1143_daily_bin1724.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/707871/ltcube_686188801_686448001_4FGL_J2232.6+1143_daily_bin1724.fits
.....................!
real 192.91
user 186.74
sys 5.47

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/707871/ft1_filtered_4FGL_J2232.6+1143_daily_bin1724.fits scfile=/scratch/kocevski/707871/ft2_4FGL_J2232.6+1143_daily_bin1724.fits outfile=/scratch/kocevski/707871/cmap_686188801_686448001_4FGL_J2232.6+1143_daily_bin1724.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.55
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/707871/ft1_filtered_4FGL_J2232.6+1143_daily_bin1724.fits scfile=/scratch/kocevski/707871/ft2_4FGL_J2232.6+1143_daily_bin1724.fits outfile=/scratch/kocevski/707871/cmap_HighResolution_686188801_686448001_4FGL_J2232.6+1143_daily_bin1724.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.55
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/707871/ft1_filtered_4FGL_J2232.6+1143_daily_bin1724.fits', '/scratch/kocevski/707871/ft2_4FGL_J2232.6+1143_daily_bin1724.fits', expMap='/scratch/kocevski/707871/expmap_686188801_686448001_4FGL_J2232.6+1143_daily_bin1724.fits', expCube='/scratch/kocevski/707871/ltcube_686188801_686448001_4FGL_J2232.6+1143_daily_bin1724.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/707871/Model_4FGL_J2232.6+1143_daily_bin1724.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/707871/ft1_filtered_4FGL_J2232.6+1143_daily_bin1724.fits
Spacecraft file(s): /scratch/kocevski/707871/ft2_4FGL_J2232.6+1143_daily_bin1724.fits
Exposure map: /scratch/kocevski/707871/expmap_686188801_686448001_4FGL_J2232.6+1143_daily_bin1724.fits
Exposure cube: /scratch/kocevski/707871/ltcube_686188801_686448001_4FGL_J2232.6+1143_daily_bin1724.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/707871/Model_4FGL_J2232.6+1143_daily_bin1724.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) = 9308.74370273

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .70594E-06   1.0000          .0000       .10000E+07
     2 'norm      '    .10003E-06   1.0000          .0000       .10000E+07
     3 'norm      '    .18494E-05   1.0000          .0000       .10000E+07
     4 'norm      '    5.6471       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.1236       1.0000          .0000       .10000E+07
     6 'Prefactor '    .37081E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    .64517       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .15388E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .18768E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    17.639       1.0000          .0000       .10000E+07
    12 'Prefactor '    6.7955       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .25748E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    1.9638       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.3079       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .76528       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=   9308.731     FROM MIGRAD    STATUS=CONVERGED    124 CALLS      999 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        2.1337        .96667E-07** at limit **
   2  norm           .0000        13.555       -.26420E-06** at limit **
   3  norm          .27756E-09    9.7206        .14020E-05** at limit **
   4  norm          5.6425        5.7507        .16979E-06   -.10164E-02
   5  Prefactor     4.1329        1.2763       -.44446E-07    .11417E-02
   6  Prefactor     .27756E-09    7.8001        .13505E-05** at limit **
   7  Prefactor     .64540        .24293        .21215E-06   -.40683E-03
   8  Prefactor     .10000E-03    5.8425       -.77519E-05** at limit **
   9  norm           .0000        1.2294        .29280E-06** at limit **
  10  Prefactor     .61062E-09    27.997       -.20952E-05** at limit **
  11  Prefactor     17.640        1.6291        .16959E-07    .37792E-02
  12  Prefactor     6.7950        .43740       -.10802E-06    .22062E-02
  13  Prefactor     .11102E-09    11.132       -.10312E-06** at limit **
  14  Prefactor     1.9753        11.505        .17080E-06    .53469E-03
  15  Normalizat    1.3083        .28535        .16362E-04   -.49070E-04
  16  Prefactor     .76519        .14467       -.12899E-04    .31274E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 0
  norm       = 2.77556e-10
  norm       = 5.64246
  Prefactor  = 4.13286
  Prefactor  = 2.77556e-10
  Prefactor  = 0.645396
  Prefactor  = 0.0001
  norm       = 0
  Prefactor  = 6.10623e-10
  Prefactor  = 17.6403
  Prefactor  = 6.79495
  Prefactor  = 1.11022e-10
  Prefactor  = 1.97531
  Normalizat = 1.30831
  Prefactor  = 0.76519
 **********
 **   18 **HESSE 
 **********

 FCN=   9308.731     FROM HESSE     STATUS=OK           237 CALLS     1236 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        2.1478        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        13.609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .27756E-09    .77114        .27495E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.6425        5.7715        .42248E-03   -1.5660    
   5  Prefactor     4.1329        16.207        .49617E-03   -1.5667    
   6  Prefactor     .27756E-09    7.8139        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .64540        .25863        .63047E-02   -1.5547    
   8  Prefactor     .10000E-03    5.8094        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.2230        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .61062E-09    27.995        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     17.640        15.748        .23820E-03   -1.5624    
  12  Prefactor     6.7950        .44171        .34411E-02   -1.5187    
  13  Prefactor     .11102E-09    11.220        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.9753        11.719        .73984E-03   -1.5680    
  15  Normalizat    1.3083        .24301        .86328E-01   -.83319    
  16  Prefactor     .76519        .12251        .43264E-01   -1.0102    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.41824e-08
Minuit parameter uncertainties:
  1  9.76627e-06
  2  1.18315e-05
  3  2.95114e-05
  4  5.77154
  5  16.2069
  6  9.47319e-05
  7  0.258629
  8  3.31611e-05
  9  8.63159e-06
  10  0.00025912
  11  15.7481
  12  0.441713
  13  7.16038e-05
  14  9.62269
  15  0.243221
  16  0.122552
Done.

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

Extracting fit parameters...

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  6.454e-01  2.586e-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:  7.652e-01  1.226e-01  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.308e+00  2.432e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.11
Ra Dec: 338.152 11.731
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 1.65e-07 +/- 6.59e-08
Energy Flux (Fixed Index): 6.10e-05 +/- 2.44e-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) = 9307.79511232
delta logL = 0.936148751425

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9307.79420589
delta logL = 0.937055177701

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .58469       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.5365       1.0000          .0000       10.000    
     3 'Normalizat'    1.2313       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79033       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=   9307.794     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      213 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .58494        2.4632        .53191E-02    .86603E-03
   2  Index1        2.5364        3.0776        .14770        .10854E-03
   3  Normalizat    1.2311        .10854        .88391E-01    .19580E-04
   4  Prefactor     .79046        .59728E-01    .43591E-01    .18384E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.584936
  Index1     = 2.53639
  Normalizat = 1.23107
  Prefactor  = 0.790464
 **********
 **   18 **HESSE 
 **********

 FCN=   9307.794     FROM HESSE     STATUS=OK            33 CALLS      246 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .58494        .23873        .23726E-04   -1.5555    
   2  Index1        2.5364        .37853        .59402E-02   -.51521    
   3  Normalizat    1.2311        .28664        .39144E-03   -.85648    
   4  Prefactor     .79046        .14630        .24628E-03   -1.0008    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.49961e-09
Minuit parameter uncertainties:
  1  0.238731
  2  0.379009
  3  0.287005
  4  0.146374
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/707871': 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) = 9307.79420487
delta logL = 0.937056198514

Extracting fit parameters...

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  5.849e-01  2.387e-01  1.000e-04  1.000e+04 ( 1.000e-10)
269       Index1:  2.536e+00  3.790e-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:  7.905e-01  1.464e-01  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.231e+00  2.870e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.81
Ra Dec: 338.152 11.731
Photon Index (Free Index): 2.54 +/- 0.38
Photon Flux (Free Index): 2.37e-07 +/- 9.04e-08
Energy Flux (Free Index): 5.69e-05 +/- 1.97e-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/707871/cmap_HighResolution_686188801_686448001_4FGL_J2232.6+1143_daily_bin1724.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.65e-07', energy_flux2='5.69e-05', photon_flux_error='6.59e-08', dlogl='9.37e-01', energy_flux='6.10e-05', photon_flux2='2.37e-07', job_status='DONE', time_completed='2022-10-03 01:29:42.688696', photon_index_error2='0.38', photon_index2='2.54', ts='13.11', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', energy_flux_error2='1.97e-05', EG='1.31', time_epoch_completed='1664785782.69', return_code='0', job_id='707871', GAL2='0.79', EG2='1.23', return_code2='0', energy_flux_error='2.44e-05', photon_flux_error2='9.04e-08', ts2='14.81', photon_index='2.05' WHERE bin_id='1724' AND source_name='4FGL J2232.6+1143' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Oct  3 01:29:42 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 707871: <4FGL_J2232.6+1143_daily_bin1724> in cluster <slac> Done

Job <4FGL_J2232.6+1143_daily_bin1724> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Oct  3 01:15:42 2022
Job was executed on host(s) <bullet0219>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Oct  3 01:17:50 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Oct  3 01:17:50 2022
Terminated at Mon Oct  3 01:29:43 2022
Results reported at Mon Oct  3 01:29:43 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2232.6+1143_daily_bin1724 338.152 11.7306 686188801 686448001 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 :                                   566.13 sec.
    Max Memory :                                 1017 MB
    Average Memory :                             293.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   713 sec.
    Turnaround time :                            841 sec.

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

