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


Performing analysis on: 4FGL_J2232.6+1143_weekly_bin740
RA = 338.152, Dec = 11.7306
tmin = 686534401, tmax = 687139201
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='835692', job_status='RUN', time_executed='2022-10-11 00:55:41.553175', time_epoch_executed='1665474941.55' WHERE source_name='4FGL J2232.6+1143' and cadence='weekly' and bin_id='740'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/835692

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/835692/ft1_4FGL_J2232.6+1143_weekly_bin740.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/835692/ft2_4FGL_J2232.6+1143_weekly_bin740.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/835692/ft1_4FGL_J2232.6+1143_weekly_bin740.fits outfile=/scratch/kocevski/835692/ft1_filteredMKT_4FGL_J2232.6+1143_weekly_bin740.fits ra=338.152 dec=11.7306 rad=12.0 tmin=686534401.0 tmax=687139201.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 7.37
user 6.94
sys 0.29

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

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

Number of photons that the gtmktime cut: 1034

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/835692/ft1_filtered_4FGL_J2232.6+1143_weekly_bin740.fits evtable="EVENTS" scfile=/scratch/kocevski/835692/ft2_4FGL_J2232.6+1143_weekly_bin740.fits sctable="SC_DATA" expcube=/scratch/kocevski/835692/ltcube_686534401_687139201_4FGL_J2232.6+1143_weekly_bin740.fits outfile=/scratch/kocevski/835692/expmap_686534401_687139201_4FGL_J2232.6+1143_weekly_bin740.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/835692/ltcube_686534401_687139201_4FGL_J2232.6+1143_weekly_bin740.fits
.....................!
real 193.53
user 186.66
sys 4.84

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/835692/ft1_filtered_4FGL_J2232.6+1143_weekly_bin740.fits scfile=/scratch/kocevski/835692/ft2_4FGL_J2232.6+1143_weekly_bin740.fits outfile=/scratch/kocevski/835692/cmap_686534401_687139201_4FGL_J2232.6+1143_weekly_bin740.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.66
user 0.43
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/835692/ft1_filtered_4FGL_J2232.6+1143_weekly_bin740.fits scfile=/scratch/kocevski/835692/ft2_4FGL_J2232.6+1143_weekly_bin740.fits outfile=/scratch/kocevski/835692/cmap_HighResolution_686534401_687139201_4FGL_J2232.6+1143_weekly_bin740.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.59
user 0.42
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/835692/ft1_filtered_4FGL_J2232.6+1143_weekly_bin740.fits', '/scratch/kocevski/835692/ft2_4FGL_J2232.6+1143_weekly_bin740.fits', expMap='/scratch/kocevski/835692/expmap_686534401_687139201_4FGL_J2232.6+1143_weekly_bin740.fits', expCube='/scratch/kocevski/835692/ltcube_686534401_687139201_4FGL_J2232.6+1143_weekly_bin740.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/835692/Model_4FGL_J2232.6+1143_weekly_bin740.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/835692/ft1_filtered_4FGL_J2232.6+1143_weekly_bin740.fits
Spacecraft file(s): /scratch/kocevski/835692/ft2_4FGL_J2232.6+1143_weekly_bin740.fits
Exposure map: /scratch/kocevski/835692/expmap_686534401_687139201_4FGL_J2232.6+1143_weekly_bin740.fits
Exposure cube: /scratch/kocevski/835692/ltcube_686534401_687139201_4FGL_J2232.6+1143_weekly_bin740.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/835692/Model_4FGL_J2232.6+1143_weekly_bin740.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 11024.5143683

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6736       1.0000          .0000       .10000E+07
     2 'norm      '    .53176       1.0000          .0000       .10000E+07
     3 'norm      '    .97750E-01   1.0000          .0000       .10000E+07
     4 'norm      '    .64670E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    .58836E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .20928E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .49930       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .50104E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    74.840       1.0000          .0000       .10000E+07
    11 'Prefactor '    53.581       1.0000          .0000       .10000E+07
    12 'Prefactor '    5.7923       1.0000         .10000E-03   10000.    
    13 'Prefactor '    32.893       1.0000          .0000       .10000E+07
    14 'Prefactor '    .22188E-06   1.0000          .0000       .10000E+07
    15 'Normalizat'    1.2349       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .79509       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=   11022.04     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      723 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6676        1.7254       -.45037E-07    .26930E-02
   2  norm          .95730        30.964        .35430E-05    .53271E-02
   3  norm          .99450E-01    .77137        .42660E-06** at limit **
   4  norm           .0000        1.2937       -.11299E-06** at limit **
   5  Prefactor     .22204E-09    8.9485       -.95723E-06** at limit **
   6  Prefactor     .22204E-09    8.5328       -.23547E-06** at limit **
   7  Prefactor     .49970        .20927        .10436E-07    .31237E-03
   8  Prefactor     .10000E-03    4.0704       -.55764E-05** at limit **
   9  norm          .11102E-09    1.8653       -.40850E-06** at limit **
  10  Prefactor     74.846        1.1447        .10789E-07   -.70443E-01
  11  Prefactor     53.837        12.182        .52294E-06   -.27105E-01
  12  Prefactor     5.7920        .41718        .97815E-09   -.27313E-02
  13  Prefactor     32.913        1.0745        .50228E-10   -.44777E-01
  14  Prefactor     .11102E-09    2.4497       -.40198E-06** at limit **
  15  Normalizat    1.2343        .25140       -.86296E-05    .65393E-04
  16  Prefactor     .79487        .12695        .25228E-05    .11096E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.66761
  norm       = 0.957305
  norm       = 0.0994501
  norm       = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 2.22045e-10
  Prefactor  = 0.4997
  Prefactor  = 0.000100001
  norm       = 1.11022e-10
  Prefactor  = 74.8463
  Prefactor  = 53.8366
  Prefactor  = 5.792
  Prefactor  = 32.9134
  Prefactor  = 1.11022e-10
  Normalizat = 1.23431
  Prefactor  = 0.79487
 **********
 **   18 **HESSE 
 **********

 FCN=   11022.04     FROM HESSE     STATUS=OK           239 CALLS      962 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6676        1.7371        .62298E-03   -1.5675    
   2  norm          .95730        47.566        .75577E-03   -1.5688    
   3  norm          .99450E-01    .39172        .23189E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        1.3178        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .22204E-09    8.9341        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .22204E-09    8.5190        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .49970        .21345        .66878E-02   -1.5567    
   8  Prefactor     .10000E-03    4.0134        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .11102E-09    1.8588        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     74.846        48.295        .11560E-03   -1.5535    
  11  Prefactor     53.837        19.797        .13662E-03   -1.5561    
  12  Prefactor     5.7920        .42849        .39314E-02   -1.5227    
  13  Prefactor     32.913        48.660        .17438E-03   -1.5593    
  14  Prefactor     .11102E-09    2.4531        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.2343        .21196        .83198E-01   -.85549    
  16  Prefactor     .79487        .10590        .43653E-01   -.99918    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.12984e-07
Minuit parameter uncertainties:
  1  1.73713
  2  13.496
  3  0.391721
  4  3.66709e-06
  5  8.49329e-05
  6  8.57698e-05
  7  0.213454
  8  9.26941e-05
  9  3.01769e-05
  10  48.295
  11  19.7968
  12  0.42849
  13  48.661
  14  3.605e-05
  15  0.212112
  16  0.105926
Done.

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

Extracting fit parameters...

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  4.997e-01  2.135e-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.949e-01  1.059e-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.234e+00  2.121e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.61
Ra Dec: 338.152 11.731
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 1.27e-07 +/- 5.44e-08
Energy Flux (Fixed Index): 4.72e-05 +/- 2.02e-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) = 11021.3667552
delta logL = 0.674557859555

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11021.3660899
delta logL = 0.675223173715

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .43383       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.6581       1.0000          .0000       10.000    
     3 'Normalizat'    1.1442       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82846       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=   11021.37     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      213 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .43383        1.6745        .54297E-02    .26881E-02
   2  Index1        2.6581        2.9264        .19629        .24556E-03
   3  Normalizat    1.1442        .73084E-01    .85797E-01    .80243E-05
   4  Prefactor     .82846        .35697E-01    .44086E-01   -.16916E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.433831
  Index1     = 2.65807
  Normalizat = 1.14418
  Prefactor  = 0.828455
 **********
 **   18 **HESSE 
 **********

 FCN=   11021.37     FROM HESSE     STATUS=OK            33 CALLS      246 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .43383        .22740        .24300E-04   -1.5576    
   2  Index1        2.6581        .56836        .69102E-02   -.48746    
   3  Normalizat    1.1442        .26033        .37992E-03   -.88346    
   4  Prefactor     .82846        .13094        .22516E-03   -.98688    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75514e-10
Minuit parameter uncertainties:
  1  0.227404
  2  0.569938
  3  0.260622
  4  0.130994
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/835692': 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) = 11021.3660899
delta logL = 0.675223173721

Extracting fit parameters...

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  4.338e-01  2.274e-01  1.000e-04  1.000e+04 ( 1.000e-10)
269       Index1:  2.658e+00  5.699e-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.285e-01  1.310e-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.144e+00  2.606e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.01
Ra Dec: 338.152 11.731
Photon Index (Free Index): 2.66 +/- 0.57
Photon Flux (Free Index): 2.01e-07 +/- 9.03e-08
Energy Flux (Free Index): 4.46e-05 +/- 1.68e-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/835692/cmap_HighResolution_686534401_687139201_4FGL_J2232.6+1143_weekly_bin740.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.27e-07', energy_flux2='4.46e-05', photon_flux_error='5.44e-08', dlogl='6.75e-01', energy_flux='4.72e-05', photon_flux2='2.01e-07', job_status='DONE', time_completed='2022-10-11 01:06:03.474636', photon_index_error2='0.57', photon_index2='2.66', ts='10.61', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', energy_flux_error2='1.68e-05', EG='1.23', time_epoch_completed='1665475563.47', return_code='0', job_id='835692', GAL2='0.83', EG2='1.14', return_code2='0', energy_flux_error='2.02e-05', photon_flux_error2='9.03e-08', ts2='12.01', photon_index='2.05' WHERE bin_id='740' AND source_name='4FGL J2232.6+1143' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 11 01:06:03 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 835692: <4FGL_J2232.6+1143_weekly_bin740> in cluster <slac> Done

Job <4FGL_J2232.6+1143_weekly_bin740> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Oct 11 00:55:19 2022
Job was executed on host(s) <bullet0066>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Oct 11 00:55:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Oct 11 00:55:21 2022
Terminated at Tue Oct 11 01:06:04 2022
Results reported at Tue Oct 11 01:06:04 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2232.6+1143_weekly_bin740 338.152 11.7306 686534401 687139201 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 :                                   617.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             372.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   642 sec.
    Turnaround time :                            645 sec.

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

