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


Performing analysis on: 4FGL_J2236.4-2309_daily_bin1013
RA = 339.125, Dec = -23.1552
tmin = 501897601, tmax = 502156801
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='407689', job_status='RUN', time_executed='2021-09-28 17:11:38.823198', time_epoch_executed='1632874298.82' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='1013'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/407689

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/407689/ft1_4FGL_J2236.4-2309_daily_bin1013.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/407689/ft2_4FGL_J2236.4-2309_daily_bin1013.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/407689/ft1_4FGL_J2236.4-2309_daily_bin1013.fits outfile=/scratch/kocevski/407689/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1013.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=501897601.0 tmax=502156801.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.47
user 3.23
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/407689/ft1_filtered_4FGL_J2236.4-2309_daily_bin1013.fits" evtable="EVENTS" scfile=/scratch/kocevski/407689/ft2_4FGL_J2236.4-2309_daily_bin1013.fits sctable="SC_DATA" outfile=/scratch/kocevski/407689/ltcube_501897601_502156801_4FGL_J2236.4-2309_daily_bin1013.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/407689/ft2_4FGL_J2236.4-2309_daily_bin1013.fits
.....................!
real 11.94
user 11.57
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/407689/ft1_filtered_4FGL_J2236.4-2309_daily_bin1013.fits evtable="EVENTS" scfile=/scratch/kocevski/407689/ft2_4FGL_J2236.4-2309_daily_bin1013.fits sctable="SC_DATA" expcube=/scratch/kocevski/407689/ltcube_501897601_502156801_4FGL_J2236.4-2309_daily_bin1013.fits outfile=/scratch/kocevski/407689/expmap_501897601_502156801_4FGL_J2236.4-2309_daily_bin1013.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/407689/ltcube_501897601_502156801_4FGL_J2236.4-2309_daily_bin1013.fits
.....................!
real 192.04
user 186.51
sys 5.06

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/407689/ft1_filtered_4FGL_J2236.4-2309_daily_bin1013.fits scfile=/scratch/kocevski/407689/ft2_4FGL_J2236.4-2309_daily_bin1013.fits outfile=/scratch/kocevski/407689/cmap_501897601_502156801_4FGL_J2236.4-2309_daily_bin1013.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/407689/ft1_filtered_4FGL_J2236.4-2309_daily_bin1013.fits scfile=/scratch/kocevski/407689/ft2_4FGL_J2236.4-2309_daily_bin1013.fits outfile=/scratch/kocevski/407689/cmap_HighResolution_501897601_502156801_4FGL_J2236.4-2309_daily_bin1013.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/407689/ft1_filtered_4FGL_J2236.4-2309_daily_bin1013.fits evtable="EVENTS" scfile=/scratch/kocevski/407689/ft2_4FGL_J2236.4-2309_daily_bin1013.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/407689/Model_4FGL_J2236.4-2309_daily_bin1013.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/407689/ft1_filtered_4FGL_J2236.4-2309_daily_bin1013.fits.....................!
real 65.76
user 64.28
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.213       1.0000         .10000E-03   10000.    
     3 'norm      '    1.8153       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.6083       1.0000         .10000E-03   10000.    
     6 'Prefactor '    93.602       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    60.766       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.913       1.0000         .10000E-03   10000.    
    10 'norm      '    .39458       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12684       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .18500E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    35.723       1.0000         .10000E-03   10000.    
    15 'norm      '    18.053       1.0000         .10000E-03   10000.    
    16 'norm      '    2.0370       1.0000         .10000E-03   10000.    
    17 'Prefactor '    13.618       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.681       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .73587       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0308       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=   8662.357     FROM MIGRAD    STATUS=CONVERGED   1018 CALLS     3596 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.6305        .18142E-02** at limit **
   2  Prefactor     15.219        30.709        .10269E-03   -.60449E-04
   3  norm          1.8153        .40991        .27375E-04    .24751E-03
   4  Prefactor     .10000E-03    2.5648        .14530E-02** at limit **
   5  Prefactor     8.6069        10.110        .13662E-03   -.38277E-05
   6  Prefactor     93.602        21.998        .20770E-03    .16241E-03
   7  Prefactor     .10000E-03    12.216        .18142E-02** at limit **
   8  norm          60.763        22.834        .25736E-03    .22750E-03
   9  Prefactor     13.919        12.779        .10738E-03    .75295E-03
  10  norm          .39596        .64299        .96456E-03    .10291E-02
  11  norm          .10000E-03    .61021        .70649E-03** at limit **
  12  Prefactor     .75680E-02    40.188        .13474        .27532E-04
  13  Prefactor     .10001E-03    24.057        .36970E-02** at limit **
  14  Prefactor     35.668        52.205        .67051E-04   -.73246E-04
  15  norm          18.056        4.9235        .46369E-04   -.44338E-03
  16  norm          2.0371        2.0267        .12499E-03   -.35838E-04
  17  Prefactor     13.630        53.379        .10854E-03   -.24719E-04
  18  Prefactor     .10000E-03    5.2661        .18142E-02** at limit **
  19  Prefactor     10.683        5.6190        .61298E-03   -.42668E-03
  20  norm          .10000E-03    .25428        .68630E-03** at limit **
  21  Prefactor     .10000E-03    4.2404        .18142E-02** at limit **
  22  Prefactor     .10000E-03    7.2847        .36285E-03** at limit **
  23  Normalizat    .73614        .20023        .30406E-03    .31011E-03
  24  Prefactor     1.0306        .17166        .23510E-03    .50968E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 15.2194
  norm       = 1.81528
  Prefactor  = 0.0001
  Prefactor  = 8.6069
  Prefactor  = 93.6019
  Prefactor  = 0.0001
  norm       = 60.7634
  Prefactor  = 13.9188
  norm       = 0.395955
  norm       = 0.0001
  Prefactor  = 0.00756795
  Prefactor  = 0.000100013
  Prefactor  = 35.6684
  norm       = 18.0556
  norm       = 2.03713
  Prefactor  = 13.6301
  Prefactor  = 0.0001
  Prefactor  = 10.6825
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.736145
  Prefactor  = 1.03058
 **********
 **   18 **HESSE 
 **********

 FCN=   8662.357     FROM HESSE     STATUS=OK           385 CALLS     3981 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.6306        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     15.219        30.707        .41075E-05   -1.4928    
   3  norm          1.8153        .40991        .10950E-05   -1.5438    
   4  Prefactor     .10000E-03    2.5650        .29061E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.6069        10.110        .54649E-05   -1.5121    
   6  Prefactor     93.602        21.998        .41540E-04   -1.3770    
   7  Prefactor     .10000E-03    12.216        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          60.763        22.834        .51472E-04   -1.4147    
   9  Prefactor     13.919        12.781        .42953E-05   -1.4962    
  10  norm          .39596        .64212        .38583E-04   -1.5582    
  11  norm          .10000E-03    .61022        .14130E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .75680E-02    41.444        .13235       -1.5691    
  13  Prefactor     .10001E-03    24.318        .73941E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     35.668        52.254        .26821E-05   -1.4513    
  15  norm          18.056        4.9311        .92738E-05   -1.4858    
  16  norm          2.0371        2.0268        .49995E-05   -1.5423    
  17  Prefactor     13.630        53.367        .43416E-05   -1.4969    
  18  Prefactor     .10000E-03    5.2663        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     10.683        5.6170        .24519E-04   -1.5054    
  20  norm          .10000E-03    .25451        .13726E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.2409        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    7.2850        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .73614        .20041        .12163E-04   -1.0248    
  24  Prefactor     1.0306        .17183        .47020E-04   -.91717    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61837e-09
Minuit parameter uncertainties:
  1  5.16433e-05
  2  30.7391
  3  0.409914
  4  4.59415e-06
  5  10.1121
  6  21.9997
  7  1.13848e-05
  8  22.8375
  9  12.7837
  10  0.642131
  11  1.36332e-07
  12  1.11343
  13  0.00111204
  14  52.321
  15  4.93118
  16  2.0269
  17  53.5549
  18  6.70689e-06
  19  5.61727
  20  7.2713e-06
  21  1.40104e-05
  22  1.49807e-05
  23  0.200611
  24  0.171922
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  1.392e+01  1.278e+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:  1.031e+00  1.719e-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:  7.361e-01  2.006e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.74
Ra Dec: 339.125 -23.155
Photon Index (Fixed Index): 2.74 +/- 0.00
Photon Flux (Fixed Index): 4.90e-08 +/- 4.49e-08
Energy Flux (Fixed Index): 1.14e-05 +/- 1.05e-05

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

Saving results to:
/scratch/kocevski/407689/likelihoodResults_501897601_502156801_4FGL_J2236.4-2309_daily_bin1013.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) = 8661.60967805
delta logL = 0.747031700052

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8661.60554578
delta logL = 0.751163962637

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.2679       1.0000         .10000E-03   10000.    
     2 'Index     '    3.7152       1.0000          .0000       10.000    
     3 'Normalizat'    .69155       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0573       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=   8661.606     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      275 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.2664        11.424        .13943E-03   -.41259E-03
   2  Index         3.7155        1.1002        .73111E-02   -.86756E-04
   3  Normalizat    .69154        .19353        .31272E-03   -.48046E-03
   4  Prefactor     1.0573        .17077        .23238E-03   -.41685E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.26645
  Index      = 3.71553
  Normalizat = 0.691535
  Prefactor  = 1.05725
 **********
 **   18 **HESSE 
 **********

 FCN=   8661.606     FROM HESSE     STATUS=OK            25 CALLS      300 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.2664        9.5114        .55770E-05   -1.5133    
   2  Index         3.7155        .91722        .29244E-03   -.25981    
   3  Normalizat    .69154        .19384        .12509E-04   -1.0423    
   4  Prefactor     1.0573        .17090        .46476E-04   -.90845    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.06334e-10
Minuit parameter uncertainties:
  1  9.51318
  2  0.922824
  3  0.194033
  4  0.170993
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/407689': 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) = 8661.6055457
delta logL = 0.751164046711

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  8.266e+00  9.513e+00  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  3.716e+00  9.228e-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:  1.057e+00  1.710e-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:  6.915e-01  1.940e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.38
Ra Dec: 339.125 -23.155
Photon Index (Free Index): 3.72 +/- 0.92
Photon Flux (Free Index): 8.05e-08 +/- 5.18e-08
Energy Flux (Free Index): 1.27e-05 +/- 8.24e-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/407689/cmap_HighResolution_501897601_502156801_4FGL_J2236.4-2309_daily_bin1013.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', comment='SUCCESS', photon_flux='4.90e-08', energy_flux2='1.27e-05', photon_flux_error='4.49e-08', dlogl='7.51e-01', energy_flux='1.14e-05', photon_flux2='8.05e-08', job_status='DONE', time_completed='2021-09-28 17:26:08.557801', photon_index_error2='0.92', photon_index2='3.72', ts='1.74', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='1.31e-07', energy_flux_error2='8.24e-06', EG='0.74', time_epoch_completed='1632875168.56', return_code='0', job_id='407689', GAL2='1.06', EG2='0.69', return_code2='0', energy_flux_error='1.05e-05', photon_flux_error2='5.18e-08', ts2='3.38', photon_index='2.74' WHERE bin_id='1013' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:26:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 407689: <4FGL_J2236.4-2309_daily_bin1013> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin1013 339.125 -23.1552 501897601 502156801 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 :                                   868.20 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             350.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   939 sec.
    Turnaround time :                            942 sec.

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

