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


Performing analysis on: 4FGL_J2232.6+1143_daily_bin1756
RA = 338.152, Dec = 11.7306
tmin = 694483201, tmax = 694742401
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='26914', job_status='RUN', time_executed='2023-01-07 01:43:16.981326', time_epoch_executed='1673084596.98' WHERE source_name='4FGL J2232.6+1143' and cadence='daily' and bin_id='1756'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/26914

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/26914/ft1_4FGL_J2232.6+1143_daily_bin1756.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/26914/ft2_4FGL_J2232.6+1143_daily_bin1756.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/26914/ft1_4FGL_J2232.6+1143_daily_bin1756.fits outfile=/scratch/kocevski/26914/ft1_filteredMKT_4FGL_J2232.6+1143_daily_bin1756.fits ra=338.152 dec=11.7306 rad=12.0 tmin=694483201.0 tmax=694742401.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.01
user 2.75
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/26914/ft2_4FGL_J2232.6+1143_daily_bin1756.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/26914/ft1_filteredMKT_4FGL_J2232.6+1143_daily_bin1756.fits evtable="EVENTS" outfile="/scratch/kocevski/26914/ft1_filtered_4FGL_J2232.6+1143_daily_bin1756.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.51
user 0.36
sys 0.14

Number of photons that the gtmktime cut: 1348

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/26914/ft1_filtered_4FGL_J2232.6+1143_daily_bin1756.fits evtable="EVENTS" scfile=/scratch/kocevski/26914/ft2_4FGL_J2232.6+1143_daily_bin1756.fits sctable="SC_DATA" expcube=/scratch/kocevski/26914/ltcube_694483201_694742401_4FGL_J2232.6+1143_daily_bin1756.fits outfile=/scratch/kocevski/26914/expmap_694483201_694742401_4FGL_J2232.6+1143_daily_bin1756.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/26914/ltcube_694483201_694742401_4FGL_J2232.6+1143_daily_bin1756.fits
.....................!
real 193.00
user 186.84
sys 5.35

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/26914/ft1_filtered_4FGL_J2232.6+1143_daily_bin1756.fits scfile=/scratch/kocevski/26914/ft2_4FGL_J2232.6+1143_daily_bin1756.fits outfile=/scratch/kocevski/26914/cmap_694483201_694742401_4FGL_J2232.6+1143_daily_bin1756.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.57
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/26914/ft1_filtered_4FGL_J2232.6+1143_daily_bin1756.fits scfile=/scratch/kocevski/26914/ft2_4FGL_J2232.6+1143_daily_bin1756.fits outfile=/scratch/kocevski/26914/cmap_HighResolution_694483201_694742401_4FGL_J2232.6+1143_daily_bin1756.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.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .71401       1.0000          .0000       .10000E+07
     2 'norm      '    19.979       1.0000          .0000       .10000E+07
     3 'norm      '    1.2195       1.0000          .0000       .10000E+07
     4 'norm      '    2.8301       1.0000          .0000       .10000E+07
     5 'Prefactor '    .11500E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    8.1997       1.0000          .0000       .10000E+07
     7 'Prefactor '    4.4579       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11133E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .90971       1.0000          .0000       .10000E+07
    10 'Prefactor '    .17591E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .71204E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.4274       1.0000         .10000E-03   10000.    
    13 'Prefactor '    36.775       1.0000          .0000       .10000E+07
    14 'Prefactor '    .40329E-06   1.0000          .0000       .10000E+07
    15 'Normalizat'    .90120       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .94376       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=   13625.35     FROM MIGRAD    STATUS=CONVERGED     85 CALLS     1111 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .71345        2.3399       -.11703E-05   -.62149E-02
   2  norm          19.922        1.3406        .45733E-07    .14050    
   3  norm          1.2203        .85236       -.20375E-06    .19710E-02
   4  norm          2.8232        4.7700       -.11984E-05   -.51921E-02
   5  Prefactor     .55511E-10    6.0949       -.22428E-07** at limit **
   6  Prefactor     8.1889        1.1172       -.46679E-07    .84575E-01
   7  Prefactor     4.4579        .35758       -.42160E-06   -.40868E-02
   8  Prefactor     .10000E-03    5.2357       -.51357E-06** at limit **
   9  norm          .90987        .77303       -.12558E-06   -.16045E-01
  10  Prefactor     .17208E-08    9.9922        .35426E-05** at limit **
  11  Prefactor     .53846E-08    18.935        .58375E-05** at limit **
  12  Prefactor     3.4269        .25346        .14659E-06   -.56987E-02
  13  Prefactor     36.845        1.0131       -.15188E-07    .35488E-01
  14  Prefactor     .55511E-10    2.8334        .66615E-08** at limit **
  15  Normalizat    .90174        .23225       -.16278E-04   -.66795E-03
  16  Prefactor     .94363        .12136        .11133E-04   -.11550E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.713446
  norm       = 19.9225
  norm       = 1.22028
  norm       = 2.82317
  Prefactor  = 5.55112e-11
  Prefactor  = 8.18886
  Prefactor  = 4.45792
  Prefactor  = 0.0001
  norm       = 0.909872
  Prefactor  = 1.72085e-09
  Prefactor  = 5.38458e-09
  Prefactor  = 3.42695
  Prefactor  = 36.8453
  Prefactor  = 5.55112e-11
  Normalizat = 0.90174
  Prefactor  = 0.943633
 **********
 **   18 **HESSE 
 **********

 FCN=   13625.35     FROM HESSE     STATUS=OK           237 CALLS     1348 TOTAL
                     EDM=   .25E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .71345        2.4170        .59578E-03   -1.5691    
   2  norm          19.922        25.019        .22380E-03   -1.5619    
   3  norm          1.2203        .86768        .10213E-02   -1.5686    
   4  norm          2.8232        4.8878        .60425E-03   -1.5674    
   5  Prefactor     .55511E-10    6.1124        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.1889        12.508        .34988E-03   -1.5651    
   7  Prefactor     4.4579        .35788        .42326E-02   -1.5286    
   8  Prefactor     .10000E-03    5.2262        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .90987        .77384        .45091E-03   -1.5689    
  10  Prefactor     .17208E-08    10.011        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .53846E-08    18.830        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.4269        .25348        .34267E-02   -1.5338    
  13  Prefactor     36.845        28.632        .16492E-03   -1.5587    
  14  Prefactor     .55511E-10    2.8522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .90174        .21070        .98791E-01   -.96399    
  16  Prefactor     .94363        .10518        .45560E-01   -.94633    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.53372e-06
Minuit parameter uncertainties:
  1  2.41696
  2  25.0196
  3  0.867685
  4  4.88785
  5  3.61066e-05
  6  12.5079
  7  0.357882
  8  4.11279e-05
  9  0.773838
  10  0.000261193
  11  0.000638033
  12  0.25348
  13  28.6319
  14  2.39853e-05
  15  0.210892
  16  0.105202
Done.

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

Extracting fit parameters...

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  4.458e+00  3.579e-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.436e-01  1.052e-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:  9.017e-01  2.109e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 558.91
Ra Dec: 338.152 11.731
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 1.14e-06 +/- 9.12e-08
Energy Flux (Fixed Index): 4.21e-04 +/- 3.38e-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) = 13625.3394718
delta logL = 0.00930706837789

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13625.3379234
delta logL = 0.0108555127208

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.4397       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.0646       1.0000          .0000       10.000    
     3 'Normalizat'    .89500       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94612       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=   13625.34     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      206 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4397        .42958        .42184E-02    .15398E-02
   2  Index1        2.0646        .94839E-01    .48373E-01    .12001E-03
   3  Normalizat    .89500        .19973        .99097E-01    .77129E-04
   4  Prefactor     .94612        .10556        .45590E-01   -.34466E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.43972
  Index1     = 2.06462
  Normalizat = 0.895004
  Prefactor  = 0.946117
 **********
 **   18 **HESSE 
 **********

 FCN=   13625.34     FROM HESSE     STATUS=OK            31 CALLS      237 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.4397        .37721        .18643E-04   -1.5287    
   2  Index1        2.0646        .83795E-01    .21279E-03   -.62744    
   3  Normalizat    .89500        .23100        .43914E-03   -.96636    
   4  Prefactor     .94612        .12226        .22905E-03   -.94548    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.07719e-11
Minuit parameter uncertainties:
  1  0.377214
  2  0.0838009
  3  0.231259
  4  0.122294
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/26914': 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) = 13625.3379234
delta logL = 0.0108555127463

Extracting fit parameters...

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  4.440e+00  3.772e-01  1.000e-04  1.000e+04 ( 1.000e-10)
269       Index1:  2.065e+00  8.380e-02  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.461e-01  1.223e-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:  8.950e-01  2.313e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 542.71
Ra Dec: 338.152 11.731
Photon Index (Free Index): 2.06 +/- 0.08
Photon Flux (Free Index): 1.14e-06 +/- 1.03e-07
Energy Flux (Free Index): 4.18e-04 +/- 4.07e-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/26914/cmap_HighResolution_694483201_694742401_4FGL_J2232.6+1143_daily_bin1756.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.14e-06', energy_flux2='4.18e-04', photon_flux_error='9.12e-08', dlogl='1.09e-02', energy_flux='4.21e-04', photon_flux2='1.14e-06', job_status='DONE', time_completed='2023-01-07 01:54:34.038484', photon_index_error2='0.08', photon_index2='2.06', ts='558.91', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='4.07e-05', EG='0.90', time_epoch_completed='1673085274.04', return_code='0', job_id='26914', GAL2='0.95', EG2='0.90', return_code2='0', energy_flux_error='3.38e-05', photon_flux_error2='1.03e-07', ts2='542.71', photon_index='2.05' WHERE bin_id='1756' AND source_name='4FGL J2232.6+1143' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan  7 01:54:34 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0153>
Subject: Job 26914: <4FGL_J2232.6+1143_daily_bin1756> in cluster <slac> Done

Job <4FGL_J2232.6+1143_daily_bin1756> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Jan  7 01:40:15 2023
Job was executed on host(s) <bullet0153>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan  7 01:41:21 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan  7 01:41:21 2023
Terminated at Sat Jan  7 01:54:34 2023
Results reported at Sat Jan  7 01:54:34 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2232.6+1143_daily_bin1756 338.152 11.7306 694483201 694742401 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 :                                   679.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             341.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   793 sec.
    Turnaround time :                            859 sec.

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

