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


Performing analysis on: 4FGL_J2236.4-2309_daily_bin1687
RA = 339.125, Dec = -23.1552
tmin = 676598401, tmax = 676857601
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='700303', job_status='RUN', time_executed='2022-06-14 01:37:40.835068', time_epoch_executed='1655195860.84' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='1687'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/700303

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/700303/ft1_4FGL_J2236.4-2309_daily_bin1687.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/700303/ft2_4FGL_J2236.4-2309_daily_bin1687.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/700303/ft1_4FGL_J2236.4-2309_daily_bin1687.fits outfile=/scratch/kocevski/700303/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1687.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=676598401.0 tmax=676857601.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.91
user 2.70
sys 0.19

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

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

Number of photons that the gtmktime cut: 760

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/700303/ft1_filtered_4FGL_J2236.4-2309_daily_bin1687.fits" evtable="EVENTS" scfile=/scratch/kocevski/700303/ft2_4FGL_J2236.4-2309_daily_bin1687.fits sctable="SC_DATA" outfile=/scratch/kocevski/700303/ltcube_676598401_676857601_4FGL_J2236.4-2309_daily_bin1687.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/700303/ft2_4FGL_J2236.4-2309_daily_bin1687.fits
.....................!
real 14.69
user 14.27
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/700303/ft1_filtered_4FGL_J2236.4-2309_daily_bin1687.fits evtable="EVENTS" scfile=/scratch/kocevski/700303/ft2_4FGL_J2236.4-2309_daily_bin1687.fits sctable="SC_DATA" expcube=/scratch/kocevski/700303/ltcube_676598401_676857601_4FGL_J2236.4-2309_daily_bin1687.fits outfile=/scratch/kocevski/700303/expmap_676598401_676857601_4FGL_J2236.4-2309_daily_bin1687.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/700303/ltcube_676598401_676857601_4FGL_J2236.4-2309_daily_bin1687.fits
.....................!
real 191.25
user 185.93
sys 4.82

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/700303/ft1_filtered_4FGL_J2236.4-2309_daily_bin1687.fits scfile=/scratch/kocevski/700303/ft2_4FGL_J2236.4-2309_daily_bin1687.fits outfile=/scratch/kocevski/700303/cmap_676598401_676857601_4FGL_J2236.4-2309_daily_bin1687.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.51
user 0.36
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/700303/ft1_filtered_4FGL_J2236.4-2309_daily_bin1687.fits scfile=/scratch/kocevski/700303/ft2_4FGL_J2236.4-2309_daily_bin1687.fits outfile=/scratch/kocevski/700303/cmap_HighResolution_676598401_676857601_4FGL_J2236.4-2309_daily_bin1687.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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/700303/ft1_filtered_4FGL_J2236.4-2309_daily_bin1687.fits evtable="EVENTS" scfile=/scratch/kocevski/700303/ft2_4FGL_J2236.4-2309_daily_bin1687.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/700303/Model_4FGL_J2236.4-2309_daily_bin1687.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/700303/ft1_filtered_4FGL_J2236.4-2309_daily_bin1687.fits....................!
real 62.85
user 61.43
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .86663       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.7783       1.0000         .10000E-03   10000.    
     5 'Prefactor '    25.612       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    4.6596       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.2727       1.0000         .10000E-03   10000.    
    11 'norm      '    1.3121       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.0084       1.0000         .10000E-03   10000.    
    15 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.4423       1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.7408       1.0000         .10000E-03   10000.    
    18 'Prefactor '    44.079       1.0000         .10000E-03   10000.    
    19 'Prefactor '    28.755       1.0000         .10000E-03   10000.    
    20 'norm      '    .38751E-01   1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.2470       1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.0250       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0257       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0161       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=   8166.230     FROM MIGRAD    STATUS=CONVERGED    554 CALLS     2394 TOTAL
                     EDM=   .56E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.6768        .45751E-08** at limit **
   2  Prefactor     .10000E-03    40.738        .43739E-05** at limit **
   3  norm          .86664        .33442       -.25213E-08   -.95335E-04
   4  Prefactor     9.7790        9.0322        .36661E-07    .62988E-07
   5  Prefactor     25.612        14.546       -.35121E-07    .27516E-05
   6  Prefactor     .10000E-03    4.1678        .97966E-08** at limit **
   7  Prefactor     .10000E-03    20.385        .98920E-06** at limit **
   8  norm          4.6561        14.267        .19767E-05    .13249E-04
   9  Prefactor     .10000E-03    4.7347        .17981E-07** at limit **
  10  norm          3.2725        1.0095        .63519E-07    .96001E-04
  11  norm          1.3121        1.2996       -.58892E-07   -.65654E-05
  12  Prefactor     .10000E-03    27.710       -.36179E-05** at limit **
  13  Prefactor     .10000E-03    3.5536        .17161E-07** at limit **
  14  Prefactor     3.0510        27.503        .33809E-07   -.38136E-05
  15  norm          .10000E-03    .53190       -.17572E-06** at limit **
  16  norm          3.4426        3.5589        .18719E-07   -.72182E-04
  17  Prefactor     8.6536        47.554        .11613E-05   -.17978E-04
  18  Prefactor     44.080        23.306        .10081E-06   -.92339E-04
  19  Prefactor     28.754        14.334       -.30528E-06   -.17812E-03
  20  norm          .40320E-01    .43316        .83187E-07   -.49782E-03
  21  Prefactor     9.2474        7.0880        .60086E-07    .86046E-05
  22  Prefactor     3.0260        7.4025        .35041E-07   -.36617E-04
  23  Normalizat    1.0256        .18244        .15636E-05   -.67719E-04
  24  Prefactor     1.0162        .15877       -.92959E-06    .88505E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.866641
  Prefactor  = 9.77905
  Prefactor  = 25.6121
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.65612
  Prefactor  = 0.0001
  norm       = 3.27245
  norm       = 1.31213
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.05102
  norm       = 0.0001
  norm       = 3.44262
  Prefactor  = 8.65358
  Prefactor  = 44.0797
  Prefactor  = 28.7535
  norm       = 0.0403205
  Prefactor  = 9.24739
  Prefactor  = 3.02595
  Normalizat = 1.02563
  Prefactor  = 1.01615
 **********
 **   18 **HESSE 
 **********

 FCN=   8166.230     FROM HESSE     STATUS=OK           409 CALLS     2803 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.6975        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    41.085        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .86664        .33547        .31555E-04   -1.5522    
   4  Prefactor     9.7790        9.0347        .12815E-03   -1.5082    
   5  Prefactor     25.612        14.550        .79155E-04   -1.4695    
   6  Prefactor     .10000E-03    4.1714        .18017E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    20.400        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.6561        14.296        .93220E-03   -1.5276    
   9  Prefactor     .10000E-03    4.7577        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.2725        1.0082        .48003E-04   -1.5346    
  11  norm          1.3121        1.3132        .99341E-04   -1.5479    
  12  Prefactor     .10000E-03    28.153        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.5659        .16634E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.0510        28.380        .23401E-03   -1.5359    
  15  norm          .10000E-03    1.0498        .12122E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.4426        3.5330        .15851E-03   -1.5337    
  17  Prefactor     8.6536        47.434        .13558E-03   -1.5120    
  18  Prefactor     44.080        23.358        .60385E-04   -1.4379    
  19  Prefactor     28.754        16.093        .74713E-04   -1.4635    
  20  norm          .40320E-01    5.1851        .85540E-03   -1.5668    
  21  Prefactor     9.2474        7.0878        .13180E-03   -1.5100    
  22  Prefactor     3.0260        7.3200        .23333E-03   -1.5360    
  23  Normalizat    1.0256        .21486        .27326E-03   -.92177    
  24  Prefactor     1.0162        .18870        .24482E-03   -.92193    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.9003e-10
Minuit parameter uncertainties:
  1  4.53644e-06
  2  0.000134781
  3  0.33547
  4  9.03599
  5  14.5517
  6  2.19213e-06
  7  1.77348e-05
  8  14.3068
  9  5.6933e-06
  10  1.00826
  11  1.31326
  12  0.000124546
  13  2.83641e-06
  14  18.6218
  15  3.87468e-06
  16  3.53319
  17  40.5698
  18  23.363
  19  16.0952
  20  0.913422
  21  7.08847
  22  7.32219
  23  0.215043
  24  0.188828
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  1.000e-04  5.693e-06  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.016e+00  1.888e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.026e+00  2.150e-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.26e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.94e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/700303/likelihoodResults_676598401_676857601_4FGL_J2236.4-2309_daily_bin1687.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) = 8166.23112049
delta logL = -0.00100167937126

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8166.23011885
delta logL = -4.07690095017e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7464       1.0000          .0000       10.000    
     3 'Normalizat'    1.0256       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0162       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=   8166.093     FROM MIGRAD    STATUS=CONVERGED    142 CALLS      295 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .53342E-02    .81967        .26658E-02    .17935E-01
   2  Index         8.4816        9.1974        .50000       -.91420E-04
   3  Normalizat    .99000        .30821        .27326E-03    .20415E-03
   4  Prefactor     1.0377        .11753        .24482E-03    .28950E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0053342
  Index      = 8.48159
  Normalizat = 0.989999
  Prefactor  = 1.0377
 **********
 **   18 **HESSE 
 **********

 FCN=   8166.093     FROM HESSE     STATUS=OK            31 CALLS      326 TOTAL
                     EDM=   .32E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .53342E-02    .16446        .11146E-03   -1.5693    
   2  Index         8.4816        6.1461        .26192E-01    2.3713    
   3  Normalizat    .99000        .21520        .10930E-04   -.93366    
   4  Prefactor     1.0377        .18635        .48964E-04   -.91483    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.18977e-07
Minuit parameter uncertainties:
  1  0.0586801
  2  7.64797
  3  0.215387
  4  0.186464
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/700303': 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) = 8166.09343038
delta logL = 0.136688427988

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  5.334e-03  5.868e-02  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  8.482e+00  7.648e+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.038e+00  1.865e-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:  9.900e-01  2.154e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/700303/cmap_HighResolution_676598401_676857601_4FGL_J2236.4-2309_daily_bin1687.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.94e-03', job_status='DONE', photon_flux_upper_limit='6.26e-08', time_completed='2022-06-14 01:49:48.373766', job_id='700303', GAL2='1.04', fit_tolerance='1e-08', EG2='0.99', EG='1.03', time_epoch_completed='1655196588.37', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='1.37e-01', ts2='0.30', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='1687' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jun 14 01:49:48 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 700303: <4FGL_J2236.4-2309_daily_bin1687> in cluster <slac> Done

Job <4FGL_J2236.4-2309_daily_bin1687> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Jun 14 01:35:24 2022
Job was executed on host(s) <bullet0227>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jun 14 01:36:14 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jun 14 01:36:14 2022
Terminated at Tue Jun 14 01:49:49 2022
Results reported at Tue Jun 14 01:49:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin1687 339.125 -23.1552 676598401 676857601 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 :                                   725.06 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             304.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   815 sec.
    Turnaround time :                            865 sec.

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

