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


Performing analysis on: 4FGL_J2236.4-2309_daily_bin624
RA = 339.125, Dec = -23.1552
tmin = 401068801, tmax = 401328001
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='406112', job_status='RUN', time_executed='2021-09-28 17:08:10.200751', time_epoch_executed='1632874090.2' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='624'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/406112

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/406112/ft1_4FGL_J2236.4-2309_daily_bin624.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/406112/ft2_4FGL_J2236.4-2309_daily_bin624.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/406112/ft1_4FGL_J2236.4-2309_daily_bin624.fits outfile=/scratch/kocevski/406112/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin624.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=401068801.0 tmax=401328001.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.36
user 3.16
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/406112/ft1_filtered_4FGL_J2236.4-2309_daily_bin624.fits" evtable="EVENTS" scfile=/scratch/kocevski/406112/ft2_4FGL_J2236.4-2309_daily_bin624.fits sctable="SC_DATA" outfile=/scratch/kocevski/406112/ltcube_401068801_401328001_4FGL_J2236.4-2309_daily_bin624.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/406112/ft2_4FGL_J2236.4-2309_daily_bin624.fits
.....................!
real 11.88
user 11.56
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/406112/ft1_filtered_4FGL_J2236.4-2309_daily_bin624.fits evtable="EVENTS" scfile=/scratch/kocevski/406112/ft2_4FGL_J2236.4-2309_daily_bin624.fits sctable="SC_DATA" expcube=/scratch/kocevski/406112/ltcube_401068801_401328001_4FGL_J2236.4-2309_daily_bin624.fits outfile=/scratch/kocevski/406112/expmap_401068801_401328001_4FGL_J2236.4-2309_daily_bin624.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/406112/ltcube_401068801_401328001_4FGL_J2236.4-2309_daily_bin624.fits
.....................!
real 192.69
user 188.10
sys 4.28

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/406112/ft1_filtered_4FGL_J2236.4-2309_daily_bin624.fits scfile=/scratch/kocevski/406112/ft2_4FGL_J2236.4-2309_daily_bin624.fits outfile=/scratch/kocevski/406112/cmap_401068801_401328001_4FGL_J2236.4-2309_daily_bin624.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.56
user 0.41
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/406112/ft1_filtered_4FGL_J2236.4-2309_daily_bin624.fits scfile=/scratch/kocevski/406112/ft2_4FGL_J2236.4-2309_daily_bin624.fits outfile=/scratch/kocevski/406112/cmap_HighResolution_401068801_401328001_4FGL_J2236.4-2309_daily_bin624.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.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/406112/ft1_filtered_4FGL_J2236.4-2309_daily_bin624.fits evtable="EVENTS" scfile=/scratch/kocevski/406112/ft2_4FGL_J2236.4-2309_daily_bin624.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/406112/Model_4FGL_J2236.4-2309_daily_bin624.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/406112/ft1_filtered_4FGL_J2236.4-2309_daily_bin624.fits.....................!
real 54.36
user 53.10
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16730E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    31.240       1.0000         .10000E-03   10000.    
     3 'norm      '    1.1108       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.9265       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .93041       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.1717       1.0000         .10000E-03   10000.    
     7 'Prefactor '    38.859       1.0000         .10000E-03   10000.    
     8 'norm      '    18.650       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.2992       1.0000         .10000E-03   10000.    
    10 'norm      '    .26023       1.0000         .10000E-03   10000.    
    11 'norm      '    1.8917       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .19380E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .66230       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.8283       1.0000         .10000E-03   10000.    
    15 'norm      '    .44101E-01   1.0000         .10000E-03   10000.    
    16 'norm      '    3.8720       1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.9231       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.8950       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.5877       1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.1946       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0067       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .86576       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=   7066.040     FROM MIGRAD    STATUS=CONVERGED    597 CALLS     2814 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    38.694       -.27027E-05** at limit **
   2  Prefactor     31.326        46.535       -.14905E-05    .14028E-04
   3  norm          1.1109        .33629       -.14917E-07   -.29362E-04
   4  Prefactor     4.9282        7.2075       -.13210E-06   -.65686E-05
   5  Prefactor     .93203        13.495        .82634E-06    .12440E-03
   6  Prefactor     3.1731        9.1325        .14766E-06    .45405E-05
   7  Prefactor     38.909        46.699        .22530E-05    .69501E-05
   8  norm          18.669        20.373        .31305E-07    .10950E-04
   9  Prefactor     2.3005        7.8036       -.82445E-07    .15862E-04
  10  norm          .26008        .37588        .10016E-07   -.19098E-03
  11  norm          1.8918        1.9124        .13784E-06    .17074E-03
  12  Prefactor     .10000E-03    57.567       -.20139E-05** at limit **
  13  Prefactor     .67259        7.2893        .54280E-07    .35537E-04
  14  Prefactor     9.0904        12.068        .62222E-06   -.18481E-04
  15  norm          .15027E-01    .57262        .10925E-06   -.17837E-02
  16  norm          3.8710        2.4637        .15795E-07    .78567E-05
  17  Prefactor     7.1107        23.279        .17067E-05   -.15480E-05
  18  Prefactor     3.8976        6.2972       -.53563E-07   -.32179E-05
  19  Prefactor     .10000E-03    3.2452        .37464E-07** at limit **
  20  norm          .10000E-03    .12814        .16511E-09** at limit **
  21  Prefactor     4.5857        6.0520        .29070E-07   -.80793E-05
  22  Prefactor     3.1964        6.2809        .33718E-06    .18607E-04
  23  Normalizat    1.0062        .16049        .85114E-07    .45810E-05
  24  Prefactor     .86606        .14032       -.38304E-06    .24741E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 31.3262
  norm       = 1.11086
  Prefactor  = 4.92817
  Prefactor  = 0.932027
  Prefactor  = 3.17313
  Prefactor  = 38.9091
  norm       = 18.6686
  Prefactor  = 2.3005
  norm       = 0.260076
  norm       = 1.89184
  Prefactor  = 0.0001
  Prefactor  = 0.672591
  Prefactor  = 9.09037
  norm       = 0.0150266
  norm       = 3.87099
  Prefactor  = 7.11066
  Prefactor  = 3.89756
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.58569
  Prefactor  = 3.19642
  Normalizat = 1.00621
  Prefactor  = 0.866065
 **********
 **   18 **HESSE 
 **********

 FCN=   7066.040     FROM HESSE     STATUS=NOT POSDEF   421 CALLS     3235 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    37.010        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     31.326        45.095        .71687E-04   -1.4588    
   3  norm          1.1109        .32941        .25947E-04   -1.5497    
   4  Prefactor     4.9282        7.0301        .18121E-03   -1.5264    
   5  Prefactor     .93203        12.978        .25835E-02   -1.5515    
   6  Prefactor     3.1731        8.9112        .22756E-03   -1.5352    
   7  Prefactor     38.909        44.974        .64298E-04   -1.4460    
   8  norm          18.669        19.879        .92743E-04   -1.4844    
   9  Prefactor     2.3005        7.5927        .27066E-03   -1.5405    
  10  norm          .26008        .32870        .59919E-03   -1.5606    
  11  norm          1.8918        1.8508        .11055E-03   -1.5433    
  12  Prefactor     .10000E-03    55.038        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .67259        24.207        .41552E-02   -1.5544    
  14  Prefactor     9.0904        264.93        .13490E-03   -1.5105    
  15  norm          .15027E-01    1384.4        .94600E-03   -1.5684    
  16  norm          3.8710        2.4040        .10147E-03   -1.5314    
  17  Prefactor     7.1107        245.70        .15248E-03   -1.5175    
  18  Prefactor     3.8976        6.0738        .20444E-03   -1.5313    
  19  Prefactor     .10000E-03    3.1420        .14707E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    .13123        .57261E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     4.5857        6.0607        .18793E-03   -1.5280    
  22  Prefactor     3.1964        6.0362        .22670E-03   -1.5350    
  23  Normalizat    1.0062        .20093        .23419E-03   -.92823    
  24  Prefactor     .86606        .16145        .22477E-03   -.97337    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.6434e-06
Minuit parameter uncertainties:
  1  0.000306453
  2  45.1437
  3  0.329413
  4  7.03126
  5  6.95718
  6  8.91493
  7  45.0135
  8  19.8862
  9  7.59591
  10  0.328701
  11  1.85084
  12  1.12224e-05
  13  8.07297
  14  98.6324
  15  9.31573
  16  2.40401
  17  83.973
  18  6.07478
  19  1.74355e-06
  20  3.17183e-07
  21  6.06149
  22  6.03734
  23  0.201079
  24  0.161542
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  2.301e+00  7.596e+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

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  8.661e-01  1.615e-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.006e+00  2.011e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.10
Ra Dec: 339.125 -23.155
Photon Flux Upper Limit: 7.58e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.98e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/406112/likelihoodResults_401068801_401328001_4FGL_J2236.4-2309_daily_bin624.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) = 7065.94356664
delta logL = 0.0959663064423

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7065.93727081
delta logL = 0.102262133032

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.6303       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2163       1.0000          .0000       10.000    
     3 'Normalizat'    1.0078       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86215       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=   7065.937     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      309 TOTAL
                     EDM=   .20E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.6253        9.2550        .18704E-03    .65644E-05
   2  Index         2.2156        .91829        .15017E-01   -.43726E-05
   3  Normalizat    1.0080        .18108        .23398E-03    .33818E-04
   4  Prefactor     .86197        .16324        .22521E-03    .31701E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.62526
  Index      = 2.21561
  Normalizat = 1.00803
  Prefactor  = 0.861967
 **********
 **   18 **HESSE 
 **********

 FCN=   7065.937     FROM HESSE     STATUS=OK            25 CALLS      334 TOTAL
                     EDM=   .97E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.6253        9.2226        .74816E-05   -1.5278    
   2  Index         2.2156        .91569        .60070E-03   -.59062    
   3  Normalizat    1.0080        .18126        .93590E-05   -.92762    
   4  Prefactor     .86197        .16337        .90085E-05   -.97483    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.70304e-13
Minuit parameter uncertainties:
  1  9.22539
  2  0.923274
  3  0.181376
  4  0.163464
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/406112': 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) = 7065.93726961
delta logL = 0.102263334289

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  4.625e+00  9.225e+00  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  2.216e+00  9.233e-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:  8.620e-01  1.635e-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.008e+00  1.814e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.10
Ra Dec: 339.125 -23.155

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/406112/cmap_HighResolution_401068801_401328001_4FGL_J2236.4-2309_daily_bin624.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.98e-03', job_status='DONE', photon_flux_upper_limit='7.58e-08', time_completed='2021-09-28 17:19:43.441881', job_id='406112', GAL2='0.86', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1632874783.44', return_code2='0', ts='0.10', comment='SUCCESS', return_code='102', GAL='0.87', dlogl='1.02e-01', ts2='0.30', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='624' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:19:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 406112: <4FGL_J2236.4-2309_daily_bin624> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin624 339.125 -23.1552 401068801 401328001 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 :                                   694.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             248.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   857 sec.
    Turnaround time :                            859 sec.

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

