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


Performing analysis on: 4FGL_J2236.4-2309_daily_bin923
RA = 339.125, Dec = -23.1552
tmin = 478569601, tmax = 478828801
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='407557', job_status='RUN', time_executed='2021-09-28 17:13:33.614500', time_epoch_executed='1632874413.61' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='923'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/407557

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/407557/ft1_4FGL_J2236.4-2309_daily_bin923.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/407557/ft2_4FGL_J2236.4-2309_daily_bin923.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/407557/ft1_4FGL_J2236.4-2309_daily_bin923.fits outfile=/scratch/kocevski/407557/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin923.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=478569601.0 tmax=478828801.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.45
user 3.22
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/407557/ft1_filtered_4FGL_J2236.4-2309_daily_bin923.fits" evtable="EVENTS" scfile=/scratch/kocevski/407557/ft2_4FGL_J2236.4-2309_daily_bin923.fits sctable="SC_DATA" outfile=/scratch/kocevski/407557/ltcube_478569601_478828801_4FGL_J2236.4-2309_daily_bin923.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/407557/ft2_4FGL_J2236.4-2309_daily_bin923.fits
.....................!
real 11.87
user 11.53
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/407557/ft1_filtered_4FGL_J2236.4-2309_daily_bin923.fits evtable="EVENTS" scfile=/scratch/kocevski/407557/ft2_4FGL_J2236.4-2309_daily_bin923.fits sctable="SC_DATA" expcube=/scratch/kocevski/407557/ltcube_478569601_478828801_4FGL_J2236.4-2309_daily_bin923.fits outfile=/scratch/kocevski/407557/expmap_478569601_478828801_4FGL_J2236.4-2309_daily_bin923.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/407557/ltcube_478569601_478828801_4FGL_J2236.4-2309_daily_bin923.fits
.....................!
real 191.48
user 185.52
sys 5.51

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/407557/ft1_filtered_4FGL_J2236.4-2309_daily_bin923.fits scfile=/scratch/kocevski/407557/ft2_4FGL_J2236.4-2309_daily_bin923.fits outfile=/scratch/kocevski/407557/cmap_478569601_478828801_4FGL_J2236.4-2309_daily_bin923.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.59
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/407557/ft1_filtered_4FGL_J2236.4-2309_daily_bin923.fits scfile=/scratch/kocevski/407557/ft2_4FGL_J2236.4-2309_daily_bin923.fits outfile=/scratch/kocevski/407557/cmap_HighResolution_478569601_478828801_4FGL_J2236.4-2309_daily_bin923.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.55
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/407557/ft1_filtered_4FGL_J2236.4-2309_daily_bin923.fits', '/scratch/kocevski/407557/ft2_4FGL_J2236.4-2309_daily_bin923.fits', expMap='/scratch/kocevski/407557/expmap_478569601_478828801_4FGL_J2236.4-2309_daily_bin923.fits', expCube='/scratch/kocevski/407557/ltcube_478569601_478828801_4FGL_J2236.4-2309_daily_bin923.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/407557/Model_4FGL_J2236.4-2309_daily_bin923.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/407557/ft1_filtered_4FGL_J2236.4-2309_daily_bin923.fits
Spacecraft file(s): /scratch/kocevski/407557/ft2_4FGL_J2236.4-2309_daily_bin923.fits
Exposure map: /scratch/kocevski/407557/expmap_478569601_478828801_4FGL_J2236.4-2309_daily_bin923.fits
Exposure cube: /scratch/kocevski/407557/ltcube_478569601_478828801_4FGL_J2236.4-2309_daily_bin923.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/407557/Model_4FGL_J2236.4-2309_daily_bin923.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 5556.08640666

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10414E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    78.621       1.0000         .10000E-03   10000.    
     3 'norm      '    .58468       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10237E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10161E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.9427       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.5301       1.0000         .10000E-03   10000.    
     8 'norm      '    11.823       1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.970       1.0000         .10000E-03   10000.    
    10 'norm      '    1.2907       1.0000         .10000E-03   10000.    
    11 'norm      '    1.0199       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.1358       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.9229       1.0000         .10000E-03   10000.    
    15 'norm      '    1.5307       1.0000         .10000E-03   10000.    
    16 'norm      '    .29404E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10567E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    24.197       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.8697       1.0000         .10000E-03   10000.    
    20 'norm      '    .40640       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.4379       1.0000         .10000E-03   10000.    
    22 'Prefactor '    11.125       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .74005       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1554       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=   5556.063     FROM MIGRAD    STATUS=CONVERGED    541 CALLS     3213 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.421        .11420E-06** at limit **
   2  Prefactor     78.675        68.338       -.29870E-05   -.54646E-04
   3  norm          .58468        .28887        .17104E-07    .16294E-03
   4  Prefactor     .10002E-03    7.4466        .14805E-05** at limit **
   5  Prefactor     .10000E-03    6.1289        .56324E-07** at limit **
   6  Prefactor     3.9390        23.277        .74195E-06   -.68865E-04
   7  Prefactor     6.5086        44.799        .35953E-05   -.11275E-04
   8  norm          11.826        22.072       -.95882E-06   -.48698E-04
   9  Prefactor     11.969        15.295       -.96596E-07   -.12509E-03
  10  norm          1.2906        .91950        .35330E-07   -.64150E-04
  11  norm          1.0242        2.3828        .17080E-05   -.10101E-03
  12  Prefactor     4.1011        159.48       -.54585E-05   -.16329E-04
  13  Prefactor     .10000E-03    6.4529       -.36565E-07** at limit **
  14  Prefactor     2.9286        152.88       -.51008E-05   -.14962E-04
  15  norm          1.5303        3.2534        .49549E-06    .10909E-03
  16  norm          .10001E-03    3.1592        .88261E-06** at limit **
  17  Prefactor     .10000E-03    22.187        .20254E-06** at limit **
  18  Prefactor     24.197        20.236       -.15293E-07   -.87842E-04
  19  Prefactor     4.8755        14.143       -.85546E-07   -.15099E-03
  20  norm          .40666        .58966        .13232E-07   -.48960E-03
  21  Prefactor     1.4384        19.319        .63458E-05    .65034E-04
  22  Prefactor     11.125        13.777        .42238E-08   -.58692E-04
  23  Normalizat    .74007        .20591        .16127E-06   -.26065E-03
  24  Prefactor     1.1553        .17467       -.50720E-06   -.27476E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 78.675
  norm       = 0.584675
  Prefactor  = 0.00010002
  Prefactor  = 0.0001
  Prefactor  = 3.93896
  Prefactor  = 6.50855
  norm       = 11.8255
  Prefactor  = 11.9689
  norm       = 1.29064
  norm       = 1.02422
  Prefactor  = 4.10113
  Prefactor  = 0.0001
  Prefactor  = 2.9286
  norm       = 1.53027
  norm       = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 24.1972
  Prefactor  = 4.87545
  norm       = 0.406656
  Prefactor  = 1.43841
  Prefactor  = 11.1251
  Normalizat = 0.740067
  Prefactor  = 1.15534
 **********
 **   18 **HESSE 
 **********

 FCN=   5556.063     FROM HESSE     STATUS=OK           415 CALLS     3628 TOTAL
                     EDM=   .80E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.494        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     78.675        68.332        .22646E-03   -1.3932    
   3  norm          .58468        .29220        .27326E-04   -1.5555    
   4  Prefactor     .10002E-03    34.322        .37096E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.1559        .18021E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.9390        22.762        .20316E-03   -1.5311    
   7  Prefactor     6.5086        44.866        .15705E-03   -1.5198    
   8  norm          11.826        22.065        .11650E-03   -1.5020    
   9  Prefactor     11.969        15.287        .57892E-03   -1.5016    
  10  norm          1.2906        .89441        .56303E-04   -1.5481    
  11  norm          1.0242        2.3704        .16050E-02   -1.5506    
  12  Prefactor     4.1011        159.71        .19821E-03   -1.5303    
  13  Prefactor     .10000E-03    6.4903        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.9286        95.501        .23762E-03   -1.5366    
  15  norm          1.5303        2.5766        .34497E-04   -1.5461    
  16  norm          .10001E-03    8.3417        .22223E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    22.214        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     24.197        19.813        .81433E-04   -1.4724    
  19  Prefactor     4.8755        13.057        .18228E-03   -1.5266    
  20  norm          .40666        .51971        .55398E-03   -1.5580    
  21  Prefactor     1.4384        20.081        .17995E-02   -1.5468    
  22  Prefactor     11.125        13.400        .12012E-03   -1.5041    
  23  Normalizat    .74007        .23989        .28835E-03   -1.0233    
  24  Prefactor     1.1553        .20595        .21226E-03   -.87717    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.0049e-09
Minuit parameter uncertainties:
  1  0.000262016
  2  68.4002
  3  0.292204
  4  0.00167364
  5  5.68839e-06
  6  18.9485
  7  34.2132
  8  22.0806
  9  15.292
  10  0.894422
  11  2.37062
  12  51.3328
  13  4.80588e-06
  14  33.5055
  15  2.57681
  16  0.000440755
  17  3.6158e-06
  18  19.8179
  19  13.065
  20  0.51972
  21  10.7529
  22  13.4038
  23  0.240235
  24  0.20609
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  1.197e+01  1.529e+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.155e+00  2.061e-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.401e-01  2.402e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/407557/likelihoodResults_478569601_478828801_4FGL_J2236.4-2309_daily_bin923.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) = 5555.23629583
delta logL = 0.827102731031

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5555.22084089
delta logL = 0.842557671831

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.9947       1.0000         .10000E-03   10000.    
     2 'Index     '    4.4048       1.0000          .0000       10.000    
     3 'Normalizat'    .67499       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1960       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=   5555.221     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      254 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9760        54.664        .50447E-02    .34873E-03
   2  Index         4.4088        4.1628        .17992        .89794E-04
   3  Normalizat    .67477        .60323E-01    .67951E-01    .24070E-04
   4  Prefactor     1.1960        .54423E-01    .34727E-01    .65266E-07
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.97601
  Index      = 4.40884
  Normalizat = 0.674769
  Prefactor  = 1.196
 **********
 **   18 **HESSE 
 **********

 FCN=   5555.221     FROM HESSE     STATUS=OK            33 CALLS      287 TOTAL
                     EDM=   .73E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9760        2064.5        .99595E-04   -1.5309    
   2  Index         4.4088        7.1471        .66873E-02   -.11851    
   3  Normalizat    .67477        .22821        .30070E-03   -1.0490    
   4  Prefactor     1.1960        .25939        .20903E-03   -.86454    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.30443e-06
Minuit parameter uncertainties:
  1  188.141
  2  37.3412
  3  0.228531
  4  0.259663
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/407557': 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) = 5555.22083662
delta logL = 0.842561948393

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  3.976e+00  1.881e+02  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  4.409e+00  3.734e+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.196e+00  2.597e-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.748e-01  2.285e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.71
Ra Dec: 339.125 -23.155
Photon Index (Free Index): 4.41 +/- 37.34
Photon Flux (Free Index): 8.75e-08 +/- 2.05e-07
Energy Flux (Free Index): 1.23e-05 +/- 8.41e-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/407557/cmap_HighResolution_478569601_478828801_4FGL_J2236.4-2309_daily_bin923.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.15e-02', comment='SUCCESS', energy_flux2='1.23e-05', dlogl='8.43e-01', photon_flux2='8.75e-08', job_status='DONE', time_completed='2021-09-28 17:24:00.883165', photon_index_error2='37.34', photon_index2='4.41', ts='0.85', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', photon_flux_upper_limit='1.46e-07', energy_flux_error2='8.41e-05', EG='0.74', time_epoch_completed='1632875040.88', return_code='0', job_id='407557', GAL2='1.20', EG2='0.67', return_code2='0', photon_flux_error2='2.05e-07', ts2='2.71', photon_index='2.74' WHERE bin_id='923' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:24:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0093>
Subject: Job 407557: <4FGL_J2236.4-2309_daily_bin923> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin923 339.125 -23.1552 478569601 478828801 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 :                                   627.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   822 sec.
    Turnaround time :                            824 sec.

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

