/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 = 7373
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2236.4-2309_daily_bin1328
RA = 339.125, Dec = -23.1552
tmin = 583545601, tmax = 583804801
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='409111', job_status='RUN', time_executed='2021-09-28 17:16:38.268424', time_epoch_executed='1632874598.27' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='1328'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/409111

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/409111/ft1_4FGL_J2236.4-2309_daily_bin1328.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/409111/ft2_4FGL_J2236.4-2309_daily_bin1328.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/409111/ft1_4FGL_J2236.4-2309_daily_bin1328.fits outfile=/scratch/kocevski/409111/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1328.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=583545601.0 tmax=583804801.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.45
user 3.23
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/409111/ft2_4FGL_J2236.4-2309_daily_bin1328.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/409111/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1328.fits evtable="EVENTS" outfile="/scratch/kocevski/409111/ft1_filtered_4FGL_J2236.4-2309_daily_bin1328.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.33
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/409111/ft1_filtered_4FGL_J2236.4-2309_daily_bin1328.fits" evtable="EVENTS" scfile=/scratch/kocevski/409111/ft2_4FGL_J2236.4-2309_daily_bin1328.fits sctable="SC_DATA" outfile=/scratch/kocevski/409111/ltcube_583545601_583804801_4FGL_J2236.4-2309_daily_bin1328.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/409111/ft2_4FGL_J2236.4-2309_daily_bin1328.fits
.....................!
real 12.70
user 12.27
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/409111/ft1_filtered_4FGL_J2236.4-2309_daily_bin1328.fits evtable="EVENTS" scfile=/scratch/kocevski/409111/ft2_4FGL_J2236.4-2309_daily_bin1328.fits sctable="SC_DATA" expcube=/scratch/kocevski/409111/ltcube_583545601_583804801_4FGL_J2236.4-2309_daily_bin1328.fits outfile=/scratch/kocevski/409111/expmap_583545601_583804801_4FGL_J2236.4-2309_daily_bin1328.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/409111/ltcube_583545601_583804801_4FGL_J2236.4-2309_daily_bin1328.fits
.....................!
real 191.26
user 186.28
sys 4.49

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 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/409111/ft1_filtered_4FGL_J2236.4-2309_daily_bin1328.fits scfile=/scratch/kocevski/409111/ft2_4FGL_J2236.4-2309_daily_bin1328.fits outfile=/scratch/kocevski/409111/cmap_583545601_583804801_4FGL_J2236.4-2309_daily_bin1328.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/409111/ft1_filtered_4FGL_J2236.4-2309_daily_bin1328.fits scfile=/scratch/kocevski/409111/ft2_4FGL_J2236.4-2309_daily_bin1328.fits outfile=/scratch/kocevski/409111/cmap_HighResolution_583545601_583804801_4FGL_J2236.4-2309_daily_bin1328.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.56
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/409111/ft1_filtered_4FGL_J2236.4-2309_daily_bin1328.fits evtable="EVENTS" scfile=/scratch/kocevski/409111/ft2_4FGL_J2236.4-2309_daily_bin1328.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/409111/Model_4FGL_J2236.4-2309_daily_bin1328.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/409111/ft1_filtered_4FGL_J2236.4-2309_daily_bin1328.fits.....................!
real 55.54
user 53.91
sys 1.39

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18778E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.6890       1.0000         .10000E-03   10000.    
     3 'norm      '    .97208       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .15221E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .89918E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .17363E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    11.973       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.7469       1.0000         .10000E-03   10000.    
    10 'norm      '    .57870       1.0000         .10000E-03   10000.    
    11 'norm      '    4.1668       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .14618E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.9287       1.0000         .10000E-03   10000.    
    14 'Prefactor '    64.447       1.0000         .10000E-03   10000.    
    15 'norm      '    2.6792       1.0000         .10000E-03   10000.    
    16 'norm      '    .10350E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.4657       1.0000         .10000E-03   10000.    
    20 'norm      '    3.9527       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10566E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .89154       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0771       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=   6813.307     FROM MIGRAD    STATUS=CONVERGED   1021 CALLS     3315 TOTAL
                     EDM=   .70E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    30.254        .18142E-02** at limit **
   2  Prefactor     2.5972        160.58        .24846E-03   -.10982E-05
   3  norm          .97215        .36691        .29763E-04   -.34645E-03
   4  Prefactor     .10000E-03    9.5665        .60867E-01** at limit **
   5  Prefactor     .10004E-03    16.116        .76524E-01** at limit **
   6  Prefactor     .10000E-03    5.7297        .18142E-02** at limit **
   7  Prefactor     .10000E-03    71.520        .18142E-02** at limit **
   8  norm          11.968        12.161        .11577E-03   -.67757E-05
   9  Prefactor     2.7361        10.135        .24563E-03   -.37674E-04
  10  norm          .57866        .54549        .53561E-03   -.54805E-04
  11  norm          4.1658        2.2902        .89398E-04    .99192E-05
  12  Prefactor     .10000E-03    49.458        .18142E-02** at limit **
  13  Prefactor     8.9375        13.542        .13414E-03    .23986E-04
  14  Prefactor     64.449        40.054        .49989E-04    .37525E-04
  15  norm          2.6788        3.1109        .73651E-04    .13707E-03
  16  norm          .10000E-03    4.1659        .22869E-02** at limit **
  17  Prefactor     .10000E-03    69.631        .18142E-02** at limit **
  18  Prefactor     .10000E-03    7.7133        .18142E-02** at limit **
  19  Prefactor     8.4769        13.225        .13778E-03   -.39525E-04
  20  norm          3.9508        1.2426        .35690E-04   -.27076E-04
  21  Prefactor     .10000E-03    4.8206        .17659E-02** at limit **
  22  Prefactor     .10000E-03    17.424        .36285E-03** at limit **
  23  Normalizat    .89133        .23750        .29002E-03   -.16115E-03
  24  Prefactor     1.0773        .19694        .23290E-03   -.23206E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.59722
  norm       = 0.972154
  Prefactor  = 0.000100002
  Prefactor  = 0.000100039
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.968
  Prefactor  = 2.73609
  norm       = 0.578662
  norm       = 4.16584
  Prefactor  = 0.0001
  Prefactor  = 8.93748
  Prefactor  = 64.4495
  norm       = 2.67884
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.4769
  norm       = 3.95075
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.891327
  Prefactor  = 1.07733
 **********
 **   18 **HESSE 
 **********

 FCN=   6813.307     FROM HESSE     STATUS=OK           395 CALLS     3710 TOTAL
                     EDM=   .70E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    30.255        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.5972        160.35        .99384E-05   -1.5386    
   3  norm          .97215        .36690        .11905E-05   -1.5511    
   4  Prefactor     .10000E-03    8.1609        .67762E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10004E-03    14.395        .81942E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.7301        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    71.530        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          11.968        12.161        .46309E-05   -1.5016    
   9  Prefactor     2.7361        10.132        .98253E-05   -1.5377    
  10  norm          .57866        .54543        .21424E-04   -1.5556    
  11  norm          4.1658        2.2900        .35759E-05   -1.5300    
  12  Prefactor     .10000E-03    49.466        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.9375        13.541        .53655E-05   -1.5110    
  14  Prefactor     64.449        40.068        .19996E-05   -1.4101    
  15  norm          2.6788        3.1122        .29461E-05   -1.5381    
  16  norm          .10000E-03    4.1834        .45737E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    69.642        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    7.7137        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.4769        13.221        .55111E-05   -1.5126    
  20  norm          3.9508        1.2424        .14276E-05   -1.5310    
  21  Prefactor     .10000E-03    4.8214        .35317E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    17.425        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .89133        .23777        .11601E-04   -.96766    
  24  Prefactor     1.0773        .19709        .46580E-04   -.90194    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.00838e-11
Minuit parameter uncertainties:
  1  1.51843e-05
  2  40.9294
  3  0.366903
  4  0.00023069
  5  0.00150689
  6  1.87324e-06
  7  0.000172024
  8  12.1631
  9  10.1385
  10  0.545439
  11  2.29005
  12  7.45258e-06
  13  13.5459
  14  40.0846
  15  3.11239
  16  1.2158e-05
  17  6.01185e-05
  18  9.13348e-07
  19  13.226
  20  1.24239
  21  3.24672e-06
  22  2.23272e-05
  23  0.238051
  24  0.197218
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  2.736e+00  1.014e+01  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.077e+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:  8.913e-01  2.381e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/409111/likelihoodResults_583545601_583804801_4FGL_J2236.4-2309_daily_bin1328.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) = 6813.30684935
delta logL = 4.3331238885e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6813.30683335
delta logL = 5.93331205891e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7708       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7248       1.0000          .0000       10.000    
     3 'Normalizat'    .89153       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0772       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=   6813.307     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      269 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7684        10.846        .24450E-03    .26825E-03
   2  Index         2.7218        1.8794        .15091E-01    .99409E-04
   3  Normalizat    .89146        .22008        .29000E-03   -.10491E-02
   4  Prefactor     1.0772        .19180        .23291E-03   -.11099E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.76842
  Index      = 2.72182
  Normalizat = 0.891462
  Prefactor  = 1.07723
 **********
 **   18 **HESSE 
 **********

 FCN=   6813.307     FROM HESSE     STATUS=OK            23 CALLS      292 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7684        10.525        .97799E-05   -1.5375    
   2  Index         2.7218        1.8278        .60364E-03   -.47309    
   3  Normalizat    .89146        .22038        .58000E-04   -.96761    
   4  Prefactor     1.0772        .19198        .46581E-04   -.90198    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.57645e-09
Minuit parameter uncertainties:
  1  10.5319
  2  1.88351
  3  0.220602
  4  0.192103
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/409111': 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) = 6813.30683161
delta logL = 6.10693596172e-05

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  2.768e+00  1.053e+01  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  2.722e+00  1.884e+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.077e+00  1.921e-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:  8.915e-01  2.206e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/409111/cmap_HighResolution_583545601_583804801_4FGL_J2236.4-2309_daily_bin1328.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.60e-03', job_status='DONE', photon_flux_upper_limit='9.63e-08', time_completed='2021-09-28 17:28:37.001021', job_id='409111', GAL2='1.08', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1632875317.0', return_code2='0', ts='0.08', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='6.11e-05', ts2='0.08', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='1328' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:28:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 409111: <4FGL_J2236.4-2309_daily_bin1328> in cluster <slac> Done

Job <4FGL_J2236.4-2309_daily_bin1328> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Sep 28 17:15:11 2021
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 17:15:12 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 17:15:12 2021
Terminated at Tue Sep 28 17:28:38 2021
Results reported at Tue Sep 28 17:28:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin1328 339.125 -23.1552 583545601 583804801 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 :                                   716.00 sec.
    Max Memory :                                 1161 MB
    Average Memory :                             311.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   805 sec.
    Turnaround time :                            807 sec.

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

