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


Performing analysis on: 4FGL_J2236.4-2309_daily_bin1071
RA = 339.125, Dec = -23.1552
tmin = 516931201, tmax = 517190401
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='407775', job_status='RUN', time_executed='2021-09-28 17:13:10.984323', time_epoch_executed='1632874390.98' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='1071'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/407775

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/407775/ft1_4FGL_J2236.4-2309_daily_bin1071.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/407775/ft2_4FGL_J2236.4-2309_daily_bin1071.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/407775/ft1_4FGL_J2236.4-2309_daily_bin1071.fits outfile=/scratch/kocevski/407775/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1071.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=516931201.0 tmax=517190401.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.91
user 3.68
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/407775/ft1_filtered_4FGL_J2236.4-2309_daily_bin1071.fits" evtable="EVENTS" scfile=/scratch/kocevski/407775/ft2_4FGL_J2236.4-2309_daily_bin1071.fits sctable="SC_DATA" outfile=/scratch/kocevski/407775/ltcube_516931201_517190401_4FGL_J2236.4-2309_daily_bin1071.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/407775/ft2_4FGL_J2236.4-2309_daily_bin1071.fits
.....................!
real 11.45
user 11.13
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/407775/ft1_filtered_4FGL_J2236.4-2309_daily_bin1071.fits evtable="EVENTS" scfile=/scratch/kocevski/407775/ft2_4FGL_J2236.4-2309_daily_bin1071.fits sctable="SC_DATA" expcube=/scratch/kocevski/407775/ltcube_516931201_517190401_4FGL_J2236.4-2309_daily_bin1071.fits outfile=/scratch/kocevski/407775/expmap_516931201_517190401_4FGL_J2236.4-2309_daily_bin1071.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/407775/ltcube_516931201_517190401_4FGL_J2236.4-2309_daily_bin1071.fits
.....................!
real 190.09
user 185.31
sys 4.47

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/407775/ft1_filtered_4FGL_J2236.4-2309_daily_bin1071.fits scfile=/scratch/kocevski/407775/ft2_4FGL_J2236.4-2309_daily_bin1071.fits outfile=/scratch/kocevski/407775/cmap_516931201_517190401_4FGL_J2236.4-2309_daily_bin1071.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/407775/ft1_filtered_4FGL_J2236.4-2309_daily_bin1071.fits scfile=/scratch/kocevski/407775/ft2_4FGL_J2236.4-2309_daily_bin1071.fits outfile=/scratch/kocevski/407775/cmap_HighResolution_516931201_517190401_4FGL_J2236.4-2309_daily_bin1071.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.53
user 0.40
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/407775/ft1_filtered_4FGL_J2236.4-2309_daily_bin1071.fits evtable="EVENTS" scfile=/scratch/kocevski/407775/ft2_4FGL_J2236.4-2309_daily_bin1071.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/407775/Model_4FGL_J2236.4-2309_daily_bin1071.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/407775/ft1_filtered_4FGL_J2236.4-2309_daily_bin1071.fits.....................!
real 60.46
user 59.22
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .56599E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .25876E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.2995       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.567       1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.799       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .61818E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    4.6518       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.6142       1.0000         .10000E-03   10000.    
    10 'norm      '    2.1336       1.0000         .10000E-03   10000.    
    11 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .38123E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.2630       1.0000         .10000E-03   10000.    
    14 'Prefactor '    27.622       1.0000         .10000E-03   10000.    
    15 'norm      '    2.5975       1.0000         .10000E-03   10000.    
    16 'norm      '    7.1538       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .12559E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    17.280       1.0000         .10000E-03   10000.    
    19 'Prefactor '    24.642       1.0000         .10000E-03   10000.    
    20 'norm      '    1.3767       1.0000         .10000E-03   10000.    
    21 'Prefactor '    11.693       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .17440E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .82853       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0969       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=   7321.422     FROM MIGRAD    STATUS=CONVERGED    548 CALLS     2358 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.819        .41034E-07** at limit **
   2  Prefactor     .10000E-03    26.335       -.34556E-05** at limit **
   3  norm          2.2996        .46194       -.50078E-09    .18250E-03
   4  Prefactor     .10000E-03    3.7333       -.54950E-07** at limit **
   5  Prefactor     11.655        13.329        .24610E-05   -.48636E-04
   6  Prefactor     17.981        12.858        .29856E-05   -.19831E-05
   7  Prefactor     .10000E-03    22.831        .15635E-05** at limit **
   8  norm          5.0324        15.028       -.23379E-05   -.62896E-04
   9  Prefactor     6.6110        9.0906        .42022E-06   -.75746E-04
  10  norm          2.1332        1.0206       -.14172E-07   -.51082E-03
  11  norm          .10000E-03    .54312       -.11909E-07** at limit **
  12  Prefactor     .10000E-03    24.754       -.35574E-05** at limit **
  13  Prefactor     6.2795        8.1110       -.26917E-05   -.12571E-03
  14  Prefactor     27.974        28.261       -.91003E-06   -.50916E-03
  15  norm          2.5778        2.1199        .12338E-06   -.80770E-03
  16  norm          7.1491        3.6826        .10419E-06    .80934E-04
  17  Prefactor     .10000E-03    29.703        .65354E-05** at limit **
  18  Prefactor     17.316        18.377       -.30466E-05   -.69349E-05
  19  Prefactor     24.712        13.431        .10536E-05    .11222E-05
  20  norm          1.3733        .94469        .11749E-07   -.37657E-03
  21  Prefactor     11.741        10.373        .41320E-06   -.57437E-04
  22  Prefactor     .10000E-03    12.414       -.11269E-06** at limit **
  23  Normalizat    .82748        .18583       -.68818E-06   -.24746E-05
  24  Prefactor     1.0970        .15816        .90561E-07   -.25229E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.29958
  Prefactor  = 0.0001
  Prefactor  = 11.6546
  Prefactor  = 17.9806
  Prefactor  = 0.0001
  norm       = 5.03237
  Prefactor  = 6.61102
  norm       = 2.13322
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.27948
  Prefactor  = 27.9738
  norm       = 2.57777
  norm       = 7.14914
  Prefactor  = 0.0001
  Prefactor  = 17.3159
  Prefactor  = 24.7119
  norm       = 1.37326
  Prefactor  = 11.7411
  Prefactor  = 0.0001
  Normalizat = 0.827481
  Prefactor  = 1.09696
 **********
 **   18 **HESSE 
 **********

 FCN=   7321.422     FROM HESSE     STATUS=OK           405 CALLS     2763 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.938        .21095E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    26.390        .21451E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.2996        .46277        .25300E-04   -1.5405    
   4  Prefactor     .10000E-03    3.7481        .16143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.655        13.253        .11779E-03   -1.5025    
   6  Prefactor     17.981        12.781        .94935E-04   -1.4860    
   7  Prefactor     .10000E-03    22.852        .21048E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.0324        15.086        .18660E-03   -1.5259    
   9  Prefactor     6.6110        9.0823        .15603E-03   -1.5194    
  10  norm          2.1332        1.0173        .56545E-04   -1.5416    
  11  norm          .10000E-03    .54590        .61569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    24.865        .21285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.2795        8.1828        .16040E-03   -1.5207    
  14  Prefactor     27.974        32.715        .38113E-03   -1.4650    
  15  norm          2.5778        2.4234        .64733E-04   -1.5387    
  16  norm          7.1491        3.6806        .11211E-03   -1.5173    
  17  Prefactor     .10000E-03    29.819        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     17.316        18.323        .96348E-04   -1.4875    
  19  Prefactor     24.712        13.572        .80696E-04   -1.4713    
  20  norm          1.3733        .93187        .51886E-04   -1.5474    
  21  Prefactor     11.741        10.376        .11715E-03   -1.5023    
  22  Prefactor     .10000E-03    12.637        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .82748        .21806        .29971E-03   -.99057    
  24  Prefactor     1.0970        .18563        .23289E-03   -.89564    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.43888e-10
Minuit parameter uncertainties:
  1  1.67608e-06
  2  2.88221e-06
  3  0.462768
  4  7.23281e-06
  5  13.2564
  6  12.7832
  7  6.14978e-06
  8  15.0977
  9  9.08414
  10  1.0173
  11  6.00673e-07
  12  1.20062e-05
  13  8.18425
  14  32.7357
  15  2.42345
  16  3.6807
  17  3.63453e-05
  18  18.3289
  19  13.5738
  20  0.931881
  21  10.3775
  22  4.665e-06
  23  0.218288
  24  0.185738
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  6.611e+00  9.084e+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:  1.097e+00  1.857e-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:  8.275e-01  2.183e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.80
Ra Dec: 339.125 -23.155
Photon Flux Upper Limit: 1.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.08e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/407775/likelihoodResults_516931201_517190401_4FGL_J2236.4-2309_daily_bin1071.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) = 7321.19868505
delta logL = 0.223783990315

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7321.18738399
delta logL = 0.235085050016

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.9338       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0655       1.0000          .0000       10.000    
     3 'Normalizat'    .84201       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0862       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=   7321.187     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      212 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9338        10.628        .35588E-02    .27776E-03
   2  Index         2.0655        .65497        .25425        .36029E-05
   3  Normalizat    .84202        .17580        .67195E-01    .38893E-04
   4  Prefactor     1.0862        .15580        .38135E-01   -.25507E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.93382
  Index      = 2.06548
  Normalizat = 0.842024
  Prefactor  = 1.08622
 **********
 **   18 **HESSE 
 **********

 FCN=   7321.187     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.9338        10.004        .14235E-03   -1.5145    
   2  Index         2.0655        .79974        .12295E-01   -.62723    
   3  Normalizat    .84202        .20423        .29728E-03   -.98528    
   4  Prefactor     1.0862        .18091        .23382E-03   -.89908    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.27297e-10
Minuit parameter uncertainties:
  1  10.0065
  2  0.805031
  3  0.20442
  4  0.181016
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/407775': 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) = 7321.18738399
delta logL = 0.23508505359

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  7.934e+00  1.001e+01  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  2.065e+00  8.050e-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.086e+00  1.810e-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:  8.420e-01  2.044e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.26
Ra Dec: 339.125 -23.155
Photon Index (Free Index): 2.07 +/- 0.81
Photon Flux (Free Index): 1.65e-08 +/- 2.39e-08
Energy Flux (Free Index): 9.78e-06 +/- 1.57e-05

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/407775/cmap_HighResolution_516931201_517190401_4FGL_J2236.4-2309_daily_bin1071.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.08e-03', comment='SUCCESS', energy_flux2='9.78e-06', dlogl='2.35e-01', photon_flux2='1.65e-08', job_status='DONE', time_completed='2021-09-28 17:24:22.671779', photon_index_error2='0.81', photon_index2='2.07', ts='0.80', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', photon_flux_upper_limit='1.02e-07', energy_flux_error2='1.57e-05', EG='0.83', time_epoch_completed='1632875062.67', return_code='0', job_id='407775', GAL2='1.09', EG2='0.84', return_code2='0', photon_flux_error2='2.39e-08', ts2='1.26', photon_index='2.74' WHERE bin_id='1071' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:24:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0109>
Subject: Job 407775: <4FGL_J2236.4-2309_daily_bin1071> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin1071 339.125 -23.1552 516931201 517190401 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 :                                   667.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             296.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   827 sec.
    Turnaround time :                            829 sec.

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

