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


Performing analysis on: 4FGL_J2236.4-2309_daily_bin1037
RA = 339.125, Dec = -23.1552
tmin = 508118401, tmax = 508377601
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='407725', job_status='RUN', time_executed='2021-09-28 17:13:07.209216', time_epoch_executed='1632874387.21' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='1037'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/407725

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/407725/ft1_4FGL_J2236.4-2309_daily_bin1037.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/407725/ft2_4FGL_J2236.4-2309_daily_bin1037.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/407725/ft1_4FGL_J2236.4-2309_daily_bin1037.fits outfile=/scratch/kocevski/407725/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1037.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=508118401.0 tmax=508377601.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.64
user 3.43
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/407725/ft2_4FGL_J2236.4-2309_daily_bin1037.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/407725/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1037.fits evtable="EVENTS" outfile="/scratch/kocevski/407725/ft1_filtered_4FGL_J2236.4-2309_daily_bin1037.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.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/407725/ft1_filtered_4FGL_J2236.4-2309_daily_bin1037.fits" evtable="EVENTS" scfile=/scratch/kocevski/407725/ft2_4FGL_J2236.4-2309_daily_bin1037.fits sctable="SC_DATA" outfile=/scratch/kocevski/407725/ltcube_508118401_508377601_4FGL_J2236.4-2309_daily_bin1037.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/407725/ft2_4FGL_J2236.4-2309_daily_bin1037.fits
.....................!
real 11.91
user 11.47
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/407725/ft1_filtered_4FGL_J2236.4-2309_daily_bin1037.fits evtable="EVENTS" scfile=/scratch/kocevski/407725/ft2_4FGL_J2236.4-2309_daily_bin1037.fits sctable="SC_DATA" expcube=/scratch/kocevski/407725/ltcube_508118401_508377601_4FGL_J2236.4-2309_daily_bin1037.fits outfile=/scratch/kocevski/407725/expmap_508118401_508377601_4FGL_J2236.4-2309_daily_bin1037.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/407725/ltcube_508118401_508377601_4FGL_J2236.4-2309_daily_bin1037.fits
.....................!
real 191.59
user 186.31
sys 4.92

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/407725/ft1_filtered_4FGL_J2236.4-2309_daily_bin1037.fits scfile=/scratch/kocevski/407725/ft2_4FGL_J2236.4-2309_daily_bin1037.fits outfile=/scratch/kocevski/407725/cmap_508118401_508377601_4FGL_J2236.4-2309_daily_bin1037.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.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/407725/ft1_filtered_4FGL_J2236.4-2309_daily_bin1037.fits scfile=/scratch/kocevski/407725/ft2_4FGL_J2236.4-2309_daily_bin1037.fits outfile=/scratch/kocevski/407725/cmap_HighResolution_508118401_508377601_4FGL_J2236.4-2309_daily_bin1037.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.57
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/407725/ft1_filtered_4FGL_J2236.4-2309_daily_bin1037.fits evtable="EVENTS" scfile=/scratch/kocevski/407725/ft2_4FGL_J2236.4-2309_daily_bin1037.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/407725/Model_4FGL_J2236.4-2309_daily_bin1037.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/407725/ft1_filtered_4FGL_J2236.4-2309_daily_bin1037.fits.....................!
real 49.89
user 48.40
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.7902       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.4672       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.6970       1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.929       1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.668       1.0000         .10000E-03   10000.    
     8 'norm      '    24.504       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10368E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .13109E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.271       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    44.594       1.0000         .10000E-03   10000.    
    15 'norm      '    3.1897       1.0000         .10000E-03   10000.    
    16 'norm      '    3.5765       1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.676       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.805       1.0000         .10000E-03   10000.    
    20 'norm      '    .37165E-01   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    8.3424       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .91058       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1148       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=   6026.657     FROM MIGRAD    STATUS=CONVERGED    559 CALLS     2815 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.2829       -.33660E-07** at limit **
   2  Prefactor     .10000E-03    20.390        .11680E-06** at limit **
   3  norm          2.7902        .55686        .59632E-08    .60265E-04
   4  Prefactor     2.4642        7.9701        .45314E-05   -.16961E-03
   5  Prefactor     2.6969        24.863        .11878E-05   -.35573E-05
   6  Prefactor     16.927        19.668       -.12353E-05    .19018E-04
   7  Prefactor     12.664        43.176        .10316E-05   -.17004E-05
   8  norm          24.505        18.615       -.58406E-06    .56514E-04
   9  Prefactor     .10000E-03    13.314       -.54576E-06** at limit **
  10  norm          .10000E-03    .22005        .31483E-07** at limit **
  11  norm          .10000E-03    1.3338       -.14939E-05** at limit **
  12  Prefactor     13.198        44.827        .85197E-05    .17867E-03
  13  Prefactor     .10000E-03    5.2534       -.25077E-07** at limit **
  14  Prefactor     44.692        43.487       -.35927E-06    .18006E-03
  15  norm          3.1805        3.6604        .34809E-06   -.25623E-03
  16  norm          3.5764        3.1340        .43239E-07    .12588E-03
  17  Prefactor     10.621        32.145       -.70079E-05    .10716E-04
  18  Prefactor     .10000E-03    6.5857        .14374E-06** at limit **
  19  Prefactor     10.798        11.379       -.83675E-06    .16747E-03
  20  norm          .39790E-01    .50137       -.76056E-07    .60996E-03
  21  Prefactor     .10000E-03    3.5562        .67347E-07** at limit **
  22  Prefactor     8.3389        12.510        .91793E-06    .78638E-04
  23  Normalizat    .91053        .21224       -.10598E-05    .13560E-03
  24  Prefactor     1.1148        .17863        .28189E-06    .14040E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.79018
  Prefactor  = 2.4642
  Prefactor  = 2.69686
  Prefactor  = 16.9268
  Prefactor  = 12.6643
  norm       = 24.5051
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 13.1982
  Prefactor  = 0.0001
  Prefactor  = 44.6921
  norm       = 3.18053
  norm       = 3.57642
  Prefactor  = 10.6213
  Prefactor  = 0.0001
  Prefactor  = 10.7978
  norm       = 0.0397898
  Prefactor  = 0.0001
  Prefactor  = 8.33894
  Normalizat = 0.910531
  Prefactor  = 1.11484
 **********
 **   18 **HESSE 
 **********

 FCN=   6026.657     FROM HESSE     STATUS=OK           403 CALLS     3218 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.2866        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    20.405        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.7902        .55761        .25124E-04   -1.5374    
   4  Prefactor     2.4642        8.1076        .13017E-02   -1.5394    
   5  Prefactor     2.6969        24.876        .24806E-03   -1.5380    
   6  Prefactor     16.927        19.669        .97342E-04   -1.4885    
   7  Prefactor     12.664        43.171        .11255E-03   -1.4996    
   8  norm          24.505        18.609        .80921E-04   -1.4718    
   9  Prefactor     .10000E-03    13.468        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .22168        .35533E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    2.3014        .16154E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.198        45.094        .10995E-03   -1.4981    
  13  Prefactor     .10000E-03    5.2760        .17375E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     44.692        45.612        .60037E-04   -1.4370    
  15  norm          3.1805        3.8221        .72090E-04   -1.5351    
  16  norm          3.5764        3.1265        .12129E-03   -1.5330    
  17  Prefactor     10.621        31.772        .12262E-03   -1.5056    
  18  Prefactor     .10000E-03    6.5919        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     10.798        11.626        .12189E-03   -1.5051    
  20  norm          .39790E-01    3.0250        .85240E-03   -1.5668    
  21  Prefactor     .10000E-03    3.5595        .14297E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     8.3389        12.513        .13880E-03   -1.5130    
  23  Normalizat    .91053        .25446        .29138E-03   -.96091    
  24  Prefactor     1.1148        .21473        .11672E-02   -.88994    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.47619e-09
Minuit parameter uncertainties:
  1  8.58483e-08
  2  2.26035e-07
  3  0.557609
  4  8.1112
  5  16.3899
  6  19.6768
  7  43.2779
  8  18.613
  9  6.43772e-05
  10  3.93573e-07
  11  2.56878e-05
  12  45.2106
  13  1.2257e-06
  14  45.6476
  15  3.82241
  16  3.12661
  17  31.8228
  18  1.29265e-05
  19  11.628
  20  0.693037
  21  4.40899e-06
  22  12.5173
  23  0.254801
  24  0.214898
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  1.000e-04  6.438e-05  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.115e+00  2.149e-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:  9.105e-01  2.548e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/407725/likelihoodResults_508118401_508377601_4FGL_J2236.4-2309_daily_bin1037.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) = 6026.65704059
delta logL = -0.00035388464039

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6026.65668694
delta logL = -2.29307261179e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11306E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7831       1.0000          .0000       10.000    
     3 'Normalizat'    .91059       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1148       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=   6026.657     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      233 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    23.966        .18142E-02** at limit **
   2  Index         2.8287        6.3987        .50000       -.29687E-04
   3  Normalizat    .91052        .23325        .29139E-03   -.42207E-03
   4  Prefactor     1.1148        .20597        .23343E-03   -.17892E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100014
  Index      = 2.8287
  Normalizat = 0.910525
  Prefactor  = 1.11484
 **********
 **   18 **HESSE 
 **********

 FCN=   6026.657     FROM HESSE     STATUS=OK            29 CALLS      262 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    15.993        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8287        6.3980        .50000       -.44922    
   3  Normalizat    .91052        .23346        .58277E-04   -.96091    
   4  Prefactor     1.1148        .20616        .46686E-04   -.88994    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.19511e-09
Minuit parameter uncertainties:
  1  0.000951733
  2  4.53639
  3  0.23372
  4  0.206304
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/407725': 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) = 6026.65668615
delta logL = 5.58800820727e-07

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  1.000e-04  9.517e-04  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  2.829e+00  4.536e+00  0.000e+00  1.000e+01 (-1.000e+00)
249        Scale:  4.484e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.115e+00  2.063e-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:  9.105e-01  2.337e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/407725/cmap_HighResolution_508118401_508377601_4FGL_J2236.4-2309_daily_bin1037.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.83e-03', job_status='DONE', photon_flux_upper_limit='9.92e-08', time_completed='2021-09-28 17:23:35.130424', job_id='407725', GAL2='1.11', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1632875015.13', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='5.59e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='1037' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:23:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0267>
Subject: Job 407725: <4FGL_J2236.4-2309_daily_bin1037> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin1037 339.125 -23.1552 508118401 508377601 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 :                                   623.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             276.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   784 sec.
    Turnaround time :                            785 sec.

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

