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


Performing analysis on: 4FGL_J2236.5-1433_daily_bin1144
RA = 339.144, Dec = -14.5557
tmin = 535852801, tmax = 536112001
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='414022', job_status='RUN', time_executed='2021-09-28 17:32:36.270875', time_epoch_executed='1632875556.27' WHERE source_name='4FGL J2236.5-1433' and cadence='daily' and bin_id='1144'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/414022

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/414022/ft1_4FGL_J2236.5-1433_daily_bin1144.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/414022/ft2_4FGL_J2236.5-1433_daily_bin1144.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/414022/ft1_4FGL_J2236.5-1433_daily_bin1144.fits outfile=/scratch/kocevski/414022/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1144.fits ra=339.144 dec=-14.5557 rad=12.0 tmin=535852801.0 tmax=536112001.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.59
user 3.35
sys 0.22

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/414022/ft1_filtered_4FGL_J2236.5-1433_daily_bin1144.fits" evtable="EVENTS" scfile=/scratch/kocevski/414022/ft2_4FGL_J2236.5-1433_daily_bin1144.fits sctable="SC_DATA" outfile=/scratch/kocevski/414022/ltcube_535852801_536112001_4FGL_J2236.5-1433_daily_bin1144.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/414022/ft2_4FGL_J2236.5-1433_daily_bin1144.fits
.....................!
real 11.90
user 11.56
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/414022/ft1_filtered_4FGL_J2236.5-1433_daily_bin1144.fits evtable="EVENTS" scfile=/scratch/kocevski/414022/ft2_4FGL_J2236.5-1433_daily_bin1144.fits sctable="SC_DATA" expcube=/scratch/kocevski/414022/ltcube_535852801_536112001_4FGL_J2236.5-1433_daily_bin1144.fits outfile=/scratch/kocevski/414022/expmap_535852801_536112001_4FGL_J2236.5-1433_daily_bin1144.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/414022/ltcube_535852801_536112001_4FGL_J2236.5-1433_daily_bin1144.fits
.....................!
real 190.79
user 185.04
sys 5.37

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/414022/ft1_filtered_4FGL_J2236.5-1433_daily_bin1144.fits scfile=/scratch/kocevski/414022/ft2_4FGL_J2236.5-1433_daily_bin1144.fits outfile=/scratch/kocevski/414022/cmap_535852801_536112001_4FGL_J2236.5-1433_daily_bin1144.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/414022/ft1_filtered_4FGL_J2236.5-1433_daily_bin1144.fits scfile=/scratch/kocevski/414022/ft2_4FGL_J2236.5-1433_daily_bin1144.fits outfile=/scratch/kocevski/414022/cmap_HighResolution_535852801_536112001_4FGL_J2236.5-1433_daily_bin1144.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.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/414022/ft1_filtered_4FGL_J2236.5-1433_daily_bin1144.fits evtable="EVENTS" scfile=/scratch/kocevski/414022/ft2_4FGL_J2236.5-1433_daily_bin1144.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/414022/Model_4FGL_J2236.5-1433_daily_bin1144.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/414022/ft1_filtered_4FGL_J2236.5-1433_daily_bin1144.fits.....................!
real 59.73
user 58.28
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23483E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.9653       1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.518       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.0728       1.0000         .10000E-03   10000.    
     7 'Prefactor '    83.550       1.0000         .10000E-03   10000.    
     8 'norm      '    5.3176       1.0000         .10000E-03   10000.    
     9 'Prefactor '    27.763       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.4334       1.0000         .10000E-03   10000.    
    11 'norm      '    .15775       1.0000         .10000E-03   10000.    
    12 'norm      '    .10455E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    41.915       1.0000         .10000E-03   10000.    
    14 'Prefactor '    204.92       1.0000         .10000E-03   10000.    
    15 'norm      '    15.764       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .30496E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.3379       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .89659       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10406E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.4808       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .69800       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=   6358.164     FROM MIGRAD    STATUS=CONVERGED    473 CALLS     2285 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.723       -.90068E-07** at limit **
   2  Prefactor     .10000E-03    5.4557       -.13316E-08** at limit **
   3  Prefactor     2.9711        22.925        .14760E-05   -.16270E-04
   4  Prefactor     12.520        18.178       -.16115E-05   -.14603E-03
   5  Prefactor     .10000E-03    56.638       -.16356E-06** at limit **
   6  Prefactor     1.0701        5.5202        .30307E-05   -.30461E-05
   7  Prefactor     83.589        72.534       -.21856E-06    .21855E-05
   8  norm          5.3186        5.0863        .46425E-07   -.20875E-03
   9  Prefactor     27.691        47.516        .18386E-06    .52529E-04
  10  Prefactor     4.4495        13.700        .87195E-06   -.97149E-04
  11  norm          .15769        .53643        .48353E-06   -.74859E-03
  12  norm          .10000E-03    2.4992        .17339E-05** at limit **
  13  Prefactor     42.072        61.854       -.89656E-06   -.37992E-04
  14  Prefactor     204.96        79.991        .96621E-06   -.23435E-03
  15  norm          15.763        6.5499       -.16407E-06   -.69946E-03
  16  Prefactor     .10000E-03    109.65        .20641E-05** at limit **
  17  Prefactor     3.3346        9.7758        .70406E-06    .27006E-05
  18  Prefactor     .89788        11.374        .82660E-06   -.17850E-03
  19  Prefactor     .10000E-03    25.686       -.63758E-07** at limit **
  20  Normalizat    1.4792        .25293       -.19171E-05   -.17241E-03
  21  Prefactor     .69904        .16843        .61666E-06   -.27087E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.97107
  Prefactor  = 12.5201
  Prefactor  = 0.0001
  Prefactor  = 1.07006
  Prefactor  = 83.5893
  norm       = 5.31862
  Prefactor  = 27.6915
  Prefactor  = 4.44955
  norm       = 0.157691
  norm       = 0.0001
  Prefactor  = 42.0715
  Prefactor  = 204.955
  norm       = 15.7631
  Prefactor  = 0.000100003
  Prefactor  = 3.33465
  Prefactor  = 0.897881
  Prefactor  = 0.0001
  Normalizat = 1.47924
  Prefactor  = 0.699042
 **********
 **   18 **HESSE 
 **********

 FCN=   6358.164     FROM HESSE     STATUS=OK           319 CALLS     2604 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.136        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.4586        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.9711        23.037        .23580E-03   -1.5363    
   4  Prefactor     12.520        17.931        .11322E-03   -1.5000    
   5  Prefactor     .10000E-03    56.685        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.0701        5.4964        .32631E-03   -1.5501    
   7  Prefactor     83.589        72.243        .43946E-04   -1.3877    
   8  norm          5.3186        5.0680        .16417E-03   -1.5247    
   9  Prefactor     27.691        47.523        .76032E-04   -1.4655    
  10  Prefactor     4.4495        13.741        .19125E-03   -1.5286    
  11  norm          .15769        .57290        .10044E-02   -1.5629    
  12  norm          .10000E-03    2.5305        .24394E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     42.072        61.808        .61918E-04   -1.4410    
  14  Prefactor     204.96        82.490        .28233E-04   -1.2835    
  15  norm          15.763        6.7835        .61051E-04   -1.4914    
  16  Prefactor     .10000E-03    109.99        .21383E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.3346        9.7707        .22154E-03   -1.5343    
  18  Prefactor     .89788        77.448        .49700E-02   -1.5518    
  19  Prefactor     .10000E-03    25.763        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.4792        .30607        .29501E-03   -.78363    
  21  Prefactor     .69904        .20453        .29051E-03   -1.0356    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.00736e-10
Minuit parameter uncertainties:
  1  1.38712e-05
  2  3.73139e-08
  3  16.5547
  4  17.9387
  5  0.000115323
  6  4.85083
  7  72.3188
  8  5.06842
  9  47.5876
  10  13.7509
  11  0.572916
  12  8.74733e-06
  13  61.9023
  14  82.5371
  15  6.78379
  16  0.00106816
  17  9.77534
  18  16.6994
  19  8.08177e-06
  20  0.306454
  21  0.204752
Done.

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

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  1.577e-01  5.729e-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:  6.990e-01  2.048e-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.479e+00  3.065e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/414022/likelihoodResults_535852801_536112001_4FGL_J2236.5-1433_daily_bin1144.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) = 6357.93409796
delta logL = 0.230238325263

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6357.93323064
delta logL = 0.231105651479

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15514       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.1848       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4867       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69284       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=   6357.933     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      214 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .15513        .42032        .14752E-01    .97121E-03
   2  alpha         1.1848        .69421        .50000       -.54799E-04
   3  Normalizat    1.4867        .22927        .66553E-01    .37430E-05
   4  Prefactor     .69286        .16274        .65893E-01    .20689E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.155131
  alpha      = 1.1848
  Normalizat = 1.48668
  Prefactor  = 0.692865
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .15513        .36111        .71530E-03   -1.5629    
   2  alpha         1.1848        .97941        .22322E-01   -.55399    
   3  Normalizat    1.4867        .27471        .29438E-03   -.78153    
   4  Prefactor     .69286        .19482        .29155E-03   -1.0381    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21385e-10
Minuit parameter uncertainties:
  1  0.361111
  2  1.01785
  3  0.274983
  4  0.195015
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/414022': 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) = 6357.93323063
delta logL = 0.231105658891

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  1.551e-01  3.611e-01  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  1.185e+00  1.018e+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:  6.929e-01  1.950e-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.487e+00  2.750e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/414022/cmap_HighResolution_535852801_536112001_4FGL_J2236.5-1433_daily_bin1144.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.99e-05', job_status='DONE', photon_flux_upper_limit='8.15e-08', time_completed='2021-09-28 17:42:29.057302', job_id='414022', GAL2='0.69', fit_tolerance='1e-08', EG2='1.49', EG='1.48', time_epoch_completed='1632876149.06', return_code2='0', ts='0.09', comment='SUCCESS', return_code='0', GAL='0.70', dlogl='2.31e-01', ts2='0.56', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='1144' AND source_name='4FGL J2236.5-1433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:42:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0058>
Subject: Job 414022: <4FGL_J2236.5-1433_daily_bin1144> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.5-1433_daily_bin1144 339.144 -14.5557 535852801 536112001 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 :                                   591.11 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             348.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   699 sec.
    Turnaround time :                            701 sec.

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

