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


Performing analysis on: 4FGL_J2236.4-2309_daily_bin1664
RA = 339.125, Dec = -23.1552
tmin = 670636801, tmax = 670896001
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='316801', job_status='RUN', time_executed='2022-04-06 00:39:11.783660', time_epoch_executed='1649230751.78' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='1664'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/316801

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/316801/ft1_4FGL_J2236.4-2309_daily_bin1664.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/316801/ft2_4FGL_J2236.4-2309_daily_bin1664.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/316801/ft1_4FGL_J2236.4-2309_daily_bin1664.fits outfile=/scratch/kocevski/316801/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1664.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=670636801.0 tmax=670896001.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 5.39
user 5.15
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/316801/ft2_4FGL_J2236.4-2309_daily_bin1664.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/316801/ft2_4FGL_J2236.4-2309_daily_bin1664.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/316801/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1664.fits evtable="EVENTS" outfile="/scratch/kocevski/316801/ft1_filtered_4FGL_J2236.4-2309_daily_bin1664.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.33
sys 0.16

Number of photons that the gtmktime cut: 629

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/316801/ft1_filtered_4FGL_J2236.4-2309_daily_bin1664.fits" evtable="EVENTS" scfile=/scratch/kocevski/316801/ft2_4FGL_J2236.4-2309_daily_bin1664.fits sctable="SC_DATA" outfile=/scratch/kocevski/316801/ltcube_670636801_670896001_4FGL_J2236.4-2309_daily_bin1664.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/316801/ft2_4FGL_J2236.4-2309_daily_bin1664.fits
.....................!
real 11.82
user 11.40
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/316801/ft1_filtered_4FGL_J2236.4-2309_daily_bin1664.fits evtable="EVENTS" scfile=/scratch/kocevski/316801/ft2_4FGL_J2236.4-2309_daily_bin1664.fits sctable="SC_DATA" expcube=/scratch/kocevski/316801/ltcube_670636801_670896001_4FGL_J2236.4-2309_daily_bin1664.fits outfile=/scratch/kocevski/316801/expmap_670636801_670896001_4FGL_J2236.4-2309_daily_bin1664.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/316801/ltcube_670636801_670896001_4FGL_J2236.4-2309_daily_bin1664.fits
.....................!
real 191.18
user 184.58
sys 6.17

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 159 point sources and 0 extended sources

Setting source of interest to:
4FGL J2236.4-2309 @ 339.125 -23.1552

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/316801/ft1_filtered_4FGL_J2236.4-2309_daily_bin1664.fits scfile=/scratch/kocevski/316801/ft2_4FGL_J2236.4-2309_daily_bin1664.fits outfile=/scratch/kocevski/316801/cmap_670636801_670896001_4FGL_J2236.4-2309_daily_bin1664.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=339.125 yref=-23.1552 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/316801/ft1_filtered_4FGL_J2236.4-2309_daily_bin1664.fits scfile=/scratch/kocevski/316801/ft2_4FGL_J2236.4-2309_daily_bin1664.fits outfile=/scratch/kocevski/316801/cmap_HighResolution_670636801_670896001_4FGL_J2236.4-2309_daily_bin1664.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=339.125 yref=-23.1552 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/316801/ft1_filtered_4FGL_J2236.4-2309_daily_bin1664.fits evtable="EVENTS" scfile=/scratch/kocevski/316801/ft2_4FGL_J2236.4-2309_daily_bin1664.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/316801/Model_4FGL_J2236.4-2309_daily_bin1664.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/316801/ft1_filtered_4FGL_J2236.4-2309_daily_bin1664.fits.....................!
real 53.57
user 52.29
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/316801/ft1_filtered_4FGL_J2236.4-2309_daily_bin1664.fits', '/scratch/kocevski/316801/ft2_4FGL_J2236.4-2309_daily_bin1664.fits', expMap='/scratch/kocevski/316801/expmap_670636801_670896001_4FGL_J2236.4-2309_daily_bin1664.fits', expCube='/scratch/kocevski/316801/ltcube_670636801_670896001_4FGL_J2236.4-2309_daily_bin1664.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/316801/Model_4FGL_J2236.4-2309_daily_bin1664.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2236.4-2309'

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  4.382e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  2.743e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
249        Scale:  4.484e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/316801/ft1_filtered_4FGL_J2236.4-2309_daily_bin1664.fits
Spacecraft file(s): /scratch/kocevski/316801/ft2_4FGL_J2236.4-2309_daily_bin1664.fits
Exposure map: /scratch/kocevski/316801/expmap_670636801_670896001_4FGL_J2236.4-2309_daily_bin1664.fits
Exposure cube: /scratch/kocevski/316801/ltcube_670636801_670896001_4FGL_J2236.4-2309_daily_bin1664.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/316801/Model_4FGL_J2236.4-2309_daily_bin1664.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) = 6816.53232096

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11552E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    31.937       1.0000         .10000E-03   10000.    
     3 'norm      '    .74819       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.5965       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    75.368       1.0000         .10000E-03   10000.    
     8 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.974       1.0000         .10000E-03   10000.    
    10 'norm      '    1.0107       1.0000         .10000E-03   10000.    
    11 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    99.921       1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.605       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.3169       1.0000         .10000E-03   10000.    
    15 'norm      '    .64377       1.0000         .10000E-03   10000.    
    16 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    38.108       1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.509       1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.226       1.0000         .10000E-03   10000.    
    20 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    13.138       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0055       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .82492       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6816.478     FROM MIGRAD    STATUS=CONVERGED    529 CALLS     2741 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.785        .10401E-05** at limit **
   2  Prefactor     31.953        51.263        .19572E-05    .45473E-04
   3  norm          .74816        .29183        .17381E-08   -.14238E-03
   4  Prefactor     .10000E-03    3.0301        .21016E-07** at limit **
   5  Prefactor     2.5982        19.109        .11956E-05   -.16558E-04
   6  Prefactor     .10000E-03    8.4458       -.35291E-07** at limit **
   7  Prefactor     75.392        54.734        .19601E-05    .10615E-03
   8  norm          .10000E-03    6.5219        .30241E-07** at limit **
   9  Prefactor     16.975        10.374        .88655E-07   -.16952E-03
  10  norm          1.0108        .73632        .52138E-07   -.22158E-03
  11  norm          .10000E-03    1.3584        .17535E-05** at limit **
  12  Prefactor     99.933        39.540       -.21072E-05   -.56028E-03
  13  Prefactor     14.604        10.447        .11689E-06   -.37448E-04
  14  Prefactor     3.3096        30.363       -.29084E-05    .71255E-05
  15  norm          .64460        1.5815        .43084E-06    .28210E-03
  16  norm          .10000E-03    1.3575       -.78000E-08** at limit **
  17  Prefactor     38.114        33.011        .36466E-06    .43623E-04
  18  Prefactor     11.510        11.617       -.33436E-09   -.33741E-04
  19  Prefactor     12.222        8.1052        .24263E-06   -.10929E-03
  20  norm          .10000E-03    .19886       -.82319E-07** at limit **
  21  Prefactor     13.141        9.0237        .12605E-06   -.42723E-04
  22  Prefactor     .10000E-03    2.0462       -.87397E-08** at limit **
  23  Normalizat    1.0055        .17705       -.75302E-06   -.18590E-03
  24  Prefactor     .82490        .14530        .14197E-06   -.25209E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 31.9526
  norm       = 0.748164
  Prefactor  = 0.0001
  Prefactor  = 2.59822
  Prefactor  = 0.0001
  Prefactor  = 75.3916
  norm       = 0.0001
  Prefactor  = 16.975
  norm       = 1.01085
  norm       = 0.000100001
  Prefactor  = 99.9328
  Prefactor  = 14.6037
  Prefactor  = 3.30963
  norm       = 0.6446
  norm       = 0.0001
  Prefactor  = 38.1143
  Prefactor  = 11.5101
  Prefactor  = 12.2221
  norm       = 0.0001
  Prefactor  = 13.1407
  Prefactor  = 0.0001
  Normalizat = 1.00553
  Prefactor  = 0.824899
 **********
 **   18 **HESSE 
 **********

 FCN=   6816.478     FROM HESSE     STATUS=OK           409 CALLS     3150 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.714        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     31.953        51.346        .70902E-04   -1.4577    
   3  norm          .74816        .29227        .26986E-04   -1.5535    
   4  Prefactor     .10000E-03    3.0360        .14034E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.5982        19.076        .25321E-03   -1.5386    
   6  Prefactor     .10000E-03    8.4751        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     75.392        55.142        .23125E-03   -1.3969    
   8  norm          .10000E-03    6.5305        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.975        10.383        .97214E-04   -1.4884    
  10  norm          1.0108        .71208        .57651E-03   -1.5507    
  11  norm          .10000E-03    1.7436        .16781E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     99.933        42.983        .40218E-04   -1.3705    
  13  Prefactor     14.604        10.475        .10481E-03   -1.4943    
  14  Prefactor     3.3096        31.066        .22227E-03   -1.5344    
  15  norm          .64460        1.4109        .89927E-03   -1.5547    
  16  norm          .10000E-03    1.3721        .93836E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     38.114        31.855        .64926E-04   -1.4472    
  18  Prefactor     11.510        11.636        .11809E-03   -1.5029    
  19  Prefactor     12.222        7.7871        .11456E-03   -1.5009    
  20  norm          .10000E-03    .24856        .66873E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     13.141        9.0227        .11051E-03   -1.4983    
  22  Prefactor     .10000E-03    2.0477        .11529E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0055        .20723        .24955E-03   -.92845    
  24  Prefactor     .82490        .16997        .23689E-03   -.98817    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24869e-09
Minuit parameter uncertainties:
  1  8.23034e-05
  2  51.4171
  3  0.292269
  4  9.1592e-08
  5  14.0862
  6  1.42623e-06
  7  55.1797
  8  7.5032e-09
  9  10.3837
  10  0.712084
  11  8.19568e-05
  12  42.9966
  13  10.4764
  14  20.2934
  15  1.41095
  16  2.23681e-08
  17  31.8696
  18  11.6379
  19  7.78778
  20  1.02989e-06
  21  9.02364
  22  5.90693e-07
  23  0.207394
  24  0.170078
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  1.698e+01  1.038e+01  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  2.743e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
249        Scale:  4.484e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  8.249e-01  1.701e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.006e+00  2.074e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.52
Ra Dec: 339.125 -23.155
Photon Index (Fixed Index): 2.74 +/- 0.00
Photon Flux (Fixed Index): 5.97e-08 +/- 3.65e-08
Energy Flux (Fixed Index): 1.39e-05 +/- 8.52e-06

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) = 6815.42931861
delta logL = 1.04886702563

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6815.38998207
delta logL = 1.08820355962

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.887       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0252       1.0000          .0000       10.000    
     3 'Normalizat'    1.0330       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80649       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6815.390     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      209 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.886        11.655       -.32229E-05    .54203E-03
   2  Index         2.0252        .31247        .26765E-05    .62246E-03
   3  Normalizat    1.0330        .16613        .24573E-06   -.40210E-04
   4  Prefactor     .80648        .14437        .19948E-06   -.22078E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.8855
  Index      = 2.02522
  Normalizat = 1.03304
  Prefactor  = 0.806484
 **********
 **   18 **HESSE 
 **********

 FCN=   6815.390     FROM HESSE     STATUS=OK            31 CALLS      240 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.886        12.144        .89814E-04   -1.4816    
   2  Index         2.0252        .42018        .71750E-02   -.63721    
   3  Normalizat    1.0330        .19157        .24657E-03   -.91932    
   4  Prefactor     .80648        .16644        .23913E-03   -.99490    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.90526e-09
Minuit parameter uncertainties:
  1  12.1459
  2  0.420949
  3  0.191699
  4  0.166542
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/316801': 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) = 6815.38998206
delta logL = 1.08820357291

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  1.989e+01  1.215e+01  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  2.025e+00  4.209e-01  0.000e+00  1.000e+01 (-1.000e+00)
249        Scale:  4.484e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  8.065e-01  1.665e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.033e+00  1.917e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.70
Ra Dec: 339.125 -23.155
Photon Index (Free Index): 2.03 +/- 0.42
Photon Flux (Free Index): 4.05e-08 +/- 2.86e-08
Energy Flux (Free Index): 2.63e-05 +/- 2.23e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/316801/cmap_HighResolution_670636801_670896001_4FGL_J2236.4-2309_daily_bin1664.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.97e-08', energy_flux2='2.63e-05', photon_flux_error='3.65e-08', dlogl='1.09e+00', energy_flux='1.39e-05', photon_flux2='4.05e-08', job_status='DONE', time_completed='2022-04-06 00:49:10.117846', photon_index_error2='0.42', photon_index2='2.03', ts='5.52', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', energy_flux_error2='2.23e-05', EG='1.01', time_epoch_completed='1649231350.12', return_code='0', job_id='316801', GAL2='0.81', EG2='1.03', return_code2='0', energy_flux_error='8.52e-06', photon_flux_error2='2.86e-08', ts2='7.70', photon_index='2.74' WHERE bin_id='1664' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Apr  6 00:49:10 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 316801: <4FGL_J2236.4-2309_daily_bin1664> in cluster <slac> Done

Job <4FGL_J2236.4-2309_daily_bin1664> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Apr  6 00:35:50 2022
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Apr  6 00:35:53 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Apr  6 00:35:53 2022
Terminated at Wed Apr  6 00:49:10 2022
Results reported at Wed Apr  6 00:49:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin1664 339.125 -23.1552 670636801 670896001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2236.4-2309 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   600.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   797 sec.
    Turnaround time :                            800 sec.

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

