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


Performing analysis on: 4FGL_J2236.4-2309_daily_bin1748
RA = 339.125, Dec = -23.1552
tmin = 692409601, tmax = 692668801
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='898196', job_status='RUN', time_executed='2022-12-14 01:23:31.106019', time_epoch_executed='1671009811.11' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/898196

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/898196/ft1_4FGL_J2236.4-2309_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/898196/ft2_4FGL_J2236.4-2309_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/898196/ft1_4FGL_J2236.4-2309_daily_bin1748.fits outfile=/scratch/kocevski/898196/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1748.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=692409601.0 tmax=692668801.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 3.56
user 3.32
sys 0.22

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

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

Number of photons that the gtmktime cut: 431

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/898196/ft1_filtered_4FGL_J2236.4-2309_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/898196/ft2_4FGL_J2236.4-2309_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/898196/ltcube_692409601_692668801_4FGL_J2236.4-2309_daily_bin1748.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/898196/ft2_4FGL_J2236.4-2309_daily_bin1748.fits
.....................!
real 12.16
user 11.79
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/898196/ft1_filtered_4FGL_J2236.4-2309_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/898196/ft2_4FGL_J2236.4-2309_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/898196/ltcube_692409601_692668801_4FGL_J2236.4-2309_daily_bin1748.fits outfile=/scratch/kocevski/898196/expmap_692409601_692668801_4FGL_J2236.4-2309_daily_bin1748.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/898196/ltcube_692409601_692668801_4FGL_J2236.4-2309_daily_bin1748.fits
.....................!
real 190.19
user 184.82
sys 5.05

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/898196/ft1_filtered_4FGL_J2236.4-2309_daily_bin1748.fits scfile=/scratch/kocevski/898196/ft2_4FGL_J2236.4-2309_daily_bin1748.fits outfile=/scratch/kocevski/898196/cmap_692409601_692668801_4FGL_J2236.4-2309_daily_bin1748.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/898196/ft1_filtered_4FGL_J2236.4-2309_daily_bin1748.fits scfile=/scratch/kocevski/898196/ft2_4FGL_J2236.4-2309_daily_bin1748.fits outfile=/scratch/kocevski/898196/cmap_HighResolution_692409601_692668801_4FGL_J2236.4-2309_daily_bin1748.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=339.125 yref=-23.1552 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15949E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    307.26       1.0000          .0000       .10000E+07
     3 'norm      '    1.1577       1.0000          .0000       .10000E+07
     4 'Prefactor '    .18102E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .62304E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .32595       1.0000          .0000       .10000E+07
     7 'Prefactor '    30.641       1.0000          .0000       .10000E+07
     8 'norm      '    8.0405       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.3974       1.0000          .0000       .10000E+07
    10 'norm      '    2.7052       1.0000          .0000       .10000E+07
    11 'norm      '    8.5410       1.0000          .0000       .10000E+07
    12 'Prefactor '    116.85       1.0000          .0000       .10000E+07
    13 'Prefactor '    13.562       1.0000          .0000       .10000E+07
    14 'Prefactor '    25.735       1.0000          .0000       .10000E+07
    15 'norm      '    .14631E-05   1.0000          .0000       .10000E+07
    16 'norm      '    1.0729       1.0000          .0000       .10000E+07
    17 'Prefactor '    .17724E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    .61783E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    23.622       1.0000          .0000       .10000E+07
    20 'norm      '    2.3839       1.0000          .0000       .10000E+07
    21 'Prefactor '    .18003E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    11.873       1.0000          .0000       .10000E+07
    23 'Normalizat'    .28416       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.5017       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=   4897.312     FROM MIGRAD    STATUS=CONVERGED    200 CALLS     2127 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        43.276        .52581E-06** at limit **
   2  Prefactor     299.33        110.18       -.20489E-05    .26080E-02
   3  norm          1.1616        .48374        .43657E-08   -.21290E-03
   4  Prefactor     .12212E-08    5.4215       -.98125E-08** at limit **
   5  Prefactor     .88818E-09    9.7426        .37919E-07** at limit **
   6  Prefactor     .55596E-05    68.655       -.31664E-05** at limit **
   7  Prefactor     31.168        22.889       -.23223E-05    .19780E-01
   8  norm          7.8584        33.529       -.66481E-05    .45016E-02
   9  Prefactor     2.4654        11.144       -.37608E-06   -.18571E-02
  10  norm          2.6976        1.5250        .36430E-07    .64510E-03
  11  norm          8.6555        4.7524       -.11903E-06   -.16609E-02
  12  Prefactor     112.22        86.658        .39364E-05    .13531E-01
  13  Prefactor     13.483        13.745        .15880E-06   -.86746E-01
  14  Prefactor     25.623        13.178       -.98530E-06   -.14363    
  15  norm          .83267E-09    2.2431       -.25181E-06** at limit **
  16  norm          1.0497        9.0201        .18641E-05   -.46174E-03
  17  Prefactor      .0000        30.649       -.83117E-07** at limit **
  18  Prefactor     .28977E-07    14.881       -.31873E-06** at limit **
  19  Prefactor     23.723        23.381       -.10602E-05    .58143E-01
  20  norm          2.3817        1.2177        .40959E-07   -.10271E-02
  21  Prefactor     .14433E-08    5.2522        .27084E-06** at limit **
  22  Prefactor     11.944        23.786       -.16417E-05    .53076E-01
  23  Normalizat    .28882        .29344        .25845E-06    .20341E-06
  24  Prefactor     1.5007        .24945        .65070E-05    .46306E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 299.33
  norm       = 1.1616
  Prefactor  = 1.22125e-09
  Prefactor  = 8.88178e-10
  Prefactor  = 5.55955e-06
  Prefactor  = 31.1681
  norm       = 7.85835
  Prefactor  = 2.46539
  norm       = 2.69758
  norm       = 8.65552
  Prefactor  = 112.219
  Prefactor  = 13.4826
  Prefactor  = 25.6229
  norm       = 8.32667e-10
  norm       = 1.04971
  Prefactor  = 0
  Prefactor  = 2.89768e-08
  Prefactor  = 23.7228
  norm       = 2.38174
  Prefactor  = 1.44329e-09
  Prefactor  = 11.9435
  Normalizat = 0.288821
  Prefactor  = 1.50068
 **********
 **   18 **HESSE 
 **********

 FCN=   4897.312     FROM HESSE     STATUS=OK           455 CALLS     2582 TOTAL
                     EDM=   .78E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        43.880        .17319E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     299.33        112.10        .57058E-04   -1.5362    
   3  norm          1.1616        .48442        .68704E-03   -1.5686    
   4  Prefactor     .12212E-08    5.4372        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .88818E-09    9.7065        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55596E-05    74.991        .98623E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     31.168        98.588        .18068E-03   -1.5596    
   8  norm          7.8584        34.167        .35335E-03   -1.5652    
   9  Prefactor     2.4654        11.356        .66108E-03   -1.5677    
  10  norm          2.6976        1.5754        .61906E-03   -1.5675    
  11  norm          8.6555        4.7729        .34276E-03   -1.5649    
  12  Prefactor     112.22        89.780        .92514E-04   -1.5496    
  13  Prefactor     13.483        16.303        .27172E-03   -1.5635    
  14  Prefactor     25.623        17.892        .19716E-03   -1.5607    
  15  norm          .83267E-09    2.2222        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.0497        10.073        .11697E-02   -1.5687    
  17  Prefactor      .0000        30.263        .17191E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .28977E-07    14.959        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     23.723        24.857        .20580E-03   -1.5611    
  20  norm          2.3817        1.2506        .66314E-04   -1.5677    
  21  Prefactor     .14433E-08    5.2601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     11.944        25.118        .29048E-03   -1.5639    
  23  Normalizat    .28882        .33521        .11790       -1.2351    
  24  Prefactor     1.5007        .26896        .48180E-01   -.77521    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.81274e-07
Minuit parameter uncertainties:
  1  2.14501e-05
  2  112.098
  3  0.48442
  4  0.000163293
  5  0.000187181
  6  0.0408376
  7  98.5929
  8  32.7718
  9  10.5823
  10  1.5754
  11  4.77295
  12  89.7811
  13  16.3035
  14  17.8917
  15  8.51639e-05
  16  6.50341
  17  4.77879e-05
  18  0.00131655
  19  24.8576
  20  1.25061
  21  0.000173307
  22  25.1182
  23  0.337568
  24  0.269217
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  2.465e+00  1.058e+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.501e+00  2.692e-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:  2.888e-01  3.376e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/898196/likelihoodResults_692409601_692668801_4FGL_J2236.4-2309_daily_bin1748.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) = 4897.29607442
delta logL = 0.0154336812193

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4897.29374359
delta logL = 0.0177645128542

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1993       1.0000          .0000       .10000E+07
     2 'Index     '    2.3964       1.0000          .0000       10.000    
     3 'Normalizat'    .29021       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4991       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=   4897.294     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      276 TOTAL
                     EDM=   .23E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1959        11.004        .22649E-04    .25098E-05
   2  Index         2.3963        1.6167        .14643E-01   -.11506E-05
   3  Normalizat    .29024        .27003        .52045E-03   -.45217E-05
   4  Prefactor     1.4991        .24023        .21304E-03    .11473E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.1959
  Index      = 2.39631
  Normalizat = 0.290235
  Prefactor  = 1.4991
 **********
 **   18 **HESSE 
 **********

 FCN=   4897.294     FROM HESSE     STATUS=OK            25 CALLS      301 TOTAL
                     EDM=   .22E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1959        10.979        .90595E-06   -1.5672    
   2  Index         2.3963        1.6140        .58571E-03   -.54772    
   3  Normalizat    .29024        .26995        .20818E-04   -1.2342    
   4  Prefactor     1.4991        .24015        .85215E-05   -.77565    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.19606e-12
Minuit parameter uncertainties:
  1  10.9788
  2  1.65514
  3  0.271173
  4  0.240328
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/898196': 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) = 4897.29374353
delta logL = 0.0177645680642

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  3.196e+00  1.098e+01  0.000e+00  1.000e+06 ( 1.000e-12)
248        Index:  2.396e+00  1.655e+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.499e+00  2.403e-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:  2.902e-01  2.712e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.06
Ra Dec: 339.125 -23.155

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/898196/cmap_HighResolution_692409601_692668801_4FGL_J2236.4-2309_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.52e-03', job_status='DONE', photon_flux_upper_limit='1.21e-07', time_completed='2022-12-14 01:32:05.987381', job_id='898196', GAL2='1.50', fit_tolerance='1e-08', EG2='0.29', EG='0.29', time_epoch_completed='1671010325.99', return_code2='0', ts='0.06', comment='SUCCESS', return_code='0', GAL='1.50', dlogl='1.78e-02', ts2='0.10', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='1748' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:32:06 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 898196: <4FGL_J2236.4-2309_daily_bin1748> in cluster <slac> Done

Job <4FGL_J2236.4-2309_daily_bin1748> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec 14 01:20:27 2022
Job was executed on host(s) <bullet0105>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 01:20:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 01:20:29 2022
Terminated at Wed Dec 14 01:32:06 2022
Results reported at Wed Dec 14 01:32:06 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin1748 339.125 -23.1552 692409601 692668801 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 :                                   517.49 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             309.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   697 sec.
    Turnaround time :                            699 sec.

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

