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


Performing analysis on: 4FGL_J2236.4-2309_daily_bin1675
RA = 339.125, Dec = -23.1552
tmin = 673488001, tmax = 673747201
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='884167', job_status='RUN', time_executed='2022-05-09 01:29:14.744062', time_epoch_executed='1652084954.74' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='1675'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/884167

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/884167/ft1_4FGL_J2236.4-2309_daily_bin1675.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/884167/ft2_4FGL_J2236.4-2309_daily_bin1675.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/884167/ft1_4FGL_J2236.4-2309_daily_bin1675.fits outfile=/scratch/kocevski/884167/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1675.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=673488001.0 tmax=673747201.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 2.55
user 2.36
sys 0.17

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

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

Number of photons that the gtmktime cut: 586

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/884167/ft1_filtered_4FGL_J2236.4-2309_daily_bin1675.fits" evtable="EVENTS" scfile=/scratch/kocevski/884167/ft2_4FGL_J2236.4-2309_daily_bin1675.fits sctable="SC_DATA" outfile=/scratch/kocevski/884167/ltcube_673488001_673747201_4FGL_J2236.4-2309_daily_bin1675.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/884167/ft2_4FGL_J2236.4-2309_daily_bin1675.fits
.....................!
real 13.85
user 13.44
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/884167/ft1_filtered_4FGL_J2236.4-2309_daily_bin1675.fits evtable="EVENTS" scfile=/scratch/kocevski/884167/ft2_4FGL_J2236.4-2309_daily_bin1675.fits sctable="SC_DATA" expcube=/scratch/kocevski/884167/ltcube_673488001_673747201_4FGL_J2236.4-2309_daily_bin1675.fits outfile=/scratch/kocevski/884167/expmap_673488001_673747201_4FGL_J2236.4-2309_daily_bin1675.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/884167/ltcube_673488001_673747201_4FGL_J2236.4-2309_daily_bin1675.fits
.....................!
real 192.09
user 185.48
sys 6.04

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/884167/ft1_filtered_4FGL_J2236.4-2309_daily_bin1675.fits scfile=/scratch/kocevski/884167/ft2_4FGL_J2236.4-2309_daily_bin1675.fits outfile=/scratch/kocevski/884167/cmap_673488001_673747201_4FGL_J2236.4-2309_daily_bin1675.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/884167/ft1_filtered_4FGL_J2236.4-2309_daily_bin1675.fits scfile=/scratch/kocevski/884167/ft2_4FGL_J2236.4-2309_daily_bin1675.fits outfile=/scratch/kocevski/884167/cmap_HighResolution_673488001_673747201_4FGL_J2236.4-2309_daily_bin1675.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/884167/ft1_filtered_4FGL_J2236.4-2309_daily_bin1675.fits evtable="EVENTS" scfile=/scratch/kocevski/884167/ft2_4FGL_J2236.4-2309_daily_bin1675.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/884167/Model_4FGL_J2236.4-2309_daily_bin1675.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/884167/ft1_filtered_4FGL_J2236.4-2309_daily_bin1675.fits.....................!
real 52.68
user 51.36
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/884167/ft1_filtered_4FGL_J2236.4-2309_daily_bin1675.fits', '/scratch/kocevski/884167/ft2_4FGL_J2236.4-2309_daily_bin1675.fits', expMap='/scratch/kocevski/884167/expmap_673488001_673747201_4FGL_J2236.4-2309_daily_bin1675.fits', expCube='/scratch/kocevski/884167/ltcube_673488001_673747201_4FGL_J2236.4-2309_daily_bin1675.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/884167/Model_4FGL_J2236.4-2309_daily_bin1675.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/884167/ft1_filtered_4FGL_J2236.4-2309_daily_bin1675.fits
Spacecraft file(s): /scratch/kocevski/884167/ft2_4FGL_J2236.4-2309_daily_bin1675.fits
Exposure map: /scratch/kocevski/884167/expmap_673488001_673747201_4FGL_J2236.4-2309_daily_bin1675.fits
Exposure cube: /scratch/kocevski/884167/ltcube_673488001_673747201_4FGL_J2236.4-2309_daily_bin1675.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/884167/Model_4FGL_J2236.4-2309_daily_bin1675.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) = 6361.66851155

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .83292       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.105       1.0000         .10000E-03   10000.    
     8 'norm      '    6.5726       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.3438       1.0000         .10000E-03   10000.    
    10 'norm      '    1.0631       1.0000         .10000E-03   10000.    
    11 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.3108       1.0000         .10000E-03   10000.    
    14 'Prefactor '    17.626       1.0000         .10000E-03   10000.    
    15 'norm      '    1.0017       1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.983       1.0000         .10000E-03   10000.    
    18 'Prefactor '    39.255       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .67239E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.7789       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3987       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .80542       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=   6361.578     FROM MIGRAD    STATUS=CONVERGED    553 CALLS     2394 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.3517        .22256E-08** at limit **
   2  Prefactor     .10000E-03    22.553        .43971E-07** at limit **
   3  norm          .83292        .32391       -.14775E-08    .13822E-04
   4  Prefactor     .10000E-03    3.8202        .24521E-07** at limit **
   5  Prefactor     .10000E-03    3.6595        .11888E-07** at limit **
   6  Prefactor     .10000E-03    8.6303       -.78177E-06** at limit **
   7  Prefactor     10.107        29.578        .33165E-06    .78044E-05
   8  norm          6.5694        21.801        .18869E-06   -.44906E-05
   9  Prefactor     6.3395        13.701        .59555E-06    .14482E-04
  10  norm          1.0631        .80108        .28865E-07    .90424E-04
  11  norm          .10000E-03    .93436        .73589E-08** at limit **
  12  Prefactor     .10000E-03    16.809       -.55837E-07** at limit **
  13  Prefactor     6.3087        10.399        .32795E-05   -.15275E-03
  14  Prefactor     17.636        20.699        .19371E-05   -.46840E-06
  15  norm          1.0006        1.4532       -.37000E-06    .29126E-03
  16  norm          .10000E-03    2.6033       -.32707E-07** at limit **
  17  Prefactor     11.953        33.008       -.48408E-05   -.17421E-03
  18  Prefactor     39.241        23.299        .32723E-06   -.87052E-04
  19  Prefactor     .10069E-03    13.806        .25437E-06** at limit **
  20  norm          1.7784        .99025        .32460E-07   -.57368E-03
  21  Prefactor     .10000E-03    8.2996        .55450E-06** at limit **
  22  Prefactor     .10000E-03    10.397        .22192E-06** at limit **
  23  Normalizat    1.3990        .20505       -.55343E-06    .40878E-05
  24  Prefactor     .80519        .16759        .24385E-06   -.45598E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.832918
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.1072
  norm       = 6.56936
  Prefactor  = 6.3395
  norm       = 1.06305
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.30865
  Prefactor  = 17.6362
  norm       = 1.00062
  norm       = 0.0001
  Prefactor  = 11.9527
  Prefactor  = 39.2414
  Prefactor  = 0.000100693
  norm       = 1.77841
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.39901
  Prefactor  = 0.805189
 **********
 **   18 **HESSE 
 **********

 FCN=   6361.578     FROM HESSE     STATUS=OK           411 CALLS     2805 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.3566        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    22.589        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .83292        .32648        .27574E-04   -1.5525    
   4  Prefactor     .10000E-03    3.8384        .15223E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.6676        .14901E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    8.6921        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.107        29.557        .12605E-03   -1.5072    
   8  norm          6.5694        21.760        .15653E-03   -1.5195    
   9  Prefactor     6.3395        13.767        .15936E-03   -1.5204    
  10  norm          1.0631        .78469        .59137E-04   -1.5502    
  11  norm          .10000E-03    1.5355        .14964E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    16.827        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.3087        10.715        .79892E-03   -1.5206    
  14  Prefactor     17.636        21.474        .95398E-04   -1.4868    
  15  norm          1.0006        1.4337        .76986E-03   -1.5508    
  16  norm          .10000E-03    2.6453        .12537E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     11.953        34.628        .11572E-03   -1.5016    
  18  Prefactor     39.241        24.009        .63974E-04   -1.4454    
  19  Prefactor     .10069E-03    22.711        .57176E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.7784        1.0188        .46002E-04   -1.5441    
  21  Prefactor     .10000E-03    8.4010        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    10.462        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3990        .24871        .24474E-03   -.80657    
  24  Prefactor     .80519        .20205        .26530E-03   -.99537    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34918e-09
Minuit parameter uncertainties:
  1  1.79911e-07
  2  4.64809e-06
  3  0.326481
  4  7.03684e-07
  5  4.84311e-07
  6  6.84811e-05
  7  29.5993
  8  21.7858
  9  13.7743
  10  0.784701
  11  7.06084e-06
  12  1.75863e-05
  13  10.7179
  14  21.4834
  15  1.43374
  16  9.55036e-06
  17  34.6866
  18  24.0144
  19  0.00793485
  20  1.01882
  21  6.77114e-05
  22  3.93955e-06
  23  0.248922
  24  0.202232
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  6.339e+00  1.377e+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.052e-01  2.022e-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.399e+00  2.489e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.24
Ra Dec: 339.125 -23.155
Photon Flux Upper Limit: 1.26e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.96e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/884167/likelihoodResults_673488001_673747201_4FGL_J2236.4-2309_daily_bin1675.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) = 6360.51854124
delta logL = 1.05903826885

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6360.37841601
delta logL = 1.19916350333

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16173E-02   1.0000         .10000E-03   10000.    
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    1.3378       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84821       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.

 FCN=   6360.378     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      383 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16179E-02    .53633E-01    .65385E-03** at limit **
   2  Index        10.0000        6.9303        .50000    ** at limit **
   3  Normalizat    1.3377        .99578E-01    .56324E-01   -.77087E-05
   4  Prefactor     .84830        .83549E-01    .44341E-01   -.84513E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00161791
  Index      = 10
  Normalizat = 1.33768
  Prefactor  = 0.848301
 **********
 **   18 **HESSE 
 **********

 FCN=   6360.378     FROM HESSE     STATUS=OK            37 CALLS      420 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16179E-02    .15845E-02    .26591E-04   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        1.3604        .43827        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.3377        .23874        .24906E-03   -.82448    
   4  Prefactor     .84830        .20158        .25925E-03   -.97972    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13843e-11
Minuit parameter uncertainties:
  1  0.00158451
  2  8.50569e-07
  3  0.238942
  4  0.20176
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/884167': 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) = 6360.37841558
delta logL = 1.19916392819

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  1.618e-03  1.585e-03  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  1.000e+01  8.506e-07  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.483e-01  2.018e-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.338e+00  2.389e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.74
Ra Dec: 339.125 -23.155
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 6.09e-08 +/- 5.78e-08
Energy Flux (Free Index): 6.81e-06 +/- 6.50e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/884167/cmap_HighResolution_673488001_673747201_4FGL_J2236.4-2309_daily_bin1675.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.96e-03', comment='SUCCESS', energy_flux2='6.81e-06', dlogl='1.20e+00', photon_flux2='6.09e-08', job_status='DONE', time_completed='2022-05-09 01:39:44.335696', photon_index_error2='0.00', photon_index2='10.00', ts='0.24', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='1.26e-07', energy_flux_error2='6.50e-06', EG='1.40', time_epoch_completed='1652085584.34', return_code='0', job_id='884167', GAL2='0.85', EG2='1.34', return_code2='0', photon_flux_error2='5.78e-08', ts2='2.74', photon_index='2.74' WHERE bin_id='1675' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon May  9 01:39:44 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 884167: <4FGL_J2236.4-2309_daily_bin1675> in cluster <slac> Done

Job <4FGL_J2236.4-2309_daily_bin1675> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Mon May  9 01:25:28 2022
Job was executed on host(s) <bullet0066>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon May  9 01:26:40 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon May  9 01:26:40 2022
Terminated at Mon May  9 01:39:45 2022
Results reported at Mon May  9 01:39:45 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin1675 339.125 -23.1552 673488001 673747201 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 :                                   631.27 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             303.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   784 sec.
    Turnaround time :                            857 sec.

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

