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


Performing analysis on: 4FGL_J2236.5-1433_daily_bin1731
RA = 339.144, Dec = -14.5557
tmin = 688003201, tmax = 688262401
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='551202', job_status='RUN', time_executed='2022-10-24 00:42:47.028975', time_epoch_executed='1666597367.03' WHERE source_name='4FGL J2236.5-1433' and cadence='daily' and bin_id='1731'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/551202

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/551202/ft1_4FGL_J2236.5-1433_daily_bin1731.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/551202/ft2_4FGL_J2236.5-1433_daily_bin1731.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/551202/ft1_4FGL_J2236.5-1433_daily_bin1731.fits outfile=/scratch/kocevski/551202/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1731.fits ra=339.144 dec=-14.5557 rad=12.0 tmin=688003201.0 tmax=688262401.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.54
user 3.33
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/551202/ft2_4FGL_J2236.5-1433_daily_bin1731.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/551202/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1731.fits evtable="EVENTS" outfile="/scratch/kocevski/551202/ft1_filtered_4FGL_J2236.5-1433_daily_bin1731.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.32
sys 0.16

Number of photons that the gtmktime cut: 432

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/551202/ft1_filtered_4FGL_J2236.5-1433_daily_bin1731.fits" evtable="EVENTS" scfile=/scratch/kocevski/551202/ft2_4FGL_J2236.5-1433_daily_bin1731.fits sctable="SC_DATA" outfile=/scratch/kocevski/551202/ltcube_688003201_688262401_4FGL_J2236.5-1433_daily_bin1731.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/551202/ft2_4FGL_J2236.5-1433_daily_bin1731.fits
.....................!
real 12.07
user 11.71
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/551202/ft1_filtered_4FGL_J2236.5-1433_daily_bin1731.fits evtable="EVENTS" scfile=/scratch/kocevski/551202/ft2_4FGL_J2236.5-1433_daily_bin1731.fits sctable="SC_DATA" expcube=/scratch/kocevski/551202/ltcube_688003201_688262401_4FGL_J2236.5-1433_daily_bin1731.fits outfile=/scratch/kocevski/551202/expmap_688003201_688262401_4FGL_J2236.5-1433_daily_bin1731.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/551202/ltcube_688003201_688262401_4FGL_J2236.5-1433_daily_bin1731.fits
.....................!
real 192.35
user 186.90
sys 5.11

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/551202/ft1_filtered_4FGL_J2236.5-1433_daily_bin1731.fits scfile=/scratch/kocevski/551202/ft2_4FGL_J2236.5-1433_daily_bin1731.fits outfile=/scratch/kocevski/551202/cmap_688003201_688262401_4FGL_J2236.5-1433_daily_bin1731.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/551202/ft1_filtered_4FGL_J2236.5-1433_daily_bin1731.fits scfile=/scratch/kocevski/551202/ft2_4FGL_J2236.5-1433_daily_bin1731.fits outfile=/scratch/kocevski/551202/cmap_HighResolution_688003201_688262401_4FGL_J2236.5-1433_daily_bin1731.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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/551202/ft1_filtered_4FGL_J2236.5-1433_daily_bin1731.fits evtable="EVENTS" scfile=/scratch/kocevski/551202/ft2_4FGL_J2236.5-1433_daily_bin1731.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/551202/Model_4FGL_J2236.5-1433_daily_bin1731.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/551202/ft1_filtered_4FGL_J2236.5-1433_daily_bin1731.fits.....................!
real 46.86
user 45.50
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.548       1.0000          .0000       .10000E+07
     2 'Prefactor '    4.6918       1.0000          .0000       .10000E+07
     3 'Prefactor '    .18530E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .28750E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .16054E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .50575E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .32548       1.0000          .0000       .10000E+07
     8 'Prefactor '    .55348E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    32.078       1.0000          .0000       .10000E+07
    10 'norm      '    3.6342       1.0000          .0000       .10000E+07
    11 'norm      '    .12425E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .75980E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .55165E-02   1.0000          .0000       .10000E+07
    14 'norm      '    .61885       1.0000          .0000       .10000E+07
    15 'Prefactor '    49.532       1.0000          .0000       .10000E+07
    16 'Prefactor '    7.1603       1.0000          .0000       .10000E+07
    17 'Prefactor '    .29118E-05   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0434       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .95371       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=   4889.409     FROM MIGRAD    STATUS=CONVERGED    175 CALLS     1475 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.586        9.0734        .22142E-07   -.17112E-03
   2  Prefactor     4.4561        16.474       -.36701E-06   -.41061E-03
   3  Prefactor     .88818E-09    16.366        .12738E-08** at limit **
   4  Prefactor     .37713E-04    36.791        .33552E-06** at limit **
   5  Prefactor      .0000        3.2350       -.42436E-07** at limit **
   6  Prefactor     .11102E-09    29.018       -.37591E-06** at limit **
   7  norm          .26853        17.345        .57552E-06   -.72757E-04
   8  Prefactor     .12410E-04    46.787        .50883E-07** at limit **
   9  Prefactor     32.216        20.795       -.66235E-07    .42515E-02
  10  norm          3.6354        1.3357       -.28008E-07   -.36549E-03
  11  norm           .0000        1.1176       -.17646E-07** at limit **
  12  Prefactor     .66613E-09    4.3260        .78740E-08** at limit **
  13  Prefactor     .23126E-06    30.327       -.37396E-06** at limit **
  14  norm          .46472        2.5420        .15026E-06    .35349E-03
  15  Prefactor     54.677        56.657       -.53330E-06   -.13152E-01
  16  Prefactor     7.2138        7.5975       -.34720E-07   -.31132E-03
  17  Prefactor     .67724E-08    20.718       -.14891E-06** at limit **
  18  Normalizat    1.0379        .28037        .25726E-05    .14619E-04
  19  Prefactor     .95670        .20090       -.29152E-06    .13628E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.5863
  Prefactor  = 4.45608
  Prefactor  = 8.88178e-10
  Prefactor  = 3.77132e-05
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  norm       = 0.268527
  Prefactor  = 1.24101e-05
  Prefactor  = 32.2163
  norm       = 3.63542
  norm       = 0
  Prefactor  = 6.66134e-10
  Prefactor  = 2.31259e-07
  norm       = 0.464723
  Prefactor  = 54.6768
  Prefactor  = 7.21379
  Prefactor  = 6.77236e-09
  Normalizat = 1.0379
  Prefactor  = 0.9567
 **********
 **   18 **HESSE 
 **********

 FCN=   4889.409     FROM HESSE     STATUS=OK           312 CALLS     1787 TOTAL
                     EDM=   .59E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.586        9.0517        .27187E-03   -1.5634    
   2  Prefactor     4.4561        16.568        .46435E-03   -1.5666    
   3  Prefactor     .88818E-09    16.337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .37713E-04    103.05        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        3.2241        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11102E-09    60.065        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .26853        2.3416        .67871E-02   -1.5718    
   8  Prefactor     .12410E-04    69.257        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     32.216        20.712        .17659E-03   -1.5594    
  10  norm          3.6354        1.3451        .52970E-03   -1.5670    
  11  norm           .0000        1.1194        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .66613E-09    227.26        .14626E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .23126E-06    58.611        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .46472        4.5306        .67557E-03   -1.5694    
  15  Prefactor     54.677        75.129        .14210E-03   -1.5560    
  16  Prefactor     7.2138        7.5686        .37463E-03   -1.5654    
  17  Prefactor     .67724E-08    20.850        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.0379        .23308        .64169E-01   -.91771    
  19  Prefactor     .95670        .16717        .45686E-01   -.94187    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.85232e-07
Minuit parameter uncertainties:
  1  9.05167
  2  16.5683
  3  0.00024372
  4  0.124682
  5  6.78986e-06
  6  0.000163147
  7  1.58593
  8  0.0586346
  9  20.7118
  10  1.34507
  11  8.98281e-08
  12  0.000774531
  13  0.00736378
  14  2.90207
  15  75.13
  16  7.56859
  17  0.000752894
  18  0.233308
  19  0.167264
Done.

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

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  3.635e+00  1.345e+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.567e-01  1.673e-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.038e+00  2.333e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 22.17
Ra Dec: 339.144 -14.556
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 1.41e-07 +/- 5.22e-08
Energy Flux (Fixed Index): 6.89e-05 +/- 2.55e-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) = 4889.3884243
delta logL = 0.0207907759068

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4889.38800147
delta logL = 0.0212136087612

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6350       1.0000          .0000       .10000E+07
     2 'alpha     '    2.1361       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0284       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96038       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=   4889.388     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      199 TOTAL
                     EDM=   .57E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6316        1.7935        .52964E-03    .38860E-03
   2  alpha         2.1361        .44919        .21162        .11944E-05
   3  Normalizat    1.0288        .22406        .64404E-01    .67429E-05
   4  Prefactor     .96021        .16473        .45770E-01   -.42746E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.63162
  alpha      = 2.13606
  Normalizat = 1.02884
  Prefactor  = 0.960214
 **********
 **   18 **HESSE 
 **********

 FCN=   4889.388     FROM HESSE     STATUS=OK            33 CALLS      232 TOTAL
                     EDM=   .33E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6316        1.3196        .46259E-05   -1.5670    
   2  alpha         2.1361        .34790        .88674E-02   -.14609    
   3  Normalizat    1.0288        .26555        .28487E-03   -.92071    
   4  Prefactor     .96021        .19547        .21756E-03   -.94068    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.25837e-13
Minuit parameter uncertainties:
  1  1.31959
  2  0.349058
  3  0.265896
  4  0.195616
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/551202': 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) = 4889.38799713
delta logL = 0.0212179525506

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  3.632e+00  1.320e+00  0.000e+00  1.000e+06 ( 1.000e-11)
258        alpha:  2.136e+00  3.491e-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.602e-01  1.956e-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.029e+00  2.659e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 22.17
Ra Dec: 339.144 -14.556
Photon Index (Free Index): 2.14 +/- 0.35
Photon Flux (Free Index): 1.51e-07 +/- 7.11e-08
Energy Flux (Free Index): 6.59e-05 +/- 2.77e-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/551202/cmap_HighResolution_688003201_688262401_4FGL_J2236.5-1433_daily_bin1731.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.41e-07', energy_flux2='6.59e-05', photon_flux_error='5.22e-08', dlogl='2.12e-02', energy_flux='6.89e-05', photon_flux2='1.51e-07', job_status='DONE', time_completed='2022-10-24 00:50:11.564471', photon_index_error2='0.35', photon_index2='2.14', ts='22.17', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='2.77e-05', EG='1.04', time_epoch_completed='1666597811.56', return_code='0', job_id='551202', GAL2='0.96', EG2='1.03', return_code2='0', energy_flux_error='2.55e-05', photon_flux_error2='7.11e-08', ts2='22.17', photon_index='2.06' WHERE bin_id='1731' AND source_name='4FGL J2236.5-1433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Oct 24 00:50:11 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0010>
Subject: Job 551202: <4FGL_J2236.5-1433_daily_bin1731> in cluster <slac> Done

Job <4FGL_J2236.5-1433_daily_bin1731> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Oct 24 00:40:25 2022
Job was executed on host(s) <bullet0010>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Oct 24 00:40:26 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Oct 24 00:40:26 2022
Terminated at Mon Oct 24 00:50:12 2022
Results reported at Mon Oct 24 00:50:12 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.5-1433_daily_bin1731 339.144 -14.5557 688003201 688262401 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 :                                   447.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             273.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   585 sec.
    Turnaround time :                            587 sec.

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

