/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 197 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_bin528
RA = 339.125, Dec = -23.1552
tmin = 376185601, tmax = 376444801
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='405967', job_status='RUN', time_executed='2021-09-28 17:08:42.439698', time_epoch_executed='1632874122.44' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='528'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/405967

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/405967/ft1_4FGL_J2236.4-2309_daily_bin528.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/405967/ft2_4FGL_J2236.4-2309_daily_bin528.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/405967/ft1_4FGL_J2236.4-2309_daily_bin528.fits outfile=/scratch/kocevski/405967/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin528.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=376185601.0 tmax=376444801.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.37
user 3.17
sys 0.19

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/405967/ft1_filtered_4FGL_J2236.4-2309_daily_bin528.fits" evtable="EVENTS" scfile=/scratch/kocevski/405967/ft2_4FGL_J2236.4-2309_daily_bin528.fits sctable="SC_DATA" outfile=/scratch/kocevski/405967/ltcube_376185601_376444801_4FGL_J2236.4-2309_daily_bin528.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/405967/ft2_4FGL_J2236.4-2309_daily_bin528.fits
.....................!
real 14.81
user 14.38
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/405967/ft1_filtered_4FGL_J2236.4-2309_daily_bin528.fits evtable="EVENTS" scfile=/scratch/kocevski/405967/ft2_4FGL_J2236.4-2309_daily_bin528.fits sctable="SC_DATA" expcube=/scratch/kocevski/405967/ltcube_376185601_376444801_4FGL_J2236.4-2309_daily_bin528.fits outfile=/scratch/kocevski/405967/expmap_376185601_376444801_4FGL_J2236.4-2309_daily_bin528.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/405967/ltcube_376185601_376444801_4FGL_J2236.4-2309_daily_bin528.fits
.....................!
real 190.96
user 185.11
sys 5.44

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/405967/ft1_filtered_4FGL_J2236.4-2309_daily_bin528.fits scfile=/scratch/kocevski/405967/ft2_4FGL_J2236.4-2309_daily_bin528.fits outfile=/scratch/kocevski/405967/cmap_376185601_376444801_4FGL_J2236.4-2309_daily_bin528.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/405967/ft1_filtered_4FGL_J2236.4-2309_daily_bin528.fits scfile=/scratch/kocevski/405967/ft2_4FGL_J2236.4-2309_daily_bin528.fits outfile=/scratch/kocevski/405967/cmap_HighResolution_376185601_376444801_4FGL_J2236.4-2309_daily_bin528.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/405967/ft1_filtered_4FGL_J2236.4-2309_daily_bin528.fits evtable="EVENTS" scfile=/scratch/kocevski/405967/ft2_4FGL_J2236.4-2309_daily_bin528.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/405967/Model_4FGL_J2236.4-2309_daily_bin528.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/405967/ft1_filtered_4FGL_J2236.4-2309_daily_bin528.fits....................!
real 46.33
user 44.70
sys 1.39

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    97.411       1.0000         .10000E-03   10000.    
     3 'norm      '    2.3453       1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.097       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.7079       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10685E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    44.962       1.0000         .10000E-03   10000.    
    10 'norm      '    12.346       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    79.748       1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.212       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    5.1731       1.0000         .10000E-03   10000.    
    17 'Prefactor '    12.534       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .16211       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3905       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .71950       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=   4940.866     FROM MIGRAD    STATUS=CONVERGED    548 CALLS     2743 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    34.126        .53768E-06** at limit **
   2  Prefactor     97.423        98.916       -.10521E-05    .11462E-04
   3  norm          2.3453        .66557        .52206E-08    .27191E-04
   4  Prefactor     11.097        11.826       -.41081E-07    .22248E-05
   5  Prefactor     .10000E-03    24.460        .65320E-06** at limit **
   6  Prefactor     1.7065        36.020        .70067E-05   -.66264E-04
   7  Prefactor     .10000E-03    75.840        .17983E-05** at limit **
   8  norm          .10000E-03    44.104       -.34004E-05** at limit **
   9  Prefactor     44.952        26.364        .88029E-06   -.41381E-04
  10  norm          12.347        2.2546        .39722E-08   -.10880E-02
  11  norm          .10000E-03    2.9337        .14601E-05** at limit **
  12  Prefactor     79.796        73.021       -.41437E-05    .48197E-04
  13  Prefactor     10.215        11.376        .47095E-07    .39264E-05
  14  Prefactor     .10000E-03    28.508        .29396E-05** at limit **
  15  norm          .10000E-03    .75737        .10033E-05** at limit **
  16  norm          5.1744        5.2013        .43639E-06    .90114E-05
  17  Prefactor     12.566        33.116       -.43918E-05   -.15615E-03
  18  Prefactor     .10000E-03    20.663       -.14616E-05** at limit **
  19  Prefactor     .10000E-03    10.362        .26378E-06** at limit **
  20  norm          .16196        .49652        .98916E-07    .19195E-03
  21  Prefactor     .10000E-03    14.626        .20473E-06** at limit **
  22  Prefactor     .10000E-03    5.2865        .42064E-07** at limit **
  23  Normalizat    1.3902        .25798       -.27113E-06   -.13613E-03
  24  Prefactor     .71981        .20510        .79348E-06   -.14210E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 97.423
  norm       = 2.34526
  Prefactor  = 11.0966
  Prefactor  = 0.0001
  Prefactor  = 1.7065
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 44.9522
  norm       = 12.3467
  norm       = 0.0001
  Prefactor  = 79.7963
  Prefactor  = 10.2149
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 5.17444
  Prefactor  = 12.5659
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.161958
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.39019
  Prefactor  = 0.719808
 **********
 **   18 **HESSE 
 **********

 FCN=   4940.866     FROM HESSE     STATUS=OK           397 CALLS     3140 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    34.157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     97.423        98.873        .40727E-04   -1.3731    
   3  norm          2.3453        .66660        .29282E-04   -1.5402    
   4  Prefactor     11.097        11.824        .12027E-03   -1.5042    
   5  Prefactor     .10000E-03    25.049        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.7065        37.387        .16086E-02   -1.5447    
   7  Prefactor     .10000E-03    75.758        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    43.810        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     44.952        26.465        .59792E-04   -1.4366    
  10  norm          12.347        2.2486        .42632E-04   -1.5005    
  11  norm          .10000E-03    3.0199        .23519E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     79.796        72.378        .22486E-03   -1.3919    
  13  Prefactor     10.215        11.389        .12539E-03   -1.5069    
  14  Prefactor     .10000E-03    28.771        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.0160        .10916E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          5.1744        5.0848        .73979E-03   -1.5253    
  17  Prefactor     12.566        32.831        .11314E-03   -1.4999    
  18  Prefactor     .10000E-03    20.709        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    10.442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .16196        .45132        .79605E-03   -1.5627    
  21  Prefactor     .10000E-03    14.801        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    5.2964        .15779E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3902        .31458        .27691E-03   -.80913    
  24  Prefactor     .71981        .24865        .30309E-03   -1.0276    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.31561e-10
Minuit parameter uncertainties:
  1  7.8098e-06
  2  99.0412
  3  0.6666
  4  11.826
  5  0.000176756
  6  15.9859
  7  0.000355982
  8  0.000460455
  9  26.4723
  10  2.24863
  11  6.83241e-05
  12  72.4578
  13  11.3911
  14  0.000102156
  15  4.42124e-06
  16  5.08525
  17  32.8778
  18  0.000125537
  19  3.26501e-07
  20  0.451333
  21  3.59917e-05
  22  1.45624e-06
  23  0.315019
  24  0.249035
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  4.495e+01  2.647e+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.198e-01  2.490e-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.390e+00  3.150e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.84
Ra Dec: 339.125 -23.155
Photon Index (Fixed Index): 2.74 +/- 0.00
Photon Flux (Fixed Index): 1.58e-07 +/- 9.31e-08
Energy Flux (Fixed Index): 3.69e-05 +/- 2.17e-05

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) = 4940.84642446
delta logL = 0.0193799262488

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4940.83915078
delta logL = 0.0266536012423

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    42.019       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8780       1.0000          .0000       10.000    
     3 'Normalizat'    1.3773       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72861       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=   4940.839     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      244 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     42.017        28.302        .61842E-04    .81774E-03
   2  Index         2.8781        .61520        .65918E-02    .26834E-03
   3  Normalizat    1.3773        .31167        .27796E-03   -.15547E-03
   4  Prefactor     .72863        .24914        .30144E-03   -.16274E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 42.0172
  Index      = 2.87814
  Normalizat = 1.37732
  Prefactor  = 0.728625
 **********
 **   18 **HESSE 
 **********

 FCN=   4940.839     FROM HESSE     STATUS=OK            23 CALLS      267 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     42.017        27.613        .12368E-04   -1.4411    
   2  Index         2.8781        .59978        .26367E-03   -.43827    
   3  Normalizat    1.3773        .31203        .55592E-04   -.81287    
   4  Prefactor     .72863        .24930        .12057E-04   -1.0242    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28004e-09
Minuit parameter uncertainties:
  1  27.6213
  2  0.601544
  3  0.312462
  4  0.249688
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/405967': 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) = 4940.83915075
delta logL = 0.0266536338495

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  4.202e+01  2.762e+01  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  2.878e+00  6.015e-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.286e-01  2.497e-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.377e+00  3.125e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.86
Ra Dec: 339.125 -23.155
Photon Index (Free Index): 2.88 +/- 0.60
Photon Flux (Free Index): 1.68e-07 +/- 1.01e-07
Energy Flux (Free Index): 3.58e-05 +/- 2.04e-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/405967/cmap_HighResolution_376185601_376444801_4FGL_J2236.4-2309_daily_bin528.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.58e-07', energy_flux2='3.58e-05', photon_flux_error='9.31e-08', dlogl='2.67e-02', energy_flux='3.69e-05', photon_flux2='1.68e-07', job_status='DONE', time_completed='2021-09-28 17:17:27.452682', photon_index_error2='0.60', photon_index2='2.88', ts='4.84', fit_tolerance='1e-08', GAL='0.72', photon_index_error='0.00', energy_flux_error2='2.04e-05', EG='1.39', time_epoch_completed='1632874647.45', return_code='0', job_id='405967', GAL2='0.73', EG2='1.38', return_code2='0', energy_flux_error='2.17e-05', photon_flux_error2='1.01e-07', ts2='4.86', photon_index='2.74' WHERE bin_id='528' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:17:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 405967: <4FGL_J2236.4-2309_daily_bin528> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin528 339.125 -23.1552 376185601 376444801 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 :                                   525.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             304.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   731 sec.
    Turnaround time :                            733 sec.

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

