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


Performing analysis on: 4FGL_J2236.4-2309_daily_bin1677
RA = 339.125, Dec = -23.1552
tmin = 674006401, tmax = 674265601
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='170631', job_status='RUN', time_executed='2022-05-15 01:11:22.469012', time_epoch_executed='1652602282.47' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='1677'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/170631

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/170631/ft1_4FGL_J2236.4-2309_daily_bin1677.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/170631/ft2_4FGL_J2236.4-2309_daily_bin1677.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/170631/ft1_4FGL_J2236.4-2309_daily_bin1677.fits outfile=/scratch/kocevski/170631/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1677.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=674006401.0 tmax=674265601.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.68
user 4.31
sys 0.25

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

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

Number of photons that the gtmktime cut: 450

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/170631/ft1_filtered_4FGL_J2236.4-2309_daily_bin1677.fits" evtable="EVENTS" scfile=/scratch/kocevski/170631/ft2_4FGL_J2236.4-2309_daily_bin1677.fits sctable="SC_DATA" outfile=/scratch/kocevski/170631/ltcube_674006401_674265601_4FGL_J2236.4-2309_daily_bin1677.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/170631/ft2_4FGL_J2236.4-2309_daily_bin1677.fits
.....................!
real 13.05
user 12.51
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/170631/ft1_filtered_4FGL_J2236.4-2309_daily_bin1677.fits evtable="EVENTS" scfile=/scratch/kocevski/170631/ft2_4FGL_J2236.4-2309_daily_bin1677.fits sctable="SC_DATA" expcube=/scratch/kocevski/170631/ltcube_674006401_674265601_4FGL_J2236.4-2309_daily_bin1677.fits outfile=/scratch/kocevski/170631/expmap_674006401_674265601_4FGL_J2236.4-2309_daily_bin1677.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/170631/ltcube_674006401_674265601_4FGL_J2236.4-2309_daily_bin1677.fits
.....................!
real 193.13
user 185.49
sys 5.14

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/170631/ft1_filtered_4FGL_J2236.4-2309_daily_bin1677.fits scfile=/scratch/kocevski/170631/ft2_4FGL_J2236.4-2309_daily_bin1677.fits outfile=/scratch/kocevski/170631/cmap_674006401_674265601_4FGL_J2236.4-2309_daily_bin1677.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/170631/ft1_filtered_4FGL_J2236.4-2309_daily_bin1677.fits scfile=/scratch/kocevski/170631/ft2_4FGL_J2236.4-2309_daily_bin1677.fits outfile=/scratch/kocevski/170631/cmap_HighResolution_674006401_674265601_4FGL_J2236.4-2309_daily_bin1677.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/170631/ft1_filtered_4FGL_J2236.4-2309_daily_bin1677.fits evtable="EVENTS" scfile=/scratch/kocevski/170631/ft2_4FGL_J2236.4-2309_daily_bin1677.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/170631/Model_4FGL_J2236.4-2309_daily_bin1677.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/170631/ft1_filtered_4FGL_J2236.4-2309_daily_bin1677.fits.....................!
real 45.62
user 43.82
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10869E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    37.257       1.0000         .10000E-03   10000.    
     3 'norm      '    .93145       1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.915       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    48.205       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.8593       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.5511       1.0000         .10000E-03   10000.    
    10 'norm      '    5.7250       1.0000         .10000E-03   10000.    
    11 'norm      '    .11414E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    64.374       1.0000         .10000E-03   10000.    
    13 'Prefactor '    46.788       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    85.789       1.0000         .10000E-03   10000.    
    18 'Prefactor '    29.454       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10338E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.4220       1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.093       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10333E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .75964       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0752       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=   4993.405     FROM MIGRAD    STATUS=CONVERGED    564 CALLS     2820 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    17.305       -.71240E-06** at limit **
   2  Prefactor     37.251        61.638       -.39576E-06    .14921E-04
   3  norm          .93149        .40770       -.15004E-07    .33729E-03
   4  Prefactor     13.921        13.847       -.33531E-05    .23101E-03
   5  Prefactor     .10000E-03    50.878       -.85355E-06** at limit **
   6  Prefactor     48.211        29.979       -.23030E-05    .27889E-03
   7  Prefactor     .10001E-03    597.27       -.33001E-04** at limit **
   8  norm          1.8808        84.567       -.40410E-04    .82842E-04
   9  Prefactor     1.5518        33.921       -.22455E-04    .27837E-04
  10  norm          5.7249        1.6680       -.13980E-06    .51753E-03
  11  norm          .10000E-03    1.6013        .84942E-06** at limit **
  12  Prefactor     64.455        58.584       -.12694E-05    .14771E-03
  13  Prefactor     46.790        18.026        .48842E-06   -.35987E-04
  14  Prefactor     .10000E-03    11.261       -.10964E-06** at limit **
  15  norm          .10000E-03    .62923       -.65065E-07** at limit **
  16  norm          .10000E-03    1.4542       -.58436E-07** at limit **
  17  Prefactor     85.789        41.160        .22137E-06   -.49100E-05
  18  Prefactor     29.466        17.958        .53227E-05   -.34882E-03
  19  Prefactor     .10000E-03    17.133       -.30501E-06** at limit **
  20  norm          1.4221        .74266       -.30082E-06    .90020E-03
  21  Prefactor     10.095        16.533        .39680E-06   -.66371E-04
  22  Prefactor     .10000E-03    26.754       -.15679E-05** at limit **
  23  Normalizat    .75952        .23807        .46020E-05    .26949E-03
  24  Prefactor     1.0752        .19691        .10565E-05    .39791E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 37.251
  norm       = 0.931488
  Prefactor  = 13.9208
  Prefactor  = 0.000100001
  Prefactor  = 48.2106
  Prefactor  = 0.000100011
  norm       = 1.88085
  Prefactor  = 1.55176
  norm       = 5.72489
  norm       = 0.000100002
  Prefactor  = 64.4548
  Prefactor  = 46.7904
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 85.7891
  Prefactor  = 29.4661
  Prefactor  = 0.000100003
  norm       = 1.42211
  Prefactor  = 10.0954
  Prefactor  = 0.000100002
  Normalizat = 0.759517
  Prefactor  = 1.0752
 **********
 **   18 **HESSE 
 **********

 FCN=   4993.405     FROM HESSE     STATUS=OK           395 CALLS     3215 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    17.316        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     37.251        61.560        .65661E-04   -1.4487    
   3  norm          .93149        .40862        .28924E-04   -1.5515    
   4  Prefactor     13.921        13.856        .10737E-03   -1.4962    
   5  Prefactor     .10000E-03    52.720        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     48.211        29.970        .57754E-04   -1.4318    
   7  Prefactor     .10001E-03    605.62        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.8808        85.340        .30563E-03   -1.5434    
   9  Prefactor     1.5518        34.074        .34198E-03   -1.5459    
  10  norm          5.7249        1.6678        .46443E-04   -1.5229    
  11  norm          .10000E-03    2.2195        .16100E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     64.455        53.458        .50017E-04   -1.4101    
  13  Prefactor     46.790        18.080        .58619E-04   -1.4339    
  14  Prefactor     .10000E-03    11.285        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    .63796        .10879E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.4563        .83192E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     85.789        40.908        .43373E-04   -1.3853    
  18  Prefactor     29.466        17.909        .73823E-04   -1.4622    
  19  Prefactor     .10000E-03    17.486        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.4221        .73918        .40651E-04   -1.5469    
  21  Prefactor     10.095        16.517        .12612E-03   -1.5072    
  22  Prefactor     .10000E-03    27.682        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .75952        .27603        .31882E-03   -1.0159    
  24  Prefactor     1.0752        .22960        .23552E-03   -.90263    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76136e-09
Minuit parameter uncertainties:
  1  2.56201e-05
  2  61.6653
  3  0.408624
  4  13.8596
  5  0.000423442
  6  29.9793
  7  0.00521087
  8  25.3766
  9  14.5519
  10  1.66783
  11  0.000122972
  12  53.4974
  13  18.0817
  14  3.50564e-05
  15  4.69841e-06
  16  6.22689e-06
  17  40.9216
  18  17.912
  19  0.000437733
  20  0.739182
  21  16.5247
  22  0.000436655
  23  0.27654
  24  0.229809
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  1.552e+00  1.455e+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:  1.075e+00  2.298e-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.595e-01  2.765e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/170631/likelihoodResults_674006401_674265601_4FGL_J2236.4-2309_daily_bin1677.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) = 4993.37990352
delta logL = 0.0249330044226

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4993.37780881
delta logL = 0.0270277216778

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1311       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4375       1.0000          .0000       10.000    
     3 'Normalizat'    .74848       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0804       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4993.378     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      280 TOTAL
                     EDM=   .71E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1264        20.533        .14121E-02   -.94194E-04
   2  Index         3.4415        3.5548        .13924E-01   -.31982E-05
   3  Normalizat    .74825        .26570        .32101E-03   -.52910E-04
   4  Prefactor     1.0806        .22657        .23499E-03    .15868E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.12637
  Index      = 3.44152
  Normalizat = 0.748247
  Prefactor  = 1.08062
 **********
 **   18 **HESSE 
 **********

 FCN=   4993.378     FROM HESSE     STATUS=OK            27 CALLS      307 TOTAL
                     EDM=   .67E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1264        13.013        .56485E-04   -1.5416    
   2  Index         3.4415        2.9635        .55696E-03   -.31698    
   3  Normalizat    .74825        .26611        .12840E-04   -1.0202    
   4  Prefactor     1.0806        .22690        .93997E-05   -.90089    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.71565e-11
Minuit parameter uncertainties:
  1  10.5236
  2  3.20009
  3  0.266567
  4  0.227101
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/170631': 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) = 4993.37780757
delta logL = 0.0270289579121

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  2.126e+00  1.052e+01  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  3.442e+00  3.200e+00  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.081e+00  2.271e-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.482e-01  2.666e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/170631/cmap_HighResolution_674006401_674265601_4FGL_J2236.4-2309_daily_bin1677.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.98e-03', job_status='DONE', photon_flux_upper_limit='1.26e-07', time_completed='2022-05-15 01:21:10.928745', job_id='170631', GAL2='1.08', fit_tolerance='1e-08', EG2='0.75', EG='0.76', time_epoch_completed='1652602870.93', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='2.70e-02', ts2='0.07', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='1677' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 15 01:21:10 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0267>
Subject: Job 170631: <4FGL_J2236.4-2309_daily_bin1677> in cluster <slac> Done

Job <4FGL_J2236.4-2309_daily_bin1677> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun May 15 01:05:35 2022
Job was executed on host(s) <bullet0267>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun May 15 01:10:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun May 15 01:10:21 2022
Terminated at Sun May 15 01:21:11 2022
Results reported at Sun May 15 01:21:11 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin1677 339.125 -23.1552 674006401 674265601 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 :                                   585.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             322.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   650 sec.
    Turnaround time :                            936 sec.

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

