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


Performing analysis on: 4FGL_J2236.5-1433_daily_bin1357
RA = 339.144, Dec = -14.5557
tmin = 591062401, tmax = 591321601
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='415296', job_status='RUN', time_executed='2021-09-28 17:36:52.371092', time_epoch_executed='1632875812.37' WHERE source_name='4FGL J2236.5-1433' and cadence='daily' and bin_id='1357'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/415296

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/415296/ft1_4FGL_J2236.5-1433_daily_bin1357.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/415296/ft2_4FGL_J2236.5-1433_daily_bin1357.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/415296/ft1_4FGL_J2236.5-1433_daily_bin1357.fits outfile=/scratch/kocevski/415296/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1357.fits ra=339.144 dec=-14.5557 rad=12.0 tmin=591062401.0 tmax=591321601.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.03
user 2.80
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/415296/ft1_filtered_4FGL_J2236.5-1433_daily_bin1357.fits" evtable="EVENTS" scfile=/scratch/kocevski/415296/ft2_4FGL_J2236.5-1433_daily_bin1357.fits sctable="SC_DATA" outfile=/scratch/kocevski/415296/ltcube_591062401_591321601_4FGL_J2236.5-1433_daily_bin1357.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/415296/ft2_4FGL_J2236.5-1433_daily_bin1357.fits
.....................!
real 12.72
user 12.33
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/415296/ft1_filtered_4FGL_J2236.5-1433_daily_bin1357.fits evtable="EVENTS" scfile=/scratch/kocevski/415296/ft2_4FGL_J2236.5-1433_daily_bin1357.fits sctable="SC_DATA" expcube=/scratch/kocevski/415296/ltcube_591062401_591321601_4FGL_J2236.5-1433_daily_bin1357.fits outfile=/scratch/kocevski/415296/expmap_591062401_591321601_4FGL_J2236.5-1433_daily_bin1357.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/415296/ltcube_591062401_591321601_4FGL_J2236.5-1433_daily_bin1357.fits
.....................!
real 191.84
user 186.53
sys 4.90

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/415296/ft1_filtered_4FGL_J2236.5-1433_daily_bin1357.fits scfile=/scratch/kocevski/415296/ft2_4FGL_J2236.5-1433_daily_bin1357.fits outfile=/scratch/kocevski/415296/cmap_591062401_591321601_4FGL_J2236.5-1433_daily_bin1357.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/415296/ft1_filtered_4FGL_J2236.5-1433_daily_bin1357.fits scfile=/scratch/kocevski/415296/ft2_4FGL_J2236.5-1433_daily_bin1357.fits outfile=/scratch/kocevski/415296/cmap_HighResolution_591062401_591321601_4FGL_J2236.5-1433_daily_bin1357.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=339.144 yref=-14.5557 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/415296/ft1_filtered_4FGL_J2236.5-1433_daily_bin1357.fits evtable="EVENTS" scfile=/scratch/kocevski/415296/ft2_4FGL_J2236.5-1433_daily_bin1357.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/415296/Model_4FGL_J2236.5-1433_daily_bin1357.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/415296/ft1_filtered_4FGL_J2236.5-1433_daily_bin1357.fits.....................!
real 37.89
user 36.52
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.5936       1.0000         .10000E-03   10000.    
     2 'Prefactor '    50.505       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.0247       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.042       1.0000         .10000E-03   10000.    
     6 'Prefactor '    20.325       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .31185E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11398E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.7380       1.0000         .10000E-03   10000.    
    12 'norm      '    3.2170       1.0000         .10000E-03   10000.    
    13 'Prefactor '    23.072       1.0000         .10000E-03   10000.    
    14 'Prefactor '    133.00       1.0000         .10000E-03   10000.    
    15 'norm      '    .21876E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    208.86       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10435E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    40.940       1.0000         .10000E-03   10000.    
    19 'Prefactor '    46.615       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .38751       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0673       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=   3428.770     FROM MIGRAD    STATUS=CONVERGED    463 CALLS     3034 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.5916        7.3243       -.60033E-07    .14760E-04
   2  Prefactor     50.506        29.900       -.24057E-06    .55650E-05
   3  Prefactor     3.0237        21.547        .23593E-06    .10500E-04
   4  Prefactor     .10000E-03    21.995       -.12044E-06** at limit **
   5  Prefactor     11.023        129.82        .15751E-05    .11288E-04
   6  Prefactor     20.306        14.363        .10453E-06    .17281E-03
   7  Prefactor     .10000E-03    65.488       -.62590E-06** at limit **
   8  norm          .10000E-03    5.2921       -.90579E-06** at limit **
   9  Prefactor     .10000E-03    159.08       -.23029E-05** at limit **
  10  Prefactor     .10000E-03    56.216        .75704E-05** at limit **
  11  norm          1.7383        1.4172       -.27103E-07   -.29805E-03
  12  norm          3.2140        3.9279       -.11691E-05   -.59030E-03
  13  Prefactor     23.231        82.562        .43694E-05   -.43791E-04
  14  Prefactor     133.06        61.510        .18743E-06   -.48377E-03
  15  norm          .10066E-03    2.1497        .43002E-06** at limit **
  16  Prefactor     208.82        131.77        .15639E-05   -.21227E-03
  17  Prefactor     .10000E-03    27.353       -.43178E-06** at limit **
  18  Prefactor     40.948        27.044       -.64385E-07   -.91754E-04
  19  Prefactor     46.557        49.343        .15117E-05    .72944E-05
  20  Normalizat    .38713        .31033       -.57339E-05   -.78889E-04
  21  Prefactor     1.0676        .22674        .27801E-05   -.10007E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.5916
  Prefactor  = 50.5061
  Prefactor  = 3.02365
  Prefactor  = 0.0001
  Prefactor  = 11.0229
  Prefactor  = 20.3063
  Prefactor  = 0.0001
  norm       = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 1.73827
  norm       = 3.21399
  Prefactor  = 23.2314
  Prefactor  = 133.055
  norm       = 0.000100658
  Prefactor  = 208.817
  Prefactor  = 0.0001
  Prefactor  = 40.9485
  Prefactor  = 46.557
  Normalizat = 0.387129
  Prefactor  = 1.06757
 **********
 **   18 **HESSE 
 **********

 FCN=   3428.770     FROM HESSE     STATUS=OK           317 CALLS     3351 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.5916        7.3160        .14553E-03   -1.5157    
   2  Prefactor     50.506        29.756        .56430E-04   -1.4285    
   3  Prefactor     3.0237        21.086        .23334E-03   -1.5360    
   4  Prefactor     .10000E-03    22.016        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.023        129.64        .12056E-03   -1.5044    
   6  Prefactor     20.306        14.172        .88842E-04   -1.4806    
   7  Prefactor     .10000E-03    65.544        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    19.062        .24682E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    159.03        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    58.609        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.7383        1.4165        .59439E-04   -1.5444    
  12  norm          3.2140        3.9416        .86532E-04   -1.5349    
  13  Prefactor     23.231        82.366        .83391E-04   -1.4744    
  14  Prefactor     133.06        61.924        .17459E-03   -1.3396    
  15  norm          .10066E-03    32.991        .13036E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     208.82        131.80        .27972E-04   -1.2808    
  17  Prefactor     .10000E-03    27.461        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     40.948        26.997        .62649E-04   -1.4427    
  19  Prefactor     46.557        49.288        .29363E-03   -1.4342    
  20  Normalizat    .38713        .32034        .42687E-03   -1.1797    
  21  Prefactor     1.0676        .23941        .20407E-03   -.90510    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.99085e-08
Minuit parameter uncertainties:
  1  7.31684
  2  29.7652
  3  15.9772
  4  1.04822e-05
  5  75.8093
  6  14.1745
  7  4.92068e-05
  8  0.000535428
  9  0.000119554
  10  0.000820692
  11  1.41656
  12  3.94196
  13  82.7737
  14  61.9543
  15  0.00932162
  16  131.991
  17  0.00010595
  18  27.0051
  19  49.331
  20  0.321871
  21  0.239647
Done.

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

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  1.738e+00  1.417e+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:  1.068e+00  2.396e-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:  3.871e-01  3.219e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.74
Ra Dec: 339.144 -14.556
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 6.74e-08 +/- 5.49e-08
Energy Flux (Fixed Index): 3.30e-05 +/- 2.69e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3428.31080644
delta logL = 0.459602816894

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3428.27095514
delta logL = 0.499454113547

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .65752       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.2175       1.0000          .0000       5.0000    
     3 'Normalizat'    .40301       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0745       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=   3428.271     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      208 TOTAL
                     EDM=   .82E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .66208        .74197        .99896E-02    .94182E-04
   2  alpha         1.2195        .48930        .25630       -.38031E-04
   3  Normalizat    .40298        .27609        .94668E-01    .22708E-04
   4  Prefactor     1.0745        .21477        .38648E-01   -.59185E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.662078
  alpha      = 1.21946
  Normalizat = 0.402983
  Prefactor  = 1.07446
 **********
 **   18 **HESSE 
 **********

 FCN=   3428.271     FROM HESSE     STATUS=OK            35 CALLS      243 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .66208        1.2212        .42282E-03   -1.5545    
   2  alpha         1.2195        .80596        .10688E-01   -.53776    
   3  Normalizat    .40298        .29478        .41961E-03   -1.1715    
   4  Prefactor     1.0745        .23079        .20392E-03   -.90287    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57954e-11
Minuit parameter uncertainties:
  1  1.22127
  2  0.826197
  3  0.295922
  4  0.231
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/415296': 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) = 3428.27094698
delta logL = 0.499462270451

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  6.621e-01  1.221e+00  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  1.219e+00  8.262e-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:  1.074e+00  2.310e-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:  4.030e-01  2.959e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.75
Ra Dec: 339.144 -14.556
Photon Index (Free Index): 1.22 +/- 0.83
Photon Flux (Free Index): 1.81e-08 +/- 2.95e-08
Energy Flux (Free Index): 6.66e-05 +/- 9.20e-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/415296/cmap_HighResolution_591062401_591321601_4FGL_J2236.5-1433_daily_bin1357.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.74e-08', energy_flux2='6.66e-05', photon_flux_error='5.49e-08', dlogl='4.99e-01', energy_flux='3.30e-05', photon_flux2='1.81e-08', job_status='DONE', time_completed='2021-09-28 17:44:34.424744', photon_index_error2='0.83', photon_index2='1.22', ts='5.74', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='9.20e-05', EG='0.39', time_epoch_completed='1632876274.42', return_code='0', job_id='415296', GAL2='1.07', EG2='0.40', return_code2='0', energy_flux_error='2.69e-05', photon_flux_error2='2.95e-08', ts2='6.75', photon_index='2.06' WHERE bin_id='1357' AND source_name='4FGL J2236.5-1433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:44:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0117>
Subject: Job 415296: <4FGL_J2236.5-1433_daily_bin1357> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.5-1433_daily_bin1357 339.144 -14.5557 591062401 591321601 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 :                                   453.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             264.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   550 sec.
    Turnaround time :                            553 sec.

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

