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


Performing analysis on: 4FGL_J2236.5-1433_daily_bin1653
RA = 339.144, Dec = -14.5557
tmin = 667785601, tmax = 668044801
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='889449', job_status='RUN', time_executed='2022-03-04 01:18:00.805510', time_epoch_executed='1646385480.81' WHERE source_name='4FGL J2236.5-1433' and cadence='daily' and bin_id='1653'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/889449

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/889449/ft1_4FGL_J2236.5-1433_daily_bin1653.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/889449/ft2_4FGL_J2236.5-1433_daily_bin1653.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/889449/ft1_4FGL_J2236.5-1433_daily_bin1653.fits outfile=/scratch/kocevski/889449/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1653.fits ra=339.144 dec=-14.5557 rad=12.0 tmin=667785601.0 tmax=668044801.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 4.31
user 4.02
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/889449/ft2_4FGL_J2236.5-1433_daily_bin1653.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/889449/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1653.fits evtable="EVENTS" outfile="/scratch/kocevski/889449/ft1_filtered_4FGL_J2236.5-1433_daily_bin1653.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.54
user 0.34
sys 0.15
Number of photons that survived the gtmktime cut: 718

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/889449/ft1_filtered_4FGL_J2236.5-1433_daily_bin1653.fits" evtable="EVENTS" scfile=/scratch/kocevski/889449/ft2_4FGL_J2236.5-1433_daily_bin1653.fits sctable="SC_DATA" outfile=/scratch/kocevski/889449/ltcube_667785601_668044801_4FGL_J2236.5-1433_daily_bin1653.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/889449/ft2_4FGL_J2236.5-1433_daily_bin1653.fits
.....................!
real 11.99
user 11.61
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/889449/ft1_filtered_4FGL_J2236.5-1433_daily_bin1653.fits evtable="EVENTS" scfile=/scratch/kocevski/889449/ft2_4FGL_J2236.5-1433_daily_bin1653.fits sctable="SC_DATA" expcube=/scratch/kocevski/889449/ltcube_667785601_668044801_4FGL_J2236.5-1433_daily_bin1653.fits outfile=/scratch/kocevski/889449/expmap_667785601_668044801_4FGL_J2236.5-1433_daily_bin1653.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/889449/ltcube_667785601_668044801_4FGL_J2236.5-1433_daily_bin1653.fits
.....................!
real 191.28
user 185.97
sys 4.15

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/889449/ft1_filtered_4FGL_J2236.5-1433_daily_bin1653.fits scfile=/scratch/kocevski/889449/ft2_4FGL_J2236.5-1433_daily_bin1653.fits outfile=/scratch/kocevski/889449/cmap_667785601_668044801_4FGL_J2236.5-1433_daily_bin1653.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.56
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/889449/ft1_filtered_4FGL_J2236.5-1433_daily_bin1653.fits scfile=/scratch/kocevski/889449/ft2_4FGL_J2236.5-1433_daily_bin1653.fits outfile=/scratch/kocevski/889449/cmap_HighResolution_667785601_668044801_4FGL_J2236.5-1433_daily_bin1653.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/889449/ft1_filtered_4FGL_J2236.5-1433_daily_bin1653.fits evtable="EVENTS" scfile=/scratch/kocevski/889449/ft2_4FGL_J2236.5-1433_daily_bin1653.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/889449/Model_4FGL_J2236.5-1433_daily_bin1653.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/889449/ft1_filtered_4FGL_J2236.5-1433_daily_bin1653.fits.....................!
real 70.20
user 67.75
sys 1.33

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    18.131       1.0000         .10000E-03   10000.    
     4 'Prefactor '    18.527       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.4770       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    5.5936       1.0000         .10000E-03   10000.    
     9 'Prefactor '    37.358       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.3330       1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    29.182       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.7694       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    41.117       1.0000         .10000E-03   10000.    
    17 'Prefactor '    13.551       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.4932       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.2717       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=   7704.955     FROM MIGRAD    STATUS=CONVERGED    425 CALLS     2242 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.9795        .42445E-07** at limit **
   2  Prefactor     .10000E-03    5.6508        .22771E-06** at limit **
   3  Prefactor     18.134        14.503        .14584E-06    .47898E-04
   4  Prefactor     18.527        17.594       -.12791E-05   -.94181E-04
   5  Prefactor     .10000E-03    18.374       -.15875E-06** at limit **
   6  Prefactor     1.4774        5.5846        .28696E-05   -.30274E-04
   7  Prefactor     .10000E-03    18.093        .32189E-06** at limit **
   8  norm          5.5935        3.6756       -.14693E-06   -.10928E-03
   9  Prefactor     37.384        55.683        .27761E-05    .11092E-03
  10  Prefactor     .10000E-03    9.1308        .65607E-06** at limit **
  11  norm          2.3330        1.3437        .38034E-07    .37234E-03
  12  norm          .10000E-03    1.5415        .12439E-06** at limit **
  13  Prefactor     29.184        32.839        .18028E-06    .15172E-04
  14  Prefactor     8.7527        27.134        .80384E-06    .76536E-04
  15  norm          .10000E-03    .71766       -.13593E-05** at limit **
  16  Prefactor     41.104        56.338       -.17635E-05    .21575E-04
  17  Prefactor     13.548        19.253        .14461E-06    .12232E-04
  18  Prefactor     .10000E-03    5.1303       -.22599E-06** at limit **
  19  Prefactor     .10000E-03    8.5129       -.53358E-06** at limit **
  20  Normalizat    1.4934        .23503        .14593E-05   -.12305E-04
  21  Prefactor     1.2716        .17567       -.12986E-05    .16621E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.1341
  Prefactor  = 18.5272
  Prefactor  = 0.0001
  Prefactor  = 1.47744
  Prefactor  = 0.0001
  norm       = 5.59351
  Prefactor  = 37.3843
  Prefactor  = 0.0001
  norm       = 2.33296
  norm       = 0.0001
  Prefactor  = 29.1836
  Prefactor  = 8.75274
  norm       = 0.0001
  Prefactor  = 41.1036
  Prefactor  = 13.5477
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.49337
  Prefactor  = 1.2716
 **********
 **   18 **HESSE 
 **********

 FCN=   7704.955     FROM HESSE     STATUS=OK           315 CALLS     2557 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.9965        .12060E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.6616        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     18.134        14.536        .94062E-04   -1.4856    
   4  Prefactor     18.527        17.421        .93051E-04   -1.4847    
   5  Prefactor     .10000E-03    18.377        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.4774        5.5634        .35332E-03   -1.5465    
   7  Prefactor     .10000E-03    18.103        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.5935        3.6726        .13078E-03   -1.5235    
   9  Prefactor     37.384        56.530        .65572E-04   -1.4484    
  10  Prefactor     .10000E-03    9.2384        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.3330        1.3330        .71561E-04   -1.5402    
  12  norm          .10000E-03    1.5758        .21202E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     29.184        32.803        .74165E-04   -1.4627    
  14  Prefactor     8.7527        26.593        .13536E-03   -1.5116    
  15  norm          .10000E-03    .71342        .14169E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     41.104        55.288        .62514E-04   -1.4425    
  17  Prefactor     13.548        19.246        .10881E-03   -1.4972    
  18  Prefactor     .10000E-03    5.1420        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    8.5330        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.4934        .28141        .30912E-03   -.77965    
  21  Prefactor     1.2716        .20984        .25213E-03   -.84155    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.48454e-10
Minuit parameter uncertainties:
  1  7.28788e-08
  2  1.14199e-05
  3  14.5387
  4  17.4257
  5  2.10147e-05
  6  5.56534
  7  3.64841e-05
  8  3.67273
  9  56.6111
  10  3.71561e-05
  11  1.33297
  12  1.7348e-06
  13  32.8231
  14  26.6285
  15  9.28764e-06
  16  55.3575
  17  19.2545
  18  2.83459e-06
  19  4.71979e-05
  20  0.281701
  21  0.209981
Done.

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

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  2.333e+00  1.333e+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.272e+00  2.100e-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.493e+00  2.817e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.45
Ra Dec: 339.144 -14.556
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 9.05e-08 +/- 5.17e-08
Energy Flux (Fixed Index): 4.42e-05 +/- 2.53e-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) = 7700.15359693
delta logL = 4.80155378696

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7700.14545361
delta logL = 4.80969710431

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3021       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.4516       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2879       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3632       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=   7700.145     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      220 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3027        5.0295        .69650E-02    .57108E-03
   2  alpha         3.4513        3.8439        .18820        .65419E-04
   3  Normalizat    1.2879        .94769E-01    .73889E-01    .12594E-04
   4  Prefactor     1.3633        .72420E-01    .55197E-01    .17291E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.30266
  alpha      = 3.45127
  Normalizat = 1.28787
  Prefactor  = 1.36332
 **********
 **   18 **HESSE 
 **********

 FCN=   7700.145     FROM HESSE     STATUS=OK            31 CALLS      251 TOTAL
                     EDM=   .19E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3027        .95451        .31026E-04   -1.5480    
   2  alpha         3.4513        .52087        .81474E-03    .39035    
   3  Normalizat    1.2879        .27862        .32699E-03   -.83929    
   4  Prefactor     1.3633        .20921        .24406E-03   -.81443    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88271e-14
Minuit parameter uncertainties:
  1  0.954519
  2  0.525379
  3  0.278946
  4  0.209344
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/889449': 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) = 7700.14545301
delta logL = 4.80969771139

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  1.303e+00  9.545e-01  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  3.451e+00  5.254e-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.363e+00  2.093e-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.288e+00  2.789e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.59
Ra Dec: 339.144 -14.556
Photon Index (Free Index): 3.45 +/- 0.53
Photon Flux (Free Index): 2.77e-07 +/- 9.55e-08
Energy Flux (Free Index): 4.83e-05 +/- 1.62e-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/889449/cmap_HighResolution_667785601_668044801_4FGL_J2236.5-1433_daily_bin1653.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.05e-08', energy_flux2='4.83e-05', photon_flux_error='5.17e-08', dlogl='4.81e+00', energy_flux='4.42e-05', photon_flux2='2.77e-07', job_status='DONE', time_completed='2022-03-04 01:27:55.399460', photon_index_error2='0.53', photon_index2='3.45', ts='4.45', fit_tolerance='1e-08', GAL='1.27', photon_index_error='0.00', energy_flux_error2='1.62e-05', EG='1.49', time_epoch_completed='1646386075.4', return_code='0', job_id='889449', GAL2='1.36', EG2='1.29', return_code2='0', energy_flux_error='2.53e-05', photon_flux_error2='9.55e-08', ts2='14.59', photon_index='2.06' WHERE bin_id='1653' AND source_name='4FGL J2236.5-1433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Mar  4 01:27:55 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 889449: <4FGL_J2236.5-1433_daily_bin1653> in cluster <slac> Done

Job <4FGL_J2236.5-1433_daily_bin1653> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Mar  4 01:15:48 2022
Job was executed on host(s) <bullet0037>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar  4 01:16:38 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar  4 01:16:38 2022
Terminated at Fri Mar  4 01:27:56 2022
Results reported at Fri Mar  4 01:27:56 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.5-1433_daily_bin1653 339.144 -14.5557 667785601 668044801 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 :                                   592.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             306.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   677 sec.
    Turnaround time :                            728 sec.

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

