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


Performing analysis on: 4FGL_J2236.4-2309_daily_bin589
RA = 339.125, Dec = -23.1552
tmin = 391996801, tmax = 392256001
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='406059', job_status='RUN', time_executed='2021-09-28 17:09:08.802285', time_epoch_executed='1632874148.8' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='589'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/406059

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/406059/ft1_4FGL_J2236.4-2309_daily_bin589.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/406059/ft2_4FGL_J2236.4-2309_daily_bin589.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/406059/ft1_4FGL_J2236.4-2309_daily_bin589.fits outfile=/scratch/kocevski/406059/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin589.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=391996801.0 tmax=392256001.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 5.35
user 5.10
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/406059/ft2_4FGL_J2236.4-2309_daily_bin589.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/406059/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin589.fits evtable="EVENTS" outfile="/scratch/kocevski/406059/ft1_filtered_4FGL_J2236.4-2309_daily_bin589.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.48
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/406059/ft1_filtered_4FGL_J2236.4-2309_daily_bin589.fits" evtable="EVENTS" scfile=/scratch/kocevski/406059/ft2_4FGL_J2236.4-2309_daily_bin589.fits sctable="SC_DATA" outfile=/scratch/kocevski/406059/ltcube_391996801_392256001_4FGL_J2236.4-2309_daily_bin589.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/406059/ft2_4FGL_J2236.4-2309_daily_bin589.fits
.....................!
real 11.55
user 11.17
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/406059/ft1_filtered_4FGL_J2236.4-2309_daily_bin589.fits evtable="EVENTS" scfile=/scratch/kocevski/406059/ft2_4FGL_J2236.4-2309_daily_bin589.fits sctable="SC_DATA" expcube=/scratch/kocevski/406059/ltcube_391996801_392256001_4FGL_J2236.4-2309_daily_bin589.fits outfile=/scratch/kocevski/406059/expmap_391996801_392256001_4FGL_J2236.4-2309_daily_bin589.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/406059/ltcube_391996801_392256001_4FGL_J2236.4-2309_daily_bin589.fits
.....................!
real 190.73
user 185.11
sys 5.30

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/406059/ft1_filtered_4FGL_J2236.4-2309_daily_bin589.fits scfile=/scratch/kocevski/406059/ft2_4FGL_J2236.4-2309_daily_bin589.fits outfile=/scratch/kocevski/406059/cmap_391996801_392256001_4FGL_J2236.4-2309_daily_bin589.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/406059/ft1_filtered_4FGL_J2236.4-2309_daily_bin589.fits scfile=/scratch/kocevski/406059/ft2_4FGL_J2236.4-2309_daily_bin589.fits outfile=/scratch/kocevski/406059/cmap_HighResolution_391996801_392256001_4FGL_J2236.4-2309_daily_bin589.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/406059/ft1_filtered_4FGL_J2236.4-2309_daily_bin589.fits evtable="EVENTS" scfile=/scratch/kocevski/406059/ft2_4FGL_J2236.4-2309_daily_bin589.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/406059/Model_4FGL_J2236.4-2309_daily_bin589.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/406059/ft1_filtered_4FGL_J2236.4-2309_daily_bin589.fits.....................!
real 55.80
user 54.48
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.322       1.0000         .10000E-03   10000.    
     2 'Prefactor '    14.692       1.0000         .10000E-03   10000.    
     3 'norm      '    .57288       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.2545       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.6265       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.3231       1.0000         .10000E-03   10000.    
     8 'norm      '    3.3812       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.8216       1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    37.222       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .30726E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    13.852       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.8413       1.0000         .10000E-03   10000.    
    20 'norm      '    .10063E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.1162       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .99226       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .90307       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=   7131.464     FROM MIGRAD    STATUS=CONVERGED     97 CALLS     2301 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.325        4.9089        .42720E-06   -.74641E-02
   2  Prefactor     14.648        5.1692        .53079E-06    .74261E-02
   3  norm          .57292        .27152        .10227E-06    .28040E-03
   4  Prefactor     2.2549        1.6311        .25752E-06    .16174E-02
   5  Prefactor     .10000E-03    9.0603        .99138E-06** at limit **
   6  Prefactor     5.6263        1.5855        .11080E-06    .17216E-02
   7  Prefactor     6.3218        1.1862       -.63922E-07    .52206E-03
   8  norm          3.3703        14.814        .29885E-05    .14577E-02
   9  Prefactor     4.8207        1.3834       -.28152E-07    .26993E-02
  10  norm          .10000E-03    .30399        .76988E-06** at limit **
  11  norm          .10000E-03    .62921       -.14509E-05** at limit **
  12  Prefactor     37.226        1.0704       -.62115E-07    .19886E-02
  13  Prefactor     .10239E-03    279.54        .27825E-04** at limit **
  14  Prefactor     .10000E-03    3.1835        .41478E-07** at limit **
  15  norm          .10000E-03    .21126        .14830E-07** at limit **
  16  norm          13.852        4.1291       -.47886E-06   -.16047E-02
  17  Prefactor     .10000E-03    9.2753        .13565E-05** at limit **
  18  Prefactor     .10000E-03    5.0718       -.23839E-05** at limit **
  19  Prefactor     5.8384        2.5524       -.16336E-06   -.10197E-02
  20  norm          .10000E-03    .75359       -.10174E-05** at limit **
  21  Prefactor     .10000E-03    2.9242       -.63555E-06** at limit **
  22  Prefactor     3.1164        3.9892        .95759E-06    .42175E-03
  23  Normalizat    .99229        .18836       -.17283E-05    .41482E-04
  24  Prefactor     .90312        .16673        .28295E-05    .72323E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.3252
  Prefactor  = 14.6484
  norm       = 0.572922
  Prefactor  = 2.2549
  Prefactor  = 0.000100002
  Prefactor  = 5.62629
  Prefactor  = 6.32183
  norm       = 3.37034
  Prefactor  = 4.82067
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 37.2255
  Prefactor  = 0.000102389
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 13.8524
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 5.83841
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.11637
  Normalizat = 0.992289
  Prefactor  = 0.903116
 **********
 **   18 **HESSE 
 **********

 FCN=   7131.464     FROM HESSE     STATUS=OK           457 CALLS     2758 TOTAL
                     EDM=   .66E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.325        41.051        .22779E-02   -1.4828    
   2  Prefactor     14.648        167.80        .26124E-02   -1.4942    
   3  norm          .57292        .27313        .66692E-02   -1.5557    
   4  Prefactor     2.2549        3.9815        .68407E-02   -1.5408    
   5  Prefactor     .10000E-03    9.2235        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.6263        10.962        .42339E-02   -1.5234    
   7  Prefactor     6.3218        68.053        .39907E-02   -1.5205    
   8  norm          3.3703        15.817        .55012E-02   -1.5341    
   9  Prefactor     4.8207        8.9487        .45802E-02   -1.5269    
  10  norm          .10000E-03    .22793        .19700E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .62892        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     37.226        32.459        .16423E-02   -1.4487    
  13  Prefactor     .10239E-03    5.1763        .91756E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.1794        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    .21122        .90712E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          13.852        4.8512        .26904E-02   -1.4963    
  17  Prefactor     .10000E-03    9.6407        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    5.0725        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.8384        7.3580        .41542E-02   -1.5225    
  20  norm          .10000E-03    .33282        .14853E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    2.9176        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     3.1164        4.5015        .57423E-02   -1.5355    
  23  Normalizat    .99229        .16456        .46070E-01   -.93289    
  24  Prefactor     .90312        .14118        .45044E-01   -.96032    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.61587e-06
Minuit parameter uncertainties:
  1  41.1112
  2  99.5092
  3  0.27313
  4  3.98192
  5  0.000244164
  6  10.9662
  7  41.5436
  8  14.6087
  9  8.95122
  10  1.25112e-06
  11  3.79977e-06
  12  32.4744
  13  0.00703402
  14  1.05803e-05
  15  6.77724e-09
  16  4.85138
  17  0.00025726
  18  2.3776e-05
  19  7.35918
  20  1.7361e-06
  21  6.02572e-06
  22  4.50196
  23  0.164647
  24  0.141238
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  4.821e+00  8.951e+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:  9.031e-01  1.412e-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:  9.923e-01  1.646e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/406059/likelihoodResults_391996801_392256001_4FGL_J2236.4-2309_daily_bin589.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) = 7131.46278015
delta logL = 0.00158035661298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7131.46261893
delta logL = 0.00174158123991

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.6936       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8345       1.0000          .0000       10.000    
     3 'Normalizat'    .99048       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90411       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7131.463     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      286 TOTAL
                     EDM=   .67E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.6893        9.2453        .92873E-03   -.77033E-04
   2  Index         2.8319        1.5553        .11793E-01   -.23594E-04
   3  Normalizat    .99067        .18964        .23829E-03   -.15448E-03
   4  Prefactor     .90415        .16736        .22135E-03   -.14607E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.68925
  Index      = 2.83189
  Normalizat = 0.990673
  Prefactor  = 0.904148
 **********
 **   18 **HESSE 
 **********

 FCN=   7131.463     FROM HESSE     STATUS=OK            27 CALLS      313 TOTAL
                     EDM=   .75E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.6893        8.9429        .37149E-04   -1.5275    
   2  Index         2.8319        1.5061        .47170E-03   -.44851    
   3  Normalizat    .99067        .18991        .95315E-05   -.93344    
   4  Prefactor     .90415        .16751        .88540E-05   -.95996    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.486e-11
Minuit parameter uncertainties:
  1  8.94543
  2  1.5357
  3  0.190037
  4  0.167601
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/406059': 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) = 7131.46261448
delta logL = 0.0017460282661

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  4.689e+00  8.945e+00  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  2.832e+00  1.536e+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:  9.041e-01  1.676e-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:  9.907e-01  1.900e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.37
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/406059/cmap_HighResolution_391996801_392256001_4FGL_J2236.4-2309_daily_bin589.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.05e-03', job_status='DONE', photon_flux_upper_limit='8.93e-08', time_completed='2021-09-28 17:20:23.482407', job_id='406059', GAL2='0.90', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1632874823.48', return_code2='0', ts='0.37', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.75e-03', ts2='0.38', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='589' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:20:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 406059: <4FGL_J2236.4-2309_daily_bin589> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin589 339.125 -23.1552 391996801 392256001 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 :                                   675.06 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             234.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   901 sec.
    Turnaround time :                            903 sec.

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

