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


Performing analysis on: 4FGL_J2236.4-2309_daily_bin1319
RA = 339.125, Dec = -23.1552
tmin = 581212801, tmax = 581472001
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='408124', job_status='RUN', time_executed='2021-09-28 17:14:50.264095', time_epoch_executed='1632874490.26' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='1319'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/408124

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/408124/ft1_4FGL_J2236.4-2309_daily_bin1319.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/408124/ft2_4FGL_J2236.4-2309_daily_bin1319.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/408124/ft1_4FGL_J2236.4-2309_daily_bin1319.fits outfile=/scratch/kocevski/408124/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1319.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=581212801.0 tmax=581472001.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 2.96
user 2.77
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/408124/ft2_4FGL_J2236.4-2309_daily_bin1319.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/408124/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1319.fits evtable="EVENTS" outfile="/scratch/kocevski/408124/ft1_filtered_4FGL_J2236.4-2309_daily_bin1319.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/408124/ft1_filtered_4FGL_J2236.4-2309_daily_bin1319.fits" evtable="EVENTS" scfile=/scratch/kocevski/408124/ft2_4FGL_J2236.4-2309_daily_bin1319.fits sctable="SC_DATA" outfile=/scratch/kocevski/408124/ltcube_581212801_581472001_4FGL_J2236.4-2309_daily_bin1319.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/408124/ft2_4FGL_J2236.4-2309_daily_bin1319.fits
.....................!
real 12.35
user 12.01
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/408124/ft1_filtered_4FGL_J2236.4-2309_daily_bin1319.fits evtable="EVENTS" scfile=/scratch/kocevski/408124/ft2_4FGL_J2236.4-2309_daily_bin1319.fits sctable="SC_DATA" expcube=/scratch/kocevski/408124/ltcube_581212801_581472001_4FGL_J2236.4-2309_daily_bin1319.fits outfile=/scratch/kocevski/408124/expmap_581212801_581472001_4FGL_J2236.4-2309_daily_bin1319.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/408124/ltcube_581212801_581472001_4FGL_J2236.4-2309_daily_bin1319.fits
.....................!
real 189.82
user 185.35
sys 4.04

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/408124/ft1_filtered_4FGL_J2236.4-2309_daily_bin1319.fits scfile=/scratch/kocevski/408124/ft2_4FGL_J2236.4-2309_daily_bin1319.fits outfile=/scratch/kocevski/408124/cmap_581212801_581472001_4FGL_J2236.4-2309_daily_bin1319.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/408124/ft1_filtered_4FGL_J2236.4-2309_daily_bin1319.fits scfile=/scratch/kocevski/408124/ft2_4FGL_J2236.4-2309_daily_bin1319.fits outfile=/scratch/kocevski/408124/cmap_HighResolution_581212801_581472001_4FGL_J2236.4-2309_daily_bin1319.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.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10715E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .39837E-02   1.0000         .10000E-03   10000.    
     3 'norm      '    .69421       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.0313       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10247E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .39964E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10904E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.237       1.0000         .10000E-03   10000.    
    10 'norm      '    2.5744       1.0000         .10000E-03   10000.    
    11 'norm      '    .90123       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10119E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10257E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.125       1.0000         .10000E-03   10000.    
    15 'norm      '    3.9283       1.0000         .10000E-03   10000.    
    16 'norm      '    1.5648       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.9855       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.874       1.0000         .10000E-03   10000.    
    20 'norm      '    2.5821       1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.0304       1.0000         .10000E-03   10000.    
    22 'Prefactor '    6.4501       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1593       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .89728       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=   8587.270     FROM MIGRAD    STATUS=CONVERGED    551 CALLS     2377 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.754        .54320E-07** at limit **
   2  Prefactor     .10001E-03    254.69       -.97019E-05** at limit **
   3  norm          .69402        .28202        .10747E-07    .32119E-03
   4  Prefactor     .10000E-03    3.4518       -.37622E-07** at limit **
   5  Prefactor     8.0332        8.2751       -.12490E-06    .37981E-04
   6  Prefactor     .10000E-03    7.9728       -.44490E-07** at limit **
   7  Prefactor     .10000E-03    324.98       -.13564E-05** at limit **
   8  norm          .10000E-03    46.377       -.45442E-07** at limit **
   9  Prefactor     14.244        12.259       -.67365E-06    .18281E-03
  10  norm          2.5746        .94640       -.51817E-07    .44310E-04
  11  norm          .90098        1.7548        .10502E-06    .20206E-04
  12  Prefactor     .10000E-03    21.098        .96362E-07** at limit **
  13  Prefactor     .10000E-03    4.1568       -.13144E-07** at limit **
  14  Prefactor     11.079        33.770        .55996E-05   -.20050E-04
  15  norm          3.9296        2.4622        .55734E-06    .23208E-02
  16  norm          1.5648        1.7612        .60722E-07    .64371E-04
  17  Prefactor     5.1087        79.088       -.30094E-04   -.87489E-04
  18  Prefactor     .10000E-03    3.2692        .57328E-07** at limit **
  19  Prefactor     10.883        10.688       -.69399E-06    .14735E-03
  20  norm          2.5819        .85973        .25299E-07   -.31474E-03
  21  Prefactor     2.0292        7.8732        .68826E-05   -.46952E-03
  22  Prefactor     6.4444        6.4988        .77183E-06   -.14996E-03
  23  Normalizat    1.1593        .17072        .61787E-06    .79478E-04
  24  Prefactor     .89714        .14408       -.42325E-06    .16583E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100014
  norm       = 0.694021
  Prefactor  = 0.0001
  Prefactor  = 8.03323
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 14.2437
  norm       = 2.57464
  norm       = 0.900976
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.0788
  norm       = 3.92959
  norm       = 1.5648
  Prefactor  = 5.10872
  Prefactor  = 0.0001
  Prefactor  = 10.8833
  norm       = 2.58189
  Prefactor  = 2.02919
  Prefactor  = 6.44441
  Normalizat = 1.15932
  Prefactor  = 0.897144
 **********
 **   18 **HESSE 
 **********

 FCN=   8587.270     FROM HESSE     STATUS=OK           405 CALLS     2782 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.812        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10001E-03    261.00        .38999E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .69402        .28225        .30484E-04   -1.5541    
   4  Prefactor     .10000E-03    3.4706        .16811E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.0332        8.2749        .14148E-03   -1.5141    
   6  Prefactor     .10000E-03    7.9978        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    335.98        .42528E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    47.872        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     14.244        12.252        .10615E-03   -1.4953    
  10  norm          2.5746        .94513        .51848E-04   -1.5387    
  11  norm          .90098        1.5257        .16236E-02   -1.5518    
  12  Prefactor     .10000E-03    21.116        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.1897        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.079        35.392        .12011E-03   -1.5042    
  15  norm          3.9296        2.6661        .55949E-04   -1.5311    
  16  norm          1.5648        1.7572        .12553E-03   -1.5458    
  17  Prefactor     5.1087        80.116        .18011E-03   -1.5256    
  18  Prefactor     .10000E-03    3.2700        .16359E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     10.883        11.068        .12149E-03   -1.5048    
  20  norm          2.5819        .88738        .37771E-04   -1.5387    
  21  Prefactor     2.0292        8.2925        .14516E-02   -1.5423    
  22  Prefactor     6.4444        6.4638        .15803E-03   -1.5200    
  23  Normalizat    1.1593        .20808        .25627E-03   -.87869    
  24  Prefactor     .89714        .17440        .25192E-03   -.96241    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.11283e-09
Minuit parameter uncertainties:
  1  7.5866e-06
  2  0.00389684
  3  0.28225
  4  2.30227e-06
  5  8.27611
  6  1.94093e-06
  7  0.000336607
  8  7.55967e-05
  9  12.254
  10  0.945132
  11  1.52577
  12  5.30976e-05
  13  2.57851e-07
  14  35.459
  15  2.66621
  16  1.75727
  17  40.526
  18  2.70437e-06
  19  11.0706
  20  0.887389
  21  8.20595
  22  6.46449
  23  0.208226
  24  0.174513
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  1.424e+01  1.225e+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:  8.971e-01  1.745e-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.159e+00  2.082e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.82
Ra Dec: 339.125 -23.155
Photon Index (Fixed Index): 2.74 +/- 0.00
Photon Flux (Fixed Index): 5.01e-08 +/- 4.31e-08
Energy Flux (Fixed Index): 1.17e-05 +/- 1.00e-05

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

Saving results to:
/scratch/kocevski/408124/likelihoodResults_581212801_581472001_4FGL_J2236.4-2309_daily_bin1319.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) = 8586.48051774
delta logL = 0.789251896498

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8586.4719849
delta logL = 0.797784738194

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.0911       1.0000         .10000E-03   10000.    
     2 'Index     '    3.9647       1.0000          .0000       10.000    
     3 'Normalizat'    1.0945       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93693       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.

 FCN=   8586.472     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      251 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.0845        65.118        .37661E-02    .47200E-03
   2  Index         3.9656        3.6053        .20026        .12783E-03
   3  Normalizat    1.0946        .52670E-01    .59396E-01    .18655E-04
   4  Prefactor     .93690        .45691E-01    .45474E-01    .85790E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.08454
  Index      = 3.96558
  Normalizat = 1.09457
  Prefactor  = 0.936899
 **********
 **   18 **HESSE 
 **********

 FCN=   8586.472     FROM HESSE     STATUS=OK            33 CALLS      284 TOTAL
                     EDM=   .45E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.0845        14.438        .13690E-03   -1.5176    
   2  Index         3.9656        1.6874        .70109E-02   -.20839    
   3  Normalizat    1.0946        .20380        .26268E-03   -.89926    
   4  Prefactor     .93690        .17384        .24712E-03   -.94863    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.49791e-11
Minuit parameter uncertainties:
  1  14.4449
  2  1.72274
  3  0.203945
  4  0.173947
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/408124': 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) = 8586.47198458
delta logL = 0.797785060262

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  7.085e+00  1.444e+01  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  3.966e+00  1.723e+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.369e-01  1.739e-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.095e+00  2.039e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.63
Ra Dec: 339.125 -23.155
Photon Index (Free Index): 3.97 +/- 1.72
Photon Flux (Free Index): 9.20e-08 +/- 5.65e-08
Energy Flux (Free Index): 1.39e-05 +/- 9.10e-06

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/408124/cmap_HighResolution_581212801_581472001_4FGL_J2236.4-2309_daily_bin1319.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.05e-02', comment='SUCCESS', photon_flux='5.01e-08', energy_flux2='1.39e-05', photon_flux_error='4.31e-08', dlogl='7.98e-01', energy_flux='1.17e-05', photon_flux2='9.20e-08', job_status='DONE', time_completed='2021-09-28 17:27:26.082494', photon_index_error2='1.72', photon_index2='3.97', ts='1.82', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='1.33e-07', energy_flux_error2='9.10e-06', EG='1.16', time_epoch_completed='1632875246.08', return_code='0', job_id='408124', GAL2='0.94', EG2='1.09', return_code2='0', energy_flux_error='1.00e-05', photon_flux_error2='5.65e-08', ts2='3.63', photon_index='2.74' WHERE bin_id='1319' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:27:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0300>
Subject: Job 408124: <4FGL_J2236.4-2309_daily_bin1319> in cluster <slac> Done

Job <4FGL_J2236.4-2309_daily_bin1319> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Sep 28 17:11:00 2021
Job was executed on host(s) <bullet0300>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 17:11:01 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:11:01 2021
Terminated at Tue Sep 28 17:27:26 2021
Results reported at Tue Sep 28 17:27:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin1319 339.125 -23.1552 581212801 581472001 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 :                                   753.12 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             264.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   985 sec.
    Turnaround time :                            986 sec.

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

