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 43 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2232.6+1143_daily_bin1695
RA = 338.152, Dec = 11.7306
tmin = 678672001, tmax = 678931201
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='731226', job_status='RUN', time_executed='2022-07-08 00:36:13.213748', time_epoch_executed='1657265773.21' WHERE source_name='4FGL J2232.6+1143' and cadence='daily' and bin_id='1695'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/731226

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/731226/ft1_4FGL_J2232.6+1143_daily_bin1695.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/731226/ft2_4FGL_J2232.6+1143_daily_bin1695.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/731226/ft1_4FGL_J2232.6+1143_daily_bin1695.fits outfile=/scratch/kocevski/731226/ft1_filteredMKT_4FGL_J2232.6+1143_daily_bin1695.fits ra=338.152 dec=11.7306 rad=12.0 tmin=678672001.0 tmax=678931201.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.62
user 3.40
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/731226/ft1_filtered_4FGL_J2232.6+1143_daily_bin1695.fits" evtable="EVENTS" scfile=/scratch/kocevski/731226/ft2_4FGL_J2232.6+1143_daily_bin1695.fits sctable="SC_DATA" outfile=/scratch/kocevski/731226/ltcube_678672001_678931201_4FGL_J2232.6+1143_daily_bin1695.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/731226/ft2_4FGL_J2232.6+1143_daily_bin1695.fits
.....................!
real 12.20
user 11.82
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/731226/ft1_filtered_4FGL_J2232.6+1143_daily_bin1695.fits evtable="EVENTS" scfile=/scratch/kocevski/731226/ft2_4FGL_J2232.6+1143_daily_bin1695.fits sctable="SC_DATA" expcube=/scratch/kocevski/731226/ltcube_678672001_678931201_4FGL_J2232.6+1143_daily_bin1695.fits outfile=/scratch/kocevski/731226/expmap_678672001_678931201_4FGL_J2232.6+1143_daily_bin1695.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/731226/ltcube_678672001_678931201_4FGL_J2232.6+1143_daily_bin1695.fits
.....................!
real 191.45
user 185.86
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/731226/ft1_filtered_4FGL_J2232.6+1143_daily_bin1695.fits scfile=/scratch/kocevski/731226/ft2_4FGL_J2232.6+1143_daily_bin1695.fits outfile=/scratch/kocevski/731226/cmap_678672001_678931201_4FGL_J2232.6+1143_daily_bin1695.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.56
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/731226/ft1_filtered_4FGL_J2232.6+1143_daily_bin1695.fits scfile=/scratch/kocevski/731226/ft2_4FGL_J2232.6+1143_daily_bin1695.fits outfile=/scratch/kocevski/731226/cmap_HighResolution_678672001_678931201_4FGL_J2232.6+1143_daily_bin1695.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/731226/ft1_filtered_4FGL_J2232.6+1143_daily_bin1695.fits evtable="EVENTS" scfile=/scratch/kocevski/731226/ft2_4FGL_J2232.6+1143_daily_bin1695.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/731226/Model_4FGL_J2232.6+1143_daily_bin1695.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/731226/ft1_filtered_4FGL_J2232.6+1143_daily_bin1695.fits.....................!
real 79.69
user 78.27
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.4812       1.0000         .10000E-03   10000.    
     3 'norm      '    4.0495       1.0000         .10000E-03   10000.    
     4 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    36.119       1.0000         .10000E-03   10000.    
     7 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    33.880       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.3098       1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.482       1.0000         .10000E-03   10000.    
    12 'norm      '    4.0831       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    39.816       1.0000         .10000E-03   10000.    
    15 'Prefactor '    17.805       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .93818       1.0000         .10000E-03   10000.    
    17 'Prefactor '    71.702       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.6676       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.9151       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2032       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .78466       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.

 FCN=   7976.200     FROM MIGRAD    STATUS=CONVERGED    438 CALLS     2198 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    67.937        .15183E-06** at limit **
   2  norm          1.4807        1.5915       -.19437E-07   -.74748E-04
   3  norm          4.0489        13.297        .14586E-05   -.29007E-03
   4  norm          .10000E-03    .30662        .21822E-07** at limit **
   5  Prefactor     .10000E-03    16.042        .98737E-06** at limit **
   6  Prefactor     36.121        29.792        .13514E-05    .52177E-04
   7  norm          .10000E-03    1.7414        .31171E-07** at limit **
   8  Prefactor     .10000E-03    13.502        .61052E-07** at limit **
   9  Prefactor     33.881        14.325       -.15375E-06   -.64472E-04
  10  Prefactor     1.3099        .27552        .26744E-08   -.30849E-03
  11  Prefactor     12.482        7.5643       -.11627E-07   -.45968E-05
  12  norm          4.0831        2.2320        .32978E-07   -.35510E-04
  13  Prefactor     .10000E-03    15.984       -.90064E-06** at limit **
  14  Prefactor     39.816        13.821       -.30924E-07   -.21208E-04
  15  Prefactor     17.803        20.625       -.26076E-06   -.16870E-04
  16  Prefactor     .93817        .18858        .84272E-08   -.10319E-03
  17  Prefactor     71.706        43.099        .28046E-05    .12036E-03
  18  Prefactor     1.6662        5.3055        .20682E-06   -.26085E-03
  19  Prefactor     6.9147        7.4043       -.44773E-07   -.10721E-04
  20  Normalizat    1.2030        .22835       -.72467E-06    .31322E-05
  21  Prefactor     .78474        .11581       -.45097E-07   -.52853E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.4807
  norm       = 4.04892
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 36.1211
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.8811
  Prefactor  = 1.30987
  Prefactor  = 12.482
  norm       = 4.08308
  Prefactor  = 0.0001
  Prefactor  = 39.8164
  Prefactor  = 17.8032
  Prefactor  = 0.938174
  Prefactor  = 71.7065
  Prefactor  = 1.66618
  Prefactor  = 6.91474
  Normalizat = 1.20304
  Prefactor  = 0.784741
 **********
 **   18 **HESSE 
 **********

 FCN=   7976.200     FROM HESSE     STATUS=OK           323 CALLS     2521 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    68.060        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.4807        1.5826        .11319E-03   -1.5465    
   3  norm          4.0489        26.000        .10019E-02   -1.5306    
   4  norm          .10000E-03    .42843        .95956E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    16.105        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     36.121        29.887        .66684E-04   -1.4505    
   7  norm          .10000E-03    1.7537        .11509E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    13.587        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     33.881        14.428        .68846E-04   -1.4543    
  10  Prefactor     1.3099        .27636        .20163E-04   -1.5479    
  11  Prefactor     12.482        7.5704        .11338E-03   -1.5001    
  12  norm          4.0831        2.2306        .93682E-04   -1.5304    
  13  Prefactor     .10000E-03    16.008        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     39.816        13.824        .63523E-04   -1.4445    
  15  Prefactor     17.803        20.661        .94919E-04   -1.4864    
  16  Prefactor     .93817        .18929        .16176E-04   -1.5514    
  17  Prefactor     71.706        43.606        .47410E-04   -1.4012    
  18  Prefactor     1.6662        5.5508        .32653E-03   -1.5450    
  19  Prefactor     6.9147        7.4048        .15257E-03   -1.5182    
  20  Normalizat    1.2030        .26887        .33133E-03   -.86509    
  21  Prefactor     .78474        .13668        .21586E-03   -1.0029    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04428e-09
Minuit parameter uncertainties:
  1  2.12666e-05
  2  1.58264
  3  20.5332
  4  1.7206e-06
  5  3.92603e-05
  6  29.8997
  7  1.91642e-06
  8  8.30175e-06
  9  14.4291
  10  0.276365
  11  7.57094
  12  2.23062
  13  3.93774e-05
  14  13.8254
  15  20.6695
  16  0.189288
  17  43.6251
  18  5.55247
  19  7.40573
  20  0.269178
  21  0.13674
Done.

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

Extracting fit parameters...

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  1.310e+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:  7.847e-01  1.367e-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.203e+00  2.692e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 49.48
Ra Dec: 338.152 11.731
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 3.34e-07 +/- 7.04e-08
Energy Flux (Fixed Index): 1.24e-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) = 7970.60788672
delta logL = 5.59247450792

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7970.60149206
delta logL = 5.59886916379

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .84426       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.8565       1.0000          .0000       10.000    
     3 'Normalizat'    1.0058       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85974       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=   7970.601     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      208 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .84443        2.0635        .32315E-02    .52875E-04
   2  Index1        2.8563        2.0041        .67229E-01    .12883E-03
   3  Normalizat    1.0060        .14425        .80501E-01    .19464E-04
   4  Prefactor     .85963        .78613E-01    .44490E-01    .10475E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.844427
  Index1     = 2.85628
  Normalizat = 1.00604
  Prefactor  = 0.859625
 **********
 **   18 **HESSE 
 **********

 FCN=   7970.601     FROM HESSE     STATUS=OK            31 CALLS      239 TOTAL
                     EDM=   .42E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .84443        .26403        .14303E-04   -1.5524    
   2  Index1        2.8563        .27272        .29206E-03   -.44310    
   3  Normalizat    1.0060        .25934        .35631E-03   -.92828    
   4  Prefactor     .85963        .13814        .20707E-03   -.97567    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.20671e-13
Minuit parameter uncertainties:
  1  0.264034
  2  0.272887
  3  0.259662
  4  0.138197
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/731226': 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) = 7970.60149137
delta logL = 5.59886985573

Extracting fit parameters...

4FGL J2232.6+1143
   Spectrum: PLSuperExpCutoff2
268    Prefactor:  8.444e-01  2.640e-01  1.000e-04  1.000e+04 ( 1.000e-10)
269       Index1:  2.856e+00  2.729e-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.596e-01  1.382e-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.006e+00  2.597e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 61.76
Ra Dec: 338.152 11.731
Photon Index (Free Index): 2.86 +/- 0.27
Photon Flux (Free Index): 4.89e-07 +/- 9.66e-08
Energy Flux (Free Index): 9.83e-05 +/- 1.92e-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/731226/cmap_HighResolution_678672001_678931201_4FGL_J2232.6+1143_daily_bin1695.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.34e-07', energy_flux2='9.83e-05', photon_flux_error='7.04e-08', dlogl='5.60e+00', energy_flux='1.24e-04', photon_flux2='4.89e-07', job_status='DONE', time_completed='2022-07-08 00:46:22.966585', photon_index_error2='0.27', photon_index2='2.86', ts='49.48', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', energy_flux_error2='1.92e-05', EG='1.20', time_epoch_completed='1657266382.97', return_code='0', job_id='731226', GAL2='0.86', EG2='1.01', return_code2='0', energy_flux_error='2.61e-05', photon_flux_error2='9.66e-08', ts2='61.76', photon_index='2.05' WHERE bin_id='1695' AND source_name='4FGL J2232.6+1143' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul  8 00:46:22 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0098>
Subject: Job 731226: <4FGL_J2232.6+1143_daily_bin1695> in cluster <slac> Done

Job <4FGL_J2232.6+1143_daily_bin1695> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Jul  8 00:35:20 2022
Job was executed on host(s) <bullet0098>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul  8 00:35:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul  8 00:35:22 2022
Terminated at Fri Jul  8 00:46:23 2022
Results reported at Fri Jul  8 00:46:23 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2232.6+1143_daily_bin1695 338.152 11.7306 678672001 678931201 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 :                                   612.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             316.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   661 sec.
    Turnaround time :                            663 sec.

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

