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


Performing analysis on: 4FGL_J2236.5-1433_daily_bin1373
RA = 339.144, Dec = -14.5557
tmin = 595209601, tmax = 595468801
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='415320', job_status='RUN', time_executed='2021-09-28 17:38:38.406805', time_epoch_executed='1632875918.41' WHERE source_name='4FGL J2236.5-1433' and cadence='daily' and bin_id='1373'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/415320

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/415320/ft1_4FGL_J2236.5-1433_daily_bin1373.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/415320/ft2_4FGL_J2236.5-1433_daily_bin1373.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/415320/ft1_4FGL_J2236.5-1433_daily_bin1373.fits outfile=/scratch/kocevski/415320/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1373.fits ra=339.144 dec=-14.5557 rad=12.0 tmin=595209601.0 tmax=595468801.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.94
user 2.68
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/415320/ft2_4FGL_J2236.5-1433_daily_bin1373.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/415320/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1373.fits evtable="EVENTS" outfile="/scratch/kocevski/415320/ft1_filtered_4FGL_J2236.5-1433_daily_bin1373.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/415320/ft1_filtered_4FGL_J2236.5-1433_daily_bin1373.fits" evtable="EVENTS" scfile=/scratch/kocevski/415320/ft2_4FGL_J2236.5-1433_daily_bin1373.fits sctable="SC_DATA" outfile=/scratch/kocevski/415320/ltcube_595209601_595468801_4FGL_J2236.5-1433_daily_bin1373.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/415320/ft2_4FGL_J2236.5-1433_daily_bin1373.fits
.....................!
real 12.52
user 12.12
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/415320/ft1_filtered_4FGL_J2236.5-1433_daily_bin1373.fits evtable="EVENTS" scfile=/scratch/kocevski/415320/ft2_4FGL_J2236.5-1433_daily_bin1373.fits sctable="SC_DATA" expcube=/scratch/kocevski/415320/ltcube_595209601_595468801_4FGL_J2236.5-1433_daily_bin1373.fits outfile=/scratch/kocevski/415320/expmap_595209601_595468801_4FGL_J2236.5-1433_daily_bin1373.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/415320/ltcube_595209601_595468801_4FGL_J2236.5-1433_daily_bin1373.fits
.....................!
real 191.49
user 185.75
sys 5.38

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/415320/ft1_filtered_4FGL_J2236.5-1433_daily_bin1373.fits scfile=/scratch/kocevski/415320/ft2_4FGL_J2236.5-1433_daily_bin1373.fits outfile=/scratch/kocevski/415320/cmap_595209601_595468801_4FGL_J2236.5-1433_daily_bin1373.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.55
user 0.37
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/415320/ft1_filtered_4FGL_J2236.5-1433_daily_bin1373.fits evtable="EVENTS" scfile=/scratch/kocevski/415320/ft2_4FGL_J2236.5-1433_daily_bin1373.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/415320/Model_4FGL_J2236.5-1433_daily_bin1373.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/415320/ft1_filtered_4FGL_J2236.5-1433_daily_bin1373.fits.....................!
real 70.33
user 68.74
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10478E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .46797E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .72315       1.0000         .10000E-03   10000.    
     7 'Prefactor '    26.649       1.0000         .10000E-03   10000.    
     8 'norm      '    1.3353       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    32.899       1.0000         .10000E-03   10000.    
    11 'norm      '    2.8357       1.0000         .10000E-03   10000.    
    12 'norm      '    1.3873       1.0000         .10000E-03   10000.    
    13 'Prefactor '    59.498       1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.954       1.0000         .10000E-03   10000.    
    15 'norm      '    17.378       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10431E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.0573       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2857       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .74876       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=   8073.912     FROM MIGRAD    STATUS=CONVERGED    444 CALLS     2250 TOTAL
                     EDM=   .22E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.6724        .27148E-07** at limit **
   2  Prefactor     .10000E-03    30.977        .20799E-06** at limit **
   3  Prefactor     .10000E-03    3.2552        .12916E-07** at limit **
   4  Prefactor     .10000E-03    7.9118       -.25228E-06** at limit **
   5  Prefactor     .10001E-03    562.90       -.14057E-04** at limit **
   6  Prefactor     .72220        2.9355        .20699E-05   -.67008E-04
   7  Prefactor     26.645        50.788        .27905E-06   -.86974E-05
   8  norm          1.3359        3.6407        .10560E-06   -.64656E-04
   9  Prefactor     .10000E-03    49.132        .21526E-06** at limit **
  10  Prefactor     32.903        14.273        .17006E-06   -.10778E-04
  11  norm          2.8355        1.1474       -.16662E-08    .60189E-04
  12  norm          1.3869        1.4476       -.48257E-07    .27014E-04
  13  Prefactor     59.492        47.587        .30648E-06   -.21958E-04
  14  Prefactor     11.968        47.104        .18467E-05    .21697E-04
  15  norm          17.379        4.2973       -.16779E-06    .13730E-03
  16  Prefactor     .10000E-03    53.968        .43634E-06** at limit **
  17  Prefactor     3.0572        5.2020        .23450E-06   -.17663E-04
  18  Prefactor     .10000E-03    3.5059        .58867E-07** at limit **
  19  Prefactor     .10000E-03    8.6597        .21687E-07** at limit **
  20  Normalizat    1.2857        .18972       -.10591E-05   -.33207E-05
  21  Prefactor     .74875        .13440       -.30163E-06   -.50010E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100009
  Prefactor  = 0.722197
  Prefactor  = 26.6446
  norm       = 1.33592
  Prefactor  = 0.0001
  Prefactor  = 32.9026
  norm       = 2.83553
  norm       = 1.38694
  Prefactor  = 59.4924
  Prefactor  = 11.9681
  norm       = 17.3786
  Prefactor  = 0.0001
  Prefactor  = 3.05717
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.28567
  Prefactor  = 0.74875
 **********
 **   18 **HESSE 
 **********

 FCN=   8073.912     FROM HESSE     STATUS=OK           315 CALLS     2565 TOTAL
                     EDM=   .46E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.6811        .11348E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    32.075        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.2684        .15832E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    8.0019        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10001E-03    582.92        .42380E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .72220        2.9569        .29515E-03   -1.5538    
   7  Prefactor     26.645        50.786        .77602E-04   -1.4675    
   8  norm          1.3359        3.5977        .25934E-03   -1.5477    
   9  Prefactor     .10000E-03    49.293        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     32.903        14.308        .69861E-04   -1.4560    
  11  norm          2.8355        1.1429        .56929E-04   -1.5371    
  12  norm          1.3869        1.4544        .10363E-03   -1.5472    
  13  Prefactor     59.492        47.519        .52014E-04   -1.4164    
  14  Prefactor     11.968        49.424        .11586E-03   -1.5016    
  15  norm          17.379        4.4256        .44099E-04   -1.4874    
  16  Prefactor     .10000E-03    54.335        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.0572        5.1871        .23202E-03   -1.5358    
  18  Prefactor     .10000E-03    3.5137        .16432E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    8.6678        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2857        .22657        .27066E-03   -.83995    
  21  Prefactor     .74875        .16109        .25350E-03   -1.0165    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.63748e-11
Minuit parameter uncertainties:
  1  2.43241e-06
  2  8.32862e-05
  3  4.63075e-06
  4  3.02101e-05
  5  0.00464921
  6  2.92269
  7  50.8685
  8  3.59824
  9  0.000166379
  10  14.3096
  11  1.14292
  12  1.45445
  13  47.5496
  14  48.7113
  15  4.42564
  16  7.96728e-05
  17  5.18791
  18  2.30524e-06
  19  2.99806e-06
  20  0.226747
  21  0.161195
Done.

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

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  2.836e+00  1.143e+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:  7.488e-01  1.612e-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.286e+00  2.267e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 17.87
Ra Dec: 339.144 -14.556
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 1.10e-07 +/- 4.43e-08
Energy Flux (Fixed Index): 5.38e-05 +/- 2.17e-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) = 8073.78545576
delta logL = 0.126932710989

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8073.77597079
delta logL = 0.136417681048

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8769       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2628       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2626       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75795       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=   8073.776     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      232 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8769        1.0683        .23963E-04    .18032E-02
   2  alpha         2.2625        .37656        .11045E-01    .71563E-04
   3  Normalizat    1.2627        .21877        .27240E-03   -.17195E-04
   4  Prefactor     .75791        .15915        .25192E-03   -.38901E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.87687
  alpha      = 2.26247
  Normalizat = 1.26269
  Prefactor  = 0.757911
 **********
 **   18 **HESSE 
 **********

 FCN=   8073.776     FROM HESSE     STATUS=OK            25 CALLS      257 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8769        1.0637        .47926E-05   -1.5369    
   2  alpha         2.2625        .37471        .44182E-03   -.95156E-01
   3  Normalizat    1.2627        .21894        .10896E-04   -.84687    
   4  Prefactor     .75791        .15927        .10077E-04   -1.0130    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.06853e-10
Minuit parameter uncertainties:
  1  1.06374
  2  0.376144
  3  0.219102
  4  0.159369
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/415320': 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) = 8073.77597028
delta logL = 0.13641818645

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  2.877e+00  1.064e+00  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  2.262e+00  3.761e-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:  7.579e-01  1.594e-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.263e+00  2.191e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 18.24
Ra Dec: 339.144 -14.556
Photon Index (Free Index): 2.26 +/- 0.38
Photon Flux (Free Index): 1.35e-07 +/- 6.80e-08
Energy Flux (Free Index): 4.99e-05 +/- 1.93e-05

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/415320/cmap_HighResolution_595209601_595468801_4FGL_J2236.5-1433_daily_bin1373.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.10e-07', energy_flux2='4.99e-05', photon_flux_error='4.43e-08', dlogl='1.36e-01', energy_flux='5.38e-05', photon_flux2='1.35e-07', job_status='DONE', time_completed='2021-09-28 17:49:34.036550', photon_index_error2='0.38', photon_index2='2.26', ts='17.87', fit_tolerance='1e-08', GAL='0.75', photon_index_error='0.00', energy_flux_error2='1.93e-05', EG='1.29', time_epoch_completed='1632876574.04', return_code='0', job_id='415320', GAL2='0.76', EG2='1.26', return_code2='0', energy_flux_error='2.17e-05', photon_flux_error2='6.80e-08', ts2='18.24', photon_index='2.06' WHERE bin_id='1373' AND source_name='4FGL J2236.5-1433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:49:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 415320: <4FGL_J2236.5-1433_daily_bin1373> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.5-1433_daily_bin1373 339.144 -14.5557 595209601 595468801 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 :                                   605.22 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             235.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   849 sec.
    Turnaround time :                            850 sec.

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

