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


Performing analysis on: 4FGL_J2236.5-1433_daily_bin1437
RA = 339.144, Dec = -14.5557
tmin = 611798401, tmax = 612057601
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='415415', job_status='RUN', time_executed='2021-09-28 17:36:00.454796', time_epoch_executed='1632875760.45' WHERE source_name='4FGL J2236.5-1433' and cadence='daily' and bin_id='1437'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/415415

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/415415/ft1_4FGL_J2236.5-1433_daily_bin1437.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/415415/ft2_4FGL_J2236.5-1433_daily_bin1437.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/415415/ft1_4FGL_J2236.5-1433_daily_bin1437.fits outfile=/scratch/kocevski/415415/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1437.fits ra=339.144 dec=-14.5557 rad=12.0 tmin=611798401.0 tmax=612057601.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.54
user 3.28
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/415415/ft2_4FGL_J2236.5-1433_daily_bin1437.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/415415/ft2_4FGL_J2236.5-1433_daily_bin1437.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/415415/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1437.fits evtable="EVENTS" outfile="/scratch/kocevski/415415/ft1_filtered_4FGL_J2236.5-1433_daily_bin1437.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/415415/ft1_filtered_4FGL_J2236.5-1433_daily_bin1437.fits" evtable="EVENTS" scfile=/scratch/kocevski/415415/ft2_4FGL_J2236.5-1433_daily_bin1437.fits sctable="SC_DATA" outfile=/scratch/kocevski/415415/ltcube_611798401_612057601_4FGL_J2236.5-1433_daily_bin1437.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/415415/ft2_4FGL_J2236.5-1433_daily_bin1437.fits
.....................!
real 11.86
user 11.48
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/415415/ft1_filtered_4FGL_J2236.5-1433_daily_bin1437.fits evtable="EVENTS" scfile=/scratch/kocevski/415415/ft2_4FGL_J2236.5-1433_daily_bin1437.fits sctable="SC_DATA" expcube=/scratch/kocevski/415415/ltcube_611798401_612057601_4FGL_J2236.5-1433_daily_bin1437.fits outfile=/scratch/kocevski/415415/expmap_611798401_612057601_4FGL_J2236.5-1433_daily_bin1437.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/415415/ltcube_611798401_612057601_4FGL_J2236.5-1433_daily_bin1437.fits
.....................!
real 191.92
user 185.69
sys 5.86

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 154 point sources and 0 extended sources

Setting source of interest to:
4FGL J2236.5-1433 @ 339.144 -14.5557

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/415415/ft1_filtered_4FGL_J2236.5-1433_daily_bin1437.fits scfile=/scratch/kocevski/415415/ft2_4FGL_J2236.5-1433_daily_bin1437.fits outfile=/scratch/kocevski/415415/cmap_611798401_612057601_4FGL_J2236.5-1433_daily_bin1437.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.144 yref=-14.5557 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/415415/ft1_filtered_4FGL_J2236.5-1433_daily_bin1437.fits scfile=/scratch/kocevski/415415/ft2_4FGL_J2236.5-1433_daily_bin1437.fits outfile=/scratch/kocevski/415415/cmap_HighResolution_611798401_612057601_4FGL_J2236.5-1433_daily_bin1437.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.144 yref=-14.5557 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/415415/ft1_filtered_4FGL_J2236.5-1433_daily_bin1437.fits evtable="EVENTS" scfile=/scratch/kocevski/415415/ft2_4FGL_J2236.5-1433_daily_bin1437.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/415415/Model_4FGL_J2236.5-1433_daily_bin1437.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/415415/ft1_filtered_4FGL_J2236.5-1433_daily_bin1437.fits.....................!
real 69.38
user 67.99
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/415415/ft1_filtered_4FGL_J2236.5-1433_daily_bin1437.fits', '/scratch/kocevski/415415/ft2_4FGL_J2236.5-1433_daily_bin1437.fits', expMap='/scratch/kocevski/415415/expmap_611798401_612057601_4FGL_J2236.5-1433_daily_bin1437.fits', expCube='/scratch/kocevski/415415/ltcube_611798401_612057601_4FGL_J2236.5-1433_daily_bin1437.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/415415/Model_4FGL_J2236.5-1433_daily_bin1437.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2236.5-1433'

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  1.854e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  2.065e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
259         beta:  7.101e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
260           Eb:  6.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/415415/ft1_filtered_4FGL_J2236.5-1433_daily_bin1437.fits
Spacecraft file(s): /scratch/kocevski/415415/ft2_4FGL_J2236.5-1433_daily_bin1437.fits
Exposure map: /scratch/kocevski/415415/expmap_611798401_612057601_4FGL_J2236.5-1433_daily_bin1437.fits
Exposure cube: /scratch/kocevski/415415/ltcube_611798401_612057601_4FGL_J2236.5-1433_daily_bin1437.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/415415/Model_4FGL_J2236.5-1433_daily_bin1437.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) = 8355.15342495

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2393       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.6349       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11202       1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.212       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    17.508       1.0000         .10000E-03   10000.    
     8 'norm      '    1.7150       1.0000         .10000E-03   10000.    
     9 'Prefactor '    39.977       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.7877       1.0000         .10000E-03   10000.    
    11 'norm      '    .87014       1.0000         .10000E-03   10000.    
    12 'norm      '    3.5948       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .37183E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    4.6334       1.0000         .10000E-03   10000.    
    16 'Prefactor '    42.915       1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.4864       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.541       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1548       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .77919       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8355.078     FROM MIGRAD    STATUS=CONVERGED    477 CALLS     2269 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2398        3.6447        .48103E-07   -.23837E-03
   2  Prefactor     7.6382        13.362       -.14783E-05   -.39415E-03
   3  Prefactor     .11151        4.4192        .13278E-05   -.10711E-02
   4  Prefactor     10.210        9.1177        .55277E-06    .20893E-03
   5  Prefactor     .10000E-03    18.867       -.13749E-06** at limit **
   6  Prefactor     .10000E-03    .89966       -.19463E-08** at limit **
   7  Prefactor     17.502        35.411        .37427E-06    .78380E-05
   8  norm          1.7216        2.8061        .32057E-06   -.32281E-03
   9  Prefactor     39.694        70.104       -.14836E-05   -.28441E-04
  10  Prefactor     4.7894        8.1566        .28141E-06   -.14879E-04
  11  norm          .87011        .68018        .79263E-07    .44453E-03
  12  norm          3.5949        1.8908       -.17513E-07   -.39237E-06
  13  Prefactor     .10000E-03    19.197       -.24909E-08** at limit **
  14  Prefactor     .10006E-03    9.7467       -.33751E-05** at limit **
  15  norm          4.6341        1.3634        .41828E-06    .48767E-02
  16  Prefactor     42.940        29.830       -.36198E-06    .42421E-03
  17  Prefactor     6.4861        7.1692        .88016E-06   -.51580E-03
  18  Prefactor     .10000E-03    1.8122       -.45255E-07** at limit **
  19  Prefactor     13.541        22.799        .98507E-06    .98427E-04
  20  Normalizat    1.1545        .16113        .36492E-06   -.64013E-04
  21  Prefactor     .77946        .12098       -.26664E-06   -.12992E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.23982
  Prefactor  = 7.63821
  Prefactor  = 0.11151
  Prefactor  = 10.2098
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.5019
  norm       = 1.72156
  Prefactor  = 39.6941
  Prefactor  = 4.78938
  norm       = 0.870109
  norm       = 3.5949
  Prefactor  = 0.0001
  Prefactor  = 0.000100058
  norm       = 4.63412
  Prefactor  = 42.94
  Prefactor  = 6.48608
  Prefactor  = 0.0001
  Prefactor  = 13.5413
  Normalizat = 1.15447
  Prefactor  = 0.779461
 **********
 **   18 **HESSE 
 **********

 FCN=   8355.078     FROM HESSE     STATUS=OK           333 CALLS     2602 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2398        3.6406        .15631E-03   -1.5296    
   2  Prefactor     7.6382        13.562        .14513E-03   -1.5155    
   3  Prefactor     .11151        8.2074        .57121E-01   -1.5641    
   4  Prefactor     10.210        9.1116        .12539E-03   -1.5069    
   5  Prefactor     .10000E-03    18.877        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    .90536        .84615E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     17.502        35.349        .95719E-04   -1.4871    
   8  norm          1.7216        2.7616        .17769E-03   -1.5446    
   9  Prefactor     39.694        69.517        .63396E-04   -1.4447    
  10  Prefactor     4.7894        8.1664        .18387E-03   -1.5270    
  11  norm          .87011        .64975        .63297E-03   -1.5521    
  12  norm          3.5949        1.8903        .88442E-04   -1.5329    
  13  Prefactor     .10000E-03    19.226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10006E-03    54.269        .45036E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.6341        1.3935        .47016E-04   -1.5277    
  16  Prefactor     42.940        29.666        .61196E-04   -1.4396    
  17  Prefactor     6.4861        7.0825        .78790E-03   -1.5199    
  18  Prefactor     .10000E-03    1.8137        .12017E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     13.541        22.800        .10885E-03   -1.4972    
  20  Normalizat    1.1545        .19323        .24555E-03   -.88022    
  21  Prefactor     .77946        .14401        .22567E-03   -1.0049    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.52956e-09
Minuit parameter uncertainties:
  1  3.64082
  2  13.568
  3  1.91275
  4  9.11283
  5  2.85711e-05
  6  2.77005e-06
  7  35.3918
  8  2.76179
  9  69.6591
  10  8.16832
  11  0.649754
  12  1.89033
  13  1.16543e-05
  14  0.00355645
  15  1.39353
  16  29.6763
  17  7.08343
  18  1.2093e-06
  19  22.8143
  20  0.193351
  21  0.144081
Done.

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

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  8.701e-01  6.498e-01  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  2.065e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
259         beta:  7.101e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
260           Eb:  6.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  7.795e-01  1.441e-01  0.000e+00  1.000e+01 ( 1.000e+00)
493        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
494        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
491   Normalization:  1.154e+00  1.934e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.82
Ra Dec: 339.144 -14.556
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 3.38e-08 +/- 2.52e-08
Energy Flux (Fixed Index): 1.65e-05 +/- 1.23e-05

TS (Fixed Index): 2.82
Ra Dec: 339.144 -14.556
Photon Flux Upper Limit: 8.77e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.29e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/415415/likelihoodResults_611798401_612057601_4FGL_J2236.5-1433_daily_bin1437.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) = 8355.04656838
delta logL = 0.0314041445836

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8355.04575511
delta logL = 0.0322174196463

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .88471       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2428       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1468       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78249       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+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=   8355.046     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      246 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .88486        .63954        .61021E-03    .97197E-03
   2  alpha         2.2422        .70390        .18318E-01    .48846E-04
   3  Normalizat    1.1469        .18421        .24619E-03   -.25675E-04
   4  Prefactor     .78247        .14126        .22526E-03   -.49864E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.884862
  alpha      = 2.24221
  Normalizat = 1.14689
  Prefactor  = 0.782471
 **********
 **   18 **HESSE 
 **********

 FCN=   8355.046     FROM HESSE     STATUS=OK            25 CALLS      271 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .88486        .63300        .24408E-04   -1.5520    
   2  alpha         2.2422        .69670        .73270E-03   -.10330    
   3  Normalizat    1.1469        .18431        .98476E-05   -.88260    
   4  Prefactor     .78247        .14133        .90102E-05   -1.0038    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.01602e-10
Minuit parameter uncertainties:
  1  0.633004
  2  0.706149
  3  0.184413
  4  0.141394
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/415415': 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) = 8355.0457547
delta logL = 0.0322178251699

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  8.849e-01  6.330e-01  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  2.242e+00  7.061e-01  0.000e+00  5.000e+00 ( 1.000e+00)
259         beta:  7.101e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
260           Eb:  6.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  7.825e-01  1.414e-01  0.000e+00  1.000e+01 ( 1.000e+00)
493        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
494        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
491   Normalization:  1.147e+00  1.844e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.88
Ra Dec: 339.144 -14.556
Photon Index (Free Index): 2.24 +/- 0.71
Photon Flux (Free Index): 4.08e-08 +/- 3.92e-08
Energy Flux (Free Index): 1.54e-05 +/- 1.17e-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/415415/cmap_HighResolution_611798401_612057601_4FGL_J2236.5-1433_daily_bin1437.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.29e-05', comment='SUCCESS', photon_flux='3.38e-08', energy_flux2='1.54e-05', photon_flux_error='2.52e-08', dlogl='3.22e-02', energy_flux='1.65e-05', photon_flux2='4.08e-08', job_status='DONE', time_completed='2021-09-28 17:47:26.847210', photon_index_error2='0.71', photon_index2='2.24', ts='2.82', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', photon_flux_upper_limit='8.77e-08', energy_flux_error2='1.17e-05', EG='1.15', time_epoch_completed='1632876446.85', return_code='0', job_id='415415', GAL2='0.78', EG2='1.15', return_code2='0', energy_flux_error='1.23e-05', photon_flux_error2='3.92e-08', ts2='2.88', photon_index='2.06' WHERE bin_id='1437' AND source_name='4FGL J2236.5-1433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:47:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 415415: <4FGL_J2236.5-1433_daily_bin1437> in cluster <slac> Done

Job <4FGL_J2236.5-1433_daily_bin1437> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 17:35:31 2021
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 17:35:33 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:35:33 2021
Terminated at Tue Sep 28 17:47:27 2021
Results reported at Tue Sep 28 17:47:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.5-1433_daily_bin1437 339.144 -14.5557 611798401 612057601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2236.5-1433 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   684.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             327.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   714 sec.
    Turnaround time :                            716 sec.

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

