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 72 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J2236.5-1433_daily_bin1732
RA = 339.144, Dec = -14.5557
tmin = 688262401, tmax = 688521601
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='647655', job_status='RUN', time_executed='2022-10-27 00:37:07.584782', time_epoch_executed='1666856227.58' WHERE source_name='4FGL J2236.5-1433' and cadence='daily' and bin_id='1732'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/647655

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/647655/ft1_4FGL_J2236.5-1433_daily_bin1732.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/647655/ft2_4FGL_J2236.5-1433_daily_bin1732.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/647655/ft1_4FGL_J2236.5-1433_daily_bin1732.fits outfile=/scratch/kocevski/647655/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1732.fits ra=339.144 dec=-14.5557 rad=12.0 tmin=688262401.0 tmax=688521601.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.56
user 3.30
sys 0.21

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

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

Number of photons that the gtmktime cut: 422

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/647655/ft1_filtered_4FGL_J2236.5-1433_daily_bin1732.fits" evtable="EVENTS" scfile=/scratch/kocevski/647655/ft2_4FGL_J2236.5-1433_daily_bin1732.fits sctable="SC_DATA" outfile=/scratch/kocevski/647655/ltcube_688262401_688521601_4FGL_J2236.5-1433_daily_bin1732.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/647655/ft2_4FGL_J2236.5-1433_daily_bin1732.fits
.....................!
real 12.21
user 11.84
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/647655/ft1_filtered_4FGL_J2236.5-1433_daily_bin1732.fits evtable="EVENTS" scfile=/scratch/kocevski/647655/ft2_4FGL_J2236.5-1433_daily_bin1732.fits sctable="SC_DATA" expcube=/scratch/kocevski/647655/ltcube_688262401_688521601_4FGL_J2236.5-1433_daily_bin1732.fits outfile=/scratch/kocevski/647655/expmap_688262401_688521601_4FGL_J2236.5-1433_daily_bin1732.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/647655/ltcube_688262401_688521601_4FGL_J2236.5-1433_daily_bin1732.fits
.....................!
real 191.37
user 185.60
sys 5.40

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/647655/ft1_filtered_4FGL_J2236.5-1433_daily_bin1732.fits scfile=/scratch/kocevski/647655/ft2_4FGL_J2236.5-1433_daily_bin1732.fits outfile=/scratch/kocevski/647655/cmap_688262401_688521601_4FGL_J2236.5-1433_daily_bin1732.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/647655/ft1_filtered_4FGL_J2236.5-1433_daily_bin1732.fits scfile=/scratch/kocevski/647655/ft2_4FGL_J2236.5-1433_daily_bin1732.fits outfile=/scratch/kocevski/647655/cmap_HighResolution_688262401_688521601_4FGL_J2236.5-1433_daily_bin1732.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.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/647655/ft1_filtered_4FGL_J2236.5-1433_daily_bin1732.fits evtable="EVENTS" scfile=/scratch/kocevski/647655/ft2_4FGL_J2236.5-1433_daily_bin1732.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/647655/Model_4FGL_J2236.5-1433_daily_bin1732.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/647655/ft1_filtered_4FGL_J2236.5-1433_daily_bin1732.fits.....................!
real 46.67
user 44.39
sys 1.34

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/647655/ft1_filtered_4FGL_J2236.5-1433_daily_bin1732.fits', '/scratch/kocevski/647655/ft2_4FGL_J2236.5-1433_daily_bin1732.fits', expMap='/scratch/kocevski/647655/expmap_688262401_688521601_4FGL_J2236.5-1433_daily_bin1732.fits', expCube='/scratch/kocevski/647655/ltcube_688262401_688521601_4FGL_J2236.5-1433_daily_bin1732.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/647655/Model_4FGL_J2236.5-1433_daily_bin1732.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  0.000e+00  1.000e+06 ( 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 -5.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/647655/ft1_filtered_4FGL_J2236.5-1433_daily_bin1732.fits
Spacecraft file(s): /scratch/kocevski/647655/ft2_4FGL_J2236.5-1433_daily_bin1732.fits
Exposure map: /scratch/kocevski/647655/expmap_688262401_688521601_4FGL_J2236.5-1433_daily_bin1732.fits
Exposure cube: /scratch/kocevski/647655/ltcube_688262401_688521601_4FGL_J2236.5-1433_daily_bin1732.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/647655/Model_4FGL_J2236.5-1433_daily_bin1732.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) = 4900.34653865

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .55062E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.8112       1.0000          .0000       .10000E+07
     3 'Prefactor '    7.6410       1.0000          .0000       .10000E+07
     4 'Prefactor '    .35902E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .24702E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .11096E-02   1.0000          .0000       .10000E+07
     7 'norm      '    4.8591       1.0000          .0000       .10000E+07
     8 'Prefactor '    19.821       1.0000          .0000       .10000E+07
     9 'Prefactor '    .17343E-02   1.0000          .0000       .10000E+07
    10 'norm      '    5.6833       1.0000          .0000       .10000E+07
    11 'norm      '    2.8317       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.0989       1.0000          .0000       .10000E+07
    13 'Prefactor '    9.1969       1.0000          .0000       .10000E+07
    14 'norm      '    .77675       1.0000          .0000       .10000E+07
    15 'Prefactor '    11.474       1.0000          .0000       .10000E+07
    16 'Prefactor '    4.5334       1.0000          .0000       .10000E+07
    17 'Prefactor '    .16202E-01   1.0000          .0000       .10000E+07
    18 'Normalizat'    .75658       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .95958       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4900.301     FROM MIGRAD    STATUS=CONVERGED    165 CALLS     1421 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.5257       -.10730E-07** at limit **
   2  Prefactor     3.7720        13.815        .97525E-08    .71988E-04
   3  Prefactor     7.7441        12.726        .15848E-08    .97937E-03
   4  Prefactor      .0000        4.3323       -.28816E-08** at limit **
   5  Prefactor      .0000        2.3027        .97146E-08** at limit **
   6  Prefactor     .12607E-06    37.260        .17281E-07** at limit **
   7  norm          4.7988        4.5181       -.32473E-08   -.14947E-03
   8  Prefactor     25.121        113.33       -.13887E-06   -.15040E-02
   9  Prefactor     .20539E-08    24.884       -.12953E-07** at limit **
  10  norm          5.6771        1.5598        .25269E-08    .20442E-02
  11  norm          2.8850        2.9113       -.68688E-07   -.83989E-03
  12  Prefactor     .23822E-05    416.19       -.20578E-05** at limit **
  13  Prefactor     10.522        31.068        .37476E-08    .44530E-01
  14  norm          .74443        1.5446        .25874E-07   -.79905E-03
  15  Prefactor     9.1847        54.143        .12423E-06    .28665E-01
  16  Prefactor     4.5681        6.8473       -.99520E-08   -.41624E-03
  17  Prefactor      .0000        25.588       -.10988E-07** at limit **
  18  Normalizat    .75759        .24645        .91397E-07    .16697E-04
  19  Prefactor     .95845        .18632       -.11075E-06    .11850E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 3.77196
  Prefactor  = 7.74406
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.26066e-07
  norm       = 4.79883
  Prefactor  = 25.1212
  Prefactor  = 2.05391e-09
  norm       = 5.6771
  norm       = 2.88496
  Prefactor  = 2.38215e-06
  Prefactor  = 10.5225
  norm       = 0.74443
  Prefactor  = 9.18465
  Prefactor  = 4.56814
  Prefactor  = 0
  Normalizat = 0.757588
  Prefactor  = 0.958455
 **********
 **   18 **HESSE 
 **********

 FCN=   4900.301     FROM HESSE     STATUS=OK           316 CALLS     1737 TOTAL
                     EDM=   .30E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.5339        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.7720        13.840        .51678E-03   -1.5669    
   3  Prefactor     7.7441        12.747        .36255E-03   -1.5652    
   4  Prefactor      .0000        4.3397        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        2.2868        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .12607E-06    37.822        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.7988        4.5532        .45610E-03   -1.5664    
   8  Prefactor     25.121        107.50        .22469E-03   -1.5608    
   9  Prefactor     .20539E-08    24.862        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.6771        1.5733        .42112E-03   -1.5660    
  11  norm          2.8850        3.3117        .60407E-03   -1.5674    
  12  Prefactor     .23822E-05    55.826        .14647E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.522        44.451        .33024E-03   -1.5643    
  14  norm          .74443        2.7467        .54685E-03   -1.5691    
  15  Prefactor     9.1847        60.796        .29550E-03   -1.5647    
  16  Prefactor     4.5681        6.8686        .47258E-03   -1.5665    
  17  Prefactor      .0000        25.446        .17301E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .75759        .20950        .66391E-01   -1.0166    
  19  Prefactor     .95845        .15534        .45760E-01   -.94127    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.98419e-07
Minuit parameter uncertainties:
  1  2.79188e-07
  2  13.8398
  3  12.7467
  4  4.74601e-06
  5  3.32171e-06
  6  0.00436768
  7  4.55325
  8  103.935
  9  0.000453679
  10  1.57327
  11  3.3117
  12  0.0230641
  13  43.2547
  14  2.7467
  15  47.2613
  16  6.86866
  17  3.96167e-05
  18  0.209723
  19  0.155412
Done.

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

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  5.677e+00  1.573e+00  0.000e+00  1.000e+06 ( 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 -5.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.585e-01  1.554e-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:  7.576e-01  2.097e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 42.27
Ra Dec: 339.144 -14.556
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 2.20e-07 +/- 6.10e-08
Energy Flux (Fixed Index): 1.08e-04 +/- 2.98e-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) = 4899.18976615
delta logL = 1.11155161166

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4899.13601554
delta logL = 1.16530222703

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.1392       1.0000          .0000       .10000E+07
     2 'alpha     '    2.4670       1.0000          .0000       5.0000    
     3 'Normalizat'    .67848       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99288       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=   4899.136     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      229 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.1392        1.4751        .37324E-05    .34525E-01
   2  alpha         2.4670        .26881        .59465E-03    .19128E-03
   3  Normalizat    .67855        .24711        .30784E-03   -.15215E-04
   4  Prefactor     .99285        .18554        .19659E-03   -.54048E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.13918
  alpha      = 2.46705
  Normalizat = 0.678552
  Prefactor  = 0.992849
 **********
 **   18 **HESSE 
 **********

 FCN=   4899.136     FROM HESSE     STATUS=OK            23 CALLS      252 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.1392        1.4731        .74649E-06   -1.5663    
   2  alpha         2.4670        .26844        .23786E-04   -.13182E-01
   3  Normalizat    .67855        .24732        .12314E-04   -1.0475    
   4  Prefactor     .99285        .18570        .39317E-04   -.92968    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.76269e-10
Minuit parameter uncertainties:
  1  1.47312
  2  0.268959
  3  0.247723
  4  0.185817
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/647655': 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) = 4899.13601547
delta logL = 1.16530229377

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  5.139e+00  1.473e+00  0.000e+00  1.000e+06 ( 1.000e-11)
258        alpha:  2.467e+00  2.690e-01  0.000e+00  5.000e+00 ( 1.000e+00)
259         beta:  7.101e-02  0.000e+00 -5.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.928e-01  1.858e-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.786e-01  2.477e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 44.70
Ra Dec: 339.144 -14.556
Photon Index (Free Index): 2.47 +/- 0.27
Photon Flux (Free Index): 3.02e-07 +/- 9.02e-08
Energy Flux (Free Index): 8.92e-05 +/- 2.35e-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/647655/cmap_HighResolution_688262401_688521601_4FGL_J2236.5-1433_daily_bin1732.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.20e-07', energy_flux2='8.92e-05', photon_flux_error='6.10e-08', dlogl='1.17e+00', energy_flux='1.08e-04', photon_flux2='3.02e-07', job_status='DONE', time_completed='2022-10-27 00:44:25.685628', photon_index_error2='0.27', photon_index2='2.47', ts='42.27', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='2.35e-05', EG='0.76', time_epoch_completed='1666856665.69', return_code='0', job_id='647655', GAL2='0.99', EG2='0.68', return_code2='0', energy_flux_error='2.98e-05', photon_flux_error2='9.02e-08', ts2='44.70', photon_index='2.06' WHERE bin_id='1732' AND source_name='4FGL J2236.5-1433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Oct 27 00:44:25 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0039>
Subject: Job 647655: <4FGL_J2236.5-1433_daily_bin1732> in cluster <slac> Done

Job <4FGL_J2236.5-1433_daily_bin1732> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Oct 27 00:35:44 2022
Job was executed on host(s) <bullet0039>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Oct 27 00:35:45 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Oct 27 00:35:45 2022
Terminated at Thu Oct 27 00:44:26 2022
Results reported at Thu Oct 27 00:44:26 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.5-1433_daily_bin1732 339.144 -14.5557 688262401 688521601 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 :                                   439.29 sec.
    Max Memory :                                 652 MB
    Average Memory :                             273.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2929 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   521 sec.
    Turnaround time :                            522 sec.

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

