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


Performing analysis on: 4FGL_J2236.4-2309_daily_bin1776
RA = 339.125, Dec = -23.1552
tmin = 699667201, tmax = 699926401
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='845125', job_status='RUN', time_executed='2023-03-08 01:22:12.934076', time_epoch_executed='1678267332.93' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='1776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/845125

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/845125/ft1_4FGL_J2236.4-2309_daily_bin1776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/845125/ft2_4FGL_J2236.4-2309_daily_bin1776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/845125/ft1_4FGL_J2236.4-2309_daily_bin1776.fits outfile=/scratch/kocevski/845125/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1776.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=699667201.0 tmax=699926401.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.04
user 3.78
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/845125/ft2_4FGL_J2236.4-2309_daily_bin1776.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/845125/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1776.fits evtable="EVENTS" outfile="/scratch/kocevski/845125/ft1_filtered_4FGL_J2236.4-2309_daily_bin1776.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.50
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 626

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/845125/ft1_filtered_4FGL_J2236.4-2309_daily_bin1776.fits" evtable="EVENTS" scfile=/scratch/kocevski/845125/ft2_4FGL_J2236.4-2309_daily_bin1776.fits sctable="SC_DATA" outfile=/scratch/kocevski/845125/ltcube_699667201_699926401_4FGL_J2236.4-2309_daily_bin1776.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/845125/ft2_4FGL_J2236.4-2309_daily_bin1776.fits
.....................!
real 11.81
user 11.48
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/845125/ft1_filtered_4FGL_J2236.4-2309_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/845125/ft2_4FGL_J2236.4-2309_daily_bin1776.fits sctable="SC_DATA" expcube=/scratch/kocevski/845125/ltcube_699667201_699926401_4FGL_J2236.4-2309_daily_bin1776.fits outfile=/scratch/kocevski/845125/expmap_699667201_699926401_4FGL_J2236.4-2309_daily_bin1776.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/845125/ltcube_699667201_699926401_4FGL_J2236.4-2309_daily_bin1776.fits
.....................!
real 189.85
user 185.13
sys 4.34

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/845125/ft1_filtered_4FGL_J2236.4-2309_daily_bin1776.fits scfile=/scratch/kocevski/845125/ft2_4FGL_J2236.4-2309_daily_bin1776.fits outfile=/scratch/kocevski/845125/cmap_699667201_699926401_4FGL_J2236.4-2309_daily_bin1776.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/845125/ft1_filtered_4FGL_J2236.4-2309_daily_bin1776.fits scfile=/scratch/kocevski/845125/ft2_4FGL_J2236.4-2309_daily_bin1776.fits outfile=/scratch/kocevski/845125/cmap_HighResolution_699667201_699926401_4FGL_J2236.4-2309_daily_bin1776.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/845125/ft1_filtered_4FGL_J2236.4-2309_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/845125/ft2_4FGL_J2236.4-2309_daily_bin1776.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/845125/Model_4FGL_J2236.4-2309_daily_bin1776.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/845125/ft1_filtered_4FGL_J2236.4-2309_daily_bin1776.fits.....................!
real 54.16
user 52.82
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/845125/ft1_filtered_4FGL_J2236.4-2309_daily_bin1776.fits', '/scratch/kocevski/845125/ft2_4FGL_J2236.4-2309_daily_bin1776.fits', expMap='/scratch/kocevski/845125/expmap_699667201_699926401_4FGL_J2236.4-2309_daily_bin1776.fits', expCube='/scratch/kocevski/845125/ltcube_699667201_699926401_4FGL_J2236.4-2309_daily_bin1776.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/845125/Model_4FGL_J2236.4-2309_daily_bin1776.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  0.000e+00  1.000e+06 ( 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/845125/ft1_filtered_4FGL_J2236.4-2309_daily_bin1776.fits
Spacecraft file(s): /scratch/kocevski/845125/ft2_4FGL_J2236.4-2309_daily_bin1776.fits
Exposure map: /scratch/kocevski/845125/expmap_699667201_699926401_4FGL_J2236.4-2309_daily_bin1776.fits
Exposure cube: /scratch/kocevski/845125/ltcube_699667201_699926401_4FGL_J2236.4-2309_daily_bin1776.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/845125/Model_4FGL_J2236.4-2309_daily_bin1776.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) = 6780.78799217

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35363E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .33294E-02   1.0000          .0000       .10000E+07
     3 'norm      '    2.0018       1.0000          .0000       .10000E+07
     4 'Prefactor '    14.373       1.0000          .0000       .10000E+07
     5 'Prefactor '    .23380       1.0000          .0000       .10000E+07
     6 'Prefactor '    .25082E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    7.8395       1.0000          .0000       .10000E+07
     8 'norm      '    .78271E-08   1.0000          .0000       .10000E+07
     9 'Prefactor '    23.370       1.0000          .0000       .10000E+07
    10 'norm      '    .73866       1.0000          .0000       .10000E+07
    11 'norm      '    .98825       1.0000          .0000       .10000E+07
    12 'Prefactor '    .11818E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    19.899       1.0000          .0000       .10000E+07
    14 'Prefactor '    29.390       1.0000          .0000       .10000E+07
    15 'norm      '    .38588       1.0000          .0000       .10000E+07
    16 'norm      '    .22876E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    .27433E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    4.5915       1.0000          .0000       .10000E+07
    19 'Prefactor '    9.9185       1.0000          .0000       .10000E+07
    20 'norm      '    .57626       1.0000          .0000       .10000E+07
    21 'Prefactor '    .20325E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    9.2128       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1375       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .87801       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6780.631     FROM MIGRAD    STATUS=CONVERGED    116 CALLS     1932 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .61784E-07    4.7792       -.72994E-07** at limit **
   2  Prefactor     .14988E-08    20.327       -.15325E-06** at limit **
   3  norm          2.0016        .44614       -.27693E-07   -.12058E-01
   4  Prefactor     14.406        7.0784        .99439E-07    .86277E-01
   5  Prefactor     .35341        3.4931        .30412E-06   -.86524E-02
   6  Prefactor     .40523E-08    9.5380       -.23243E-06** at limit **
   7  Prefactor     7.9398        3.5664        .50528E-07   -.47459E-01
   8  norm          .55511E-10    3.9806        .13534E-06** at limit **
   9  Prefactor     23.358        2.1183        .17184E-07   -.27983E-01
  10  norm          .73801        .57872        .45431E-07    .30807E-02
  11  norm          .98923        1.2900       -.11002E-06   -.11635E-02
  12  Prefactor     .57954E-07    33.647        .92704E-06** at limit **
  13  Prefactor     19.832        3.4595        .33199E-07   -.20646E-02
  14  Prefactor     29.736        4.4826        .17261E-08   -.88901E-01
  15  norm          .36445        1.0813       -.13367E-06    .94915E-03
  16  norm           .0000        1.4599       -.30861E-08** at limit **
  17  Prefactor     .56732E-07    3.7247        .71864E-07** at limit **
  18  Prefactor     4.7368        5.9814        .80303E-07   -.41558E-01
  19  Prefactor     9.6947        7.9852       -.23769E-06    .22358E-01
  20  norm          .58388        .60995        .72383E-07    .41581E-02
  21  Prefactor     .60008E-07    4.9694        .17365E-06** at limit **
  22  Prefactor     9.1357        7.0556        .24852E-07    .37394E-01
  23  Normalizat    1.1386        .22133        .65136E-05   -.52556E-04
  24  Prefactor     .87709        .19175       -.79895E-05   -.10298E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.17839e-08
  Prefactor  = 1.4988e-09
  norm       = 2.0016
  Prefactor  = 14.4064
  Prefactor  = 0.353407
  Prefactor  = 4.05231e-09
  Prefactor  = 7.93983
  norm       = 5.55112e-11
  Prefactor  = 23.358
  norm       = 0.738013
  norm       = 0.989229
  Prefactor  = 5.79536e-08
  Prefactor  = 19.8322
  Prefactor  = 29.736
  norm       = 0.364454
  norm       = 0
  Prefactor  = 5.67324e-08
  Prefactor  = 4.73682
  Prefactor  = 9.69473
  norm       = 0.583882
  Prefactor  = 6.00076e-08
  Prefactor  = 9.13572
  Normalizat = 1.13858
  Prefactor  = 0.877086
 **********
 **   18 **HESSE 
 **********

 FCN=   6780.631     FROM HESSE     STATUS=OK           457 CALLS     2389 TOTAL
                     EDM=   .41E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .61784E-07    5.1877        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .14988E-08    20.442        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.0016        .44687        .57074E-03   -1.5680    
   4  Prefactor     14.406        9.9815        .26394E-03   -1.5632    
   5  Prefactor     .35341        6.8259        .11203E-01   -1.5696    
   6  Prefactor     .40523E-08    9.5784        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.9398        63.439        .35789E-03   -1.5652    
   8  norm          .55511E-10    4.0070        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     23.358        14.997        .20691E-03   -1.5611    
  10  norm          .73801        .64790        .57624E-03   -1.5691    
  11  norm          .98923        1.3031        .43349E-03   -1.5688    
  12  Prefactor     .57954E-07    34.086        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     19.832        11.231        .22424E-03   -1.5619    
  14  Prefactor     29.736        972.07        .18449E-03   -1.5599    
  15  norm          .36445        395.69        .91141E-03   -1.5696    
  16  norm           .0000        1.4598        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .56732E-07    30.834        .16589E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.7368        14.993        .46951E-03   -1.5664    
  19  Prefactor     9.6947        12.615        .31793E-03   -1.5646    
  20  norm          .58388        .63937        .71382E-03   -1.5693    
  21  Prefactor     .60008E-07    5.3634        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     9.1357        9.7068        .32995E-03   -1.5648    
  23  Normalizat    1.1386        .26715        .58494E-01   -.88523    
  24  Prefactor     .87709        .19318        .44724E-01   -.96946    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.05375e-05
Minuit parameter uncertainties:
  1  0.00113208
  2  0.00034863
  3  0.446874
  4  9.98154
  5  3.10633
  6  0.000393137
  7  44.8868
  8  3.43413e-05
  9  14.9969
  10  0.647898
  11  1.30309
  12  0.00281086
  13  11.2308
  14  340.092
  15  24.0191
  16  4.38264e-06
  17  0.00264503
  18  14.9928
  19  12.6148
  20  0.639369
  21  0.00113444
  22  9.70685
  23  0.267469
  24  0.193331
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  2.336e+01  1.500e+01  0.000e+00  1.000e+06 ( 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.771e-01  1.933e-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.139e+00  2.675e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.32
Ra Dec: 339.125 -23.155
Photon Index (Fixed Index): 2.74 +/- 0.00
Photon Flux (Fixed Index): 8.22e-08 +/- 5.27e-08
Energy Flux (Fixed Index): 1.92e-05 +/- 1.23e-05

TS (Fixed Index): 3.32
Ra Dec: 339.125 -23.155
Photon Flux Upper Limit: 1.82e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.44e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/845125/likelihoodResults_699667201_699926401_4FGL_J2236.4-2309_daily_bin1776.txt

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) = 6780.62537424
delta logL = 0.00596445293195

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6780.62179771
delta logL = 0.00954099097726

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.653       1.0000          .0000       .10000E+07
     2 'Index     '    2.6277       1.0000          .0000       10.000    
     3 'Normalizat'    1.1471       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87086       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6780.622     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      239 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.646        18.165        .80579E-05    .13121E-02
   2  Index         2.6285        .81776        .92452E-02    .14820E-03
   3  Normalizat    1.1470        .22831        .25786E-03   -.39371E-04
   4  Prefactor     .87097        .19366        .25264E-03    .10733E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.6459
  Index      = 2.62846
  Normalizat = 1.14697
  Prefactor  = 0.870971
 **********
 **   18 **HESSE 
 **********

 FCN=   6780.622     FROM HESSE     STATUS=OK            25 CALLS      264 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.646        17.733        .32232E-06   -1.5609    
   2  Index         2.6285        .79729        .18490E-02   -.49418    
   3  Normalizat    1.1470        .22831        .10314E-04   -.88258    
   4  Prefactor     .87097        .19360        .10105E-04   -.97163    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18561e-10
Minuit parameter uncertainties:
  1  17.7325
  2  0.801715
  3  0.228512
  4  0.193751
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/845125': 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) = 6780.62179713
delta logL = 0.00954156658645

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  2.465e+01  1.773e+01  0.000e+00  1.000e+06 ( 1.000e-12)
248        Index:  2.628e+00  8.017e-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.710e-01  1.938e-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.147e+00  2.285e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.28
Ra Dec: 339.125 -23.155
Photon Index (Free Index): 2.63 +/- 0.80
Photon Flux (Free Index): 7.82e-08 +/- 5.87e-08
Energy Flux (Free Index): 2.00e-05 +/- 1.44e-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/845125/cmap_HighResolution_699667201_699926401_4FGL_J2236.4-2309_daily_bin1776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.44e-02', comment='SUCCESS', photon_flux='8.22e-08', energy_flux2='2.00e-05', photon_flux_error='5.27e-08', dlogl='9.54e-03', energy_flux='1.92e-05', photon_flux2='7.82e-08', job_status='DONE', time_completed='2023-03-08 01:32:02.390244', photon_index_error2='0.80', photon_index2='2.63', ts='3.32', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='1.82e-07', energy_flux_error2='1.44e-05', EG='1.14', time_epoch_completed='1678267922.39', return_code='0', job_id='845125', GAL2='0.87', EG2='1.15', return_code2='0', energy_flux_error='1.23e-05', photon_flux_error2='5.87e-08', ts2='3.28', photon_index='2.74' WHERE bin_id='1776' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar  8 01:32:02 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0196>
Subject: Job 845125: <4FGL_J2236.4-2309_daily_bin1776> in cluster <slac> Done

Job <4FGL_J2236.4-2309_daily_bin1776> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Wed Mar  8 01:20:28 2023
Job was executed on host(s) <bullet0196>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar  8 01:20:40 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Mar  8 01:20:40 2023
Terminated at Wed Mar  8 01:32:03 2023
Results reported at Wed Mar  8 01:32:03 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin1776 339.125 -23.1552 699667201 699926401 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 :                                   589.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             320.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   682 sec.
    Turnaround time :                            695 sec.

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

