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


Performing analysis on: 4FGL_J2232.6+1143_daily_bin1734
RA = 338.152, Dec = 11.7306
tmin = 688780801, tmax = 689040001
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='776464', job_status='RUN', time_executed='2022-11-02 00:39:26.292725', time_epoch_executed='1667374766.29' WHERE source_name='4FGL J2232.6+1143' and cadence='daily' and bin_id='1734'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/776464

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/776464/ft1_4FGL_J2232.6+1143_daily_bin1734.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/776464/ft2_4FGL_J2232.6+1143_daily_bin1734.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/776464/ft1_4FGL_J2232.6+1143_daily_bin1734.fits outfile=/scratch/kocevski/776464/ft1_filteredMKT_4FGL_J2232.6+1143_daily_bin1734.fits ra=338.152 dec=11.7306 rad=12.0 tmin=688780801.0 tmax=689040001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.55
user 3.32
sys 0.21

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

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

Number of photons that the gtmktime cut: 929

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/776464/ft1_filtered_4FGL_J2232.6+1143_daily_bin1734.fits evtable="EVENTS" scfile=/scratch/kocevski/776464/ft2_4FGL_J2232.6+1143_daily_bin1734.fits sctable="SC_DATA" expcube=/scratch/kocevski/776464/ltcube_688780801_689040001_4FGL_J2232.6+1143_daily_bin1734.fits outfile=/scratch/kocevski/776464/expmap_688780801_689040001_4FGL_J2232.6+1143_daily_bin1734.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/776464/ltcube_688780801_689040001_4FGL_J2232.6+1143_daily_bin1734.fits
.....................!
real 191.28
user 185.75
sys 5.22

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/776464/ft1_filtered_4FGL_J2232.6+1143_daily_bin1734.fits scfile=/scratch/kocevski/776464/ft2_4FGL_J2232.6+1143_daily_bin1734.fits outfile=/scratch/kocevski/776464/cmap_688780801_689040001_4FGL_J2232.6+1143_daily_bin1734.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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/776464/ft1_filtered_4FGL_J2232.6+1143_daily_bin1734.fits scfile=/scratch/kocevski/776464/ft2_4FGL_J2232.6+1143_daily_bin1734.fits outfile=/scratch/kocevski/776464/cmap_HighResolution_688780801_689040001_4FGL_J2232.6+1143_daily_bin1734.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.54
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15466E-05   1.0000          .0000       .10000E+07
     2 'norm      '    25.143       1.0000          .0000       .10000E+07
     3 'norm      '    1.5093       1.0000          .0000       .10000E+07
     4 'norm      '    4.2302       1.0000          .0000       .10000E+07
     5 'Prefactor '    .19961E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    18.015       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.1246       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.1352       1.0000         .10000E-03   10000.    
     9 'norm      '    4.5984       1.0000          .0000       .10000E+07
    10 'Prefactor '    .23301E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    10.307       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.1421       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .61621E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    14.298       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.2289       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .86206       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=   9900.967     FROM MIGRAD    STATUS=CONVERGED     94 CALLS     1080 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.0520       -.14747E-05** at limit **
   2  norm          25.379        27.912        .89931E-05   -.38752E-01
   3  norm          1.5101        1.0460        .17627E-06    .31816E-02
   4  norm          4.2243        5.6947       -.19581E-05   -.10749E-02
   5  Prefactor     .16653E-09    5.0825       -.87303E-06** at limit **
   6  Prefactor     18.104        2.2883        .78522E-06    .45179E-01
   7  Prefactor     1.1250        .25618        .80668E-06    .98877E-04
   8  Prefactor     7.0822        6.3189        .16987E-05    .64122E-04
   9  norm          4.5897        2.3052       -.80665E-06   -.65123E-02
  10  Prefactor     .30198E-07    10.488       -.11173E-05** at limit **
  11  Prefactor     10.508        4.8181        .24701E-05    .13778    
  12  Prefactor     4.1418        .34120        .77912E-06   -.96928E-03
  13  Prefactor     .26312E-07    13.846        .41484E-05** at limit **
  14  Prefactor     14.340        8.4658        .29586E-06    .52225E-02
  15  Normalizat    1.2281        .28350       -.67298E-04   -.35072E-04
  16  Prefactor     .86218        .14625        .28554E-04   -.25447E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 25.3786
  norm       = 1.51009
  norm       = 4.22432
  Prefactor  = 1.66533e-10
  Prefactor  = 18.1037
  Prefactor  = 1.12505
  Prefactor  = 7.08223
  norm       = 4.58973
  Prefactor  = 3.01981e-08
  Prefactor  = 10.5077
  Prefactor  = 4.14181
  Prefactor  = 2.63123e-08
  Prefactor  = 14.3398
  Normalizat = 1.22808
  Prefactor  = 0.86218
 **********
 **   18 **HESSE 
 **********

 FCN=   9900.967     FROM HESSE     STATUS=OK           239 CALLS     1319 TOTAL
                     EDM=   .51E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.0455        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          25.379        29.210        .19947E-03   -1.5607    
   3  norm          1.5101        1.0546        .87043E-03   -1.5683    
   4  norm          4.2243        5.7480        .48969E-03   -1.5667    
   5  Prefactor     .16653E-09    5.0862        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     18.104        15.902        .23570E-03   -1.5623    
   7  Prefactor     1.1250        .25656        .51659E-02   -1.5496    
   8  Prefactor     7.0822        6.3140        .37543E-02   -1.5176    
   9  norm          4.5897        2.3667        .46915E-03   -1.5665    
  10  Prefactor     .30198E-07    10.578        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     10.508        14.625        .31185E-03   -1.5643    
  12  Prefactor     4.1418        .34066        .35676E-02   -1.5301    
  13  Prefactor     .26312E-07    13.928        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.340        8.4695        .26463E-03   -1.5632    
  15  Normalizat    1.2281        .23963        .87874E-01   -.85740    
  16  Prefactor     .86218        .12240        .44520E-01   -.97475    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.06085e-07
Minuit parameter uncertainties:
  1  7.1103e-06
  2  29.2101
  3  1.05458
  4  5.74804
  5  6.00832e-05
  6  15.9018
  7  0.256563
  8  6.31461
  9  2.36666
  10  0.00113031
  11  14.6252
  12  0.340658
  13  0.00121103
  14  8.46949
  15  0.239844
  16  0.12244
Done.

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

Extracting fit parameters...

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  1.125e+00  2.566e-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.622e-01  1.224e-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.228e+00  2.398e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 52.84
Ra Dec: 338.152 11.731
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 2.87e-07 +/- 6.54e-08
Energy Flux (Fixed Index): 1.06e-04 +/- 2.42e-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) = 9900.55384229
delta logL = 0.413448983531

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9900.54144911
delta logL = 0.425842168817

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0851       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.2651       1.0000          .0000       10.000    
     3 'Normalizat'    1.1759       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87998       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9900.541     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      273 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0851        .25241        .21623E-04    .83751E-02
   2  Index1        2.2651        .23508        .47413E-02    .34887E-03
   3  Normalizat    1.1760        .28326        .39594E-03    .11950E-03
   4  Prefactor     .87997        .14667        .23587E-03   -.77602E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.08514
  Index1     = 2.26505
  Normalizat = 1.17597
  Prefactor  = 0.879972
 **********
 **   18 **HESSE 
 **********

 FCN=   9900.541     FROM HESSE     STATUS=OK            23 CALLS      296 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0851        .25080        .43247E-05   -1.5500    
   2  Index1        2.2651        .23348        .18965E-03   -.57876    
   3  Normalizat    1.1760        .28354        .15838E-04   -.87349    
   4  Prefactor     .87997        .14681        .94347E-05   -.96844    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.9692e-10
Minuit parameter uncertainties:
  1  0.250805
  2  0.233599
  3  0.283914
  4  0.146873
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/776464': 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) = 9900.54144879
delta logL = 0.425842489267

Extracting fit parameters...

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  1.085e+00  2.508e-01  1.000e-04  1.000e+04 ( 1.000e-10)
269       Index1:  2.265e+00  2.336e-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.800e-01  1.469e-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.176e+00  2.839e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 53.06
Ra Dec: 338.152 11.731
Photon Index (Free Index): 2.27 +/- 0.23
Photon Flux (Free Index): 3.35e-07 +/- 8.87e-08
Energy Flux (Free Index): 9.93e-05 +/- 2.27e-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/776464/cmap_HighResolution_688780801_689040001_4FGL_J2232.6+1143_daily_bin1734.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.87e-07', energy_flux2='9.93e-05', photon_flux_error='6.54e-08', dlogl='4.26e-01', energy_flux='1.06e-04', photon_flux2='3.35e-07', job_status='DONE', time_completed='2022-11-02 00:48:48.482066', photon_index_error2='0.23', photon_index2='2.27', ts='52.84', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='2.27e-05', EG='1.23', time_epoch_completed='1667375328.48', return_code='0', job_id='776464', GAL2='0.88', EG2='1.18', return_code2='0', energy_flux_error='2.42e-05', photon_flux_error2='8.87e-08', ts2='53.06', photon_index='2.05' WHERE bin_id='1734' AND source_name='4FGL J2232.6+1143' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Nov  2 00:48:48 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0152>
Subject: Job 776464: <4FGL_J2232.6+1143_daily_bin1734> in cluster <slac> Done

Job <4FGL_J2232.6+1143_daily_bin1734> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Nov  2 00:35:27 2022
Job was executed on host(s) <bullet0152>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Nov  2 00:35:27 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Nov  2 00:35:27 2022
Terminated at Wed Nov  2 00:48:49 2022
Results reported at Wed Nov  2 00:48:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2232.6+1143_daily_bin1734 338.152 11.7306 688780801 689040001 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 :                                   564.42 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             258.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   801 sec.
    Turnaround time :                            802 sec.

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

