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 7 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_bin1746
RA = 338.152, Dec = 11.7306
tmin = 691891201, tmax = 692150401
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='742490', job_status='RUN', time_executed='2022-12-08 01:50:34.204012', time_epoch_executed='1670493034.2' WHERE source_name='4FGL J2232.6+1143' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/742490

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/742490/ft1_4FGL_J2232.6+1143_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/742490/ft2_4FGL_J2232.6+1143_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/742490/ft1_4FGL_J2232.6+1143_daily_bin1746.fits outfile=/scratch/kocevski/742490/ft1_filteredMKT_4FGL_J2232.6+1143_daily_bin1746.fits ra=338.152 dec=11.7306 rad=12.0 tmin=691891201.0 tmax=692150401.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 4.73
user 4.46
sys 0.24

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

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

Number of photons that the gtmktime cut: 875

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/742490/ft1_filtered_4FGL_J2232.6+1143_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/742490/ft2_4FGL_J2232.6+1143_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/742490/ltcube_691891201_692150401_4FGL_J2232.6+1143_daily_bin1746.fits outfile=/scratch/kocevski/742490/expmap_691891201_692150401_4FGL_J2232.6+1143_daily_bin1746.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/742490/ltcube_691891201_692150401_4FGL_J2232.6+1143_daily_bin1746.fits
.....................!
real 190.41
user 184.80
sys 5.01

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/742490/ft1_filtered_4FGL_J2232.6+1143_daily_bin1746.fits scfile=/scratch/kocevski/742490/ft2_4FGL_J2232.6+1143_daily_bin1746.fits outfile=/scratch/kocevski/742490/cmap_691891201_692150401_4FGL_J2232.6+1143_daily_bin1746.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/742490/ft1_filtered_4FGL_J2232.6+1143_daily_bin1746.fits scfile=/scratch/kocevski/742490/ft2_4FGL_J2232.6+1143_daily_bin1746.fits outfile=/scratch/kocevski/742490/cmap_HighResolution_691891201_692150401_4FGL_J2232.6+1143_daily_bin1746.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.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17208E-07   1.0000          .0000       .10000E+07
     2 'norm      '    .27638E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .50951       1.0000          .0000       .10000E+07
     4 'norm      '    3.1513       1.0000          .0000       .10000E+07
     5 'Prefactor '    .15459E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    6.7058       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.8389       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.8725       1.0000          .0000       .10000E+07
    10 'Prefactor '    28.133       1.0000          .0000       .10000E+07
    11 'Prefactor '    11.684       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.0613       1.0000         .10000E-03   10000.    
    13 'Prefactor '    43.014       1.0000          .0000       .10000E+07
    14 'Prefactor '    5.3356       1.0000          .0000       .10000E+07
    15 'Normalizat'    .86951       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .93722       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=   8967.463     FROM MIGRAD    STATUS=CONVERGED    102 CALLS     1178 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.2734       -.21207E-06** at limit **
   2  norm          .12212E-08    7.1910       -.78082E-06** at limit **
   3  norm          .51019        .96196       -.23478E-06   -.25607E-02
   4  norm          3.1109        5.0669       -.30891E-07    .48969E-03
   5  Prefactor     .61062E-09    6.2195       -.10968E-06** at limit **
   6  Prefactor     6.7054        7.6488       -.78665E-07   -.17629E-01
   7  Prefactor     1.8391        .27534       -.34493E-06   -.19214E-03
   8  Prefactor     .10000E-03    1.9078       -.24573E-05** at limit **
   9  norm          2.8723        1.7056        .24144E-07    .15459E-02
  10  Prefactor     28.029        18.559        .13305E-06   -.16648    
  11  Prefactor     11.679        10.239       -.52357E-06   -.94418E-01
  12  Prefactor     2.0613        .23874       -.12562E-06   -.35172E-03
  13  Prefactor     42.909        26.688       -.19241E-06    .14668    
  14  Prefactor     5.3412        7.0263        .37300E-06   -.35354E-03
  15  Normalizat    .86968        .24449       -.25761E-05   -.20249E-04
  16  Prefactor     .93725        .13249        .47832E-05    .40269E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 1.22125e-09
  norm       = 0.510187
  norm       = 3.11086
  Prefactor  = 6.10623e-10
  Prefactor  = 6.7054
  Prefactor  = 1.83908
  Prefactor  = 0.0001
  norm       = 2.8723
  Prefactor  = 28.0289
  Prefactor  = 11.6793
  Prefactor  = 2.06131
  Prefactor  = 42.9094
  Prefactor  = 5.34118
  Normalizat = 0.86968
  Prefactor  = 0.937255
 **********
 **   18 **HESSE 
 **********

 FCN=   8967.463     FROM HESSE     STATUS=OK           237 CALLS     1415 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.2588        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .12212E-08    7.1930        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .51019        .97389        .77759E-03   -1.5694    
   4  norm          3.1109        5.1012        .57074E-03   -1.5673    
   5  Prefactor     .61062E-09    6.2069        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.7054        7.6519        .38725E-03   -1.5656    
   7  Prefactor     1.8391        .27643        .41416E-02   -1.5437    
   8  Prefactor     .10000E-03    1.9066        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.8723        1.7087        .59948E-03   -1.5674    
  10  Prefactor     28.029        24.365        .18857E-03   -1.5602    
  11  Prefactor     11.679        10.528        .29282E-03   -1.5640    
  12  Prefactor     2.0613        .24039        .33527E-02   -1.5421    
  13  Prefactor     42.909        37.906        .15249E-03   -1.5577    
  14  Prefactor     5.3412        7.0417        .43485E-03   -1.5662    
  15  Normalizat    .86968        .21286        .85417E-01   -.97534    
  16  Prefactor     .93725        .11385        .45478E-01   -.94851    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39776e-06
Minuit parameter uncertainties:
  1  5.68164e-06
  2  0.000187335
  3  0.973895
  4  5.10122
  5  0.000123272
  6  7.65193
  7  0.27643
  8  5.84335e-06
  9  1.70867
  10  24.3654
  11  10.5283
  12  0.240387
  13  37.9057
  14  7.04174
  15  0.213067
  16  0.113877
Done.

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

Extracting fit parameters...

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  1.839e+00  2.764e-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.373e-01  1.139e-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.697e-01  2.131e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 143.27
Ra Dec: 338.152 11.731
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 4.69e-07 +/- 7.04e-08
Energy Flux (Fixed Index): 1.74e-04 +/- 2.61e-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) = 8967.25452961
delta logL = 0.20835869953

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8967.23878385
delta logL = 0.224104458975

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7774       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.1579       1.0000          .0000       10.000    
     3 'Normalizat'    .83836       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94836       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=   8967.239     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      196 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7774        .43816        .40160E-02    .66606E-03
   2  Index1        2.1579        .24138        .71858E-01    .20731E-03
   3  Normalizat    .83836        .20945        .86759E-01    .15452E-03
   4  Prefactor     .94836        .11493        .45618E-01    .20987E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.77742
  Index1     = 2.15788
  Normalizat = 0.838365
  Prefactor  = 0.948362
 **********
 **   18 **HESSE 
 **********

 FCN=   8967.239     FROM HESSE     STATUS=OK            27 CALLS      223 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7774        .28578        .17753E-04   -1.5441    
   2  Index1        2.1579        .15957        .31283E-03   -.60459    
   3  Normalizat    .83836        .24330        .38422E-03   -.98661    
   4  Prefactor     .94836        .13366        .20203E-03   -.94471    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.56079e-11
Minuit parameter uncertainties:
  1  0.285778
  2  0.159614
  3  0.243615
  4  0.133707
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/742490': 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) = 8967.23878385
delta logL = 0.224104459547

Extracting fit parameters...

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  1.777e+00  2.858e-01  1.000e-04  1.000e+04 ( 1.000e-10)
269       Index1:  2.158e+00  1.596e-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:  9.484e-01  1.337e-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.384e-01  2.436e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 141.74
Ra Dec: 338.152 11.731
Photon Index (Free Index): 2.16 +/- 0.16
Photon Flux (Free Index): 4.97e-07 +/- 8.40e-08
Energy Flux (Free Index): 1.64e-04 +/- 2.81e-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/742490/cmap_HighResolution_691891201_692150401_4FGL_J2232.6+1143_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.69e-07', energy_flux2='1.64e-04', photon_flux_error='7.04e-08', dlogl='2.24e-01', energy_flux='1.74e-04', photon_flux2='4.97e-07', job_status='DONE', time_completed='2022-12-08 01:59:38.691692', photon_index_error2='0.16', photon_index2='2.16', ts='143.27', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='2.81e-05', EG='0.87', time_epoch_completed='1670493578.69', return_code='0', job_id='742490', GAL2='0.95', EG2='0.84', return_code2='0', energy_flux_error='2.61e-05', photon_flux_error2='8.40e-08', ts2='141.74', photon_index='2.05' WHERE bin_id='1746' AND source_name='4FGL J2232.6+1143' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 01:59:38 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 742490: <4FGL_J2232.6+1143_daily_bin1746> in cluster <slac> Done

Job <4FGL_J2232.6+1143_daily_bin1746> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Dec  8 01:50:17 2022
Job was executed on host(s) <bullet0283>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 01:50:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 01:50:18 2022
Terminated at Thu Dec  8 01:59:39 2022
Results reported at Thu Dec  8 01:59:39 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2232.6+1143_daily_bin1746 338.152 11.7306 691891201 692150401 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 :                                   546.58 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             355.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   561 sec.
    Turnaround time :                            562 sec.

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

