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


Performing analysis on: 4FGL_J2236.3+2828_daily_bin1747
RA = 339.096, Dec = 28.4832
tmin = 692150401, tmax = 692409601
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='814883', job_status='RUN', time_executed='2022-12-11 01:48:41.200073', time_epoch_executed='1670752121.2' WHERE source_name='4FGL J2236.3+2828' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/814883

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/814883/ft1_4FGL_J2236.3+2828_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/814883/ft2_4FGL_J2236.3+2828_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/814883/ft1_4FGL_J2236.3+2828_daily_bin1747.fits outfile=/scratch/kocevski/814883/ft1_filteredMKT_4FGL_J2236.3+2828_daily_bin1747.fits ra=339.096 dec=28.4832 rad=12.0 tmin=692150401.0 tmax=692409601.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.98
user 3.75
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/814883/ft2_4FGL_J2236.3+2828_daily_bin1747.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/814883/ft2_4FGL_J2236.3+2828_daily_bin1747.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/814883/ft1_filteredMKT_4FGL_J2236.3+2828_daily_bin1747.fits evtable="EVENTS" outfile="/scratch/kocevski/814883/ft1_filtered_4FGL_J2236.3+2828_daily_bin1747.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: 955

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/814883/ft1_filtered_4FGL_J2236.3+2828_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/814883/ft2_4FGL_J2236.3+2828_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/814883/ltcube_692150401_692409601_4FGL_J2236.3+2828_daily_bin1747.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/814883/ft2_4FGL_J2236.3+2828_daily_bin1747.fits
.....................!
real 12.12
user 11.75
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/814883/ft1_filtered_4FGL_J2236.3+2828_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/814883/ft2_4FGL_J2236.3+2828_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/814883/ltcube_692150401_692409601_4FGL_J2236.3+2828_daily_bin1747.fits outfile=/scratch/kocevski/814883/expmap_692150401_692409601_4FGL_J2236.3+2828_daily_bin1747.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/814883/ltcube_692150401_692409601_4FGL_J2236.3+2828_daily_bin1747.fits
.....................!
real 190.74
user 185.05
sys 5.38

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 155 point sources and 0 extended sources

Setting source of interest to:
4FGL J2236.3+2828 @ 339.096 28.4832

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/814883/ft1_filtered_4FGL_J2236.3+2828_daily_bin1747.fits scfile=/scratch/kocevski/814883/ft2_4FGL_J2236.3+2828_daily_bin1747.fits outfile=/scratch/kocevski/814883/cmap_692150401_692409601_4FGL_J2236.3+2828_daily_bin1747.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.096 yref=28.4832 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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/814883/ft1_filtered_4FGL_J2236.3+2828_daily_bin1747.fits scfile=/scratch/kocevski/814883/ft2_4FGL_J2236.3+2828_daily_bin1747.fits outfile=/scratch/kocevski/814883/cmap_HighResolution_692150401_692409601_4FGL_J2236.3+2828_daily_bin1747.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.096 yref=28.4832 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/814883/ft1_filtered_4FGL_J2236.3+2828_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/814883/ft2_4FGL_J2236.3+2828_daily_bin1747.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/814883/Model_4FGL_J2236.3+2828_daily_bin1747.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/814883/ft1_filtered_4FGL_J2236.3+2828_daily_bin1747.fits.....................!
real 105.95
user 104.55
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/814883/ft1_filtered_4FGL_J2236.3+2828_daily_bin1747.fits', '/scratch/kocevski/814883/ft2_4FGL_J2236.3+2828_daily_bin1747.fits', expMap='/scratch/kocevski/814883/expmap_692150401_692409601_4FGL_J2236.3+2828_daily_bin1747.fits', expCube='/scratch/kocevski/814883/ltcube_692150401_692409601_4FGL_J2236.3+2828_daily_bin1747.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/814883/Model_4FGL_J2236.3+2828_daily_bin1747.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2236.3+2828'

4FGL J2236.3+2828
   Spectrum: LogParabola
286         norm:  2.238e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
287        alpha:  2.146e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
288         beta:  1.046e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  5.754e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/814883/ft1_filtered_4FGL_J2236.3+2828_daily_bin1747.fits
Spacecraft file(s): /scratch/kocevski/814883/ft2_4FGL_J2236.3+2828_daily_bin1747.fits
Exposure map: /scratch/kocevski/814883/expmap_692150401_692409601_4FGL_J2236.3+2828_daily_bin1747.fits
Exposure cube: /scratch/kocevski/814883/ltcube_692150401_692409601_4FGL_J2236.3+2828_daily_bin1747.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/814883/Model_4FGL_J2236.3+2828_daily_bin1747.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) = 9853.55942873

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.9305       1.0000          .0000       .10000E+07
     2 'norm      '    .42411E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .16916E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .80218E-02   1.0000          .0000       .10000E+07
     5 'norm      '    .17122E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .41062E-01   1.0000          .0000       .10000E+07
     7 'norm      '    .57898E-07   1.0000          .0000       .10000E+07
     8 'norm      '    3.4988       1.0000          .0000       .10000E+07
     9 'Prefactor '    5.3517       1.0000          .0000       .10000E+07
    10 'Prefactor '    .32652E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .34586E-05   1.0000          .0000       .10000E+07
    12 'norm      '    1.1481       1.0000          .0000       .10000E+07
    13 'Prefactor '    12.418       1.0000          .0000       .10000E+07
    14 'Prefactor '    112.88       1.0000          .0000       .10000E+07
    15 'norm      '    .18101E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    37.043       1.0000          .0000       .10000E+07
    17 'Normalizat'    .97230       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0721       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9851.907     FROM MIGRAD    STATUS=CONVERGED    116 CALLS      863 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.9339        7.0135        .47745E-06    .84685E-02
   2  norm           .0000        .26448        .25291E-07** at limit **
   3  Prefactor     .56927E-06    10.185       -.22800E-05** at limit **
   4  Prefactor     .50004E-06    9.4710        .32866E-05** at limit **
   5  norm          .16653E-09    1.7840       -.92003E-06** at limit **
   6  Prefactor     .28311E-08    32.995        .49126E-05** at limit **
   7  norm          .55511E-09    6.8684       -.65510E-06** at limit **
   8  norm          3.4987        1.6639        .39033E-06    .15575E-02
   9  Prefactor     5.3495        5.7862       -.17035E-07    .11200E-02
  10  Prefactor     .49960E-09    4.8679       -.10059E-06** at limit **
  11  Prefactor     .98560E-06    4.8972        .19692E-05** at limit **
  12  norm          1.1478        1.0162       -.29960E-06    .57776E-02
  13  Prefactor     12.256        8.6015       -.80918E-06    .52519E-01
  14  Prefactor     113.06        6.9722        .24601E-06   -.35478    
  15  norm          .28139E-06    3.0567        .12146E-05** at limit **
  16  Prefactor     37.028        16.963        .29688E-06    .69187E-01
  17  Normalizat    .97263        .23717       -.39793E-04   -.31851E-04
  18  Prefactor     1.0721        .11219        .23553E-04   -.26890E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.93387
  norm       = 0
  Prefactor  = 5.69267e-07
  Prefactor  = 5.00044e-07
  norm       = 1.66533e-10
  Prefactor  = 2.83107e-09
  norm       = 5.55112e-10
  norm       = 3.49874
  Prefactor  = 5.34951
  Prefactor  = 4.996e-10
  Prefactor  = 9.856e-07
  norm       = 1.14779
  Prefactor  = 12.2558
  Prefactor  = 113.059
  norm       = 2.81386e-07
  Prefactor  = 37.0281
  Normalizat = 0.972628
  Prefactor  = 1.07207
 **********
 **   18 **HESSE 
 **********

 FCN=   9851.907     FROM HESSE     STATUS=OK           290 CALLS     1153 TOTAL
                     EDM=   .30E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.9339        7.0236        .38085E-03   -1.5655    
   2  norm           .0000        .26280        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .56927E-06    11.126        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .50004E-06    14.999        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .16653E-09    1.7832        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .28311E-08    4.0846        .10914E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .55511E-09    .69161        .27114E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.4987        1.6640        .54028E-03   -1.5671    
   9  Prefactor     5.3495        5.8009        .43418E-03   -1.5662    
  10  Prefactor     .49960E-09    4.9044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .98560E-06    12.461        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.1478        1.0412        .10808E-02   -1.5687    
  13  Prefactor     12.256        22.139        .28401E-03   -1.5638    
  14  Prefactor     113.06        45.288        .94129E-04   -1.5495    
  15  norm          .28139E-06    15.487        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     37.028        21.273        .16432E-03   -1.5586    
  17  Normalizat    .97263        .21650        .88007E-01   -.93953    
  18  Prefactor     1.0721        .97883E-01    .38757E-01   -.90364    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03275e-06
Minuit parameter uncertainties:
  1  7.02366
  2  7.23082e-07
  3  0.00503327
  4  0.00547718
  5  3.20041e-05
  6  0.000215357
  7  3.95924e-05
  8  1.66397
  9  5.80092
  10  0.000100226
  11  0.00700915
  12  1.04118
  13  22.1396
  14  45.2882
  15  0.00417527
  16  21.2727
  17  0.216692
  18  0.0978991
Done.

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

Extracting fit parameters...

4FGL J2236.3+2828
   Spectrum: LogParabola
286         norm:  5.551e-10  3.959e-05  0.000e+00  1.000e+06 ( 1.000e-11)
287        alpha:  2.146e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
288         beta:  1.046e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  5.754e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.072e+00  9.790e-02  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  9.726e-01  2.167e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 339.096 28.483
Photon Flux Upper Limit: 7.75e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.14e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/814883/likelihoodResults_692150401_692409601_4FGL_J2236.3+2828_daily_bin1747.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) = 9851.74870012
delta logL = 0.158222142247

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9851.74705
delta logL = 0.159872266426

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .98639E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    4.0071       1.0000          .0000       5.0000    
     3 'Normalizat'    .92652       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0844       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9851.747     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      275 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .98906E-01    2.0827        .12012E-02** at limit **
   2  alpha         4.0050        3.8515        .50000        .82734E-04
   3  Normalizat    .92659        .31429E-01    .90022E-01    .29961E-04
   4  Prefactor     1.0844        .14880E-01    .38213E-01   -.12320E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0989056
  alpha      = 4.00499
  Normalizat = 0.926586
  Prefactor  = 1.08435
 **********
 **   18 **HESSE 
 **********

 FCN=   9851.747     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      310 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .98906E-01    14.015        .49074E-04   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         4.0050        4.3956        .55910E-01    .64600    
   3  Normalizat    .92659        .13292        .39867E-03   -.95532    
   4  Prefactor     1.0844        .63677E-01    .17504E-03   -.89968    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.49817e-06
Minuit parameter uncertainties:
  1  2.35472
  2  16.1363
  3  0.132965
  4  0.063681
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/814883': 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): 102
logL (Free Index) = 9851.74704986
delta logL = 0.159872399374

Extracting fit parameters...

4FGL J2236.3+2828
   Spectrum: LogParabola
286         norm:  9.891e-02  2.355e+00  0.000e+00  1.000e+06 ( 1.000e-11)
287        alpha:  4.005e+00  1.614e+01  0.000e+00  5.000e+00 ( 1.000e+00)
288         beta:  1.046e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  5.754e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.084e+00  6.368e-02  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  9.266e-01  1.330e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 339.096 28.483

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/814883/cmap_HighResolution_692150401_692409601_4FGL_J2236.3+2828_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.14e-05', job_status='DONE', photon_flux_upper_limit='7.75e-08', time_completed='2022-12-11 01:58:41.499343', job_id='814883', GAL2='1.08', fit_tolerance='1e-08', EG2='0.93', EG='0.97', time_epoch_completed='1670752721.5', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='1.60e-01', ts2='0.37', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='1747' AND source_name='4FGL J2236.3+2828' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 01:58:41 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0254>
Subject: Job 814883: <4FGL_J2236.3+2828_daily_bin1747> in cluster <slac> Done

Job <4FGL_J2236.3+2828_daily_bin1747> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Dec 11 01:45:17 2022
Job was executed on host(s) <bullet0254>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 01:45:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 01:45:18 2022
Terminated at Sun Dec 11 01:58:42 2022
Results reported at Sun Dec 11 01:58:42 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.3+2828_daily_bin1747 339.096 28.4832 692150401 692409601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2236.3+2828 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   603.00 sec.
    Max Memory :                                 1092 MB
    Average Memory :                             276.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   803 sec.
    Turnaround time :                            805 sec.

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

