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


Performing analysis on: 4FGL_J2232.6+1143_daily_bin1737
RA = 338.152, Dec = 11.7306
tmin = 689558401, tmax = 689817601
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='163181', job_status='RUN', time_executed='2022-11-11 00:59:17.849399', time_epoch_executed='1668157157.85' WHERE source_name='4FGL J2232.6+1143' and cadence='daily' and bin_id='1737'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/163181

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/163181/ft1_4FGL_J2232.6+1143_daily_bin1737.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/163181/ft2_4FGL_J2232.6+1143_daily_bin1737.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/163181/ft1_4FGL_J2232.6+1143_daily_bin1737.fits outfile=/scratch/kocevski/163181/ft1_filteredMKT_4FGL_J2232.6+1143_daily_bin1737.fits ra=338.152 dec=11.7306 rad=12.0 tmin=689558401.0 tmax=689817601.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.70
user 3.46
sys 0.20

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

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

Number of photons that the gtmktime cut: 963

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/163181/ft1_filtered_4FGL_J2232.6+1143_daily_bin1737.fits" evtable="EVENTS" scfile=/scratch/kocevski/163181/ft2_4FGL_J2232.6+1143_daily_bin1737.fits sctable="SC_DATA" outfile=/scratch/kocevski/163181/ltcube_689558401_689817601_4FGL_J2232.6+1143_daily_bin1737.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/163181/ft2_4FGL_J2232.6+1143_daily_bin1737.fits
.....................!
real 12.59
user 12.17
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/163181/ft1_filtered_4FGL_J2232.6+1143_daily_bin1737.fits evtable="EVENTS" scfile=/scratch/kocevski/163181/ft2_4FGL_J2232.6+1143_daily_bin1737.fits sctable="SC_DATA" expcube=/scratch/kocevski/163181/ltcube_689558401_689817601_4FGL_J2232.6+1143_daily_bin1737.fits outfile=/scratch/kocevski/163181/expmap_689558401_689817601_4FGL_J2232.6+1143_daily_bin1737.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/163181/ltcube_689558401_689817601_4FGL_J2232.6+1143_daily_bin1737.fits
.....................!
real 191.79
user 185.64
sys 5.60

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/163181/ft1_filtered_4FGL_J2232.6+1143_daily_bin1737.fits scfile=/scratch/kocevski/163181/ft2_4FGL_J2232.6+1143_daily_bin1737.fits outfile=/scratch/kocevski/163181/cmap_689558401_689817601_4FGL_J2232.6+1143_daily_bin1737.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/163181/ft1_filtered_4FGL_J2232.6+1143_daily_bin1737.fits scfile=/scratch/kocevski/163181/ft2_4FGL_J2232.6+1143_daily_bin1737.fits outfile=/scratch/kocevski/163181/cmap_HighResolution_689558401_689817601_4FGL_J2232.6+1143_daily_bin1737.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.57
user 0.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .16070E-06   1.0000          .0000       .10000E+07
     2 'norm      '    .10005E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .92149E-08   1.0000          .0000       .10000E+07
     4 'norm      '    .16848E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    16.388       1.0000          .0000       .10000E+07
     6 'Prefactor '    16.200       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.8636       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.7240       1.0000         .10000E-03   10000.    
     9 'norm      '    2.4519       1.0000          .0000       .10000E+07
    10 'Prefactor '    11.358       1.0000          .0000       .10000E+07
    11 'Prefactor '    .17044E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.2915       1.0000         .10000E-03   10000.    
    13 'Prefactor '    19.388       1.0000          .0000       .10000E+07
    14 'Prefactor '    .24591E-07   1.0000          .0000       .10000E+07
    15 'Normalizat'    1.2825       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .80222       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=   10178.18     FROM MIGRAD    STATUS=CONVERGED    102 CALLS     1094 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    1.6830        .22636E-06** at limit **
   2  norm          .52180E-08    9.8160        .28307E-05** at limit **
   3  norm           .0000        .16947       -.10361E-06** at limit **
   4  norm          .16653E-09    1.0097       -.49640E-06** at limit **
   5  Prefactor     16.476        1.0976       -.10157E-07    .46720E-01
   6  Prefactor     16.146        1.2042        .15423E-07    .40342E-01
   7  Prefactor     1.8636        .30886       -.36636E-06    .57550E-02
   8  Prefactor     2.6895        4.4112       -.84174E-06    .13065E-03
   9  norm          2.4522        1.6554       -.42695E-06    .20206E-01
  10  Prefactor     10.702        51.131       -.40644E-06    .25050E-03
  11  Prefactor      .0000        11.634        .29471E-06** at limit **
  12  Prefactor     3.2931        .32535        .72504E-06   -.75340E-02
  13  Prefactor     19.658        23.421       -.13224E-05    .27198E-02
  14  Prefactor     .16653E-09    3.2003        .65369E-06** at limit **
  15  Normalizat    1.2820        .25545       -.19332E-04    .55852E-03
  16  Prefactor     .80248        .13042        .13928E-05    .76311E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  norm       = 5.21805e-09
  norm       = 0
  norm       = 1.66533e-10
  Prefactor  = 16.4765
  Prefactor  = 16.1463
  Prefactor  = 1.86358
  Prefactor  = 2.68953
  norm       = 2.45222
  Prefactor  = 10.7023
  Prefactor  = 0
  Prefactor  = 3.29314
  Prefactor  = 19.6582
  Prefactor  = 1.66533e-10
  Normalizat = 1.28198
  Prefactor  = 0.802476
 **********
 **   18 **HESSE 
 **********

 FCN=   10178.18     FROM HESSE     STATUS=OK           235 CALLS     1329 TOTAL
                     EDM=   .62E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    1.6703        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .52180E-08    9.8241        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .16977        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .16653E-09    1.0120        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     16.476        17.287        .24714E-03   -1.5627    
   6  Prefactor     16.146        14.948        .24857E-03   -1.5628    
   7  Prefactor     1.8636        .32455        .48571E-02   -1.5435    
   8  Prefactor     2.6895        4.4281        .61685E-02   -1.5380    
   9  norm          2.4522        1.6547        .65298E-03   -1.5677    
  10  Prefactor     10.702        51.565        .29702E-03   -1.5643    
  11  Prefactor      .0000        11.638        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.2931        .32199        .36551E-02   -1.5345    
  13  Prefactor     19.658        23.459        .22719E-03   -1.5619    
  14  Prefactor     .16653E-09    3.1990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.2820        .21852        .81324E-01   -.84106    
  16  Prefactor     .80248        .11017        .43746E-01   -.99637    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.1898e-08
Minuit parameter uncertainties:
  1  1.38226e-05
  2  0.000453179
  3  2.56162e-06
  4  2.44057e-05
  5  17.287
  6  14.9476
  7  0.324547
  8  4.42865
  9  1.65473
  10  46.9841
  11  6.74659e-06
  12  0.321991
  13  23.4593
  14  4.59414e-05
  15  0.218674
  16  0.110203
Done.

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

Extracting fit parameters...

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  1.864e+00  3.245e-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.025e-01  1.102e-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.282e+00  2.187e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 87.03
Ra Dec: 338.152 11.731
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 4.75e-07 +/- 8.27e-08
Energy Flux (Fixed Index): 1.76e-04 +/- 3.07e-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) = 10174.5500651
delta logL = 3.62556248503

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10174.5415801
delta logL = 3.63404749239

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5813       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.5418       1.0000          .0000       10.000    
     3 'Normalizat'    1.1080       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86468       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=   10174.54     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      206 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5812        3.2384        .40965E-02    .28499E-03
   2  Index1        2.5419        1.9045        .72920E-01    .14933E-03
   3  Normalizat    1.1082        .22228        .86016E-01    .24814E-04
   4  Prefactor     .86451        .11176        .44553E-01    .81987E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.58117
  Index1     = 2.54189
  Normalizat = 1.10822
  Prefactor  = 0.864513
 **********
 **   18 **HESSE 
 **********

 FCN=   10174.54     FROM HESSE     STATUS=OK            31 CALLS      237 TOTAL
                     EDM=   .68E-14    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5812        .30468        .18130E-04   -1.5456    
   2  Index1        2.5419        .19154        .31580E-03   -.51395    
   3  Normalizat    1.1082        .25797        .38089E-03   -.89488    
   4  Prefactor     .86451        .13257        .22331E-03   -.97392    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.81191e-15
Minuit parameter uncertainties:
  1  0.304679
  2  0.1916
  3  0.258265
  4  0.132622
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/163181': 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) = 10174.541579
delta logL = 3.63404857317

Extracting fit parameters...

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  1.581e+00  3.047e-01  1.000e-04  1.000e+04 ( 1.000e-10)
269       Index1:  2.542e+00  1.916e-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.645e-01  1.326e-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.108e+00  2.583e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 95.03
Ra Dec: 338.152 11.731
Photon Index (Free Index): 2.54 +/- 0.19
Photon Flux (Free Index): 6.46e-07 +/- 1.13e-07
Energy Flux (Free Index): 1.54e-04 +/- 2.43e-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/163181/cmap_HighResolution_689558401_689817601_4FGL_J2232.6+1143_daily_bin1737.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.75e-07', energy_flux2='1.54e-04', photon_flux_error='8.27e-08', dlogl='3.63e+00', energy_flux='1.76e-04', photon_flux2='6.46e-07', job_status='DONE', time_completed='2022-11-11 01:08:54.477818', photon_index_error2='0.19', photon_index2='2.54', ts='87.03', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', energy_flux_error2='2.43e-05', EG='1.28', time_epoch_completed='1668157734.48', return_code='0', job_id='163181', GAL2='0.86', EG2='1.11', return_code2='0', energy_flux_error='3.07e-05', photon_flux_error2='1.13e-07', ts2='95.03', photon_index='2.05' WHERE bin_id='1737' AND source_name='4FGL J2232.6+1143' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Nov 11 01:08:54 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 163181: <4FGL_J2232.6+1143_daily_bin1737> in cluster <slac> Done

Job <4FGL_J2232.6+1143_daily_bin1737> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Nov 11 00:55:46 2022
Job was executed on host(s) <bullet0274>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Nov 11 00:58:58 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Nov 11 00:58:58 2022
Terminated at Fri Nov 11 01:08:55 2022
Results reported at Fri Nov 11 01:08:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2232.6+1143_daily_bin1737 338.152 11.7306 689558401 689817601 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 :                                   578.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             374.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   596 sec.
    Turnaround time :                            789 sec.

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

