/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 186 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 = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2236.4-2309_daily_bin555
RA = 339.125, Dec = -23.1552
tmin = 383184001, tmax = 383443201
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='406008', job_status='RUN', time_executed='2021-09-28 17:08:31.661169', time_epoch_executed='1632874111.66' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='555'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/406008

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/406008/ft1_4FGL_J2236.4-2309_daily_bin555.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/406008/ft2_4FGL_J2236.4-2309_daily_bin555.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/406008/ft1_4FGL_J2236.4-2309_daily_bin555.fits outfile=/scratch/kocevski/406008/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin555.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=383184001.0 tmax=383443201.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.39
user 3.18
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/406008/ft1_filtered_4FGL_J2236.4-2309_daily_bin555.fits" evtable="EVENTS" scfile=/scratch/kocevski/406008/ft2_4FGL_J2236.4-2309_daily_bin555.fits sctable="SC_DATA" outfile=/scratch/kocevski/406008/ltcube_383184001_383443201_4FGL_J2236.4-2309_daily_bin555.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/406008/ft2_4FGL_J2236.4-2309_daily_bin555.fits
.....................!
real 11.88
user 11.49
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/406008/ft1_filtered_4FGL_J2236.4-2309_daily_bin555.fits evtable="EVENTS" scfile=/scratch/kocevski/406008/ft2_4FGL_J2236.4-2309_daily_bin555.fits sctable="SC_DATA" expcube=/scratch/kocevski/406008/ltcube_383184001_383443201_4FGL_J2236.4-2309_daily_bin555.fits outfile=/scratch/kocevski/406008/expmap_383184001_383443201_4FGL_J2236.4-2309_daily_bin555.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/406008/ltcube_383184001_383443201_4FGL_J2236.4-2309_daily_bin555.fits
.....................!
real 191.67
user 185.81
sys 5.55

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/406008/ft1_filtered_4FGL_J2236.4-2309_daily_bin555.fits scfile=/scratch/kocevski/406008/ft2_4FGL_J2236.4-2309_daily_bin555.fits outfile=/scratch/kocevski/406008/cmap_383184001_383443201_4FGL_J2236.4-2309_daily_bin555.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/406008/ft1_filtered_4FGL_J2236.4-2309_daily_bin555.fits scfile=/scratch/kocevski/406008/ft2_4FGL_J2236.4-2309_daily_bin555.fits outfile=/scratch/kocevski/406008/cmap_HighResolution_383184001_383443201_4FGL_J2236.4-2309_daily_bin555.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.54
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/406008/ft1_filtered_4FGL_J2236.4-2309_daily_bin555.fits evtable="EVENTS" scfile=/scratch/kocevski/406008/ft2_4FGL_J2236.4-2309_daily_bin555.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/406008/Model_4FGL_J2236.4-2309_daily_bin555.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/406008/ft1_filtered_4FGL_J2236.4-2309_daily_bin555.fits....................!
real 66.78
user 65.47
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11868E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    119.37       1.0000         .10000E-03   10000.    
     3 'norm      '    .97427       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    19.055       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.3805       1.0000         .10000E-03   10000.    
     7 'Prefactor '    59.277       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.3891       1.0000         .10000E-03   10000.    
    10 'norm      '    .60646       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    11.735       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.3386       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10112E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.2842       1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.7972       1.0000         .10000E-03   10000.    
    22 'Prefactor '    11.704       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .83568       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1058       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8474.256     FROM MIGRAD    STATUS=CONVERGED    521 CALLS     2701 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.766       -.20925E-06** at limit **
   2  Prefactor     119.37        55.411       -.16828E-06   -.36950E-04
   3  norm          .97431        .31402        .79770E-09   -.49224E-04
   4  Prefactor     .10000E-03    5.6064        .36018E-06** at limit **
   5  Prefactor     19.055        11.277        .18698E-06    .36860E-05
   6  Prefactor     1.3730        27.056        .26251E-05   -.19510E-04
   7  Prefactor     59.227        46.634       -.36390E-05   -.28949E-03
   8  norm          .10000E-03    4.4248        .46047E-08** at limit **
   9  Prefactor     6.3865        9.2996        .43564E-05   -.66759E-04
  10  norm          .60787        .73924       -.15251E-06   -.65366E-04
  11  norm          .10000E-03    .76645       -.52248E-07** at limit **
  12  Prefactor     .10000E-03    23.002       -.32189E-06** at limit **
  13  Prefactor     .10000E-03    6.7198        .86668E-07** at limit **
  14  Prefactor     .10000E-03    2.9828        .72479E-07** at limit **
  15  norm          .10000E-03    .20397        .56777E-08** at limit **
  16  norm          11.736        4.2079       -.77572E-07   -.69697E-04
  17  Prefactor     .10000E-03    5.2764       -.20962E-06** at limit **
  18  Prefactor     3.3426        9.3937        .27435E-06   -.14765E-04
  19  Prefactor     .10000E-03    6.7033       -.15504E-06** at limit **
  20  norm          1.2844        .55740       -.25877E-07    .20492E-04
  21  Prefactor     5.7967        7.0236        .20319E-06    .19740E-05
  22  Prefactor     11.707        7.7118        .66110E-06   -.33273E-04
  23  Normalizat    .83558        .16039       -.10674E-05    .66386E-05
  24  Prefactor     1.1059        .14288        .20930E-06   -.81035E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 119.367
  norm       = 0.974311
  Prefactor  = 0.0001
  Prefactor  = 19.055
  Prefactor  = 1.37305
  Prefactor  = 59.2267
  norm       = 0.0001
  Prefactor  = 6.3865
  norm       = 0.607867
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 11.7364
  Prefactor  = 0.0001
  Prefactor  = 3.34259
  Prefactor  = 0.0001
  norm       = 1.28442
  Prefactor  = 5.79673
  Prefactor  = 11.7069
  Normalizat = 0.835584
  Prefactor  = 1.10588
 **********
 **   18 **HESSE 
 **********

 FCN=   8474.256     FROM HESSE     STATUS=OK           401 CALLS     3102 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.777        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     119.37        55.342        .36831E-04   -1.3518    
   3  norm          .97431        .31485        .28316E-04   -1.5511    
   4  Prefactor     .10000E-03    5.6547        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     19.055        11.276        .91752E-04   -1.4835    
   6  Prefactor     1.3730        27.324        .37046E-03   -1.5474    
   7  Prefactor     59.227        48.433        .26055E-03   -1.4167    
   8  norm          .10000E-03    4.4269        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.3865        9.3865        .79395E-03   -1.5202    
  10  norm          .60787        .68023        .81892E-03   -1.5552    
  11  norm          .10000E-03    .78509        .78686E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    23.093        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.9317        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.9926        .15526E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    .20401        .18142E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          11.736        4.1975        .10412E-03   -1.5023    
  17  Prefactor     .10000E-03    5.2837        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.3426        9.3612        .22151E-03   -1.5342    
  19  Prefactor     .10000E-03    6.8035        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.2844        .55626        .39466E-04   -1.5481    
  21  Prefactor     5.7967        7.0192        .16681E-03   -1.5226    
  22  Prefactor     11.707        7.7144        .58548E-03   -1.5024    
  23  Normalizat    .83558        .18406        .27342E-03   -.98762    
  24  Prefactor     1.1059        .16509        .21991E-03   -.89279    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.66115e-09
Minuit parameter uncertainties:
  1  6.55044e-06
  2  55.3662
  3  0.314851
  4  1.62263e-05
  5  11.2776
  6  12.2563
  7  48.4655
  8  2.96628e-06
  9  9.38862
  10  0.680234
  11  4.54196e-06
  12  0.000109821
  13  2.29334e-06
  14  3.60423e-06
  15  5.99776e-08
  16  4.1976
  17  1.33207e-05
  18  9.36533
  19  2.07665e-05
  20  0.556259
  21  7.02016
  22  7.71506
  23  0.184202
  24  0.165164
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.106e+00  1.652e-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.356e-01  1.842e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/406008/likelihoodResults_383184001_383443201_4FGL_J2236.4-2309_daily_bin555.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) = 8474.24467801
delta logL = 0.0115314222166

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8474.24286113
delta logL = 0.0133483006339

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.8478       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9285       1.0000          .0000       10.000    
     3 'Normalizat'    .83181       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1084       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8474.243     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      196 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 18.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.8492        9.6394        .56968E-05   -.81820E-03
   2  Index         2.9277        1.1234       -.30370E-04   -.15477E-03
   3  Normalizat    .83188        .15740       -.52947E-06    .67048E-05
   4  Prefactor     1.1083        .14193       -.12549E-06   -.19762E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.84916
  Index      = 2.92767
  Normalizat = 0.831879
  Prefactor  = 1.10834
 **********
 **   18 **HESSE 
 **********

 FCN=   8474.243     FROM HESSE     STATUS=OK            31 CALLS      227 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.8492        9.5906        .16607E-03   -1.5224    
   2  Index         2.9277        1.1768        .89104E-03   -.42736    
   3  Normalizat    .83188        .18251        .27398E-03   -.98897    
   4  Prefactor     1.1083        .16439        .21970E-03   -.89201    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41374e-09
Minuit parameter uncertainties:
  1  9.59308
  2  1.19032
  3  0.182641
  4  0.164469
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/406008': 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) = 8474.24286083
delta logL = 0.0133486001523

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  5.849e+00  9.593e+00  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  2.928e+00  1.190e+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.108e+00  1.645e-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.319e-01  1.826e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/406008/cmap_HighResolution_383184001_383443201_4FGL_J2236.4-2309_daily_bin555.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.35e-03', job_status='DONE', photon_flux_upper_limit='9.32e-08', time_completed='2021-09-28 17:21:19.024046', job_id='406008', GAL2='1.11', fit_tolerance='1e-08', EG2='0.83', EG='0.84', time_epoch_completed='1632874879.02', return_code2='0', ts='0.57', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='1.33e-02', ts2='0.59', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='555' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:21:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 406008: <4FGL_J2236.4-2309_daily_bin555> in cluster <slac> Done

Job <4FGL_J2236.4-2309_daily_bin555> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 17:05:17 2021
Job was executed on host(s) <bullet0035>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 17:05:19 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:05:19 2021
Terminated at Tue Sep 28 17:21:19 2021
Results reported at Tue Sep 28 17:21:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin555 339.125 -23.1552 383184001 383443201 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 :                                   767.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             286.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   960 sec.
    Turnaround time :                            962 sec.

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

