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


Performing analysis on: 4FGL_J2236.5-1433_daily_bin1764
RA = 339.144, Dec = -14.5557
tmin = 696556801, tmax = 696816001
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='466091', job_status='RUN', time_executed='2023-01-31 02:02:58.232636', time_epoch_executed='1675159378.23' WHERE source_name='4FGL J2236.5-1433' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/466091

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/466091/ft1_4FGL_J2236.5-1433_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/466091/ft2_4FGL_J2236.5-1433_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/466091/ft1_4FGL_J2236.5-1433_daily_bin1764.fits outfile=/scratch/kocevski/466091/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1764.fits ra=339.144 dec=-14.5557 rad=12.0 tmin=696556801.0 tmax=696816001.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.75
user 3.50
sys 0.22

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

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

Number of photons that the gtmktime cut: 403

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/466091/ft1_filtered_4FGL_J2236.5-1433_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/466091/ft2_4FGL_J2236.5-1433_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/466091/ltcube_696556801_696816001_4FGL_J2236.5-1433_daily_bin1764.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/466091/ft2_4FGL_J2236.5-1433_daily_bin1764.fits
.....................!
real 16.69
user 16.11
sys 0.42

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/466091/ft1_filtered_4FGL_J2236.5-1433_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/466091/ft2_4FGL_J2236.5-1433_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/466091/ltcube_696556801_696816001_4FGL_J2236.5-1433_daily_bin1764.fits outfile=/scratch/kocevski/466091/expmap_696556801_696816001_4FGL_J2236.5-1433_daily_bin1764.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/466091/ltcube_696556801_696816001_4FGL_J2236.5-1433_daily_bin1764.fits
.....................!
real 195.07
user 187.71
sys 6.29

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/466091/ft1_filtered_4FGL_J2236.5-1433_daily_bin1764.fits scfile=/scratch/kocevski/466091/ft2_4FGL_J2236.5-1433_daily_bin1764.fits outfile=/scratch/kocevski/466091/cmap_696556801_696816001_4FGL_J2236.5-1433_daily_bin1764.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.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/466091/ft1_filtered_4FGL_J2236.5-1433_daily_bin1764.fits scfile=/scratch/kocevski/466091/ft2_4FGL_J2236.5-1433_daily_bin1764.fits outfile=/scratch/kocevski/466091/cmap_HighResolution_696556801_696816001_4FGL_J2236.5-1433_daily_bin1764.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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/466091/ft1_filtered_4FGL_J2236.5-1433_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/466091/ft2_4FGL_J2236.5-1433_daily_bin1764.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/466091/Model_4FGL_J2236.5-1433_daily_bin1764.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/466091/ft1_filtered_4FGL_J2236.5-1433_daily_bin1764.fits.....................!
real 44.60
user 42.89
sys 1.41

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2372       1.0000          .0000       .10000E+07
     2 'Prefactor '    8.7447       1.0000          .0000       .10000E+07
     3 'Prefactor '    10.935       1.0000          .0000       .10000E+07
     4 'Prefactor '    .12357E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    11.161       1.0000          .0000       .10000E+07
     6 'Prefactor '    .38775E-01   1.0000          .0000       .10000E+07
     7 'norm      '    .67912E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .11993       1.0000          .0000       .10000E+07
     9 'Prefactor '    .21134E-01   1.0000          .0000       .10000E+07
    10 'norm      '    1.0935       1.0000          .0000       .10000E+07
    11 'norm      '    .77714E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    80.683       1.0000          .0000       .10000E+07
    13 'Prefactor '    .20476E-02   1.0000          .0000       .10000E+07
    14 'norm      '    1.3554       1.0000          .0000       .10000E+07
    15 'Prefactor '    36.942       1.0000          .0000       .10000E+07
    16 'Prefactor '    .58097E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    6.6746       1.0000          .0000       .10000E+07
    18 'Normalizat'    .86412       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0811       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=   4585.806     FROM MIGRAD    STATUS=CONVERGED    135 CALLS     1462 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2046        9.6886       -.29964E-07   -.31572E-02
   2  Prefactor     8.7344        15.701        .15565E-07    .14216E-01
   3  Prefactor     10.928        7.2467        .27040E-07   -.58930E-01
   4  Prefactor     .42744E-08    5.9316        .22828E-06** at limit **
   5  Prefactor     11.158        5.5240       -.41892E-07   -.20416E-02
   6  Prefactor     .16653E-09    32.871       -.32171E-06** at limit **
   7  norm          .14821E-07    6.3476       -.43100E-07** at limit **
   8  Prefactor     .21549E-06    43.071       -.38754E-07** at limit **
   9  Prefactor     .11102E-09    11.484        .25155E-06** at limit **
  10  norm          1.0937        .90733       -.15208E-07   -.20025E-02
  11  norm          .55511E-10    4.3903        .38068E-07** at limit **
  12  Prefactor     80.410        11.802       -.15895E-07    .10651    
  13  Prefactor     .16653E-09    42.944        .17402E-06** at limit **
  14  norm          1.3530        1.5102       -.16590E-07   -.10343E-02
  15  Prefactor     37.114        33.856        .63599E-07    .16848E-01
  16  Prefactor     .55511E-10    2.7769        .20394E-07** at limit **
  17  Prefactor     6.6967        1.9208       -.58931E-08   -.33209E-02
  18  Normalizat    .86460        .26687        .25985E-05   -.31030E-05
  19  Prefactor     1.0810        .20444       -.19209E-05   -.50109E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.20463
  Prefactor  = 8.73437
  Prefactor  = 10.9277
  Prefactor  = 4.27436e-09
  Prefactor  = 11.1582
  Prefactor  = 1.66533e-10
  norm       = 1.48215e-08
  Prefactor  = 2.15494e-07
  Prefactor  = 1.11022e-10
  norm       = 1.09372
  norm       = 5.55112e-11
  Prefactor  = 80.4103
  Prefactor  = 1.66533e-10
  norm       = 1.35296
  Prefactor  = 37.1139
  Prefactor  = 5.55112e-11
  Prefactor  = 6.69668
  Normalizat = 0.864602
  Prefactor  = 1.08101
 **********
 **   18 **HESSE 
 **********

 FCN=   4585.806     FROM HESSE     STATUS=OK           304 CALLS     1766 TOTAL
                     EDM=   .68E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2046        9.7407        .48927E-03   -1.5667    
   2  Prefactor     8.7344        17.905        .33872E-03   -1.5649    
   3  Prefactor     10.928        13.779        .30272E-03   -1.5642    
   4  Prefactor     .42744E-08    5.9721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.158        5.5303        .29963E-03   -1.5641    
   6  Prefactor     .16653E-09    32.842        .16019E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .14821E-07    6.3787        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .21549E-06    44.811        .13422E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .11102E-09    11.254        .16963E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.0937        .92046        .11412E-02   -1.5687    
  11  norm          .55511E-10    4.3768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     80.410        61.913        .11134E-03   -1.5529    
  13  Prefactor     .16653E-09    42.911        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.3530        1.5669        .93860E-03   -1.5685    
  15  Prefactor     37.114        35.478        .16455E-03   -1.5586    
  16  Prefactor     .55511E-10    2.7797        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.6967        31.539        .38816E-03   -1.5656    
  18  Normalizat    .86460        .23213        .67605E-01   -.97715    
  19  Prefactor     1.0810        .17420        .38351E-01   -.90076    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.76339e-07
Minuit parameter uncertainties:
  1  9.74072
  2  17.9055
  3  13.7795
  4  0.000319837
  5  5.53028
  6  0.000153332
  7  0.000614765
  8  0.00621518
  9  7.60345e-05
  10  0.920459
  11  3.78659e-05
  12  61.9136
  13  0.000178435
  14  1.56692
  15  35.4785
  16  1.8571e-05
  17  29.0663
  18  0.232394
  19  0.174287
Done.

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

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  1.094e+00  9.205e-01  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:  1.081e+00  1.743e-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:  8.646e-01  2.324e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.37
Ra Dec: 339.144 -14.556
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 4.24e-08 +/- 3.57e-08
Energy Flux (Fixed Index): 2.07e-05 +/- 1.75e-05

TS (Fixed Index): 3.37
Ra Dec: 339.144 -14.556
Photon Flux Upper Limit: 1.29e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.28e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/466091/likelihoodResults_696556801_696816001_4FGL_J2236.5-1433_daily_bin1764.txt

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) = 4585.80139777
delta logL = 0.00447195151901

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4585.80128462
delta logL = 0.00458511116176

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0998       1.0000          .0000       .10000E+07
     2 'alpha     '    2.1321       1.0000          .0000       5.0000    
     3 'Normalizat'    .86166       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0821       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=   4585.801     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      196 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0999        31.534        .11331E-02   -.12411E-01
   2  alpha         2.1319        2.7226        .41729       -.17111E-04
   3  Normalizat    .86167        .11937        .67705E-01    .12942E-04
   4  Prefactor     1.0821        .91301E-01    .38309E-01    .36301E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.09992
  alpha      = 2.1319
  Normalizat = 0.861673
  Prefactor  = 1.08211
 **********
 **   18 **HESSE 
 **********

 FCN=   4585.801     FROM HESSE     STATUS=OK            33 CALLS      229 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0999        .89910        .56643E-05   -1.5687    
   2  alpha         2.1319        .69645        .15244E-01   -.14778    
   3  Normalizat    .86167        .26498        .29954E-03   -.97820    
   4  Prefactor     1.0821        .20275        .20632E-03   -.90040    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6731e-10
Minuit parameter uncertainties:
  1  0.899104
  2  0.706001
  3  0.265375
  4  0.202891
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/466091': 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) = 4585.80128457
delta logL = 0.00458515255923

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  1.100e+00  8.991e-01  0.000e+00  1.000e+06 ( 1.000e-11)
258        alpha:  2.132e+00  7.060e-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:  1.082e+00  2.029e-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:  8.617e-01  2.654e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.37
Ra Dec: 339.144 -14.556
Photon Index (Free Index): 2.13 +/- 0.71
Photon Flux (Free Index): 4.54e-08 +/- 4.78e-08
Energy Flux (Free Index): 2.00e-05 +/- 1.81e-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/466091/cmap_HighResolution_696556801_696816001_4FGL_J2236.5-1433_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.28e-05', comment='SUCCESS', photon_flux='4.24e-08', energy_flux2='2.00e-05', photon_flux_error='3.57e-08', dlogl='4.59e-03', energy_flux='2.07e-05', photon_flux2='4.54e-08', job_status='DONE', time_completed='2023-01-31 02:10:43.847229', photon_index_error2='0.71', photon_index2='2.13', ts='3.37', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='1.29e-07', energy_flux_error2='1.81e-05', EG='0.86', time_epoch_completed='1675159843.85', return_code='0', job_id='466091', GAL2='1.08', EG2='0.86', return_code2='0', energy_flux_error='1.75e-05', photon_flux_error2='4.78e-08', ts2='3.37', photon_index='2.06' WHERE bin_id='1764' AND source_name='4FGL J2236.5-1433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 02:10:43 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 466091: <4FGL_J2236.5-1433_daily_bin1764> in cluster <slac> Done

Job <4FGL_J2236.5-1433_daily_bin1764> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Jan 31 02:00:34 2023
Job was executed on host(s) <bullet0057>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 02:01:45 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 02:01:45 2023
Terminated at Tue Jan 31 02:10:44 2023
Results reported at Tue Jan 31 02:10:44 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.5-1433_daily_bin1764 339.144 -14.5557 696556801 696816001 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 :                                   467.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             363.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   539 sec.
    Turnaround time :                            610 sec.

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

