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


Performing analysis on: 4FGL_J2236.4-2309_daily_bin1732
RA = 339.125, Dec = -23.1552
tmin = 688262401, tmax = 688521601
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='647654', job_status='RUN', time_executed='2022-10-27 00:39:28.432201', time_epoch_executed='1666856368.43' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='1732'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/647654

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/647654/ft1_4FGL_J2236.4-2309_daily_bin1732.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/647654/ft2_4FGL_J2236.4-2309_daily_bin1732.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/647654/ft1_4FGL_J2236.4-2309_daily_bin1732.fits outfile=/scratch/kocevski/647654/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1732.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=688262401.0 tmax=688521601.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.50
user 3.30
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/647654/ft1_filtered_4FGL_J2236.4-2309_daily_bin1732.fits" evtable="EVENTS" scfile=/scratch/kocevski/647654/ft2_4FGL_J2236.4-2309_daily_bin1732.fits sctable="SC_DATA" outfile=/scratch/kocevski/647654/ltcube_688262401_688521601_4FGL_J2236.4-2309_daily_bin1732.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/647654/ft2_4FGL_J2236.4-2309_daily_bin1732.fits
.....................!
real 11.97
user 11.63
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/647654/ft1_filtered_4FGL_J2236.4-2309_daily_bin1732.fits evtable="EVENTS" scfile=/scratch/kocevski/647654/ft2_4FGL_J2236.4-2309_daily_bin1732.fits sctable="SC_DATA" expcube=/scratch/kocevski/647654/ltcube_688262401_688521601_4FGL_J2236.4-2309_daily_bin1732.fits outfile=/scratch/kocevski/647654/expmap_688262401_688521601_4FGL_J2236.4-2309_daily_bin1732.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/647654/ltcube_688262401_688521601_4FGL_J2236.4-2309_daily_bin1732.fits
.....................!
real 191.91
user 186.58
sys 5.00

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/647654/ft1_filtered_4FGL_J2236.4-2309_daily_bin1732.fits scfile=/scratch/kocevski/647654/ft2_4FGL_J2236.4-2309_daily_bin1732.fits outfile=/scratch/kocevski/647654/cmap_688262401_688521601_4FGL_J2236.4-2309_daily_bin1732.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.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/647654/ft1_filtered_4FGL_J2236.4-2309_daily_bin1732.fits scfile=/scratch/kocevski/647654/ft2_4FGL_J2236.4-2309_daily_bin1732.fits outfile=/scratch/kocevski/647654/cmap_HighResolution_688262401_688521601_4FGL_J2236.4-2309_daily_bin1732.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/647654/ft1_filtered_4FGL_J2236.4-2309_daily_bin1732.fits evtable="EVENTS" scfile=/scratch/kocevski/647654/ft2_4FGL_J2236.4-2309_daily_bin1732.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/647654/Model_4FGL_J2236.4-2309_daily_bin1732.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/647654/ft1_filtered_4FGL_J2236.4-2309_daily_bin1732.fits.....................!
real 43.42
user 42.10
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.724       1.0000          .0000       .10000E+07
     2 'Prefactor '    .10605       1.0000          .0000       .10000E+07
     3 'norm      '    1.0423       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.0957       1.0000          .0000       .10000E+07
     5 'Prefactor '    .90876       1.0000          .0000       .10000E+07
     6 'Prefactor '    .48106E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .28085E-02   1.0000          .0000       .10000E+07
     8 'norm      '    30.091       1.0000          .0000       .10000E+07
     9 'Prefactor '    .50700E-04   1.0000          .0000       .10000E+07
    10 'norm      '    5.4435       1.0000          .0000       .10000E+07
    11 'norm      '    1.8559       1.0000          .0000       .10000E+07
    12 'Prefactor '    .57175E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    16.128       1.0000          .0000       .10000E+07
    14 'Prefactor '    14.109       1.0000          .0000       .10000E+07
    15 'norm      '    .40213       1.0000          .0000       .10000E+07
    16 'norm      '    4.4199       1.0000          .0000       .10000E+07
    17 'Prefactor '    3.2440       1.0000          .0000       .10000E+07
    18 'Prefactor '    .18735E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    4.8041       1.0000          .0000       .10000E+07
    20 'norm      '    .86177E-01   1.0000          .0000       .10000E+07
    21 'Prefactor '    4.3889       1.0000          .0000       .10000E+07
    22 'Prefactor '    9.4829       1.0000          .0000       .10000E+07
    23 'Normalizat'    .81368       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .98688       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=   4979.815     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     2052 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.581        8.8958        .22017E-06   -.56134E-01
   2  Prefactor     .21168E-05    11.995       -.22391E-06** at limit **
   3  norm          1.0424        .42351       -.14382E-07    .10629E-02
   4  Prefactor     5.9930        11.781        .32600E-06   -.37276E-02
   5  Prefactor     .88186        .59814       -.15167E-07    .35508E-02
   6  Prefactor     .28810E-07    12.242       -.76905E-06** at limit **
   7  Prefactor     .58287E-08    34.204       -.25202E-06** at limit **
   8  norm          29.908        15.820        .25109E-06   -.31841E-01
   9  Prefactor     .46907E-07    11.766        .62513E-06** at limit **
  10  norm          5.4380        1.5361       -.68598E-07    .80242E-04
  11  norm          1.8590        2.4549       -.16064E-06   -.22635E-02
  12  Prefactor     .40079E-07    90.586        .45545E-05** at limit **
  13  Prefactor     16.561        8.9437       -.20681E-06   -.88416E-01
  14  Prefactor     15.652        35.055        .17096E-05    .39295E-02
  15  norm          .37225        3.5973       -.42961E-06    .56763E-03
  16  norm          4.4128        3.6732       -.49538E-07   -.33034E-05
  17  Prefactor     .12196E-05    1022.0       -.25345E-05** at limit **
  18  Prefactor     .86597E-08    9.6984       -.14234E-05** at limit **
  19  Prefactor     4.8545        10.027       -.10618E-06    .27391E-02
  20  norm          .87262E-01    .61168       -.21402E-07** at limit **
  21  Prefactor     4.4311        6.8250        .43781E-06   -.22640E-03
  22  Prefactor     9.2152        10.476        .42434E-06   -.35019E-02
  23  Normalizat    .81320        .25156        .53157E-05    .12976E-04
  24  Prefactor     .98774        .21521       -.67914E-05    .10501E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.5807
  Prefactor  = 2.11681e-06
  norm       = 1.04244
  Prefactor  = 5.99297
  Prefactor  = 0.881863
  Prefactor  = 2.88103e-08
  Prefactor  = 5.82867e-09
  norm       = 29.9083
  Prefactor  = 4.69069e-08
  norm       = 5.43799
  norm       = 1.859
  Prefactor  = 4.00791e-08
  Prefactor  = 16.5605
  Prefactor  = 15.6519
  norm       = 0.372251
  norm       = 4.41278
  Prefactor  = 1.21964e-06
  Prefactor  = 8.65974e-09
  Prefactor  = 4.85453
  norm       = 0.0872624
  Prefactor  = 4.43108
  Prefactor  = 9.21516
  Normalizat = 0.813199
  Prefactor  = 0.987736
 **********
 **   18 **HESSE 
 **********

 FCN=   4979.815     FROM HESSE     STATUS=OK           461 CALLS     2513 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.581        23.600        .21973E-03   -1.5617    
   2  Prefactor     .21168E-05    143.48        .13769E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.0424        .42602        .64611E-03   -1.5688    
   4  Prefactor     5.9930        11.860        .40641E-03   -1.5659    
   5  Prefactor     .88186        32.301        .45157E-03   -1.5689    
   6  Prefactor     .28810E-07    12.934        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .58287E-08    34.321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          29.908        20.756        .18232E-03   -1.5599    
   9  Prefactor     .46907E-07    12.179        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.4380        1.5465        .43045E-03   -1.5661    
  11  norm          1.8590        2.4977        .76480E-03   -1.5681    
  12  Prefactor     .40079E-07    89.155        .15265E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     16.561        16.204        .24913E-03   -1.5627    
  14  Prefactor     15.652        67.704        .26640E-03   -1.5629    
  15  norm          .37225        12.070        .89240E-03   -1.5696    
  16  norm          4.4128        3.6875        .47877E-03   -1.5666    
  17  Prefactor     .12196E-05    90.094        .95101E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .86597E-08    9.8315        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.8545        10.988        .45876E-03   -1.5664    
  20  norm          .87262E-01    .64501        .14316E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     4.4311        6.8595        .48051E-03   -1.5666    
  22  Prefactor     9.2152        10.611        .32519E-03   -1.5647    
  23  Normalizat    .81320        .21413        .64258E-01   -.99581    
  24  Prefactor     .98774        .17911        .46103E-01   -.93139    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.6749e-07
Minuit parameter uncertainties:
  1  23.6
  2  0.034856
  3  0.42602
  4  11.8604
  5  10.6743
  6  0.00122065
  7  0.000893048
  8  20.7561
  9  0.00151153
  10  1.54652
  11  2.49774
  12  0.00378084
  13  16.2039
  14  65.107
  15  4.23938
  16  3.68745
  17  0.0209653
  18  0.000582741
  19  10.9881
  20  0.474491
  21  6.85953
  22  10.6111
  23  0.214357
  24  0.179219
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  4.691e-08  1.512e-03  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:  9.877e-01  1.792e-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:  8.132e-01  2.144e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 339.125 -23.155
Photon Flux Upper Limit: 9.45e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.46e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/647654/likelihoodResults_688262401_688521601_4FGL_J2236.4-2309_daily_bin1732.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): 102
logL (Free Index) = 4979.81476891
delta logL = -4.74536154798e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4979.81472171
delta logL = -2.52511199506e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .83822E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.3927       1.0000          .0000       10.000    
     3 'Normalizat'    .81335       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98765       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=   4979.815     FROM MIGRAD    STATUS=CONVERGED     74 CALLS      278 TOTAL
                     EDM=   .59E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    .77692E-01    .42118E-03** at limit **
   2  Index         3.2848        8.2419        .50000        .90949E-10
   3  Normalizat    .81320        .49092E-03    .64258E-01   -.14798E-03
   4  Prefactor     .98773        .42828E-03    .46112E-01   -.24034E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Index      = 3.28479
  Normalizat = 0.813199
  Prefactor  = 0.987735
 **********
 **   18 **HESSE 
 **********

 FCN=   4979.815     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      309 TOTAL
                     EDM=   .30E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    .39560        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.2848        8.2171        .50000       -.35015    
   3  Normalizat    .81320        .11034E-02    .28426E-03   -.99581    
   4  Prefactor     .98773        .96368E-03    .22578E-03   -.93139    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.99688e-12
Minuit parameter uncertainties:
  1  2.18229e-05
  2  19849.4
  3  0.00110341
  4  0.000963685
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/647654': 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): 102
logL (Free Index) = 4979.81472145
delta logL = 1.87083060155e-09

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  2.776e-10  2.182e-05  0.000e+00  1.000e+06 ( 1.000e-12)
248        Index:  3.285e+00  1.985e+04  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:  9.877e-01  9.637e-04  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:  8.132e-01  1.103e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 339.125 -23.155

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/647654/cmap_HighResolution_688262401_688521601_4FGL_J2236.4-2309_daily_bin1732.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.46e-03', job_status='DONE', photon_flux_upper_limit='9.45e-08', time_completed='2022-10-27 00:48:20.818881', job_id='647654', GAL2='0.99', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1666856900.82', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='1.87e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='1732' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Oct 27 00:48:20 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0163>
Subject: Job 647654: <4FGL_J2236.4-2309_daily_bin1732> in cluster <slac> Done

Job <4FGL_J2236.4-2309_daily_bin1732> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Oct 27 00:35:44 2022
Job was executed on host(s) <bullet0163>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Oct 27 00:35:45 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Oct 27 00:35:45 2022
Terminated at Thu Oct 27 00:48:21 2022
Results reported at Thu Oct 27 00:48:21 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin1732 339.125 -23.1552 688262401 688521601 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 :                                   535.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             261.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   756 sec.
    Turnaround time :                            757 sec.

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

