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


Performing analysis on: 4FGL_J2236.4-2309_daily_bin1739
RA = 339.125, Dec = -23.1552
tmin = 690076801, tmax = 690336001
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='654737', job_status='RUN', time_executed='2022-11-17 01:16:27.874304', time_epoch_executed='1668676587.87' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='1739'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/654737

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/654737/ft1_4FGL_J2236.4-2309_daily_bin1739.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/654737/ft2_4FGL_J2236.4-2309_daily_bin1739.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/654737/ft1_4FGL_J2236.4-2309_daily_bin1739.fits outfile=/scratch/kocevski/654737/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1739.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=690076801.0 tmax=690336001.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.34
user 4.08
sys 0.23

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

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

Number of photons that the gtmktime cut: 797

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/654737/ft1_filtered_4FGL_J2236.4-2309_daily_bin1739.fits" evtable="EVENTS" scfile=/scratch/kocevski/654737/ft2_4FGL_J2236.4-2309_daily_bin1739.fits sctable="SC_DATA" outfile=/scratch/kocevski/654737/ltcube_690076801_690336001_4FGL_J2236.4-2309_daily_bin1739.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/654737/ft2_4FGL_J2236.4-2309_daily_bin1739.fits
.....................!
real 14.13
user 13.66
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/654737/ft1_filtered_4FGL_J2236.4-2309_daily_bin1739.fits evtable="EVENTS" scfile=/scratch/kocevski/654737/ft2_4FGL_J2236.4-2309_daily_bin1739.fits sctable="SC_DATA" expcube=/scratch/kocevski/654737/ltcube_690076801_690336001_4FGL_J2236.4-2309_daily_bin1739.fits outfile=/scratch/kocevski/654737/expmap_690076801_690336001_4FGL_J2236.4-2309_daily_bin1739.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/654737/ltcube_690076801_690336001_4FGL_J2236.4-2309_daily_bin1739.fits
.....................!
real 193.72
user 187.22
sys 5.60

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/654737/ft1_filtered_4FGL_J2236.4-2309_daily_bin1739.fits scfile=/scratch/kocevski/654737/ft2_4FGL_J2236.4-2309_daily_bin1739.fits outfile=/scratch/kocevski/654737/cmap_690076801_690336001_4FGL_J2236.4-2309_daily_bin1739.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.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/654737/ft1_filtered_4FGL_J2236.4-2309_daily_bin1739.fits scfile=/scratch/kocevski/654737/ft2_4FGL_J2236.4-2309_daily_bin1739.fits outfile=/scratch/kocevski/654737/cmap_HighResolution_690076801_690336001_4FGL_J2236.4-2309_daily_bin1739.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/654737/ft1_filtered_4FGL_J2236.4-2309_daily_bin1739.fits evtable="EVENTS" scfile=/scratch/kocevski/654737/ft2_4FGL_J2236.4-2309_daily_bin1739.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/654737/Model_4FGL_J2236.4-2309_daily_bin1739.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/654737/ft1_filtered_4FGL_J2236.4-2309_daily_bin1739.fits.....................!
real 65.45
user 63.93
sys 1.35

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/654737/ft1_filtered_4FGL_J2236.4-2309_daily_bin1739.fits', '/scratch/kocevski/654737/ft2_4FGL_J2236.4-2309_daily_bin1739.fits', expMap='/scratch/kocevski/654737/expmap_690076801_690336001_4FGL_J2236.4-2309_daily_bin1739.fits', expCube='/scratch/kocevski/654737/ltcube_690076801_690336001_4FGL_J2236.4-2309_daily_bin1739.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/654737/Model_4FGL_J2236.4-2309_daily_bin1739.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/654737/ft1_filtered_4FGL_J2236.4-2309_daily_bin1739.fits
Spacecraft file(s): /scratch/kocevski/654737/ft2_4FGL_J2236.4-2309_daily_bin1739.fits
Exposure map: /scratch/kocevski/654737/expmap_690076801_690336001_4FGL_J2236.4-2309_daily_bin1739.fits
Exposure cube: /scratch/kocevski/654737/ltcube_690076801_690336001_4FGL_J2236.4-2309_daily_bin1739.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/654737/Model_4FGL_J2236.4-2309_daily_bin1739.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 8535.42858464

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .57544       1.0000          .0000       .10000E+07
     2 'Prefactor '    24.973       1.0000          .0000       .10000E+07
     3 'norm      '    .82748       1.0000          .0000       .10000E+07
     4 'Prefactor '    .20539E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    .73145       1.0000          .0000       .10000E+07
     6 'Prefactor '    .18144E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .17788E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .33545E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    8.6251       1.0000          .0000       .10000E+07
    10 'norm      '    2.9091       1.0000          .0000       .10000E+07
    11 'norm      '    3.9848       1.0000          .0000       .10000E+07
    12 'Prefactor '    .89498E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    15.187       1.0000          .0000       .10000E+07
    14 'Prefactor '    .88516       1.0000          .0000       .10000E+07
    15 'norm      '    1.4554       1.0000          .0000       .10000E+07
    16 'norm      '    .42188E-08   1.0000          .0000       .10000E+07
    17 'Prefactor '    9.9969       1.0000          .0000       .10000E+07
    18 'Prefactor '    .56774E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    35.588       1.0000          .0000       .10000E+07
    20 'norm      '    .14488E-07   1.0000          .0000       .10000E+07
    21 'Prefactor '    5.5566       1.0000          .0000       .10000E+07
    22 'Prefactor '    4.2457       1.0000          .0000       .10000E+07
    23 'Normalizat'    .69011       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0736       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=   8533.948     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     1239 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .80856E-04    75.171       -.39309E-07** at limit **
   2  Prefactor     27.272        28.154        .77783E-07   -.66429E-01
   3  norm          .82672        .27965       -.20691E-07   -.51118E-01
   4  Prefactor     .55511E-10    2.5894       -.96139E-08** at limit **
   5  Prefactor     .74448        2.8611        .25923E-07    .31318E-01
   6  Prefactor     .11102E-09    19.178       -.10942E-06** at limit **
   7  Prefactor     .38858E-09    18.005       -.23679E-06** at limit **
   8  norm          .25243E-05    82.950        .92892E-06** at limit **
   9  Prefactor     8.6881        7.7126       -.79129E-07    .76533E-01
  10  norm          2.9105        .86167        .10132E-08   -.14638E-02
  11  norm          3.9880        1.8731        .27749E-07    .49160E-02
  12  Prefactor     .14999E-06    37.089       -.16327E-06** at limit **
  13  Prefactor     15.236        6.1824       -.85708E-07   -.30756E-02
  14  Prefactor     .70700        2.4572       -.12039E-07    .56435E-01
  15  norm          1.4695        .99450       -.34230E-07   -.12468E-01
  16  norm           .0000        .85382        .17448E-07** at limit **
  17  Prefactor     9.9852        24.952        .25125E-06    .32764E-02
  18  Prefactor     .22204E-09    6.7711        .12587E-06** at limit **
  19  Prefactor     35.575        7.8189       -.26503E-07    .18140E-01
  20  norm           .0000        .30278        .72719E-08** at limit **
  21  Prefactor     5.5032        5.9511       -.12029E-07    .33620E-03
  22  Prefactor     4.2527        5.4415        .32708E-07   -.10682E-02
  23  Normalizat    .68949        .18399        .11789E-05   -.20444E-03
  24  Prefactor     1.0738        .15949       -.12024E-05   -.32832E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.08563e-05
  Prefactor  = 27.272
  norm       = 0.826723
  Prefactor  = 5.55112e-11
  Prefactor  = 0.744484
  Prefactor  = 1.11022e-10
  Prefactor  = 3.88578e-10
  norm       = 2.52426e-06
  Prefactor  = 8.68812
  norm       = 2.91048
  norm       = 3.98799
  Prefactor  = 1.49991e-07
  Prefactor  = 15.2357
  Prefactor  = 0.707
  norm       = 1.46955
  norm       = 0
  Prefactor  = 9.98524
  Prefactor  = 2.22045e-10
  Prefactor  = 35.5746
  norm       = 0
  Prefactor  = 5.50318
  Prefactor  = 4.25267
  Normalizat = 0.689493
  Prefactor  = 1.07377
 **********
 **   18 **HESSE 
 **********

 FCN=   8533.948     FROM HESSE     STATUS=OK           473 CALLS     1712 TOTAL
                     EDM=   .33E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .80856E-04    19.788        .99262E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     27.272        49.164        .20015E-03   -1.5604    
   3  norm          .82672        .27967        .50909E-03   -1.5690    
   4  Prefactor     .55511E-10    2.5809        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .74448        23.564        .58191E-03   -1.5691    
   6  Prefactor     .11102E-09    5.9918        .11673E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .38858E-09    17.856        .17187E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .25243E-05    10.467        .10155E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.6881        9.1603        .34108E-03   -1.5649    
  10  norm          2.9105        .86605        .59545E-03   -1.5674    
  11  norm          3.9880        1.8847        .50501E-03   -1.5668    
  12  Prefactor     .14999E-06    37.288        .14220E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     15.236        10.107        .25675E-03   -1.5630    
  14  Prefactor     .70700        223.99        .46792E-03   -1.5691    
  15  norm          1.4695        1.6038        .89214E-03   -1.5684    
  16  norm           .0000        .84876        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     9.9852        33.612        .31668E-03   -1.5645    
  18  Prefactor     .22204E-09    6.7639        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     35.575        8.0584        .16765E-03   -1.5589    
  20  norm           .0000        .29110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     5.5032        5.9560        .42597E-03   -1.5661    
  22  Prefactor     4.2527        5.4639        .48877E-03   -1.5667    
  23  Normalizat    .68949        .15758        .64962E-01   -1.0431    
  24  Prefactor     1.0738        .13498        .38689E-01   -.90309    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.3157e-06
Minuit parameter uncertainties:
  1  0.0799989
  2  49.165
  3  0.279675
  4  2.04818e-05
  5  8.37699
  6  5.50022e-05
  7  0.00017092
  8  0.0102802
  9  9.1603
  10  0.866047
  11  1.88468
  12  0.00473021
  13  10.1073
  14  25.1691
  15  1.60378
  16  3.0577e-06
  17  33.6128
  18  7.4632e-05
  19  8.05843
  20  7.7991e-07
  21  5.95603
  22  5.46388
  23  0.157681
  24  0.135019
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  8.688e+00  9.160e+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

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.074e+00  1.350e-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:  6.895e-01  1.577e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.20
Ra Dec: 339.125 -23.155
Photon Index (Fixed Index): 2.74 +/- 0.00
Photon Flux (Fixed Index): 3.06e-08 +/- 3.22e-08
Energy Flux (Fixed Index): 7.13e-06 +/- 7.51e-06

TS (Fixed Index): 1.20
Ra Dec: 339.125 -23.155
Photon Flux Upper Limit: 9.80e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.73e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/654737/likelihoodResults_690076801_690336001_4FGL_J2236.4-2309_daily_bin1739.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) = 8533.94533571
delta logL = 0.00263005002489

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8533.94437151
delta logL = 0.00359425357601

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.2957       1.0000          .0000       .10000E+07
     2 'Index     '    2.8321       1.0000          .0000       10.000    
     3 'Normalizat'    .68711       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0755       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.

 FCN=   8533.944     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      208 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.2919        288.55        .34783E-03   -.15855E-02
   2  Index         2.8331        5.8089        .22521       -.77598E-05
   3  Normalizat    .68713        .56197E-01    .65067E-01   -.25501E-03
   4  Prefactor     1.0754        .50584E-01    .38604E-01   -.11989E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.29194
  Index      = 2.83315
  Normalizat = 0.687131
  Prefactor  = 1.07545
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.2919        10.769        .13913E-04   -1.5650    
   2  Index         2.8331        1.1519        .14089E-01   -.44823    
   3  Normalizat    .68713        .17573        .28789E-03   -1.0440    
   4  Prefactor     1.0754        .15699        .21176E-03   -.90255    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.86049e-10
Minuit parameter uncertainties:
  1  10.7694
  2  1.16487
  3  0.175877
  4  0.157062
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/654737': 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) = 8533.94437103
delta logL = 0.00359472572563

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  8.292e+00  1.077e+01  0.000e+00  1.000e+06 ( 1.000e-12)
248        Index:  2.833e+00  1.165e+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.075e+00  1.571e-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:  6.871e-01  1.759e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.21
Ra Dec: 339.125 -23.155
Photon Index (Free Index): 2.83 +/- 1.16
Photon Flux (Free Index): 3.18e-08 +/- 3.48e-08
Energy Flux (Free Index): 6.96e-06 +/- 7.77e-06

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/654737/cmap_HighResolution_690076801_690336001_4FGL_J2236.4-2309_daily_bin1739.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.73e-03', comment='SUCCESS', photon_flux='3.06e-08', energy_flux2='6.96e-06', photon_flux_error='3.22e-08', dlogl='3.59e-03', energy_flux='7.13e-06', photon_flux2='3.18e-08', job_status='DONE', time_completed='2022-11-17 01:26:47.442775', photon_index_error2='1.16', photon_index2='2.83', ts='1.20', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='9.80e-08', energy_flux_error2='7.77e-06', EG='0.69', time_epoch_completed='1668677207.44', return_code='0', job_id='654737', GAL2='1.08', EG2='0.69', return_code2='0', energy_flux_error='7.51e-06', photon_flux_error2='3.48e-08', ts2='1.21', photon_index='2.74' WHERE bin_id='1739' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Nov 17 01:26:47 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0115>
Subject: Job 654737: <4FGL_J2236.4-2309_daily_bin1739> in cluster <slac> Done

Job <4FGL_J2236.4-2309_daily_bin1739> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Nov 17 01:10:45 2022
Job was executed on host(s) <bullet0115>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Nov 17 01:15:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Nov 17 01:15:20 2022
Terminated at Thu Nov 17 01:26:48 2022
Results reported at Thu Nov 17 01:26:48 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin1739 339.125 -23.1552 690076801 690336001 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 :                                   620.48 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             329.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   687 sec.
    Turnaround time :                            963 sec.

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

