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


Performing analysis on: 4FGL_J2236.5-1433_daily_bin1106
RA = 339.144, Dec = -14.5557
tmin = 526003201, tmax = 526262401
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='413959', job_status='RUN', time_executed='2021-09-28 17:34:28.812038', time_epoch_executed='1632875668.81' WHERE source_name='4FGL J2236.5-1433' and cadence='daily' and bin_id='1106'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/413959

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/413959/ft1_4FGL_J2236.5-1433_daily_bin1106.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/413959/ft2_4FGL_J2236.5-1433_daily_bin1106.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/413959/ft1_4FGL_J2236.5-1433_daily_bin1106.fits outfile=/scratch/kocevski/413959/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1106.fits ra=339.144 dec=-14.5557 rad=12.0 tmin=526003201.0 tmax=526262401.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.72
user 3.50
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/413959/ft2_4FGL_J2236.5-1433_daily_bin1106.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/413959/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1106.fits evtable="EVENTS" outfile="/scratch/kocevski/413959/ft1_filtered_4FGL_J2236.5-1433_daily_bin1106.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.51
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/413959/ft1_filtered_4FGL_J2236.5-1433_daily_bin1106.fits" evtable="EVENTS" scfile=/scratch/kocevski/413959/ft2_4FGL_J2236.5-1433_daily_bin1106.fits sctable="SC_DATA" outfile=/scratch/kocevski/413959/ltcube_526003201_526262401_4FGL_J2236.5-1433_daily_bin1106.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/413959/ft2_4FGL_J2236.5-1433_daily_bin1106.fits
.....................!
real 12.34
user 11.97
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/413959/ft1_filtered_4FGL_J2236.5-1433_daily_bin1106.fits evtable="EVENTS" scfile=/scratch/kocevski/413959/ft2_4FGL_J2236.5-1433_daily_bin1106.fits sctable="SC_DATA" expcube=/scratch/kocevski/413959/ltcube_526003201_526262401_4FGL_J2236.5-1433_daily_bin1106.fits outfile=/scratch/kocevski/413959/expmap_526003201_526262401_4FGL_J2236.5-1433_daily_bin1106.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/413959/ltcube_526003201_526262401_4FGL_J2236.5-1433_daily_bin1106.fits
.....................!
real 191.74
user 185.80
sys 5.60

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/413959/ft1_filtered_4FGL_J2236.5-1433_daily_bin1106.fits scfile=/scratch/kocevski/413959/ft2_4FGL_J2236.5-1433_daily_bin1106.fits outfile=/scratch/kocevski/413959/cmap_526003201_526262401_4FGL_J2236.5-1433_daily_bin1106.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/413959/ft1_filtered_4FGL_J2236.5-1433_daily_bin1106.fits scfile=/scratch/kocevski/413959/ft2_4FGL_J2236.5-1433_daily_bin1106.fits outfile=/scratch/kocevski/413959/cmap_HighResolution_526003201_526262401_4FGL_J2236.5-1433_daily_bin1106.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.56
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/413959/ft1_filtered_4FGL_J2236.5-1433_daily_bin1106.fits evtable="EVENTS" scfile=/scratch/kocevski/413959/ft2_4FGL_J2236.5-1433_daily_bin1106.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/413959/Model_4FGL_J2236.5-1433_daily_bin1106.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/413959/ft1_filtered_4FGL_J2236.5-1433_daily_bin1106.fits.....................!
real 60.45
user 59.18
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.6979       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    29.930       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .66438E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.0466       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10202E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.9160       1.0000         .10000E-03   10000.    
    11 'norm      '    .61680       1.0000         .10000E-03   10000.    
    12 'norm      '    3.9677       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12349E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    38.914       1.0000         .10000E-03   10000.    
    15 'norm      '    .10701E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    22.711       1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.0723       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0683       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .94878       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=   6647.595     FROM MIGRAD    STATUS=CONVERGED    456 CALLS     2250 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.6984        5.8082        .80889E-07   -.11112E-04
   2  Prefactor     .10000E-03    3.5999        .11031E-07** at limit **
   3  Prefactor     .10000E-03    5.6596        .63681E-08** at limit **
   4  Prefactor     29.932        18.205       -.18120E-06   -.18274E-04
   5  Prefactor     .10001E-03    314.28       -.23237E-04** at limit **
   6  Prefactor     4.0464        4.6083       -.15450E-06   -.18543E-03
   7  Prefactor     .10000E-03    49.055        .74995E-06** at limit **
   8  norm          .10000E-03    1.4107       -.22676E-07** at limit **
   9  Prefactor     .10000E-03    20.957       -.38798E-08** at limit **
  10  Prefactor     5.9155        10.322        .27606E-06   -.71789E-04
  11  norm          .61587        .87521        .16256E-06   -.42714E-03
  12  norm          3.9678        2.2805        .21124E-07   -.15157E-03
  13  Prefactor     .10000E-03    132.93        .26631E-05** at limit **
  14  Prefactor     38.939        15.348       -.14405E-05   -.85453E-03
  15  norm          .10000E-03    .87825        .11650E-05** at limit **
  16  Prefactor     22.713        23.136        .24176E-07   -.18556E-03
  17  Prefactor     6.0732        8.6227        .10182E-05   -.63366E-03
  18  Prefactor     .10000E-03    4.0217        .62093E-07** at limit **
  19  Prefactor     .10000E-03    6.0611        .13721E-07** at limit **
  20  Normalizat    1.0684        .18923       -.56172E-06   -.37951E-04
  21  Prefactor     .94852        .14319       -.14105E-07   -.99739E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.69842
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 29.9324
  Prefactor  = 0.000100008
  Prefactor  = 4.04642
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.91548
  norm       = 0.615866
  norm       = 3.96775
  Prefactor  = 0.0001
  Prefactor  = 38.9386
  norm       = 0.0001
  Prefactor  = 22.7132
  Prefactor  = 6.07324
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.06837
  Prefactor  = 0.948516
 **********
 **   18 **HESSE 
 **********

 FCN=   6647.595     FROM HESSE     STATUS=OK           315 CALLS     2565 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.6984        5.8067        .12868E-03   -1.5085    
   2  Prefactor     .10000E-03    3.6026        .15108E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    5.6927        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     29.932        18.120        .73235E-04   -1.4613    
   5  Prefactor     .10001E-03    317.51        .21009E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.0464        4.5993        .16815E-03   -1.5306    
   7  Prefactor     .10000E-03    49.406        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.4304        .94502E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    20.960        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.9155        10.366        .16510E-03   -1.5221    
  11  norm          .61587        .80958        .85483E-03   -1.5551    
  12  norm          3.9678        2.2764        .90431E-04   -1.5310    
  13  Prefactor     .10000E-03    134.05        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     38.939        16.008        .64253E-04   -1.4459    
  15  norm          .10000E-03    1.4467        .13504E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     22.713        23.153        .84051E-04   -1.4754    
  17  Prefactor     6.0732        8.6387        .81466E-03   -1.5215    
  18  Prefactor     .10000E-03    4.0360        .15968E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.0614        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0684        .22768        .26658E-03   -.90774    
  21  Prefactor     .94852        .17309        .21753E-03   -.94466    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21097e-09
Minuit parameter uncertainties:
  1  5.80702
  2  6.95102e-07
  3  5.64508e-06
  4  18.1231
  5  0.00326971
  6  4.59969
  7  6.40491e-05
  8  5.24437e-06
  9  9.41683e-06
  10  10.3693
  11  0.809596
  12  2.27642
  13  0.000340492
  14  16.01
  15  5.32027e-05
  16  23.1623
  17  8.64043
  18  2.79549e-07
  19  5.38271e-07
  20  0.227884
  21  0.173189
Done.

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

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  6.159e-01  8.096e-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:  9.485e-01  1.732e-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.068e+00  2.279e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/413959/likelihoodResults_526003201_526262401_4FGL_J2236.5-1433_daily_bin1106.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) = 6646.34729489
delta logL = 1.24732803156

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6646.31618586
delta logL = 1.27843705591

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .45230       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.4047       1.0000          .0000       5.0000    
     3 'Normalizat'    .99591       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97889       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=   6646.316     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      208 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .45163        4.2404        .75080E-02    .76333E-03
   2  alpha         3.4056        4.1450        .33461        .45851E-04
   3  Normalizat    .99609        .50749E-01    .46116E-01   -.21854E-03
   4  Prefactor     .97882        .39652E-01    .46003E-01   -.28357E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.451631
  alpha      = 3.40556
  Normalizat = 0.99609
  Prefactor  = 0.978822
 **********
 **   18 **HESSE 
 **********

 FCN=   6646.316     FROM HESSE     STATUS=OK            31 CALLS      239 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .45163        .71661        .33908E-04   -1.5574    
   2  alpha         3.4056        1.0709        .13470E-01    .37065    
   3  Normalizat    .99609        .22541        .27419E-03   -.93162    
   4  Prefactor     .97882        .17276        .21420E-03   -.93439    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21692e-08
Minuit parameter uncertainties:
  1  0.71662
  2  1.11266
  3  0.225622
  4  0.172855
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/413959': 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) = 6646.31618463
delta logL = 1.27843828725

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  4.516e-01  7.166e-01  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  3.406e+00  1.113e+00  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.788e-01  1.729e-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:  9.961e-01  2.256e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.40
Ra Dec: 339.144 -14.556
Photon Index (Free Index): 3.41 +/- 1.11
Photon Flux (Free Index): 9.01e-08 +/- 5.92e-08
Energy Flux (Free Index): 1.59e-05 +/- 1.08e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/413959/cmap_HighResolution_526003201_526262401_4FGL_J2236.5-1433_daily_bin1106.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.70e-05', comment='SUCCESS', energy_flux2='1.59e-05', dlogl='1.28e+00', photon_flux2='9.01e-08', job_status='DONE', time_completed='2021-09-28 17:44:33.604023', photon_index_error2='1.11', photon_index2='3.41', ts='0.77', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='9.62e-08', energy_flux_error2='1.08e-05', EG='1.07', time_epoch_completed='1632876273.6', return_code='0', job_id='413959', GAL2='0.98', EG2='1.00', return_code2='0', photon_flux_error2='5.92e-08', ts2='3.40', photon_index='2.06' WHERE bin_id='1106' AND source_name='4FGL J2236.5-1433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:44:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 413959: <4FGL_J2236.5-1433_daily_bin1106> in cluster <slac> Done

Job <4FGL_J2236.5-1433_daily_bin1106> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 28 17:30:44 2021
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 17:30:47 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:30:47 2021
Terminated at Tue Sep 28 17:44:34 2021
Results reported at Tue Sep 28 17:44:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.5-1433_daily_bin1106 339.144 -14.5557 526003201 526262401 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 :                                   603.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             233.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   826 sec.
    Turnaround time :                            830 sec.

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

