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


Performing analysis on: 4FGL_J2236.4-2309_daily_bin1674
RA = 339.125, Dec = -23.1552
tmin = 673228801, tmax = 673488001
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='717903', job_status='RUN', time_executed='2022-05-06 03:14:49.865857', time_epoch_executed='1651832089.87' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='1674'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/717903

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/717903/ft1_4FGL_J2236.4-2309_daily_bin1674.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/717903/ft2_4FGL_J2236.4-2309_daily_bin1674.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/717903/ft1_4FGL_J2236.4-2309_daily_bin1674.fits outfile=/scratch/kocevski/717903/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1674.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=673228801.0 tmax=673488001.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.78
user 2.56
sys 0.20

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

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

Number of photons that the gtmktime cut: 605

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/717903/ft1_filtered_4FGL_J2236.4-2309_daily_bin1674.fits" evtable="EVENTS" scfile=/scratch/kocevski/717903/ft2_4FGL_J2236.4-2309_daily_bin1674.fits sctable="SC_DATA" outfile=/scratch/kocevski/717903/ltcube_673228801_673488001_4FGL_J2236.4-2309_daily_bin1674.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/717903/ft2_4FGL_J2236.4-2309_daily_bin1674.fits
.....................!
real 16.52
user 16.13
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/717903/ft1_filtered_4FGL_J2236.4-2309_daily_bin1674.fits evtable="EVENTS" scfile=/scratch/kocevski/717903/ft2_4FGL_J2236.4-2309_daily_bin1674.fits sctable="SC_DATA" expcube=/scratch/kocevski/717903/ltcube_673228801_673488001_4FGL_J2236.4-2309_daily_bin1674.fits outfile=/scratch/kocevski/717903/expmap_673228801_673488001_4FGL_J2236.4-2309_daily_bin1674.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/717903/ltcube_673228801_673488001_4FGL_J2236.4-2309_daily_bin1674.fits
.....................!
real 192.37
user 186.09
sys 5.68

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/717903/ft1_filtered_4FGL_J2236.4-2309_daily_bin1674.fits scfile=/scratch/kocevski/717903/ft2_4FGL_J2236.4-2309_daily_bin1674.fits outfile=/scratch/kocevski/717903/cmap_673228801_673488001_4FGL_J2236.4-2309_daily_bin1674.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.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/717903/ft1_filtered_4FGL_J2236.4-2309_daily_bin1674.fits scfile=/scratch/kocevski/717903/ft2_4FGL_J2236.4-2309_daily_bin1674.fits outfile=/scratch/kocevski/717903/cmap_HighResolution_673228801_673488001_4FGL_J2236.4-2309_daily_bin1674.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.58
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/717903/ft1_filtered_4FGL_J2236.4-2309_daily_bin1674.fits evtable="EVENTS" scfile=/scratch/kocevski/717903/ft2_4FGL_J2236.4-2309_daily_bin1674.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/717903/Model_4FGL_J2236.4-2309_daily_bin1674.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/717903/ft1_filtered_4FGL_J2236.4-2309_daily_bin1674.fits.....................!
real 53.85
user 52.41
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10104E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .95139       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.7147       1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.389       1.0000         .10000E-03   10000.    
     6 'Prefactor '    36.024       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    9.0042       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.7973       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .13779E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    28.308       1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.103       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.3957       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10343E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    20.820       1.0000         .10000E-03   10000.    
    20 'norm      '    .64099       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .70409       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1797       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=   6611.408     FROM MIGRAD    STATUS=CONVERGED    543 CALLS     2371 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.8074        .14337E-05** at limit **
   2  Prefactor     .10000E-03    39.143        .47212E-06** at limit **
   3  norm          .95138        .33068        .11527E-08   -.28637E-04
   4  Prefactor     6.7148        6.8299        .12859E-05   -.90300E-03
   5  Prefactor     11.389        10.209        .55093E-07   -.24260E-04
   6  Prefactor     36.021        20.112        .30369E-06    .66468E-04
   7  Prefactor     .10000E-03    14.814       -.48940E-06** at limit **
   8  norm          9.0034        12.770       -.21502E-06   -.32770E-04
   9  Prefactor     .10000E-03    4.0514        .74341E-08** at limit **
  10  norm          2.7973        .99295       -.10474E-09    .56012E-04
  11  norm          .10000E-03    .84201        .13110E-08** at limit **
  12  Prefactor     .10000E-03    141.07       -.42874E-06** at limit **
  13  Prefactor     28.308        12.486        .11940E-06    .53914E-04
  14  Prefactor     15.101        11.733        .65438E-06    .33496E-03
  15  norm          .10000E-03    .48833       -.17285E-07** at limit **
  16  norm          1.3949        2.8929       -.14031E-06   -.30969E-03
  17  Prefactor     .10000E-03    12.195       -.21082E-05** at limit **
  18  Prefactor     .10000E-03    13.010        .25116E-05** at limit **
  19  Prefactor     20.826        10.240        .11300E-05    .38599E-03
  20  norm          .64077        .59387       -.17014E-06   -.54675E-03
  21  Prefactor     .10000E-03    7.6422       -.13843E-05** at limit **
  22  Prefactor     .10000E-03    4.5575       -.13332E-08** at limit **
  23  Normalizat    .70401        .19334       -.14822E-05    .50377E-04
  24  Prefactor     1.1797        .16599        .32289E-06   -.12546E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.951377
  Prefactor  = 6.71482
  Prefactor  = 11.3888
  Prefactor  = 36.0212
  Prefactor  = 0.0001
  norm       = 9.00336
  Prefactor  = 0.0001
  norm       = 2.79725
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 28.3082
  Prefactor  = 15.1006
  norm       = 0.0001
  norm       = 1.39489
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 20.8257
  norm       = 0.640766
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.704011
  Prefactor  = 1.17975
 **********
 **   18 **HESSE 
 **********

 FCN=   6611.408     FROM HESSE     STATUS=OK           401 CALLS     2772 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.8766        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    39.258        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .95138        .33152        .26843E-04   -1.5513    
   4  Prefactor     6.7148        9.3647        .77425E-03   -1.5190    
   5  Prefactor     11.389        10.210        .11871E-03   -1.5033    
   6  Prefactor     36.021        20.287        .66771E-04   -1.4507    
   7  Prefactor     .10000E-03    14.824        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          9.0034        12.770        .13357E-03   -1.5108    
   9  Prefactor     .10000E-03    4.0649        .15981E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.7973        .99203        .46227E-04   -1.5373    
  11  norm          .10000E-03    .85261        .72817E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    144.98        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     28.308        12.502        .75299E-04   -1.4643    
  14  Prefactor     15.101        10.695        .10306E-03   -1.4931    
  15  norm          .10000E-03    .72414        .98717E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.3949        2.8640        .18808E-03   -1.5472    
  17  Prefactor     .10000E-03    12.382        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    12.879        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     20.826        10.202        .87780E-04   -1.4795    
  20  norm          .64077        .58706        .50713E-04   -1.5548    
  21  Prefactor     .10000E-03    7.8433        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    4.5711        .16940E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .70401        .22304        .30671E-03   -1.0373    
  24  Prefactor     1.1797        .19378        .21652E-03   -.86957    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6674e-09
Minuit parameter uncertainties:
  1  9.06138e-05
  2  6.93214e-05
  3  0.331516
  4  9.36675
  5  10.2112
  6  20.2904
  7  3.99392e-05
  8  12.7743
  9  5.85363e-07
  10  0.992035
  11  5.74619e-07
  12  0.000358389
  13  12.5027
  14  10.6965
  15  1.90937e-05
  16  2.86427
  17  0.000177212
  18  0.000103278
  19  10.2024
  20  0.587068
  21  7.56147e-05
  22  1.709e-05
  23  0.223326
  24  0.193892
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  1.000e-04  5.854e-07  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:  1.180e+00  1.939e-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:  7.040e-01  2.233e-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: 6.12e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.83e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/717903/likelihoodResults_673228801_673488001_4FGL_J2236.4-2309_daily_bin1674.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) = 6611.40884123
delta logL = -0.00116948537561

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6611.40767175
delta logL = -4.64024196845e-09

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 'Index     '    2.7387       1.0000          .0000       10.000    
     3 'Normalizat'    .70401       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1798       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=   6611.408     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      248 TOTAL
                     EDM=   .73E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.1816        .15992E-02** at limit **
   2  Index         2.4575        5.1185        .50000        .40382E-07
   3  Normalizat    .70401        .21060        .30671E-03    .19945E-03
   4  Prefactor     1.1798        .18927        .21652E-03    .30112E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.45754
  Normalizat = 0.704011
  Prefactor  = 1.17975
 **********
 **   18 **HESSE 
 **********

 FCN=   6611.408     FROM HESSE     STATUS=OK            29 CALLS      277 TOTAL
                     EDM=   .73E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.1746        .31984E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4575        5.0497        .50000       -.53343    
   3  Normalizat    .70401        .21079        .12268E-04   -1.0373    
   4  Prefactor     1.1798        .18944        .43303E-04   -.86957    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.27606e-11
Minuit parameter uncertainties:
  1  1.25932e-05
  2  162.407
  3  0.21103
  4  0.189545
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/717903': 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) = 6611.40767143
delta logL = 3.19251739711e-07

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  1.000e-04  1.259e-05  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  2.458e+00  1.624e+02  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:  1.180e+00  1.895e-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:  7.040e-01  2.110e-01  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 -2.355e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.614e-03 [aplpy.core]
Saving /scratch/kocevski/717903/cmap_HighResolution_673228801_673488001_4FGL_J2236.4-2309_daily_bin1674.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.83e-03', job_status='DONE', photon_flux_upper_limit='6.12e-08', time_completed='2022-05-06 03:25:26.808660', job_id='717903', GAL2='1.18', fit_tolerance='1e-08', EG2='0.70', EG='0.70', time_epoch_completed='1651832726.81', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='3.19e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='1674' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri May  6 03:25:26 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0158>
Subject: Job 717903: <4FGL_J2236.4-2309_daily_bin1674> in cluster <slac> Done

Job <4FGL_J2236.4-2309_daily_bin1674> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri May  6 03:10:36 2022
Job was executed on host(s) <bullet0158>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May  6 03:14:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May  6 03:14:23 2022
Terminated at Fri May  6 03:25:27 2022
Results reported at Fri May  6 03:25:27 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin1674 339.125 -23.1552 673228801 673488001 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 :                                   636.06 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             324.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   664 sec.
    Turnaround time :                            891 sec.

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

