/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 169 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 = 7346
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2236.4-2309_daily_bin119
RA = 339.125, Dec = -23.1552
tmin = 270172801, tmax = 270432001
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='403061', job_status='RUN', time_executed='2021-09-28 16:58:38.117402', time_epoch_executed='1632873518.12' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='119'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/403061

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/403061/ft1_4FGL_J2236.4-2309_daily_bin119.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/403061/ft2_4FGL_J2236.4-2309_daily_bin119.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/403061/ft1_4FGL_J2236.4-2309_daily_bin119.fits outfile=/scratch/kocevski/403061/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin119.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=270172801.0 tmax=270432001.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 1.66
user 1.47
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/403061/ft1_filtered_4FGL_J2236.4-2309_daily_bin119.fits" evtable="EVENTS" scfile=/scratch/kocevski/403061/ft2_4FGL_J2236.4-2309_daily_bin119.fits sctable="SC_DATA" outfile=/scratch/kocevski/403061/ltcube_270172801_270432001_4FGL_J2236.4-2309_daily_bin119.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/403061/ft2_4FGL_J2236.4-2309_daily_bin119.fits
.....................!
real 12.96
user 12.57
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/403061/ft1_filtered_4FGL_J2236.4-2309_daily_bin119.fits evtable="EVENTS" scfile=/scratch/kocevski/403061/ft2_4FGL_J2236.4-2309_daily_bin119.fits sctable="SC_DATA" expcube=/scratch/kocevski/403061/ltcube_270172801_270432001_4FGL_J2236.4-2309_daily_bin119.fits outfile=/scratch/kocevski/403061/expmap_270172801_270432001_4FGL_J2236.4-2309_daily_bin119.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/403061/ltcube_270172801_270432001_4FGL_J2236.4-2309_daily_bin119.fits
.....................!
real 190.44
user 184.85
sys 5.19

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/403061/ft1_filtered_4FGL_J2236.4-2309_daily_bin119.fits scfile=/scratch/kocevski/403061/ft2_4FGL_J2236.4-2309_daily_bin119.fits outfile=/scratch/kocevski/403061/cmap_270172801_270432001_4FGL_J2236.4-2309_daily_bin119.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.52
user 0.37
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/403061/ft1_filtered_4FGL_J2236.4-2309_daily_bin119.fits evtable="EVENTS" scfile=/scratch/kocevski/403061/ft2_4FGL_J2236.4-2309_daily_bin119.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/403061/Model_4FGL_J2236.4-2309_daily_bin119.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/403061/ft1_filtered_4FGL_J2236.4-2309_daily_bin119.fits.....................!
real 51.50
user 50.12
sys 1.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11936E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    25.348       1.0000         .10000E-03   10000.    
     3 'norm      '    1.5305       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .53646E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .36466       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .22659E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.021       1.0000         .10000E-03   10000.    
    10 'norm      '    2.0305       1.0000         .10000E-03   10000.    
    11 'norm      '    4.4233       1.0000         .10000E-03   10000.    
    12 'Prefactor '    26.293       1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.273       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10135E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    6.1058       1.0000         .10000E-03   10000.    
    17 'Prefactor '    22.258       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.2955       1.0000         .10000E-03   10000.    
    19 'Prefactor '    19.191       1.0000         .10000E-03   10000.    
    20 'norm      '    .10322E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .16053E-02   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3712       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .78621       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=   5984.212     FROM MIGRAD    STATUS=CONVERGED    972 CALLS     3270 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    16.967        .18142E-02** at limit **
   2  Prefactor     25.264        64.099        .79565E-04   -.40922E-04
   3  norm          1.5306        .44090        .26639E-04    .16217E-04
   4  Prefactor     .10000E-03    5.5505        .17762E-02** at limit **
   5  Prefactor     .10002E-03    47.691        .38515E-02** at limit **
   6  Prefactor     .45982        134.56        .55104E-02   -.24353E-03
   7  Prefactor     .10000E-03    63.678        .18142E-02** at limit **
   8  norm          .10014E-03    67.010        .52711E-02** at limit **
   9  Prefactor     17.021        13.857        .48540E-03   -.15601E-03
  10  norm          2.0307        .99095        .51593E-04   -.52224E-03
  11  norm          4.4230        3.1390        .96010E-04    .88217E-04
  12  Prefactor     26.300        70.260        .78125E-04   -.77125E-05
  13  Prefactor     10.276        15.606        .12501E-03   -.11640E-04
  14  Prefactor     .10000E-03    14.859        .18142E-02** at limit **
  15  norm          .10000E-03    .67712        .99861E-03** at limit **
  16  norm          6.1047        4.7741        .13533E-03   -.26378E-04
  17  Prefactor     22.266        29.513        .84901E-04   -.19550E-03
  18  Prefactor     3.2884        36.984        .22303E-03   -.33643E-04
  19  Prefactor     19.197        13.701        .91427E-04   -.44765E-04
  20  norm          .10000E-03    .98948        .10018E-02** at limit **
  21  Prefactor     .10000E-03    3.4824        .14081E-02** at limit **
  22  Prefactor     .10006E-03    53.654        .44923E-02** at limit **
  23  Normalizat    1.3709        .26118        .25284E-03   -.39528E-03
  24  Prefactor     .78639        .20199        .26791E-03   -.30383E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100013
  Prefactor  = 25.2643
  norm       = 1.53058
  Prefactor  = 0.0001
  Prefactor  = 0.000100024
  Prefactor  = 0.459816
  Prefactor  = 0.0001
  norm       = 0.000100137
  Prefactor  = 17.0211
  norm       = 2.03071
  norm       = 4.42304
  Prefactor  = 26.3004
  Prefactor  = 10.276
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.10472
  Prefactor  = 22.2663
  Prefactor  = 3.28844
  Prefactor  = 19.1967
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100063
  Normalizat = 1.37088
  Prefactor  = 0.786391
 **********
 **   18 **HESSE 
 **********

 FCN=   5984.212     FROM HESSE     STATUS=OK           375 CALLS     3645 TOTAL
                     EDM=   .89E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    16.967        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     25.264        64.087        .15913E-04   -1.4702    
   3  norm          1.5306        .44090        .10656E-05   -1.5461    
   4  Prefactor     .10000E-03    5.5512        .35524E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10002E-03    48.390        .77030E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .45982        136.90        .22042E-03   -1.5572    
   7  Prefactor     .10000E-03    63.684        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10014E-03    69.065        .21084E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.021        13.855        .19416E-04   -1.4883    
  10  norm          2.0307        .99077        .20637E-05   -1.5423    
  11  norm          4.4230        3.1401        .38404E-05   -1.5287    
  12  Prefactor     26.300        70.311        .31250E-05   -1.4682    
  13  Prefactor     10.276        15.600        .50005E-05   -1.5067    
  14  Prefactor     .10000E-03    14.863        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    .67744        .19972E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          6.1047        4.7729        .54132E-05   -1.5214    
  17  Prefactor     22.266        29.493        .16980E-04   -1.4764    
  18  Prefactor     3.2884        36.864        .89211E-05   -1.5345    
  19  Prefactor     19.197        13.651        .36571E-05   -1.4831    
  20  norm          .10000E-03    .99060        .20035E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.4826        .28162E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10006E-03    53.945        .89847E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3709        .26084        .50568E-04   -.81475    
  24  Prefactor     .78639        .20218        .10717E-04   -1.0023    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.89929e-09
Minuit parameter uncertainties:
  1  0.000939855
  2  64.2624
  3  0.440897
  4  4.00746e-05
  5  0.00213746
  6  15.9031
  7  1.75945e-05
  8  0.00616634
  9  13.8579
  10  0.990776
  11  3.14024
  12  70.5335
  13  15.6061
  14  0.00012557
  15  2.09296e-05
  16  4.77318
  17  29.5123
  18  22.0375
  19  13.6529
  20  8.95642e-06
  21  1.63717e-06
  22  0.00368669
  23  0.261096
  24  0.202373
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  1.702e+01  1.386e+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:  7.864e-01  2.024e-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:  1.371e+00  2.611e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.91
Ra Dec: 339.125 -23.155
Photon Index (Fixed Index): 2.74 +/- 0.00
Photon Flux (Fixed Index): 5.99e-08 +/- 4.87e-08
Energy Flux (Fixed Index): 1.40e-05 +/- 1.14e-05

TS (Fixed Index): 3.91
Ra Dec: 339.125 -23.155
Photon Flux Upper Limit: 1.66e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.31e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/403061/likelihoodResults_270172801_270432001_4FGL_J2236.4-2309_daily_bin119.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) = 5983.92364024
delta logL = 0.288219758935

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5983.91938248
delta logL = 0.292477516126

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.760       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2465       1.0000          .0000       10.000    
     3 'Normalizat'    1.3914       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77504       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=   5983.919     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      262 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.757        14.874        .95039E-04    .10407E-04
   2  Index         2.2465        .62537        .88796E-02    .21159E-04
   3  Normalizat    1.3916        .23792        .25128E-03    .33491E-03
   4  Prefactor     .77519        .19611        .26960E-03    .29125E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.7569
  Index      = 2.24653
  Normalizat = 1.39162
  Prefactor  = 0.775193
 **********
 **   18 **HESSE 
 **********

 FCN=   5983.919     FROM HESSE     STATUS=OK            25 CALLS      287 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.757        14.996        .38016E-05   -1.4865    
   2  Index         2.2465        .63047        .35518E-03   -.58320    
   3  Normalizat    1.3916        .23818        .50256E-04   -.80871    
   4  Prefactor     .77519        .19628        .10784E-04   -1.0065    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33527e-10
Minuit parameter uncertainties:
  1  14.9996
  2  0.632897
  3  0.238371
  4  0.196459
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/403061': 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) = 5983.91937763
delta logL = 0.292482371948

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  1.776e+01  1.500e+01  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  2.247e+00  6.329e-01  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:  7.752e-01  1.965e-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:  1.392e+00  2.384e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.49
Ra Dec: 339.125 -23.155
Photon Index (Free Index): 2.25 +/- 0.63
Photon Flux (Free Index): 4.15e-08 +/- 4.40e-08
Energy Flux (Free Index): 1.71e-05 +/- 1.55e-05

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/403061/cmap_HighResolution_270172801_270432001_4FGL_J2236.4-2309_daily_bin119.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.31e-02', comment='SUCCESS', photon_flux='5.99e-08', energy_flux2='1.71e-05', photon_flux_error='4.87e-08', dlogl='2.92e-01', energy_flux='1.40e-05', photon_flux2='4.15e-08', job_status='DONE', time_completed='2021-09-28 17:09:29.244735', photon_index_error2='0.63', photon_index2='2.25', ts='3.91', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', photon_flux_upper_limit='1.66e-07', energy_flux_error2='1.55e-05', EG='1.37', time_epoch_completed='1632874169.24', return_code='0', job_id='403061', GAL2='0.78', EG2='1.39', return_code2='0', energy_flux_error='1.14e-05', photon_flux_error2='4.40e-08', ts2='4.49', photon_index='2.74' WHERE bin_id='119' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:09:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 403061: <4FGL_J2236.4-2309_daily_bin119> in cluster <slac> Done

Job <4FGL_J2236.4-2309_daily_bin119> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 16:55:37 2021
Job was executed on host(s) <bullet0241>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 16:55:39 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 16:55:39 2021
Terminated at Tue Sep 28 17:09:29 2021
Results reported at Tue Sep 28 17:09:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin119 339.125 -23.1552 270172801 270432001 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 :                                   652.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             246.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   830 sec.
    Turnaround time :                            832 sec.

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

