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


Performing analysis on: 4FGL_J2232.6+1143_weekly_bin749
RA = 338.152, Dec = 11.7306
tmin = 691977601, tmax = 692582401
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='544419', job_status='RUN', time_executed='2022-12-13 02:02:06.275582', time_epoch_executed='1670925726.28' WHERE source_name='4FGL J2232.6+1143' and cadence='weekly' and bin_id='749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/544419

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/544419/ft1_4FGL_J2232.6+1143_weekly_bin749.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/544419/ft2_4FGL_J2232.6+1143_weekly_bin749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/544419/ft1_4FGL_J2232.6+1143_weekly_bin749.fits outfile=/scratch/kocevski/544419/ft1_filteredMKT_4FGL_J2232.6+1143_weekly_bin749.fits ra=338.152 dec=11.7306 rad=12.0 tmin=691977601.0 tmax=692582401.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 9.26
user 8.92
sys 0.32

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

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

Number of photons that the gtmktime cut: 1807

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/544419/ft1_filtered_4FGL_J2232.6+1143_weekly_bin749.fits evtable="EVENTS" scfile=/scratch/kocevski/544419/ft2_4FGL_J2232.6+1143_weekly_bin749.fits sctable="SC_DATA" expcube=/scratch/kocevski/544419/ltcube_691977601_692582401_4FGL_J2232.6+1143_weekly_bin749.fits outfile=/scratch/kocevski/544419/expmap_691977601_692582401_4FGL_J2232.6+1143_weekly_bin749.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/544419/ltcube_691977601_692582401_4FGL_J2232.6+1143_weekly_bin749.fits
.....................!
real 190.36
user 185.00
sys 5.05

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/544419/ft1_filtered_4FGL_J2232.6+1143_weekly_bin749.fits scfile=/scratch/kocevski/544419/ft2_4FGL_J2232.6+1143_weekly_bin749.fits outfile=/scratch/kocevski/544419/cmap_691977601_692582401_4FGL_J2232.6+1143_weekly_bin749.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.59
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/544419/ft1_filtered_4FGL_J2232.6+1143_weekly_bin749.fits scfile=/scratch/kocevski/544419/ft2_4FGL_J2232.6+1143_weekly_bin749.fits outfile=/scratch/kocevski/544419/cmap_HighResolution_691977601_692582401_4FGL_J2232.6+1143_weekly_bin749.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.58
user 0.41
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0591       1.0000          .0000       .10000E+07
     2 'norm      '    .17215E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .13466E-05   1.0000          .0000       .10000E+07
     4 'norm      '    .56770E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .22706E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.7372       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.9685       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .27392       1.0000         .10000E-03   10000.    
     9 'norm      '    3.3633       1.0000          .0000       .10000E+07
    10 'Prefactor '    10.896       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.7169       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.0084       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .25110E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    3.0121       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.0840       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .81067       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=   18459.99     FROM MIGRAD    STATUS=CONVERGED    125 CALLS      941 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0609        1.4439        .27812E-07   -.43794E-02
   2  norm          .86042E-08    8.2829       -.14830E-05** at limit **
   3  norm          .11102E-09    3.0872        .11149E-06** at limit **
   4  norm          .38858E-09    7.6761       -.15054E-05** at limit **
   5  Prefactor     .69389E-08    10.016        .15254E-05** at limit **
   6  Prefactor     3.9017        6.9436       -.73958E-06   -.70882E-03
   7  Prefactor     1.9685        .19965       -.17212E-08   -.60619E-03
   8  Prefactor     .29261        14.423        .68432E-04    .36264E-04
   9  norm          3.3639        1.1737       -.20478E-06   -.90118E-03
  10  Prefactor     10.817        1.3264       -.58612E-07   -.17744    
  11  Prefactor     6.6823        5.3159       -.19199E-06    .64902E-03
  12  Prefactor     2.0087        .16004       -.42788E-06    .10553E-01
  13  Prefactor     .44409E-09    39.737       -.11552E-05** at limit **
  14  Prefactor     3.0115        4.4547        .38514E-07   -.14990E-02
  15  Normalizat    1.0834        .16845        .13319E-04   -.38446E-04
  16  Prefactor     .81077        .88858E-01   -.38147E-05   -.47543E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.06091
  norm       = 8.60423e-09
  norm       = 1.11022e-10
  norm       = 3.88578e-10
  Prefactor  = 6.93889e-09
  Prefactor  = 3.90166
  Prefactor  = 1.96849
  Prefactor  = 0.292609
  norm       = 3.36391
  Prefactor  = 10.8175
  Prefactor  = 6.68226
  Prefactor  = 2.00873
  Prefactor  = 4.44089e-10
  Prefactor  = 3.01148
  Normalizat = 1.0834
  Prefactor  = 0.810771
 **********
 **   18 **HESSE 
 **********

 FCN=   18459.99     FROM HESSE     STATUS=OK           251 CALLS     1192 TOTAL
                     EDM=   .82E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0609        1.4426        .57977E-03   -1.5673    
   2  norm          .86042E-08    8.3316        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .11102E-09    .17429        .32265E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .38858E-09    7.4085        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .69389E-08    10.053        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.9017        6.9643        .52206E-03   -1.5668    
   7  Prefactor     1.9685        .20123        .41172E-02   -1.5427    
   8  Prefactor     .29261        2.3138        .78934E-01   -1.5600    
   9  norm          3.3639        1.1722        .55155E-03   -1.5671    
  10  Prefactor     10.817        10.740        .30326E-03   -1.5642    
  11  Prefactor     6.6823        5.3310        .38693E-03   -1.5656    
  12  Prefactor     2.0087        .16103        .32767E-02   -1.5425    
  13  Prefactor     .44409E-09    39.962        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.0115        4.4754        .58454E-03   -1.5673    
  15  Normalizat    1.0834        .14363        .76623E-01   -.90287    
  16  Prefactor     .81077        .75742E-01    .43856E-01   -.99333    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.23507e-07
Minuit parameter uncertainties:
  1  1.4426
  2  0.000535797
  3  8.09195e-06
  4  0.000108937
  5  0.000528529
  6  6.96433
  7  0.201232
  8  1.64545
  9  1.17224
  10  10.7398
  11  5.33105
  12  0.161031
  13  0.000274623
  14  4.47537
  15  0.143678
  16  0.0757521
Done.

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

Extracting fit parameters...

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  1.968e+00  2.012e-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.108e-01  7.575e-02  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.083e+00  1.437e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 290.38
Ra Dec: 338.152 11.731
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 5.02e-07 +/- 5.13e-08
Energy Flux (Fixed Index): 1.86e-04 +/- 1.90e-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) = 18456.1957246
delta logL = 3.79168950536

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18456.1938337
delta logL = 3.79358039712

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7336       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.3583       1.0000          .0000       10.000    
     3 'Normalizat'    .98362       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84809       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=   18456.19     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      215 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7336        1.7050        .37091E-02    .93284E-04
   2  Index1        2.3583        .93949        .63781E-01    .23817E-03
   3  Normalizat    .98362        .19419        .79690E-01    .55763E-04
   4  Prefactor     .84809        .10296        .44340E-01    .17675E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.73356
  Index1     = 2.35835
  Normalizat = 0.983616
  Prefactor  = 0.848086
 **********
 **   18 **HESSE 
 **********

 FCN=   18456.19     FROM HESSE     STATUS=OK            31 CALLS      246 TOTAL
                     EDM=   .20E-14    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7336        .20522        .16399E-04   -1.5445    
   2  Index1        2.3583        .11558        .27831E-03   -.55663    
   3  Normalizat    .98362        .16813        .35272E-03   -.93581    
   4  Prefactor     .84809        .90451E-01    .20613E-03   -.97979    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96247e-15
Minuit parameter uncertainties:
  1  0.205219
  2  0.11559
  3  0.168219
  4  0.0904668
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/544419': 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) = 18456.1938337
delta logL = 3.79358041136

Extracting fit parameters...

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  1.734e+00  2.052e-01  1.000e-04  1.000e+04 ( 1.000e-10)
269       Index1:  2.358e+00  1.156e-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.481e-01  9.047e-02  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.836e-01  1.682e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 294.87
Ra Dec: 338.152 11.731
Photon Index (Free Index): 2.36 +/- 0.12
Photon Flux (Free Index): 5.86e-07 +/- 6.33e-08
Energy Flux (Free Index): 1.60e-04 +/- 1.74e-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/544419/cmap_HighResolution_691977601_692582401_4FGL_J2232.6+1143_weekly_bin749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.02e-07', energy_flux2='1.60e-04', photon_flux_error='5.13e-08', dlogl='3.79e+00', energy_flux='1.86e-04', photon_flux2='5.86e-07', job_status='DONE', time_completed='2022-12-13 02:15:51.709339', photon_index_error2='0.12', photon_index2='2.36', ts='290.38', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', energy_flux_error2='1.74e-05', EG='1.08', time_epoch_completed='1670926551.71', return_code='0', job_id='544419', GAL2='0.85', EG2='0.98', return_code2='0', energy_flux_error='1.90e-05', photon_flux_error2='6.33e-08', ts2='294.87', photon_index='2.05' WHERE bin_id='749' AND source_name='4FGL J2232.6+1143' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 13 02:15:51 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0106>
Subject: Job 544419: <4FGL_J2232.6+1143_weekly_bin749> in cluster <slac> Done

Job <4FGL_J2232.6+1143_weekly_bin749> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Dec 13 02:00:24 2022
Job was executed on host(s) <bullet0106>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 13 02:00:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 13 02:00:25 2022
Terminated at Tue Dec 13 02:15:52 2022
Results reported at Tue Dec 13 02:15:52 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2232.6+1143_weekly_bin749 338.152 11.7306 691977601 692582401 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 :                                   827.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             364.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   927 sec.
    Turnaround time :                            928 sec.

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

