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


Performing analysis on: 4FGL_J2236.5-1433_daily_bin1275
RA = 339.144, Dec = -14.5557
tmin = 569808001, tmax = 570067201
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='415177', job_status='RUN', time_executed='2021-09-28 17:38:12.470237', time_epoch_executed='1632875892.47' WHERE source_name='4FGL J2236.5-1433' and cadence='daily' and bin_id='1275'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/415177

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/415177/ft1_4FGL_J2236.5-1433_daily_bin1275.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/415177/ft2_4FGL_J2236.5-1433_daily_bin1275.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/415177/ft1_4FGL_J2236.5-1433_daily_bin1275.fits outfile=/scratch/kocevski/415177/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1275.fits ra=339.144 dec=-14.5557 rad=12.0 tmin=569808001.0 tmax=570067201.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.58
user 3.31
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/415177/ft2_4FGL_J2236.5-1433_daily_bin1275.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/415177/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1275.fits evtable="EVENTS" outfile="/scratch/kocevski/415177/ft1_filtered_4FGL_J2236.5-1433_daily_bin1275.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.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/415177/ft1_filtered_4FGL_J2236.5-1433_daily_bin1275.fits" evtable="EVENTS" scfile=/scratch/kocevski/415177/ft2_4FGL_J2236.5-1433_daily_bin1275.fits sctable="SC_DATA" outfile=/scratch/kocevski/415177/ltcube_569808001_570067201_4FGL_J2236.5-1433_daily_bin1275.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/415177/ft2_4FGL_J2236.5-1433_daily_bin1275.fits
.....................!
real 11.92
user 11.55
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/415177/ft1_filtered_4FGL_J2236.5-1433_daily_bin1275.fits evtable="EVENTS" scfile=/scratch/kocevski/415177/ft2_4FGL_J2236.5-1433_daily_bin1275.fits sctable="SC_DATA" expcube=/scratch/kocevski/415177/ltcube_569808001_570067201_4FGL_J2236.5-1433_daily_bin1275.fits outfile=/scratch/kocevski/415177/expmap_569808001_570067201_4FGL_J2236.5-1433_daily_bin1275.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/415177/ltcube_569808001_570067201_4FGL_J2236.5-1433_daily_bin1275.fits
.....................!
real 191.78
user 186.15
sys 5.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 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/415177/ft1_filtered_4FGL_J2236.5-1433_daily_bin1275.fits scfile=/scratch/kocevski/415177/ft2_4FGL_J2236.5-1433_daily_bin1275.fits outfile=/scratch/kocevski/415177/cmap_569808001_570067201_4FGL_J2236.5-1433_daily_bin1275.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.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/415177/ft1_filtered_4FGL_J2236.5-1433_daily_bin1275.fits scfile=/scratch/kocevski/415177/ft2_4FGL_J2236.5-1433_daily_bin1275.fits outfile=/scratch/kocevski/415177/cmap_HighResolution_569808001_570067201_4FGL_J2236.5-1433_daily_bin1275.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/415177/ft1_filtered_4FGL_J2236.5-1433_daily_bin1275.fits evtable="EVENTS" scfile=/scratch/kocevski/415177/ft2_4FGL_J2236.5-1433_daily_bin1275.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/415177/Model_4FGL_J2236.5-1433_daily_bin1275.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/415177/ft1_filtered_4FGL_J2236.5-1433_daily_bin1275.fits.....................!
real 53.10
user 51.67
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/415177/ft1_filtered_4FGL_J2236.5-1433_daily_bin1275.fits', '/scratch/kocevski/415177/ft2_4FGL_J2236.5-1433_daily_bin1275.fits', expMap='/scratch/kocevski/415177/expmap_569808001_570067201_4FGL_J2236.5-1433_daily_bin1275.fits', expCube='/scratch/kocevski/415177/ltcube_569808001_570067201_4FGL_J2236.5-1433_daily_bin1275.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/415177/Model_4FGL_J2236.5-1433_daily_bin1275.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/415177/ft1_filtered_4FGL_J2236.5-1433_daily_bin1275.fits
Spacecraft file(s): /scratch/kocevski/415177/ft2_4FGL_J2236.5-1433_daily_bin1275.fits
Exposure map: /scratch/kocevski/415177/expmap_569808001_570067201_4FGL_J2236.5-1433_daily_bin1275.fits
Exposure cube: /scratch/kocevski/415177/ltcube_569808001_570067201_4FGL_J2236.5-1433_daily_bin1275.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/415177/Model_4FGL_J2236.5-1433_daily_bin1275.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) = 5851.48419287

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.1151       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .14974E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.8999       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .47963E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11211E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .18435       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .19798E-01   1.0000         .10000E-03   10000.    
     8 'norm      '    .10156E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10593E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.2620       1.0000         .10000E-03   10000.    
    11 'norm      '    1.0693       1.0000         .10000E-03   10000.    
    12 'norm      '    .84194       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .62303E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    89.531       1.0000         .10000E-03   10000.    
    15 'norm      '    .89352       1.0000         .10000E-03   10000.    
    16 'Prefactor '    40.068       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .31504E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .20668E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1583       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .90024       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=   5851.270     FROM MIGRAD    STATUS=CONVERGED    833 CALLS     2387 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.3008        7.1546        .14074E-03   -.21083E-04
   2  Prefactor     .10000E-03    13.207        .18142E-02** at limit **
   3  Prefactor     4.8873        11.796        .18171E-03   -.16330E-04
   4  Prefactor     .10000E-03    16.630        .21178E-02** at limit **
   5  Prefactor     .10000E-03    39.713        .20685E-02** at limit **
   6  Prefactor     .21920        15.723        .22467E-02   -.13538E-03
   7  Prefactor     .10000E-03    51.111        .18243E-02** at limit **
   8  norm          .10000E-03    5.1878        .22795E-02** at limit **
   9  Prefactor     .10000E-03    295.08        .18142E-02** at limit **
  10  Prefactor     4.1874        15.172        .19517E-03   -.20271E-04
  11  norm          1.0645        .83364        .58132E-04   -.65515E-04
  12  norm          .84366        1.4680        .15103E-02    .37660E-03
  13  Prefactor     .10000E-03    36.974        .18883E-02** at limit **
  14  Prefactor     92.097        47.554        .42465E-04   -.30520E-04
  15  norm          .81226        3.1030        .12794E-03   -.98190E-04
  16  Prefactor     36.629        46.865        .63324E-04   -.11670E-04
  17  Prefactor     .10000E-03    6.4460        .18906E-02** at limit **
  18  Prefactor     .10000E-03    5.5849        .17516E-02** at limit **
  19  Prefactor     .10000E-03    8.9305        .18142E-02** at limit **
  20  Normalizat    1.1589        .25052        .27281E-03   -.54217E-04
  21  Prefactor     .89956        .17922        .22775E-03   -.10488E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.30079
  Prefactor  = 0.0001
  Prefactor  = 4.88725
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.219199
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.18744
  norm       = 1.06449
  norm       = 0.843662
  Prefactor  = 0.0001
  Prefactor  = 92.0969
  norm       = 0.812262
  Prefactor  = 36.6292
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.15894
  Prefactor  = 0.899561
 **********
 **   18 **HESSE 
 **********

 FCN=   5851.270     FROM HESSE     STATUS=OK           299 CALLS     2686 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.3008        7.1541        .56296E-05   -1.5132    
   2  Prefactor     .10000E-03    13.209        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.8873        11.794        .72683E-05   -1.5266    
   4  Prefactor     .10000E-03    16.640        .42356E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    39.714        .41371E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .21920        15.735        .89869E-04   -1.5614    
   7  Prefactor     .10000E-03    51.119        .36486E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    5.2144        .45590E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    295.17        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.1874        15.163        .78066E-05   -1.5299    
  11  norm          1.0645        .83359        .23253E-05   -1.5502    
  12  norm          .84366        1.4665        .60412E-04   -1.5524    
  13  Prefactor     .10000E-03    36.975        .37766E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     92.097        47.367        .16986E-05   -1.3786    
  15  norm          .81226        3.0858        .51176E-05   -1.5528    
  16  Prefactor     36.629        46.867        .25329E-05   -1.4497    
  17  Prefactor     .10000E-03    6.4472        .37811E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    5.5882        .35033E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    8.9306        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1589        .25073        .10912E-04   -.87881    
  21  Prefactor     .89956        .17926        .91100E-05   -.96156    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.84267e-10
Minuit parameter uncertainties:
  1  7.15481
  2  2.5676e-06
  3  11.7995
  4  4.91645e-06
  5  1.18525e-06
  6  3.7145
  7  6.85415e-06
  8  9.69566e-06
  9  0.000245677
  10  15.1772
  11  0.833594
  12  1.46657
  13  0.00010068
  14  47.3869
  15  3.08642
  16  46.9139
  17  5.26769e-06
  18  1.12396e-06
  19  1.98485e-07
  20  0.250985
  21  0.179373
Done.

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

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  1.064e+00  8.336e-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:  8.996e-01  1.794e-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.159e+00  2.510e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.88
Ra Dec: 339.144 -14.556
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 4.13e-08 +/- 3.23e-08
Energy Flux (Fixed Index): 2.02e-05 +/- 1.58e-05

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) = 5850.60386238
delta logL = 0.666312806124

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5850.51733736
delta logL = 0.752837823105

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14969       1.0000         .10000E-03   10000.    
     2 'alpha     '    .83580       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1725       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90599       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.

 FCN=   5850.517     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      218 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .14862        .15478        .64683E-02   -.32285E-02
   2  alpha         .83314        .41688        .32554        .73520E-05
   3  Normalizat    1.1724        .19874        .61464E-01    .43679E-04
   4  Prefactor     .90608        .14903        .45081E-01   -.12298E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.14862
  alpha      = 0.833141
  Normalizat = 1.17244
  Prefactor  = 0.90608
 **********
 **   18 **HESSE 
 **********

 FCN=   5850.517     FROM HESSE     STATUS=OK            35 CALLS      253 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .14862        .32977        .24937E-03   -1.5631    
   2  alpha         .83314        .77751        .14014E-01   -.72983    
   3  Normalizat    1.1724        .23481        .27185E-03   -.87459    
   4  Prefactor     .90608        .17624        .22741E-03   -.95929    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15862e-10
Minuit parameter uncertainties:
  1  0.329772
  2  0.802048
  3  0.235021
  4  0.176348
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/415177': 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) = 5850.51733228
delta logL = 0.752842911849

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  1.486e-01  3.298e-01  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  8.331e-01  8.020e-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:  9.061e-01  1.763e-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.172e+00  2.350e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.40
Ra Dec: 339.144 -14.556
Photon Index (Free Index): 0.83 +/- 0.80
Photon Flux (Free Index): 5.61e-09 +/- 7.35e-09
Energy Flux (Free Index): 5.71e-05 +/- 8.17e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/415177/cmap_HighResolution_569808001_570067201_4FGL_J2236.5-1433_daily_bin1275.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.13e-08', energy_flux2='5.71e-05', photon_flux_error='3.23e-08', dlogl='7.53e-01', energy_flux='2.02e-05', photon_flux2='5.61e-09', job_status='DONE', time_completed='2021-09-28 17:47:14.797605', photon_index_error2='0.80', photon_index2='0.83', ts='7.88', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='8.17e-05', EG='1.16', time_epoch_completed='1632876434.8', return_code='0', job_id='415177', GAL2='0.91', EG2='1.17', return_code2='0', energy_flux_error='1.58e-05', photon_flux_error2='7.35e-09', ts2='9.40', photon_index='2.06' WHERE bin_id='1275' AND source_name='4FGL J2236.5-1433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:47:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 415177: <4FGL_J2236.5-1433_daily_bin1275> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.5-1433_daily_bin1275 339.144 -14.5557 569808001 570067201 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 :                                   527.38 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             270.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   719 sec.
    Turnaround time :                            721 sec.

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

