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


Performing analysis on: 4FGL_J2236.5-1433_daily_bin1684
RA = 339.144, Dec = -14.5557
tmin = 675820801, tmax = 676080001
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='192929', job_status='RUN', time_executed='2022-06-05 00:47:01.111189', time_epoch_executed='1654415221.11' WHERE source_name='4FGL J2236.5-1433' and cadence='daily' and bin_id='1684'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/192929

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/192929/ft1_4FGL_J2236.5-1433_daily_bin1684.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/192929/ft2_4FGL_J2236.5-1433_daily_bin1684.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/192929/ft1_4FGL_J2236.5-1433_daily_bin1684.fits outfile=/scratch/kocevski/192929/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1684.fits ra=339.144 dec=-14.5557 rad=12.0 tmin=675820801.0 tmax=676080001.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.45
user 4.18
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/192929/ft2_4FGL_J2236.5-1433_daily_bin1684.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/192929/ft2_4FGL_J2236.5-1433_daily_bin1684.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/192929/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1684.fits evtable="EVENTS" outfile="/scratch/kocevski/192929/ft1_filtered_4FGL_J2236.5-1433_daily_bin1684.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.17

Number of photons that the gtmktime cut: 820

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/192929/ft1_filtered_4FGL_J2236.5-1433_daily_bin1684.fits" evtable="EVENTS" scfile=/scratch/kocevski/192929/ft2_4FGL_J2236.5-1433_daily_bin1684.fits sctable="SC_DATA" outfile=/scratch/kocevski/192929/ltcube_675820801_676080001_4FGL_J2236.5-1433_daily_bin1684.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/192929/ft2_4FGL_J2236.5-1433_daily_bin1684.fits
.....................!
real 13.57
user 13.18
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/192929/ft1_filtered_4FGL_J2236.5-1433_daily_bin1684.fits evtable="EVENTS" scfile=/scratch/kocevski/192929/ft2_4FGL_J2236.5-1433_daily_bin1684.fits sctable="SC_DATA" expcube=/scratch/kocevski/192929/ltcube_675820801_676080001_4FGL_J2236.5-1433_daily_bin1684.fits outfile=/scratch/kocevski/192929/expmap_675820801_676080001_4FGL_J2236.5-1433_daily_bin1684.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/192929/ltcube_675820801_676080001_4FGL_J2236.5-1433_daily_bin1684.fits
.....................!
real 192.17
user 186.20
sys 5.49

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 154 point sources and 0 extended sources

Setting source of interest to:
4FGL J2236.5-1433 @ 339.144 -14.5557

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/192929/ft1_filtered_4FGL_J2236.5-1433_daily_bin1684.fits scfile=/scratch/kocevski/192929/ft2_4FGL_J2236.5-1433_daily_bin1684.fits outfile=/scratch/kocevski/192929/cmap_675820801_676080001_4FGL_J2236.5-1433_daily_bin1684.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.144 yref=-14.5557 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/192929/ft1_filtered_4FGL_J2236.5-1433_daily_bin1684.fits scfile=/scratch/kocevski/192929/ft2_4FGL_J2236.5-1433_daily_bin1684.fits outfile=/scratch/kocevski/192929/cmap_HighResolution_675820801_676080001_4FGL_J2236.5-1433_daily_bin1684.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.144 yref=-14.5557 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/192929/ft1_filtered_4FGL_J2236.5-1433_daily_bin1684.fits evtable="EVENTS" scfile=/scratch/kocevski/192929/ft2_4FGL_J2236.5-1433_daily_bin1684.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/192929/Model_4FGL_J2236.5-1433_daily_bin1684.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/192929/ft1_filtered_4FGL_J2236.5-1433_daily_bin1684.fits....................!
real 72.33
user 70.92
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/192929/ft1_filtered_4FGL_J2236.5-1433_daily_bin1684.fits', '/scratch/kocevski/192929/ft2_4FGL_J2236.5-1433_daily_bin1684.fits', expMap='/scratch/kocevski/192929/expmap_675820801_676080001_4FGL_J2236.5-1433_daily_bin1684.fits', expCube='/scratch/kocevski/192929/ltcube_675820801_676080001_4FGL_J2236.5-1433_daily_bin1684.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/192929/Model_4FGL_J2236.5-1433_daily_bin1684.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2236.5-1433'

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  1.854e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  2.065e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
259         beta:  7.101e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
260           Eb:  6.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/192929/ft1_filtered_4FGL_J2236.5-1433_daily_bin1684.fits
Spacecraft file(s): /scratch/kocevski/192929/ft2_4FGL_J2236.5-1433_daily_bin1684.fits
Exposure map: /scratch/kocevski/192929/expmap_675820801_676080001_4FGL_J2236.5-1433_daily_bin1684.fits
Exposure cube: /scratch/kocevski/192929/ltcube_675820801_676080001_4FGL_J2236.5-1433_daily_bin1684.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/192929/Model_4FGL_J2236.5-1433_daily_bin1684.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) = 8796.11267226

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .77320       1.0000         .10000E-03   10000.    
     3 'Prefactor '    38.374       1.0000         .10000E-03   10000.    
     4 'Prefactor '    50.511       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.1874       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .12920E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    6.3660       1.0000         .10000E-03   10000.    
    12 'norm      '    1.2130       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.0726       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.8994       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.3120       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.6845       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .65822       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1289       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8796.007     FROM MIGRAD    STATUS=CONVERGED    474 CALLS     1964 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.1819       -.19099E-07** at limit **
   2  Prefactor     .78095        7.1997       -.54857E-06   -.23145E-03
   3  Prefactor     38.371        11.207        .63459E-07   -.72488E-06
   4  Prefactor     50.512        15.516       -.17678E-07    .55136E-03
   5  Prefactor     .10000E-03    30.349        .40264E-06** at limit **
   6  Prefactor     1.1875        3.6260       -.11433E-05   -.98306E-03
   7  Prefactor     .10000E-03    25.198       -.74334E-06** at limit **
   8  norm          .10000E-03    .87800        .23115E-07** at limit **
   9  Prefactor     .10000E-03    18.928        .28830E-06** at limit **
  10  Prefactor     .10000E-03    3.7190       -.37202E-07** at limit **
  11  norm          6.3659        1.1737       -.48204E-07    .12719E-02
  12  norm          1.2166        1.7995        .15141E-06   -.37448E-03
  13  Prefactor     1.9741        183.44       -.58333E-05    .31066E-04
  14  Prefactor     5.8898        10.134        .17929E-05   -.37832E-03
  15  norm          .10000E-03    .50429       -.74549E-06** at limit **
  16  Prefactor     6.3018        21.854        .55221E-05   -.41803E-03
  17  Prefactor     .10000E-03    2.0249       -.13382E-06** at limit **
  18  Prefactor     1.6865        7.2576       -.33919E-05    .40435E-04
  19  Prefactor     .10000E-03    5.3888       -.83559E-07** at limit **
  20  Normalizat    .65832        .16207       -.80960E-07    .31036E-03
  21  Prefactor     1.1288        .12487        .14418E-06    .52104E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.780951
  Prefactor  = 38.3711
  Prefactor  = 50.5119
  Prefactor  = 0.0001
  Prefactor  = 1.1875
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.3659
  norm       = 1.21662
  Prefactor  = 1.9741
  Prefactor  = 5.88984
  norm       = 0.000100001
  Prefactor  = 6.30178
  Prefactor  = 0.0001
  Prefactor  = 1.68655
  Prefactor  = 0.0001
  Normalizat = 0.658324
  Prefactor  = 1.1288
 **********
 **   18 **HESSE 
 **********

 FCN=   8796.007     FROM HESSE     STATUS=OK           319 CALLS     2283 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.1869        .99559E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .78095        33.126        .48243E-02   -1.5531    
   3  Prefactor     38.371        11.165        .64701E-04   -1.4468    
   4  Prefactor     50.512        15.278        .56427E-04   -1.4285    
   5  Prefactor     .10000E-03    30.371        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.1875        3.9198        .30059E-03   -1.5490    
   7  Prefactor     .10000E-03    25.194        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    5.6427        .16930E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    18.929        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.7403        .17652E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.3659        1.1731        .41209E-04   -1.5203    
  12  norm          1.2166        1.6929        .12527E-03   -1.5487    
  13  Prefactor     1.9741        171.81        .28692E-03   -1.5427    
  14  Prefactor     5.8898        9.3774        .16534E-03   -1.5223    
  15  norm          .10000E-03    1.0004        .11456E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.3018        20.862        .15977E-03   -1.5206    
  17  Prefactor     .10000E-03    2.0270        .13032E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.6865        7.8422        .32447E-03   -1.5448    
  19  Prefactor     .10000E-03    5.3935        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .65832        .18505        .31270E-03   -1.0556    
  21  Prefactor     1.1288        .14483        .19697E-03   -.88551    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.02534e-09
Minuit parameter uncertainties:
  1  1.65123e-06
  2  10.1779
  3  11.1657
  4  15.2794
  5  0.000153177
  6  3.92068
  7  0.000246901
  8  1.99118e-05
  9  7.14876e-05
  10  1.33295e-05
  11  1.17309
  12  1.69301
  13  36.9418
  14  9.37974
  15  7.69377e-05
  16  20.8861
  17  6.00436e-06
  18  7.27494
  19  1.27965e-05
  20  0.18522
  21  0.144876
Done.

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

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  6.366e+00  1.173e+00  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  2.065e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
259         beta:  7.101e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
260           Eb:  6.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  1.129e+00  1.449e-01  0.000e+00  1.000e+01 ( 1.000e+00)
493        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
494        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
491   Normalization:  6.583e-01  1.852e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 104.91
Ra Dec: 339.144 -14.556
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 2.47e-07 +/- 4.55e-08
Energy Flux (Fixed Index): 1.21e-04 +/- 2.22e-05

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) = 8795.35477746
delta logL = 0.652681019279

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8795.31529962
delta logL = 0.692158854928

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.0314       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2831       1.0000          .0000       5.0000    
     3 'Normalizat'    .60978       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1506       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8795.315     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      203 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.0313        1.8249        .40873E-03    .89230E-03
   2  alpha         2.2832        .29140        .13472        .59616E-04
   3  Normalizat    .60975        .16107        .73011E-01    .44269E-04
   4  Prefactor     1.1506        .12677        .35918E-01   -.10445E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 6.03134
  alpha      = 2.28316
  Normalizat = 0.609746
  Prefactor  = 1.15064
 **********
 **   18 **HESSE 
 **********

 FCN=   8795.315     FROM HESSE     STATUS=OK            31 CALLS      234 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.0313        1.1558        .16349E-04   -1.5217    
   2  alpha         2.2832        .18881        .58140E-02   -.86845E-01
   3  Normalizat    .60975        .18139        .32321E-03   -1.0757    
   4  Prefactor     1.1506        .14393        .19505E-03   -.87864    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.88681e-10
Minuit parameter uncertainties:
  1  1.15578
  2  0.188993
  3  0.181568
  4  0.143976
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/192929': 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) = 8795.3152996
delta logL = 0.692158883707

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  6.031e+00  1.156e+00  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  2.283e+00  1.890e-01  0.000e+00  5.000e+00 ( 1.000e+00)
259         beta:  7.101e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
260           Eb:  6.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  1.151e+00  1.440e-01  0.000e+00  1.000e+01 ( 1.000e+00)
493        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
494        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
491   Normalization:  6.097e-01  1.816e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 105.96
Ra Dec: 339.144 -14.556
Photon Index (Free Index): 2.28 +/- 0.19
Photon Flux (Free Index): 2.90e-07 +/- 6.08e-08
Energy Flux (Free Index): 1.04e-04 +/- 2.15e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/192929/cmap_HighResolution_675820801_676080001_4FGL_J2236.5-1433_daily_bin1684.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.47e-07', energy_flux2='1.04e-04', photon_flux_error='4.55e-08', dlogl='6.92e-01', energy_flux='1.21e-04', photon_flux2='2.90e-07', job_status='DONE', time_completed='2022-06-05 00:57:12.966124', photon_index_error2='0.19', photon_index2='2.28', ts='104.91', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', energy_flux_error2='2.15e-05', EG='0.66', time_epoch_completed='1654415832.97', return_code='0', job_id='192929', GAL2='1.15', EG2='0.61', return_code2='0', energy_flux_error='2.22e-05', photon_flux_error2='6.08e-08', ts2='105.96', photon_index='2.06' WHERE bin_id='1684' AND source_name='4FGL J2236.5-1433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jun  5 00:57:12 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0010>
Subject: Job 192929: <4FGL_J2236.5-1433_daily_bin1684> in cluster <slac> Done

Job <4FGL_J2236.5-1433_daily_bin1684> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Jun  5 00:40:41 2022
Job was executed on host(s) <bullet0010>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jun  5 00:43:54 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jun  5 00:43:54 2022
Terminated at Sun Jun  5 00:57:13 2022
Results reported at Sun Jun  5 00:57:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.5-1433_daily_bin1684 339.144 -14.5557 675820801 676080001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2236.5-1433 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   613.15 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             314.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   799 sec.
    Turnaround time :                            992 sec.

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

