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


Performing analysis on: 4FGL_J2232.6+1143_weekly_bin763
RA = 338.152, Dec = 11.7306
tmin = 700444801, tmax = 701049601
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='448060', job_status='RUN', time_executed='2023-03-21 03:00:39.702628', time_epoch_executed='1679392839.7' WHERE source_name='4FGL J2232.6+1143' and cadence='weekly' and bin_id='763'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/448060

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/448060/ft1_4FGL_J2232.6+1143_weekly_bin763.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/448060/ft2_4FGL_J2232.6+1143_weekly_bin763.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/448060/ft1_4FGL_J2232.6+1143_weekly_bin763.fits outfile=/scratch/kocevski/448060/ft1_filteredMKT_4FGL_J2232.6+1143_weekly_bin763.fits ra=338.152 dec=11.7306 rad=12.0 tmin=700444801.0 tmax=701049601.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.38
user 7.05
sys 0.30

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

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

Number of photons that the gtmktime cut: 1255

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/448060/ft1_filtered_4FGL_J2232.6+1143_weekly_bin763.fits" evtable="EVENTS" scfile=/scratch/kocevski/448060/ft2_4FGL_J2232.6+1143_weekly_bin763.fits sctable="SC_DATA" outfile=/scratch/kocevski/448060/ltcube_700444801_701049601_4FGL_J2232.6+1143_weekly_bin763.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/448060/ft2_4FGL_J2232.6+1143_weekly_bin763.fits
.....................!
real 20.82
user 20.49
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/448060/ft1_filtered_4FGL_J2232.6+1143_weekly_bin763.fits evtable="EVENTS" scfile=/scratch/kocevski/448060/ft2_4FGL_J2232.6+1143_weekly_bin763.fits sctable="SC_DATA" expcube=/scratch/kocevski/448060/ltcube_700444801_701049601_4FGL_J2232.6+1143_weekly_bin763.fits outfile=/scratch/kocevski/448060/expmap_700444801_701049601_4FGL_J2232.6+1143_weekly_bin763.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/448060/ltcube_700444801_701049601_4FGL_J2232.6+1143_weekly_bin763.fits
.....................!
real 144.80
user 141.29
sys 3.28

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/448060/ft1_filtered_4FGL_J2232.6+1143_weekly_bin763.fits scfile=/scratch/kocevski/448060/ft2_4FGL_J2232.6+1143_weekly_bin763.fits outfile=/scratch/kocevski/448060/cmap_700444801_701049601_4FGL_J2232.6+1143_weekly_bin763.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.48
user 0.32
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/448060/ft1_filtered_4FGL_J2232.6+1143_weekly_bin763.fits scfile=/scratch/kocevski/448060/ft2_4FGL_J2232.6+1143_weekly_bin763.fits outfile=/scratch/kocevski/448060/cmap_HighResolution_700444801_701049601_4FGL_J2232.6+1143_weekly_bin763.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.48
user 0.34
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.3539       1.0000          .0000       .10000E+07
     2 'norm      '    .64771E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .16154E-07   1.0000          .0000       .10000E+07
     4 'norm      '    7.3640       1.0000          .0000       .10000E+07
     5 'Prefactor '    .48263E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.4271       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.1653       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .14722E-01   1.0000         .10000E-03   10000.    
     9 'norm      '    3.9073       1.0000          .0000       .10000E+07
    10 'Prefactor '    .79720E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .62004E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .20757       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .24822E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    9.9839       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.1964       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .82277       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=   13477.22     FROM MIGRAD    STATUS=CONVERGED    116 CALLS      916 TOTAL
                     EDM=   .58E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.3536        1.8925        .95865E-07   -.25542E-02
   2  norm           .0000        45.034       -.21992E-06** at limit **
   3  norm           .0000        .25186        .15555E-07** at limit **
   4  norm          7.3691        4.1834        .20542E-06   -.30788E-02
   5  Prefactor      .0000        3.0639        .24190E-06** at limit **
   6  Prefactor     3.3599        8.2433        .22653E-06   -.67684E-03
   7  Prefactor     3.1653        .28635       -.93005E-07    .14103E-02
   8  Prefactor     .10000E-03    18.878        .10039E-06** at limit **
   9  norm          3.9062        1.4863        .53144E-07   -.26566E-02
  10  Prefactor     .55511E-10    5.7574        .59888E-06** at limit **
  11  Prefactor      .0000        8.1949       -.58942E-07** at limit **
  12  Prefactor     .20765        .94105E-01    .27135E-06   -.25356E-02
  13  Prefactor      .0000        16.898       -.10495E-06** at limit **
  14  Prefactor     9.9398        6.3259        .50970E-08   -.33799E-03
  15  Normalizat    1.1967        .21006        .41400E-05   -.18871E-03
  16  Prefactor     .82275        .10917        .94714E-06   -.24105E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.35364
  norm       = 0
  norm       = 0
  norm       = 7.36907
  Prefactor  = 0
  Prefactor  = 3.35987
  Prefactor  = 3.16528
  Prefactor  = 0.0001
  norm       = 3.90623
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 0.207646
  Prefactor  = 0
  Prefactor  = 9.93977
  Normalizat = 1.19673
  Prefactor  = 0.822747
 **********
 **   18 **HESSE 
 **********

 FCN=   13477.22     FROM HESSE     STATUS=OK           237 CALLS     1153 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.3536        1.8947        .55236E-03   -1.5671    
   2  norm           .0000        44.810        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .24796        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.3691        4.1839        .36936E-03   -1.5654    
   5  Prefactor      .0000        3.0643        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.3599        8.2345        .54615E-03   -1.5671    
   7  Prefactor     3.1653        .28828        .39989E-02   -1.5352    
   8  Prefactor     .10000E-03    2.7384        .90965E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.9062        1.4852        .51016E-03   -1.5668    
  10  Prefactor     .55511E-10    5.7638        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        8.1527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .20765        .96251E-01    .51874E-02   -1.5617    
  13  Prefactor      .0000        16.892        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     9.9398        6.3533        .31688E-03   -1.5645    
  15  Normalizat    1.1967        .17512        .75771E-01   -.86704    
  16  Prefactor     .82275        .91074E-01    .44013E-01   -.98895    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19958e-07
Minuit parameter uncertainties:
  1  1.89471
  2  6.77659e-05
  3  1.86413e-07
  4  4.18386
  5  1.03583e-05
  6  8.23452
  7  0.288281
  8  8.58127e-06
  9  1.48521
  10  4.33702e-05
  11  1.82604e-05
  12  0.0962512
  13  2.37047e-05
  14  6.35332
  15  0.175201
  16  0.0910908
Done.

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

Extracting fit parameters...

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  3.165e+00  2.883e-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.227e-01  9.109e-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.197e+00  1.752e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 420.51
Ra Dec: 338.152 11.731
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 8.07e-07 +/- 7.35e-08
Energy Flux (Fixed Index): 2.99e-04 +/- 2.72e-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) = 13477.1924295
delta logL = 0.0229111653989

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13477.1894731
delta logL = 0.0258675011028

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1826       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.0309       1.0000          .0000       10.000    
     3 'Normalizat'    1.2075       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81875       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=   13477.19     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      203 TOTAL
                     EDM=   .62E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1827        .33559        .40208E-02   -.35409E-03
   2  Index1        2.0309        .10463        .55485E-01    .75671E-04
   3  Normalizat    1.2075        .17407        .75506E-01   -.97270E-05
   4  Prefactor     .81872        .91442E-01    .43961E-01   -.41505E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.1827
  Index1     = 2.03091
  Normalizat = 1.20753
  Prefactor  = 0.818723
 **********
 **   18 **HESSE 
 **********

 FCN=   13477.19     FROM HESSE     STATUS=OK            31 CALLS      234 TOTAL
                     EDM=   .14E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1827        .29759        .17769E-04   -1.5351    
   2  Index1        2.0309        .93837E-01    .24351E-03   -.63580    
   3  Normalizat    1.2075        .21062        .33418E-03   -.86371    
   4  Prefactor     .81872        .11030        .21164E-03   -.99042    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41217e-12
Minuit parameter uncertainties:
  1  0.297585
  2  0.093846
  3  0.210773
  4  0.110326
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/448060': 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) = 13477.1894729
delta logL = 0.0258677832662

Extracting fit parameters...

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  3.183e+00  2.976e-01  1.000e-04  1.000e+04 ( 1.000e-10)
269       Index1:  2.031e+00  9.385e-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:  8.187e-01  1.103e-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.208e+00  2.108e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 417.32
Ra Dec: 338.152 11.731
Photon Index (Free Index): 2.03 +/- 0.09
Photon Flux (Free Index): 7.97e-07 +/- 8.43e-08
Energy Flux (Free Index): 3.03e-04 +/- 3.29e-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/448060/cmap_HighResolution_700444801_701049601_4FGL_J2232.6+1143_weekly_bin763.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.07e-07', energy_flux2='3.03e-04', photon_flux_error='7.35e-08', dlogl='2.59e-02', energy_flux='2.99e-04', photon_flux2='7.97e-07', job_status='DONE', time_completed='2023-03-21 03:09:11.200696', photon_index_error2='0.09', photon_index2='2.03', ts='420.51', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', energy_flux_error2='3.29e-05', EG='1.20', time_epoch_completed='1679393351.2', return_code='0', job_id='448060', GAL2='0.82', EG2='1.21', return_code2='0', energy_flux_error='2.72e-05', photon_flux_error2='8.43e-08', ts2='417.32', photon_index='2.05' WHERE bin_id='763' AND source_name='4FGL J2232.6+1143' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Mar 21 03:09:11 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0033>
Subject: Job 448060: <4FGL_J2232.6+1143_weekly_bin763> in cluster <slac> Done

Job <4FGL_J2232.6+1143_weekly_bin763> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Mar 21 03:00:26 2023
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 21 03:00:27 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 21 03:00:27 2023
Terminated at Tue Mar 21 03:09:11 2023
Results reported at Tue Mar 21 03:09:11 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2232.6+1143_weekly_bin763 338.152 11.7306 700444801 701049601 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 :                                   510.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             339.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   524 sec.
    Turnaround time :                            525 sec.

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

