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


Performing analysis on: 4FGL_J2236.5-1433_daily_bin1323
RA = 339.144, Dec = -14.5557
tmin = 582249601, tmax = 582508801
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='415246', job_status='RUN', time_executed='2021-09-28 17:36:15.192485', time_epoch_executed='1632875775.19' WHERE source_name='4FGL J2236.5-1433' and cadence='daily' and bin_id='1323'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/415246

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/415246/ft1_4FGL_J2236.5-1433_daily_bin1323.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/415246/ft2_4FGL_J2236.5-1433_daily_bin1323.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/415246/ft1_4FGL_J2236.5-1433_daily_bin1323.fits outfile=/scratch/kocevski/415246/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1323.fits ra=339.144 dec=-14.5557 rad=12.0 tmin=582249601.0 tmax=582508801.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 5.35
user 5.09
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/415246/ft1_filtered_4FGL_J2236.5-1433_daily_bin1323.fits" evtable="EVENTS" scfile=/scratch/kocevski/415246/ft2_4FGL_J2236.5-1433_daily_bin1323.fits sctable="SC_DATA" outfile=/scratch/kocevski/415246/ltcube_582249601_582508801_4FGL_J2236.5-1433_daily_bin1323.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/415246/ft2_4FGL_J2236.5-1433_daily_bin1323.fits
.....................!
real 11.53
user 11.16
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/415246/ft1_filtered_4FGL_J2236.5-1433_daily_bin1323.fits evtable="EVENTS" scfile=/scratch/kocevski/415246/ft2_4FGL_J2236.5-1433_daily_bin1323.fits sctable="SC_DATA" expcube=/scratch/kocevski/415246/ltcube_582249601_582508801_4FGL_J2236.5-1433_daily_bin1323.fits outfile=/scratch/kocevski/415246/expmap_582249601_582508801_4FGL_J2236.5-1433_daily_bin1323.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/415246/ltcube_582249601_582508801_4FGL_J2236.5-1433_daily_bin1323.fits
.....................!
real 190.63
user 185.40
sys 4.85

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/415246/ft1_filtered_4FGL_J2236.5-1433_daily_bin1323.fits scfile=/scratch/kocevski/415246/ft2_4FGL_J2236.5-1433_daily_bin1323.fits outfile=/scratch/kocevski/415246/cmap_582249601_582508801_4FGL_J2236.5-1433_daily_bin1323.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/415246/ft1_filtered_4FGL_J2236.5-1433_daily_bin1323.fits scfile=/scratch/kocevski/415246/ft2_4FGL_J2236.5-1433_daily_bin1323.fits outfile=/scratch/kocevski/415246/cmap_HighResolution_582249601_582508801_4FGL_J2236.5-1433_daily_bin1323.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.62
user 0.37
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/415246/ft1_filtered_4FGL_J2236.5-1433_daily_bin1323.fits evtable="EVENTS" scfile=/scratch/kocevski/415246/ft2_4FGL_J2236.5-1433_daily_bin1323.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/415246/Model_4FGL_J2236.5-1433_daily_bin1323.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/415246/ft1_filtered_4FGL_J2236.5-1433_daily_bin1323.fits.....................!
real 48.16
user 46.86
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.793       1.0000         .10000E-03   10000.    
     2 'Prefactor '    20.156       1.0000         .10000E-03   10000.    
     3 'Prefactor '    46.325       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11906E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.4495       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10298E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10368E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10118E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.1150       1.0000         .10000E-03   10000.    
    12 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    26.479       1.0000         .10000E-03   10000.    
    14 'Prefactor '    43.396       1.0000         .10000E-03   10000.    
    15 'norm      '    8.1922       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .30194E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.7820       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2109       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .82512       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=   4973.234     FROM MIGRAD    STATUS=CONVERGED    463 CALLS     2224 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.796        9.0072        .14923E-05    .15594E-02
   2  Prefactor     20.152        25.829        .50566E-06    .10706E-03
   3  Prefactor     46.318        21.273        .26979E-06    .83974E-04
   4  Prefactor     .10000E-03    5.3863       -.36586E-06** at limit **
   5  Prefactor     .10000E-03    106.08        .10189E-05** at limit **
   6  Prefactor     4.4492        4.6512        .41438E-05   -.11366E-02
   7  Prefactor     .10000E-03    255.57        .35001E-06** at limit **
   8  norm          .10000E-03    1.9337       -.51759E-06** at limit **
   9  Prefactor     .10000E-03    27.548       -.91282E-07** at limit **
  10  Prefactor     .10000E-03    8.3233       -.25410E-07** at limit **
  11  norm          1.1138        1.2492       -.15457E-06   -.83703E-04
  12  norm          .10000E-03    1.3621       -.15954E-07** at limit **
  13  Prefactor     26.480        64.194        .26385E-05   -.23838E-04
  14  Prefactor     43.481        65.995        .19801E-04    .52291E-03
  15  norm          8.1869        5.5672       -.36836E-05    .17233E-02
  16  Prefactor     .10003E-03    67.976       -.76745E-06** at limit **
  17  Prefactor     .10000E-03    4.5655        .16001E-07** at limit **
  18  Prefactor     9.7817        11.539       -.22057E-06   -.66944E-04
  19  Prefactor     .10000E-03    10.191        .10263E-07** at limit **
  20  Normalizat    1.2104        .25458       -.61053E-05    .20840E-03
  21  Prefactor     .82558        .17702        .24449E-05   -.16612E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.7963
  Prefactor  = 20.1522
  Prefactor  = 46.3182
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 4.44917
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.11383
  norm       = 0.0001
  Prefactor  = 26.4805
  Prefactor  = 43.4814
  norm       = 8.18692
  Prefactor  = 0.000100029
  Prefactor  = 0.0001
  Prefactor  = 9.78166
  Prefactor  = 0.0001
  Normalizat = 1.21038
  Prefactor  = 0.82558
 **********
 **   18 **HESSE 
 **********

 FCN=   4973.234     FROM HESSE     STATUS=OK           313 CALLS     2537 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.796        9.2909        .12195E-03   -1.5051    
   2  Prefactor     20.152        25.817        .89213E-04   -1.4810    
   3  Prefactor     46.318        21.346        .58910E-04   -1.4346    
   4  Prefactor     .10000E-03    5.4011        .15990E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    106.54        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.4492        5.0092        .79405E-03   -1.5286    
   7  Prefactor     .10000E-03    258.45        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    6.8270        .18856E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    27.553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    8.3378        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.1138        1.2502        .44615E-04   -1.5497    
  12  norm          .10000E-03    1.3650        .80253E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     26.480        64.495        .77851E-04   -1.4678    
  14  Prefactor     43.481        69.267        .60857E-04   -1.4388    
  15  norm          8.1869        5.8044        .53417E-04   -1.5136    
  16  Prefactor     .10003E-03    69.358        .21387E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    4.5686        .14716E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     9.7817        11.548        .12812E-03   -1.5082    
  19  Prefactor     .10000E-03    10.194        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2104        .29872        .28320E-03   -.86283    
  21  Prefactor     .82558        .20921        .24543E-03   -.98792    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.30691e-09
Minuit parameter uncertainties:
  1  9.29211
  2  25.8314
  3  21.349
  4  3.71606e-05
  5  0.000940604
  6  5.00964
  7  0.000953959
  8  4.5923e-05
  9  9.62162e-06
  10  1.36134e-05
  11  1.25023
  12  1.16387e-07
  13  64.6655
  14  69.3953
  15  5.8048
  16  0.00285214
  17  5.19376e-06
  18  11.5502
  19  7.22024e-06
  20  0.299145
  21  0.209407
Done.

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

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  1.114e+00  1.250e+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

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  8.256e-01  2.094e-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.210e+00  2.991e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.07
Ra Dec: 339.144 -14.556
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 4.32e-08 +/- 4.85e-08
Energy Flux (Fixed Index): 2.11e-05 +/- 2.37e-05

TS (Fixed Index): 1.07
Ra Dec: 339.144 -14.556
Photon Flux Upper Limit: 1.49e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.28e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/415246/likelihoodResults_582249601_582508801_4FGL_J2236.5-1433_daily_bin1323.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) = 4972.30265196
delta logL = 0.930957816556

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4972.28753375
delta logL = 0.946076033731

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .91541       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0617       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1458       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85221       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=   4972.288     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      212 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .91532        11.701        .10097E-01    .60556E-03
   2  alpha         3.0617        4.0255        .31213        .38860E-04
   3  Normalizat    1.1458        .72350E-01    .65364E-01    .85005E-05
   4  Prefactor     .85222        .54163E-01    .44393E-01    .90962E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.915323
  alpha      = 3.06173
  Normalizat = 1.14584
  Prefactor  = 0.852217
 **********
 **   18 **HESSE 
 **********

 FCN=   4972.288     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .91532        1.0577        .45528E-04   -1.5517    
   2  alpha         3.0617        .81682        .12582E-01    .22663    
   3  Normalizat    1.1458        .28207        .28915E-03   -.88293    
   4  Prefactor     .85222        .20485        .24147E-03   -.97831    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.82679e-09
Minuit parameter uncertainties:
  1  1.05772
  2  0.832959
  3  0.282441
  4  0.205036
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/415246': 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) = 4972.28753374
delta logL = 0.946076039965

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  9.153e-01  1.058e+00  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  3.062e+00  8.330e-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:  8.522e-01  2.050e-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.146e+00  2.824e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.00
Ra Dec: 339.144 -14.556
Photon Index (Free Index): 3.06 +/- 0.83
Photon Flux (Free Index): 1.13e-07 +/- 8.26e-08
Energy Flux (Free Index): 2.27e-05 +/- 1.64e-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/415246/cmap_HighResolution_582249601_582508801_4FGL_J2236.5-1433_daily_bin1323.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.28e-05', comment='SUCCESS', photon_flux='4.32e-08', energy_flux2='2.27e-05', photon_flux_error='4.85e-08', dlogl='9.46e-01', energy_flux='2.11e-05', photon_flux2='1.13e-07', job_status='DONE', time_completed='2021-09-28 17:45:07.721793', photon_index_error2='0.83', photon_index2='3.06', ts='1.07', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', photon_flux_upper_limit='1.49e-07', energy_flux_error2='1.64e-05', EG='1.21', time_epoch_completed='1632876307.72', return_code='0', job_id='415246', GAL2='0.85', EG2='1.15', return_code2='0', energy_flux_error='2.37e-05', photon_flux_error2='8.26e-08', ts2='3.00', photon_index='2.06' WHERE bin_id='1323' AND source_name='4FGL J2236.5-1433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:45:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 415246: <4FGL_J2236.5-1433_daily_bin1323> in cluster <slac> Done

Job <4FGL_J2236.5-1433_daily_bin1323> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 17:35:19 2021
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 17:35:21 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:21 2021
Terminated at Tue Sep 28 17:45:08 2021
Results reported at Tue Sep 28 17:45:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.5-1433_daily_bin1323 339.144 -14.5557 582249601 582508801 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 :                                   529.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             319.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   586 sec.
    Turnaround time :                            589 sec.

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

