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


Performing analysis on: 4FGL_J2236.5-1433_daily_bin1495
RA = 339.144, Dec = -14.5557
tmin = 626832001, tmax = 627091201
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='415506', job_status='RUN', time_executed='2021-09-28 17:36:03.475766', time_epoch_executed='1632875763.48' WHERE source_name='4FGL J2236.5-1433' and cadence='daily' and bin_id='1495'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/415506

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/415506/ft1_4FGL_J2236.5-1433_daily_bin1495.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/415506/ft2_4FGL_J2236.5-1433_daily_bin1495.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/415506/ft1_4FGL_J2236.5-1433_daily_bin1495.fits outfile=/scratch/kocevski/415506/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1495.fits ra=339.144 dec=-14.5557 rad=12.0 tmin=626832001.0 tmax=627091201.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 2.98
user 2.77
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/415506/ft2_4FGL_J2236.5-1433_daily_bin1495.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/415506/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1495.fits evtable="EVENTS" outfile="/scratch/kocevski/415506/ft1_filtered_4FGL_J2236.5-1433_daily_bin1495.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.48
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/415506/ft1_filtered_4FGL_J2236.5-1433_daily_bin1495.fits" evtable="EVENTS" scfile=/scratch/kocevski/415506/ft2_4FGL_J2236.5-1433_daily_bin1495.fits sctable="SC_DATA" outfile=/scratch/kocevski/415506/ltcube_626832001_627091201_4FGL_J2236.5-1433_daily_bin1495.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/415506/ft2_4FGL_J2236.5-1433_daily_bin1495.fits
.....................!
real 12.42
user 12.05
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/415506/ft1_filtered_4FGL_J2236.5-1433_daily_bin1495.fits evtable="EVENTS" scfile=/scratch/kocevski/415506/ft2_4FGL_J2236.5-1433_daily_bin1495.fits sctable="SC_DATA" expcube=/scratch/kocevski/415506/ltcube_626832001_627091201_4FGL_J2236.5-1433_daily_bin1495.fits outfile=/scratch/kocevski/415506/expmap_626832001_627091201_4FGL_J2236.5-1433_daily_bin1495.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/415506/ltcube_626832001_627091201_4FGL_J2236.5-1433_daily_bin1495.fits
.....................!
real 191.93
user 186.15
sys 5.46

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/415506/ft1_filtered_4FGL_J2236.5-1433_daily_bin1495.fits scfile=/scratch/kocevski/415506/ft2_4FGL_J2236.5-1433_daily_bin1495.fits outfile=/scratch/kocevski/415506/cmap_626832001_627091201_4FGL_J2236.5-1433_daily_bin1495.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.63
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/415506/ft1_filtered_4FGL_J2236.5-1433_daily_bin1495.fits scfile=/scratch/kocevski/415506/ft2_4FGL_J2236.5-1433_daily_bin1495.fits outfile=/scratch/kocevski/415506/cmap_HighResolution_626832001_627091201_4FGL_J2236.5-1433_daily_bin1495.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.55
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/415506/ft1_filtered_4FGL_J2236.5-1433_daily_bin1495.fits evtable="EVENTS" scfile=/scratch/kocevski/415506/ft2_4FGL_J2236.5-1433_daily_bin1495.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/415506/Model_4FGL_J2236.5-1433_daily_bin1495.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/415506/ft1_filtered_4FGL_J2236.5-1433_daily_bin1495.fits.....................!
real 85.06
user 83.74
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    53.185       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.2924       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.4531       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.3984       1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10245E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.556       1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.8540       1.0000         .10000E-03   10000.    
    13 'Prefactor '    32.641       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.0652       1.0000         .10000E-03   10000.    
    15 'norm      '    4.4254       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.6609       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.5102       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .80894       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=   10235.66     FROM MIGRAD    STATUS=CONVERGED    782 CALLS     2537 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.3158        .11477E-02** at limit **
   2  Prefactor     .10000E-03    3.6870        .18142E-02** at limit **
   3  Prefactor     53.185        12.980        .54998E-04    .15793E-03
   4  Prefactor     8.2888        10.635        .13922E-03   -.64512E-04
   5  Prefactor     .10000E-03    46.403        .18142E-02** at limit **
   6  Prefactor     3.4539        3.1481        .16124E-03    .27780E-04
   7  Prefactor     3.4006        93.395        .21946E-03    .58018E-05
   8  norm          .10000E-03    1.7294        .25907E-03** at limit **
   9  Prefactor     .10000E-03    146.01        .18142E-02** at limit **
  10  Prefactor     13.552        11.281        .10879E-03   -.56431E-05
  11  norm          .10000E-03    .16808        .81178E-04** at limit **
  12  norm          1.8536        1.4158        .99242E-04    .34825E-04
  13  Prefactor     32.669        42.208        .70136E-04    .54140E-04
  14  Prefactor     .94755        8205.2        .47206E-02    .72090E-04
  15  norm          4.4332        12.241        .51842E-04    .50262E-03
  16  Prefactor     5.7097        349.42        .16883E-03    .34746E-04
  17  Prefactor     .10000E-03    8.1797        .36285E-03** at limit **
  18  Prefactor     .10000E-03    14.586        .18142E-02** at limit **
  19  Prefactor     .10000E-03    4.8001        .18142E-02** at limit **
  20  Normalizat    1.5103        .24226        .25951E-03    .15166E-03
  21  Prefactor     .80893        .14434        .25437E-03    .15938E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 53.1851
  Prefactor  = 8.28881
  Prefactor  = 0.0001
  Prefactor  = 3.45386
  Prefactor  = 3.40059
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.5523
  norm       = 0.0001
  norm       = 1.85364
  Prefactor  = 32.6686
  Prefactor  = 0.947552
  norm       = 4.43321
  Prefactor  = 5.70973
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.51026
  Prefactor  = 0.808928
 **********
 **   18 **HESSE 
 **********

 FCN=   10235.66     FROM HESSE     STATUS=OK           297 CALLS     2834 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.3572        .22954E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.8029        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     53.185        13.194        .21999E-05   -1.4248    
   4  Prefactor     8.2888        10.802        .55687E-05   -1.5132    
   5  Prefactor     .10000E-03    47.863        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.4539        3.2050        .64496E-05   -1.5336    
   7  Prefactor     3.4006        96.023        .87785E-05   -1.5339    
   8  norm          .10000E-03    1.7837        .51814E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    150.62        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     13.552        11.438        .43516E-05   -1.4972    
  11  norm          .10000E-03    .17335        .16236E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.8536        1.4425        .39697E-05   -1.5436    
  13  Prefactor     32.669        42.888        .28054E-05   -1.4564    
  14  Prefactor     .94755        331.20        .18882E-03   -1.5513    
  15  norm          4.4332        2.6713        .20737E-05   -1.5287    
  16  Prefactor     5.7097        49.112        .67533E-05   -1.5230    
  17  Prefactor     .10000E-03    8.4365        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    15.054        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.9507        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.5103        .21353        .51903E-04   -.77491    
  21  Prefactor     .80893        .15024        .10175E-04   -.99400    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10414e-10
Minuit parameter uncertainties:
  1  3.12529e-06
  2  6.39161e-06
  3  13.1952
  4  10.8048
  5  8.1684e-05
  6  3.20513
  7  36.2043
  8  5.31047e-06
  9  5.22993e-05
  10  11.4399
  11  2.42373e-07
  12  1.44256
  13  42.9282
  14  35.6289
  15  2.67142
  16  33.528
  17  9.62412e-05
  18  0.000137471
  19  2.62934e-06
  20  0.213661
  21  0.150315
Done.

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

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  1.000e-04  2.424e-07  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.089e-01  1.503e-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.510e+00  2.137e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/415506/likelihoodResults_626832001_627091201_4FGL_J2236.5-1433_daily_bin1495.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) = 10235.6641154
delta logL = -0.000125576309074

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10235.455287
delta logL = 0.208702800863

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14122E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    4.9995       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4723       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82589       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=   10235.46     FROM MIGRAD    STATUS=CONVERGED    110 CALLS      486 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .14128E-01    .30622E-01    .17177E-03    .54140E-01
   2  alpha         5.0000        4.7992        .50000    ** at limit **
   3  Normalizat    1.4723        .20575        .26216E-03   -.11466E-03
   4  Prefactor     .82593        .14950        .25197E-03   -.87802E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0141282
  alpha      = 5
  Normalizat = 1.47226
  Prefactor  = 0.825933
 **********
 **   18 **HESSE 
 **********

 FCN=   10235.46     FROM HESSE     STATUS=OK            31 CALLS      517 TOTAL
                     EDM=   .65E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .14128E-01    .27605E-01    .34354E-04   -1.5684    
   2  alpha         5.0000        4.6009        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.4723        .20636        .10486E-04   -.78561    
   4  Prefactor     .82593        .14977        .10079E-04   -.98779    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.54379e-11
Minuit parameter uncertainties:
  1  0.0276047
  2  0.000202994
  3  0.206482
  4  0.149847
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/415506': 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) = 10235.4552855
delta logL = 0.208704347002

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  1.413e-02  2.760e-02  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  5.000e+00  2.030e-04  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.259e-01  1.498e-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.472e+00  2.065e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 339.144 -14.556

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/415506/cmap_HighResolution_626832001_627091201_4FGL_J2236.5-1433_daily_bin1495.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.69e-05', job_status='DONE', photon_flux_upper_limit='3.46e-08', time_completed='2021-09-28 17:49:43.769076', job_id='415506', GAL2='0.83', fit_tolerance='1e-08', EG2='1.47', EG='1.51', time_epoch_completed='1632876583.77', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='2.09e-01', ts2='0.44', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='1495' AND source_name='4FGL J2236.5-1433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:49:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 415506: <4FGL_J2236.5-1433_daily_bin1495> in cluster <slac> Done

Job <4FGL_J2236.5-1433_daily_bin1495> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 17:35:38 2021
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 17:35:39 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:39 2021
Terminated at Tue Sep 28 17:49:44 2021
Results reported at Tue Sep 28 17:49:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.5-1433_daily_bin1495 339.144 -14.5557 626832001 627091201 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 :                                   815.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             343.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   845 sec.
    Turnaround time :                            846 sec.

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

