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 105 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7474
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2236.4-2309_daily_bin1744
RA = 339.125, Dec = -23.1552
tmin = 691372801, tmax = 691632001
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='595770', job_status='RUN', time_executed='2022-12-02 01:57:37.818711', time_epoch_executed='1669975057.82' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='1744'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/595770

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/595770/ft1_4FGL_J2236.4-2309_daily_bin1744.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/595770/ft2_4FGL_J2236.4-2309_daily_bin1744.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/595770/ft1_4FGL_J2236.4-2309_daily_bin1744.fits outfile=/scratch/kocevski/595770/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1744.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=691372801.0 tmax=691632001.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.66
user 2.30
sys 0.20

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

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

Number of photons that the gtmktime cut: 678

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/595770/ft1_filtered_4FGL_J2236.4-2309_daily_bin1744.fits" evtable="EVENTS" scfile=/scratch/kocevski/595770/ft2_4FGL_J2236.4-2309_daily_bin1744.fits sctable="SC_DATA" outfile=/scratch/kocevski/595770/ltcube_691372801_691632001_4FGL_J2236.4-2309_daily_bin1744.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/595770/ft2_4FGL_J2236.4-2309_daily_bin1744.fits
.....................!
real 12.53
user 12.14
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/595770/ft1_filtered_4FGL_J2236.4-2309_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/595770/ft2_4FGL_J2236.4-2309_daily_bin1744.fits sctable="SC_DATA" expcube=/scratch/kocevski/595770/ltcube_691372801_691632001_4FGL_J2236.4-2309_daily_bin1744.fits outfile=/scratch/kocevski/595770/expmap_691372801_691632001_4FGL_J2236.4-2309_daily_bin1744.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/595770/ltcube_691372801_691632001_4FGL_J2236.4-2309_daily_bin1744.fits
.....................!
real 190.15
user 185.43
sys 4.34

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/595770/ft1_filtered_4FGL_J2236.4-2309_daily_bin1744.fits scfile=/scratch/kocevski/595770/ft2_4FGL_J2236.4-2309_daily_bin1744.fits outfile=/scratch/kocevski/595770/cmap_691372801_691632001_4FGL_J2236.4-2309_daily_bin1744.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.54
user 0.37
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/595770/ft1_filtered_4FGL_J2236.4-2309_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/595770/ft2_4FGL_J2236.4-2309_daily_bin1744.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/595770/Model_4FGL_J2236.4-2309_daily_bin1744.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/595770/ft1_filtered_4FGL_J2236.4-2309_daily_bin1744.fits.....................!
real 59.31
user 58.02
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/595770/ft1_filtered_4FGL_J2236.4-2309_daily_bin1744.fits', '/scratch/kocevski/595770/ft2_4FGL_J2236.4-2309_daily_bin1744.fits', expMap='/scratch/kocevski/595770/expmap_691372801_691632001_4FGL_J2236.4-2309_daily_bin1744.fits', expCube='/scratch/kocevski/595770/ltcube_691372801_691632001_4FGL_J2236.4-2309_daily_bin1744.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/595770/Model_4FGL_J2236.4-2309_daily_bin1744.xml', optimizer='MINUIT')

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

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  4.382e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
248        Index:  2.743e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
249        Scale:  4.484e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/595770/ft1_filtered_4FGL_J2236.4-2309_daily_bin1744.fits
Spacecraft file(s): /scratch/kocevski/595770/ft2_4FGL_J2236.4-2309_daily_bin1744.fits
Exposure map: /scratch/kocevski/595770/expmap_691372801_691632001_4FGL_J2236.4-2309_daily_bin1744.fits
Exposure cube: /scratch/kocevski/595770/ltcube_691372801_691632001_4FGL_J2236.4-2309_daily_bin1744.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/595770/Model_4FGL_J2236.4-2309_daily_bin1744.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) = 7297.74505002

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .55371E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .27620E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .62643       1.0000          .0000       .10000E+07
     4 'Prefactor '    .74218E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    3.4535       1.0000          .0000       .10000E+07
     6 'Prefactor '    27.591       1.0000          .0000       .10000E+07
     7 'Prefactor '    43.491       1.0000          .0000       .10000E+07
     8 'norm      '    .90699E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.970       1.0000          .0000       .10000E+07
    10 'norm      '    5.5636       1.0000          .0000       .10000E+07
    11 'norm      '    6.6190       1.0000          .0000       .10000E+07
    12 'Prefactor '    17.507       1.0000          .0000       .10000E+07
    13 'Prefactor '    10.358       1.0000          .0000       .10000E+07
    14 'Prefactor '    .32813E-04   1.0000          .0000       .10000E+07
    15 'norm      '    1.1536       1.0000          .0000       .10000E+07
    16 'norm      '    .74590E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    76.853       1.0000          .0000       .10000E+07
    18 'Prefactor '    .18213E-06   1.0000          .0000       .10000E+07
    19 'Prefactor '    17.017       1.0000          .0000       .10000E+07
    20 'norm      '    .88746       1.0000          .0000       .10000E+07
    21 'Prefactor '    7.8539       1.0000          .0000       .10000E+07
    22 'Prefactor '    .80802E-06   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0278       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0226       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7297.303     FROM MIGRAD    STATUS=CONVERGED    158 CALLS     2033 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13989E-07    9.5334       -.97608E-07** at limit **
   2  Prefactor     .41028E-05    10.605       -.83720E-06** at limit **
   3  norm          .62667        .28301        .23258E-07   -.60616E-03
   4  Prefactor     .11102E-09    4.4461       -.16959E-06** at limit **
   5  Prefactor     3.5879        7.2271       -.32048E-06   -.41107E-03
   6  Prefactor     26.933        3.2563       -.42311E-07   -.17621    
   7  Prefactor     44.207        76.290        .21853E-06   -.15184E-01
   8  norm          .52605E-05    10.522       -.77078E-06** at limit **
   9  Prefactor     12.744        1.5477       -.46670E-09   -.15524E-01
  10  norm          5.5619        1.3059       -.13773E-07   -.12329E-03
  11  norm          6.6202        3.0357        .44990E-07   -.14745E-03
  12  Prefactor     17.582        7.1720        .32363E-07    .27856E-02
  13  Prefactor     10.363        10.646        .12793E-06    .14690E-02
  14  Prefactor     .42133E-07    10.452        .32247E-06** at limit **
  15  norm          1.1663        1.0204       -.65561E-07    .35324E-03
  16  norm          .55511E-10    4.2019       -.67150E-07** at limit **
  17  Prefactor     75.858        35.861       -.18729E-07   -.13492E-01
  18  Prefactor     .55511E-10    5.7882        .25279E-06** at limit **
  19  Prefactor     17.025        11.072       -.53839E-07    .34984E-02
  20  norm          .88574        .68420       -.18349E-07    .36912E-03
  21  Prefactor     7.9073        7.7312       -.25099E-07   -.77451E-03
  22  Prefactor     .11707E-06    14.080       -.25782E-06** at limit **
  23  Normalizat    1.0298        .23456       -.64256E-05    .17636E-04
  24  Prefactor     1.0217        .19834        .47102E-05    .13698E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.39888e-08
  Prefactor  = 4.10277e-06
  norm       = 0.62667
  Prefactor  = 1.11022e-10
  Prefactor  = 3.58791
  Prefactor  = 26.9328
  Prefactor  = 44.2067
  norm       = 5.26051e-06
  Prefactor  = 12.7443
  norm       = 5.56185
  norm       = 6.62022
  Prefactor  = 17.5821
  Prefactor  = 10.3634
  Prefactor  = 4.2133e-08
  norm       = 1.16626
  norm       = 5.55112e-11
  Prefactor  = 75.858
  Prefactor  = 5.55112e-11
  Prefactor  = 17.025
  norm       = 0.885738
  Prefactor  = 7.90728
  Prefactor  = 1.17073e-07
  Normalizat = 1.02979
  Prefactor  = 1.02166
 **********
 **   18 **HESSE 
 **********

 FCN=   7297.303     FROM HESSE     STATUS=OK           451 CALLS     2484 TOTAL
                     EDM=   .99E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13989E-07    9.5610        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .41028E-05    20.209        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .62667        .28075        .66893E-03   -1.5692    
   4  Prefactor     .11102E-09    4.4396        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.5879        7.2490        .54397E-03   -1.5670    
   6  Prefactor     26.933        19.337        .19041E-03   -1.5604    
   7  Prefactor     44.207        78.069        .15165E-03   -1.5575    
   8  norm          .52605E-05    20.734        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.744        14.791        .27788E-03   -1.5637    
  10  norm          5.5619        1.3067        .42570E-03   -1.5661    
  11  norm          6.6202        3.8534        .38981E-03   -1.5657    
  12  Prefactor     17.582        64.233        .23910E-03   -1.5624    
  13  Prefactor     10.363        10.679        .31109E-03   -1.5644    
  14  Prefactor     .42133E-07    10.516        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.1663        1.0294        .10756E-02   -1.5686    
  16  norm          .55511E-10    4.1846        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     75.858        36.364        .11408E-03   -1.5534    
  18  Prefactor     .55511E-10    5.7823        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     17.025        11.138        .24252E-03   -1.5625    
  20  norm          .88574        .68577        .46631E-03   -1.5689    
  21  Prefactor     7.9073        7.7368        .35756E-03   -1.5652    
  22  Prefactor     .11707E-06    14.190        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0298        .20100        .64791E-01   -.92039    
  24  Prefactor     1.0217        .16606        .41895E-01   -.92011    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.86163e-07
Minuit parameter uncertainties:
  1  0.000731528
  2  0.0182114
  3  0.280754
  4  4.89385e-05
  5  7.24903
  6  19.3367
  7  78.0704
  8  0.0208877
  9  14.7913
  10  1.3067
  11  3.85345
  12  64.2354
  13  10.6793
  14  0.0013315
  15  1.02936
  16  3.61434e-05
  17  36.3645
  18  3.72914e-05
  19  11.1381
  20  0.685773
  21  7.7368
  22  0.00257798
  23  0.201145
  24  0.16614
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  1.274e+01  1.479e+01  0.000e+00  1.000e+06 ( 1.000e-12)
248        Index:  2.743e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
249        Scale:  4.484e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.022e+00  1.661e-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.030e+00  2.011e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.01
Ra Dec: 339.125 -23.155
Photon Index (Fixed Index): 2.74 +/- 0.00
Photon Flux (Fixed Index): 4.49e-08 +/- 5.20e-08
Energy Flux (Fixed Index): 1.05e-05 +/- 1.21e-05

TS (Fixed Index): 1.01
Ra Dec: 339.125 -23.155
Photon Flux Upper Limit: 1.47e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.16e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/595770/likelihoodResults_691372801_691632001_4FGL_J2236.4-2309_daily_bin1744.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) = 7297.24308587
delta logL = 0.0596801023494

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7297.24087278
delta logL = 0.0618931948284

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.9266       1.0000          .0000       .10000E+07
     2 'Index     '    3.1639       1.0000          .0000       10.000    
     3 'Normalizat'    1.0154       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0319       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=   7297.241     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      283 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.9309        17.716        .12712E-04   -.13630E-02
   2  Index         3.1643        1.5235        .12120E-01   -.33636E-04
   3  Normalizat    1.0154        .23099        .28838E-03    .13322E-02
   4  Prefactor     1.0319        .19730        .24861E-03    .14739E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.93089
  Index      = 3.16429
  Normalizat = 1.01535
  Prefactor  = 1.03188
 **********
 **   18 **HESSE 
 **********

 FCN=   7297.241     FROM HESSE     STATUS=OK            25 CALLS      308 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.9309        15.274        .50848E-06   -1.5645    
   2  Index         3.1643        1.3175        .48480E-03   -.37593    
   3  Normalizat    1.0154        .23111        .57676E-04   -.92518    
   4  Prefactor     1.0319        .19708        .49723E-04   -.91674    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.59916e-09
Minuit parameter uncertainties:
  1  15.2741
  2  1.33581
  3  0.231337
  4  0.197217
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/595770': 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) = 7297.24087169
delta logL = 0.0618942868914

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  9.931e+00  1.527e+01  0.000e+00  1.000e+06 ( 1.000e-12)
248        Index:  3.164e+00  1.336e+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.032e+00  1.972e-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.015e+00  2.313e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.15
Ra Dec: 339.125 -23.155
Photon Index (Free Index): 3.16 +/- 1.34
Photon Flux (Free Index): 5.30e-08 +/- 5.75e-08
Energy Flux (Free Index): 9.84e-06 +/- 1.07e-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/595770/cmap_HighResolution_691372801_691632001_4FGL_J2236.4-2309_daily_bin1744.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.16e-02', comment='SUCCESS', photon_flux='4.49e-08', energy_flux2='9.84e-06', photon_flux_error='5.20e-08', dlogl='6.19e-02', energy_flux='1.05e-05', photon_flux2='5.30e-08', job_status='DONE', time_completed='2022-12-02 02:08:00.603788', photon_index_error2='1.34', photon_index2='3.16', ts='1.01', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='1.47e-07', energy_flux_error2='1.07e-05', EG='1.03', time_epoch_completed='1669975680.6', return_code='0', job_id='595770', GAL2='1.03', EG2='1.02', return_code2='0', energy_flux_error='1.21e-05', photon_flux_error2='5.75e-08', ts2='1.15', photon_index='2.74' WHERE bin_id='1744' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec  2 02:08:00 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 595770: <4FGL_J2236.4-2309_daily_bin1744> in cluster <slac> Done

Job <4FGL_J2236.4-2309_daily_bin1744> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Fri Dec  2 01:55:30 2022
Job was executed on host(s) <bullet0279>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec  2 01:55:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec  2 01:55:31 2022
Terminated at Fri Dec  2 02:08:01 2022
Results reported at Fri Dec  2 02:08:01 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin1744 339.125 -23.1552 691372801 691632001 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 :                                   624.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             253.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   749 sec.
    Turnaround time :                            751 sec.

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

