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


Performing analysis on: 4FGL_J2236.5-1433_daily_bin1697
RA = 339.144, Dec = -14.5557
tmin = 679190401, tmax = 679449601
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='857702', job_status='RUN', time_executed='2022-07-14 00:36:37.325839', time_epoch_executed='1657784197.33' WHERE source_name='4FGL J2236.5-1433' and cadence='daily' and bin_id='1697'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/857702

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/857702/ft1_4FGL_J2236.5-1433_daily_bin1697.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/857702/ft2_4FGL_J2236.5-1433_daily_bin1697.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/857702/ft1_4FGL_J2236.5-1433_daily_bin1697.fits outfile=/scratch/kocevski/857702/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1697.fits ra=339.144 dec=-14.5557 rad=12.0 tmin=679190401.0 tmax=679449601.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.45
user 3.22
sys 0.20

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

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

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

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

Number of photons that the gtmktime cut: 508

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/857702/ft1_filtered_4FGL_J2236.5-1433_daily_bin1697.fits" evtable="EVENTS" scfile=/scratch/kocevski/857702/ft2_4FGL_J2236.5-1433_daily_bin1697.fits sctable="SC_DATA" outfile=/scratch/kocevski/857702/ltcube_679190401_679449601_4FGL_J2236.5-1433_daily_bin1697.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/857702/ft2_4FGL_J2236.5-1433_daily_bin1697.fits
.....................!
real 11.74
user 11.37
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/857702/ft1_filtered_4FGL_J2236.5-1433_daily_bin1697.fits evtable="EVENTS" scfile=/scratch/kocevski/857702/ft2_4FGL_J2236.5-1433_daily_bin1697.fits sctable="SC_DATA" expcube=/scratch/kocevski/857702/ltcube_679190401_679449601_4FGL_J2236.5-1433_daily_bin1697.fits outfile=/scratch/kocevski/857702/expmap_679190401_679449601_4FGL_J2236.5-1433_daily_bin1697.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/857702/ltcube_679190401_679449601_4FGL_J2236.5-1433_daily_bin1697.fits
.....................!
real 190.95
user 186.35
sys 4.28

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

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/857702/ft1_filtered_4FGL_J2236.5-1433_daily_bin1697.fits scfile=/scratch/kocevski/857702/ft2_4FGL_J2236.5-1433_daily_bin1697.fits outfile=/scratch/kocevski/857702/cmap_HighResolution_679190401_679449601_4FGL_J2236.5-1433_daily_bin1697.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/857702/ft1_filtered_4FGL_J2236.5-1433_daily_bin1697.fits evtable="EVENTS" scfile=/scratch/kocevski/857702/ft2_4FGL_J2236.5-1433_daily_bin1697.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/857702/Model_4FGL_J2236.5-1433_daily_bin1697.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/857702/ft1_filtered_4FGL_J2236.5-1433_daily_bin1697.fits.....................!
real 53.34
user 52.04
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9417       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.8433       1.0000         .10000E-03   10000.    
     3 'Prefactor '    83.321       1.0000         .10000E-03   10000.    
     4 'Prefactor '    26.571       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.0867       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10120E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.2478       1.0000         .10000E-03   10000.    
     9 'Prefactor '    62.228       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.7993       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    29.011       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.8307       1.0000         .10000E-03   10000.    
    15 'norm      '    .19002       1.0000         .10000E-03   10000.    
    16 'Prefactor '    41.990       1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.451       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.6151       1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.116       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .66750       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0132       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=   5729.736     FROM MIGRAD    STATUS=CONVERGED    758 CALLS     2863 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9413        6.6734        .29793E-03    .15416E-04
   2  Prefactor     2.8403        23.662        .24114E-03    .64118E-05
   3  Prefactor     83.322        20.257        .44006E-04    .41335E-05
   4  Prefactor     26.567        14.918        .77717E-04   -.13166E-05
   5  Prefactor     6.0787        248.07        .16274E-03    .27245E-05
   6  Prefactor     .10000E-03    2.2516        .11022E-02** at limit **
   7  Prefactor     .10000E-03    21.457        .18142E-02** at limit **
   8  norm          1.2475        2.4096        .15905E-03   -.13581E-04
   9  Prefactor     62.250        56.341        .25433E-03   -.35939E-04
  10  Prefactor     .10000E-03    15.175        .18142E-02** at limit **
  11  norm          2.7992        1.1894        .50290E-04    .19193E-03
  12  norm          .10000E-03    .94238        .71320E-03** at limit **
  13  Prefactor     29.016        34.814        .74383E-04    .81005E-05
  14  Prefactor     6.8739        125.14        .15351E-03   -.10590E-04
  15  norm          .18381        32.601        .12953E-02    .25513E-03
  16  Prefactor     42.036        47.797        .61863E-04    .43554E-04
  17  Prefactor     16.453        12.402        .98745E-04    .40066E-04
  18  Prefactor     3.6141        6.4704        .21250E-03    .37449E-05
  19  Prefactor     10.123        22.501        .12598E-03   -.18499E-04
  20  Normalizat    .66724        .25309        .32122E-03    .15219E-05
  21  Prefactor     1.0134        .18493        .20336E-03    .10668E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.94131
  Prefactor  = 2.8403
  Prefactor  = 83.3223
  Prefactor  = 26.5673
  Prefactor  = 6.07872
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.24747
  Prefactor  = 62.2501
  Prefactor  = 0.0001
  norm       = 2.79921
  norm       = 0.0001
  Prefactor  = 29.0157
  Prefactor  = 6.87391
  norm       = 0.18381
  Prefactor  = 42.0356
  Prefactor  = 16.4526
  Prefactor  = 3.61414
  Prefactor  = 10.1228
  Normalizat = 0.667237
  Prefactor  = 1.01342
 **********
 **   18 **HESSE 
 **********

 FCN=   5729.736     FROM HESSE     STATUS=OK           297 CALLS     3160 TOTAL
                     EDM=   .64E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9413        6.6715        .11917E-04   -1.5429    
   2  Prefactor     2.8403        23.648        .96456E-05   -1.5371    
   3  Prefactor     83.322        20.250        .17602E-05   -1.3880    
   4  Prefactor     26.567        14.916        .31087E-05   -1.4677    
   5  Prefactor     6.0787        248.53        .65095E-05   -1.5215    
   6  Prefactor     .10000E-03    2.2520        .22044E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    21.457        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.2475        2.4085        .63619E-05   -1.5485    
   9  Prefactor     62.250        56.340        .10173E-04   -1.4128    
  10  Prefactor     .10000E-03    15.185        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.7992        1.1808        .20116E-05   -1.5373    
  12  norm          .10000E-03    .94240        .14264E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     29.016        34.766        .29753E-05   -1.4630    
  14  Prefactor     6.8739        46.487        .61406E-05   -1.5184    
  15  norm          .18381        10.724        .51811E-04   -1.5622    
  16  Prefactor     42.036        43.177        .24745E-05   -1.4410    
  17  Prefactor     16.453        12.393        .39498E-05   -1.4897    
  18  Prefactor     3.6141        6.4645        .85001E-05   -1.5328    
  19  Prefactor     10.123        22.498        .50393E-05   -1.5072    
  20  Normalizat    .66724        .23809        .12849E-04   -1.0520    
  21  Prefactor     1.0134        .17826        .40672E-04   -.92284    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.37406e-11
Minuit parameter uncertainties:
  1  6.67404
  2  16.3995
  3  20.2521
  4  14.9178
  5  78.0854
  6  2.171e-06
  7  1.41568e-06
  8  2.40869
  9  56.3881
  10  1.22168e-05
  11  1.18078
  12  2.09647e-06
  13  34.79
  14  35.7915
  15  2.80776
  16  43.2089
  17  12.3946
  18  6.46574
  19  22.5168
  20  0.238456
  21  0.178362
Done.

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

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  2.799e+00  1.181e+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.013e+00  1.784e-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:  6.672e-01  2.385e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.19
Ra Dec: 339.144 -14.556
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 1.09e-07 +/- 4.58e-08
Energy Flux (Fixed Index): 5.31e-05 +/- 2.24e-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) = 5729.68657788
delta logL = 0.0499011016327

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5729.6853266
delta logL = 0.0511523802743

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.7960       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1884       1.0000          .0000       5.0000    
     3 'Normalizat'    .65501       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0179       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=   5729.685     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      202 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.7955        21.888        .60828E-02    .20578E-03
   2  alpha         2.1884        3.4231        .25324        .93936E-05
   3  Normalizat    .65496        .25199        .73161E-01    .26405E-04
   4  Prefactor     1.0179        .18678        .42356E-01    .18536E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.79545
  alpha      = 2.18841
  Normalizat = 0.654965
  Prefactor  = 1.01793
 **********
 **   18 **HESSE 
 **********

 FCN=   5729.685     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .61E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7955        1.1453        .48868E-04   -1.5374    
   2  alpha         2.1884        .39061        .10232E-01   -.12496    
   3  Normalizat    .65496        .22460        .32386E-03   -1.0570    
   4  Prefactor     1.0179        .17160        .20289E-03   -.92134    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.13358e-14
Minuit parameter uncertainties:
  1  1.14534
  2  0.392246
  3  0.224913
  4  0.171692
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/857702': 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) = 5729.68532646
delta logL = 0.0511525237644

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  2.795e+00  1.145e+00  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  2.188e+00  3.922e-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.018e+00  1.717e-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:  6.550e-01  2.249e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.22
Ra Dec: 339.144 -14.556
Photon Index (Free Index): 2.19 +/- 0.39
Photon Flux (Free Index): 1.22e-07 +/- 6.33e-08
Energy Flux (Free Index): 4.95e-05 +/- 2.27e-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/857702/cmap_HighResolution_679190401_679449601_4FGL_J2236.5-1433_daily_bin1697.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.09e-07', energy_flux2='4.95e-05', photon_flux_error='4.58e-08', dlogl='5.12e-02', energy_flux='5.31e-05', photon_flux2='1.22e-07', job_status='DONE', time_completed='2022-07-14 00:45:36.833892', photon_index_error2='0.39', photon_index2='2.19', ts='11.19', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='2.27e-05', EG='0.67', time_epoch_completed='1657784736.83', return_code='0', job_id='857702', GAL2='1.02', EG2='0.65', return_code2='0', energy_flux_error='2.24e-05', photon_flux_error2='6.33e-08', ts2='11.22', photon_index='2.06' WHERE bin_id='1697' AND source_name='4FGL J2236.5-1433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 14 00:45:36 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 857702: <4FGL_J2236.5-1433_daily_bin1697> in cluster <slac> Done

Job <4FGL_J2236.5-1433_daily_bin1697> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jul 14 00:35:52 2022
Job was executed on host(s) <bullet0074>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jul 14 00:35:53 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jul 14 00:35:53 2022
Terminated at Thu Jul 14 00:45:37 2022
Results reported at Thu Jul 14 00:45:37 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.5-1433_daily_bin1697 339.144 -14.5557 679190401 679449601 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 :                                   542.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             272.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   584 sec.
    Turnaround time :                            585 sec.

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

