aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 164 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 = 7463
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2236.5-1433_daily_bin1666
RA = 339.144, Dec = -14.5557
tmin = 671155201, tmax = 671414401
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='414517', job_status='RUN', time_executed='2022-04-12 00:38:34.084706', time_epoch_executed='1649749114.08' WHERE source_name='4FGL J2236.5-1433' and cadence='daily' and bin_id='1666'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/414517

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/414517/ft1_4FGL_J2236.5-1433_daily_bin1666.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/414517/ft2_4FGL_J2236.5-1433_daily_bin1666.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/414517/ft1_4FGL_J2236.5-1433_daily_bin1666.fits outfile=/scratch/kocevski/414517/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1666.fits ra=339.144 dec=-14.5557 rad=12.0 tmin=671155201.0 tmax=671414401.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 5.24
user 5.00
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/414517/ft2_4FGL_J2236.5-1433_daily_bin1666.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/414517/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1666.fits evtable="EVENTS" outfile="/scratch/kocevski/414517/ft1_filtered_4FGL_J2236.5-1433_daily_bin1666.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.66
user 0.34
sys 0.14

Number of photons that the gtmktime cut: 803

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/414517/ft1_filtered_4FGL_J2236.5-1433_daily_bin1666.fits" evtable="EVENTS" scfile=/scratch/kocevski/414517/ft2_4FGL_J2236.5-1433_daily_bin1666.fits sctable="SC_DATA" outfile=/scratch/kocevski/414517/ltcube_671155201_671414401_4FGL_J2236.5-1433_daily_bin1666.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/414517/ft2_4FGL_J2236.5-1433_daily_bin1666.fits
.....................!
real 11.87
user 11.50
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/414517/ft1_filtered_4FGL_J2236.5-1433_daily_bin1666.fits evtable="EVENTS" scfile=/scratch/kocevski/414517/ft2_4FGL_J2236.5-1433_daily_bin1666.fits sctable="SC_DATA" expcube=/scratch/kocevski/414517/ltcube_671155201_671414401_4FGL_J2236.5-1433_daily_bin1666.fits outfile=/scratch/kocevski/414517/expmap_671155201_671414401_4FGL_J2236.5-1433_daily_bin1666.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/414517/ltcube_671155201_671414401_4FGL_J2236.5-1433_daily_bin1666.fits
.....................!
real 190.57
user 186.05
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/414517/ft1_filtered_4FGL_J2236.5-1433_daily_bin1666.fits scfile=/scratch/kocevski/414517/ft2_4FGL_J2236.5-1433_daily_bin1666.fits outfile=/scratch/kocevski/414517/cmap_671155201_671414401_4FGL_J2236.5-1433_daily_bin1666.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.38
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4879       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.8217       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.3056       1.0000         .10000E-03   10000.    
     4 'Prefactor '    20.897       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .12966E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.4033       1.0000         .10000E-03   10000.    
     7 'Prefactor '    74.779       1.0000         .10000E-03   10000.    
     8 'norm      '    4.1212       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.838       1.0000         .10000E-03   10000.    
    11 'norm      '    3.4085       1.0000         .10000E-03   10000.    
    12 'norm      '    .30646       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.953       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .13101E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.030       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0742       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .97001       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=   8669.511     FROM MIGRAD    STATUS=CONVERGED    457 CALLS     2238 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4877        4.3092       -.45730E-06   -.62943E-03
   2  Prefactor     7.8212        13.841       -.57948E-06   -.67707E-04
   3  Prefactor     6.3040        9.6540        .26578E-05   -.11635E-03
   4  Prefactor     20.897        12.451       -.13280E-05   -.19479E-04
   5  Prefactor     .10000E-03    169.36       -.13051E-04** at limit **
   6  Prefactor     6.4031        4.2020        .14170E-06   -.34339E-03
   7  Prefactor     74.772        53.421       -.45843E-05    .26069E-05
   8  norm          4.1192        3.6211       -.20640E-06   -.64201E-03
   9  Prefactor     .10000E-03    69.262        .58617E-05** at limit **
  10  Prefactor     10.838        9.7582       -.34996E-06   -.36753E-04
  11  norm          3.4085        .98332       -.18599E-07    .78837E-04
  12  norm          .30670        .88029       -.50268E-06   -.24511E-02
  13  Prefactor     .10000E-03    10.731       -.19683E-07** at limit **
  14  Prefactor     .10000E-03    6.3635       -.66911E-06** at limit **
  15  norm          .10000E-03    .23708       -.26604E-06** at limit **
  16  Prefactor     12.960        13.486        .12770E-04    .93311E-04
  17  Prefactor     .10000E-03    2.4419       -.80135E-07** at limit **
  18  Prefactor     .10000E-03    4.6566       -.65102E-06** at limit **
  19  Prefactor     13.031        15.175        .70351E-06    .12425E-05
  20  Normalizat    1.0740        .16489       -.16668E-05    .23094E-03
  21  Prefactor     .97019        .12533        .48435E-06    .29893E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.48765
  Prefactor  = 7.82119
  Prefactor  = 6.30404
  Prefactor  = 20.8965
  Prefactor  = 0.0001
  Prefactor  = 6.40308
  Prefactor  = 74.7723
  norm       = 4.11919
  Prefactor  = 0.0001
  Prefactor  = 10.8383
  norm       = 3.40848
  norm       = 0.3067
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 12.9595
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 13.0308
  Normalizat = 1.07404
  Prefactor  = 0.970185
 **********
 **   18 **HESSE 
 **********

 FCN=   8669.511     FROM HESSE     STATUS=OK           323 CALLS     2561 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4877        4.3089        .20669E-03   -1.5334    
   2  Prefactor     7.8212        13.819        .14338E-03   -1.5149    
   3  Prefactor     6.3040        9.6137        .15985E-03   -1.5206    
   4  Prefactor     20.897        12.437        .87618E-04   -1.4793    
   5  Prefactor     .10000E-03    170.28        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.4031        4.1931        .14233E-03   -1.5202    
   7  Prefactor     74.772        53.466        .46431E-04   -1.3976    
   8  norm          4.1192        3.6158        .15527E-03   -1.5302    
   9  Prefactor     .10000E-03    69.358        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     10.838        9.7988        .12170E-03   -1.5049    
  11  norm          3.4085        .98304        .46988E-04   -1.5339    
  12  norm          .30670        .83133        .14591E-02   -1.5597    
  13  Prefactor     .10000E-03    10.740        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.4822        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    .25001        .88779E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     12.960        13.331        .11130E-03   -1.4988    
  17  Prefactor     .10000E-03    2.4461        .14210E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    24.504        .38779E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     13.031        15.175        .11097E-03   -1.4986    
  20  Normalizat    1.0740        .19349        .26934E-03   -.90590    
  21  Prefactor     .97019        .14765        .22092E-03   -.93730    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.65128e-09
Minuit parameter uncertainties:
  1  4.30924
  2  13.8249
  3  9.61601
  4  12.4381
  5  4.06144e-05
  6  4.19326
  7  53.5002
  8  3.61602
  9  2.50957e-05
  10  9.80026
  11  0.983049
  12  0.831358
  13  1.65113e-05
  14  0.000167603
  15  1.31099e-05
  16  13.3344
  17  1.22965e-05
  18  0.000593201
  19  15.1794
  20  0.193613
  21  0.147708
Done.

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

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  3.408e+00  9.830e-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:  9.702e-01  1.477e-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.074e+00  1.936e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 52.20
Ra Dec: 339.144 -14.556
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 1.32e-07 +/- 3.81e-08
Energy Flux (Fixed Index): 6.46e-05 +/- 1.86e-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) = 8669.43976391
delta logL = 0.0714972867572

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8669.43288128
delta logL = 0.0783799180081

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.3524       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9444       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0903       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96390       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=   8669.433     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      202 TOTAL
                     EDM=   .97E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.3516        1.1041        .55259E-02    .48312E-04
   2  alpha         1.9441        .30277        .24123       -.22726E-04
   3  Normalizat    1.0904        .16010        .60531E-01    .15247E-04
   4  Prefactor     .96384        .12406        .45814E-01    .10739E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.35159
  alpha      = 1.94411
  Normalizat = 1.09037
  Prefactor  = 0.96384
 **********
 **   18 **HESSE 
 **********

 FCN=   8669.433     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .21E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.3516        1.0089        .48061E-04   -1.5342    
   2  alpha         1.9441        .30112        .97372E-02   -.22423    
   3  Normalizat    1.0904        .18827        .26771E-03   -.90062    
   4  Prefactor     .96384        .14558        .22164E-03   -.93945    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.07348e-13
Minuit parameter uncertainties:
  1  1.00886
  2  0.301889
  3  0.188389
  4  0.145635
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/414517': 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) = 8669.43288044
delta logL = 0.0783807609751

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  3.352e+00  1.009e+00  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  1.944e+00  3.019e-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:  9.638e-01  1.456e-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.090e+00  1.884e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 52.36
Ra Dec: 339.144 -14.556
Photon Index (Free Index): 1.94 +/- 0.30
Photon Flux (Free Index): 1.17e-07 +/- 5.01e-08
Energy Flux (Free Index): 7.07e-05 +/- 2.75e-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/414517/cmap_HighResolution_671155201_671414401_4FGL_J2236.5-1433_daily_bin1666.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-07', energy_flux2='7.07e-05', photon_flux_error='3.81e-08', dlogl='7.84e-02', energy_flux='6.46e-05', photon_flux2='1.17e-07', job_status='DONE', time_completed='2022-04-12 00:49:04.310784', photon_index_error2='0.30', photon_index2='1.94', ts='52.20', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='2.75e-05', EG='1.07', time_epoch_completed='1649749744.31', return_code='0', job_id='414517', GAL2='0.96', EG2='1.09', return_code2='0', energy_flux_error='1.86e-05', photon_flux_error2='5.01e-08', ts2='52.36', photon_index='2.06' WHERE bin_id='1666' AND source_name='4FGL J2236.5-1433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Apr 12 00:49:04 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 414517: <4FGL_J2236.5-1433_daily_bin1666> in cluster <slac> Done

Job <4FGL_J2236.5-1433_daily_bin1666> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Apr 12 00:35:39 2022
Job was executed on host(s) <bullet0078>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 12 00:35:41 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 12 00:35:41 2022
Terminated at Tue Apr 12 00:49:05 2022
Results reported at Tue Apr 12 00:49:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.5-1433_daily_bin1666 339.144 -14.5557 671155201 671414401 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 :                                   632.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             238.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   803 sec.
    Turnaround time :                            806 sec.

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

