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


Performing analysis on: 4FGL_J2232.6+1143_daily_bin1776
RA = 338.152, Dec = 11.7306
tmin = 699667201, tmax = 699926401
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='845111', job_status='RUN', time_executed='2023-03-08 01:24:11.632532', time_epoch_executed='1678267451.63' WHERE source_name='4FGL J2232.6+1143' and cadence='daily' and bin_id='1776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/845111

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/845111/ft1_4FGL_J2232.6+1143_daily_bin1776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/845111/ft2_4FGL_J2232.6+1143_daily_bin1776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/845111/ft1_4FGL_J2232.6+1143_daily_bin1776.fits outfile=/scratch/kocevski/845111/ft1_filteredMKT_4FGL_J2232.6+1143_daily_bin1776.fits ra=338.152 dec=11.7306 rad=12.0 tmin=699667201.0 tmax=699926401.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.89
user 3.66
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/845111/ft2_4FGL_J2232.6+1143_daily_bin1776.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/845111/ft1_filteredMKT_4FGL_J2232.6+1143_daily_bin1776.fits evtable="EVENTS" outfile="/scratch/kocevski/845111/ft1_filtered_4FGL_J2232.6+1143_daily_bin1776.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.48
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 801

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/845111/ft1_filtered_4FGL_J2232.6+1143_daily_bin1776.fits" evtable="EVENTS" scfile=/scratch/kocevski/845111/ft2_4FGL_J2232.6+1143_daily_bin1776.fits sctable="SC_DATA" outfile=/scratch/kocevski/845111/ltcube_699667201_699926401_4FGL_J2232.6+1143_daily_bin1776.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/845111/ft2_4FGL_J2232.6+1143_daily_bin1776.fits
.....................!
real 11.79
user 11.44
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/845111/ft1_filtered_4FGL_J2232.6+1143_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/845111/ft2_4FGL_J2232.6+1143_daily_bin1776.fits sctable="SC_DATA" expcube=/scratch/kocevski/845111/ltcube_699667201_699926401_4FGL_J2232.6+1143_daily_bin1776.fits outfile=/scratch/kocevski/845111/expmap_699667201_699926401_4FGL_J2232.6+1143_daily_bin1776.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/845111/ltcube_699667201_699926401_4FGL_J2232.6+1143_daily_bin1776.fits
.....................!
real 189.81
user 185.14
sys 4.36

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/845111/ft1_filtered_4FGL_J2232.6+1143_daily_bin1776.fits scfile=/scratch/kocevski/845111/ft2_4FGL_J2232.6+1143_daily_bin1776.fits outfile=/scratch/kocevski/845111/cmap_699667201_699926401_4FGL_J2232.6+1143_daily_bin1776.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/845111/ft1_filtered_4FGL_J2232.6+1143_daily_bin1776.fits scfile=/scratch/kocevski/845111/ft2_4FGL_J2232.6+1143_daily_bin1776.fits outfile=/scratch/kocevski/845111/cmap_HighResolution_699667201_699926401_4FGL_J2232.6+1143_daily_bin1776.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.54
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9726       1.0000          .0000       .10000E+07
     2 'norm      '    .99346E-02   1.0000          .0000       .10000E+07
     3 'norm      '    2.0230       1.0000          .0000       .10000E+07
     4 'norm      '    3.6294       1.0000          .0000       .10000E+07
     5 'Prefactor '    9.2411       1.0000          .0000       .10000E+07
     6 'Prefactor '    13.239       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.2015       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.3582       1.0000         .10000E-03   10000.    
     9 'norm      '    .53402E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    20.043       1.0000          .0000       .10000E+07
    11 'Prefactor '    .78991E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .47717       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10349       1.0000          .0000       .10000E+07
    14 'Prefactor '    6.6146       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.3543       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .81945       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=   8751.792     FROM MIGRAD    STATUS=CONVERGED     80 CALLS     1148 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9752        2.2052       -.13708E-06    .21097E-02
   2  norm          .27756E-09    13.918       -.70336E-06** at limit **
   3  norm          2.0229        1.1111        .19722E-06   -.30991E-02
   4  norm          3.6430        5.6350       -.93872E-07    .88016E-03
   5  Prefactor     9.2385        1.6178       -.25994E-06    .12877E-01
   6  Prefactor     13.274        10.084       -.17076E-05    .54612E-01
   7  Prefactor     2.2015        .33459        .73125E-07   -.14422E-02
   8  Prefactor     7.3473        6.2909       -.52131E-05   -.13832E-02
   9  norm           .0000        .66239        .20674E-06** at limit **
  10  Prefactor     20.033        1.5727       -.17011E-06    .23829E-01
  11  Prefactor      .0000        4.2915       -.16837E-06** at limit **
  12  Prefactor     .47709        .16856       -.27258E-06   -.21908E-02
  13  Prefactor     .23315E-08    28.741        .24698E-06** at limit **
  14  Prefactor     6.6370        5.6553        .12455E-05    .75274E-01
  15  Normalizat    1.3541        .27407        .11265E-04    .14644E-03
  16  Prefactor     .81951        .14004       -.35739E-05    .19418E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.97518
  norm       = 2.77556e-10
  norm       = 2.02295
  norm       = 3.64301
  Prefactor  = 9.23852
  Prefactor  = 13.2743
  Prefactor  = 2.20151
  Prefactor  = 7.34733
  norm       = 0
  Prefactor  = 20.0328
  Prefactor  = 0
  Prefactor  = 0.477088
  Prefactor  = 2.33147e-09
  Prefactor  = 6.637
  Normalizat = 1.35406
  Prefactor  = 0.819514
 **********
 **   18 **HESSE 
 **********

 FCN=   8751.792     FROM HESSE     STATUS=OK           237 CALLS     1385 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9752        2.2228        .73792E-03   -1.5680    
   2  norm          .27756E-09    13.963        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.0229        1.1168        .72725E-03   -1.5680    
   4  norm          3.6430        5.6900        .53006E-03   -1.5670    
   5  Prefactor     9.2385        16.390        .32944E-03   -1.5647    
   6  Prefactor     13.274        13.354        .27503E-03   -1.5635    
   7  Prefactor     2.2015        .34523        .44726E-02   -1.5411    
   8  Prefactor     7.3473        6.3092        .36965E-02   -1.5166    
   9  norm           .0000        .65997        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     20.033        21.614        .22344E-03   -1.5618    
  11  Prefactor      .0000        4.3034        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .47709        .17225        .48841E-02   -1.5570    
  13  Prefactor     .23315E-08    28.597        .13836E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.6370        8.8716        .38994E-03   -1.5656    
  15  Normalizat    1.3541        .23339        .76185E-01   -.81967    
  16  Prefactor     .81951        .11737        .43970E-01   -.99013    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35311e-07
Minuit parameter uncertainties:
  1  2.22281
  2  0.000125343
  3  1.11685
  4  5.69001
  5  16.3901
  6  13.354
  7  0.345232
  8  6.30973
  9  6.67332e-06
  10  21.6137
  11  3.90556e-06
  12  0.172248
  13  0.000513783
  14  8.87164
  15  0.233569
  16  0.11741
Done.

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

Extracting fit parameters...

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  2.202e+00  3.452e-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:  8.195e-01  1.174e-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.354e+00  2.336e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 124.14
Ra Dec: 338.152 11.731
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 5.61e-07 +/- 8.80e-08
Energy Flux (Fixed Index): 2.08e-04 +/- 3.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) = 8751.43628569
delta logL = 0.35529735463

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8751.41552016
delta logL = 0.376062885289

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1391       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.1869       1.0000          .0000       10.000    
     3 'Normalizat'    1.2962       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84012       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=   8751.416     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      201 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1391        .46373        .43158E-02    .17218E-03
   2  Index1        2.1869        .21393        .70830E-01    .72083E-04
   3  Normalizat    1.2962        .23032        .77487E-01    .98624E-05
   4  Prefactor     .84012        .11881        .44237E-01    .15892E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.13914
  Index1     = 2.18689
  Normalizat = 1.29623
  Prefactor  = 0.840118
 **********
 **   18 **HESSE 
 **********

 FCN=   8751.416     FROM HESSE     STATUS=OK            31 CALLS      232 TOTAL
                     EDM=   .50E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1391        .33416        .19085E-04   -1.5415    
   2  Index1        2.1869        .15692        .30839E-03   -.59755    
   3  Normalizat    1.2962        .27684        .34296E-03   -.83679    
   4  Prefactor     .84012        .14197        .21752E-03   -.98266    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.03706e-13
Minuit parameter uncertainties:
  1  0.334161
  2  0.156955
  3  0.27716
  4  0.142028
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/845111': 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) = 8751.41552016
delta logL = 0.376062885436

Extracting fit parameters...

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  2.139e+00  3.342e-01  1.000e-04  1.000e+04 ( 1.000e-10)
269       Index1:  2.187e+00  1.570e-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:  8.401e-01  1.420e-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.296e+00  2.772e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 124.85
Ra Dec: 338.152 11.731
Photon Index (Free Index): 2.19 +/- 0.16
Photon Flux (Free Index): 6.14e-07 +/- 1.08e-07
Energy Flux (Free Index): 1.96e-04 +/- 3.17e-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/845111/cmap_HighResolution_699667201_699926401_4FGL_J2232.6+1143_daily_bin1776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.61e-07', energy_flux2='1.96e-04', photon_flux_error='8.80e-08', dlogl='3.76e-01', energy_flux='2.08e-04', photon_flux2='6.14e-07', job_status='DONE', time_completed='2023-03-08 01:33:05.113008', photon_index_error2='0.16', photon_index2='2.19', ts='124.14', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', energy_flux_error2='3.17e-05', EG='1.35', time_epoch_completed='1678267985.11', return_code='0', job_id='845111', GAL2='0.84', EG2='1.30', return_code2='0', energy_flux_error='3.26e-05', photon_flux_error2='1.08e-07', ts2='124.85', photon_index='2.05' WHERE bin_id='1776' AND source_name='4FGL J2232.6+1143' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar  8 01:33:05 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0128>
Subject: Job 845111: <4FGL_J2232.6+1143_daily_bin1776> in cluster <slac> Done

Job <4FGL_J2232.6+1143_daily_bin1776> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Wed Mar  8 01:20:27 2023
Job was executed on host(s) <bullet0128>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar  8 01:20:39 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Mar  8 01:20:39 2023
Terminated at Wed Mar  8 01:33:06 2023
Results reported at Wed Mar  8 01:33:06 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2232.6+1143_daily_bin1776 338.152 11.7306 699667201 699926401 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 :                                   535.43 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             233.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   746 sec.
    Turnaround time :                            759 sec.

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

