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 56 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7491
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2236.3+2828_daily_bin1671
RA = 339.096, Dec = 28.4832
tmin = 672451201, tmax = 672710401
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='43767', job_status='RUN', time_executed='2022-04-27 01:06:41.920765', time_epoch_executed='1651046801.92' WHERE source_name='4FGL J2236.3+2828' and cadence='daily' and bin_id='1671'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/43767

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/43767/ft1_4FGL_J2236.3+2828_daily_bin1671.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/43767/ft2_4FGL_J2236.3+2828_daily_bin1671.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/43767/ft1_4FGL_J2236.3+2828_daily_bin1671.fits outfile=/scratch/kocevski/43767/ft1_filteredMKT_4FGL_J2236.3+2828_daily_bin1671.fits ra=339.096 dec=28.4832 rad=12.0 tmin=672451201.0 tmax=672710401.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 2.95
user 2.74
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/43767/ft2_4FGL_J2236.3+2828_daily_bin1671.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/43767/ft1_filteredMKT_4FGL_J2236.3+2828_daily_bin1671.fits evtable="EVENTS" outfile="/scratch/kocevski/43767/ft1_filtered_4FGL_J2236.3+2828_daily_bin1671.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.50
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 1087

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/43767/ft1_filtered_4FGL_J2236.3+2828_daily_bin1671.fits" evtable="EVENTS" scfile=/scratch/kocevski/43767/ft2_4FGL_J2236.3+2828_daily_bin1671.fits sctable="SC_DATA" outfile=/scratch/kocevski/43767/ltcube_672451201_672710401_4FGL_J2236.3+2828_daily_bin1671.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/43767/ft2_4FGL_J2236.3+2828_daily_bin1671.fits
.....................!
real 13.40
user 13.00
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/43767/ft1_filtered_4FGL_J2236.3+2828_daily_bin1671.fits evtable="EVENTS" scfile=/scratch/kocevski/43767/ft2_4FGL_J2236.3+2828_daily_bin1671.fits sctable="SC_DATA" expcube=/scratch/kocevski/43767/ltcube_672451201_672710401_4FGL_J2236.3+2828_daily_bin1671.fits outfile=/scratch/kocevski/43767/expmap_672451201_672710401_4FGL_J2236.3+2828_daily_bin1671.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/43767/ltcube_672451201_672710401_4FGL_J2236.3+2828_daily_bin1671.fits
.....................!
real 191.15
user 185.67
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 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/43767/ft1_filtered_4FGL_J2236.3+2828_daily_bin1671.fits scfile=/scratch/kocevski/43767/ft2_4FGL_J2236.3+2828_daily_bin1671.fits outfile=/scratch/kocevski/43767/cmap_672451201_672710401_4FGL_J2236.3+2828_daily_bin1671.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.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/43767/ft1_filtered_4FGL_J2236.3+2828_daily_bin1671.fits scfile=/scratch/kocevski/43767/ft2_4FGL_J2236.3+2828_daily_bin1671.fits outfile=/scratch/kocevski/43767/cmap_HighResolution_672451201_672710401_4FGL_J2236.3+2828_daily_bin1671.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.54
user 0.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/43767/ft1_filtered_4FGL_J2236.3+2828_daily_bin1671.fits', '/scratch/kocevski/43767/ft2_4FGL_J2236.3+2828_daily_bin1671.fits', expMap='/scratch/kocevski/43767/expmap_672451201_672710401_4FGL_J2236.3+2828_daily_bin1671.fits', expCube='/scratch/kocevski/43767/ltcube_672451201_672710401_4FGL_J2236.3+2828_daily_bin1671.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/43767/Model_4FGL_J2236.3+2828_daily_bin1671.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  1.000e-04  1.000e+04 ( 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  0.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/43767/ft1_filtered_4FGL_J2236.3+2828_daily_bin1671.fits
Spacecraft file(s): /scratch/kocevski/43767/ft2_4FGL_J2236.3+2828_daily_bin1671.fits
Exposure map: /scratch/kocevski/43767/expmap_672451201_672710401_4FGL_J2236.3+2828_daily_bin1671.fits
Exposure cube: /scratch/kocevski/43767/ltcube_672451201_672710401_4FGL_J2236.3+2828_daily_bin1671.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/43767/Model_4FGL_J2236.3+2828_daily_bin1671.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) = 11792.764243

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    94.486       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.2591       1.0000         .10000E-03   10000.    
     8 'norm      '    1.4554       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .68620       1.0000         .10000E-03   10000.    
    12 'Prefactor '    69.525       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.2163       1.0000         .10000E-03   10000.    
    15 'Prefactor '    22.993       1.0000         .10000E-03   10000.    
    16 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.271       1.0000         .10000E-03   10000.    
    19 'norm      '    4.2281       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .63157       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0310       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=   11792.76     FROM MIGRAD    STATUS=CONVERGED    476 CALLS     2352 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.5465        .90712E-02** at limit **
   2  norm          .10000E-03    .19910        .26957E-01** at limit **
   3  Prefactor     .10007E-03    20.328        .90712E-02** at limit **
   4  Prefactor     .10000E-03    11.958        .90712E-02** at limit **
   5  norm          .10000E-03    1.3991        .90712E-02** at limit **
   6  Prefactor     94.486        69.078        .10337E-02    .84227E-03
   7  Prefactor     5.2586        9.9371        .43818E-02    .18016E-03
   8  norm          1.4555        .72746        .89224E-02    .14292E-03
   9  Prefactor     .10000E-03    35.080        .90712E-02** at limit **
  10  Prefactor     .10000E-03    4.6634        .90712E-02** at limit **
  11  norm          .68556        1.4232        .40222E-01    .22124E-02
  12  Prefactor     69.529        15.595        .12035E-02   -.70844E-03
  13  Prefactor     .10000E-03    3.8757        .90712E-02** at limit **
  14  Prefactor     2.2163        7.9921        .69063E-02    .39142E-03
  15  Prefactor     22.994        18.311        .20883E-02   -.42465E-03
  16  norm          .10000E-03    .57943        .29128E-01** at limit **
  17  Prefactor     .10000E-03    5.7744        .90712E-02** at limit **
  18  Prefactor     10.270        15.040        .31256E-02    .34590E-04
  19  norm          4.2269        4.3685        .48992E-02   -.12550E-02
  20  Prefactor     .10006E-03    18.681        .90712E-02** at limit **
  21  Normalizat    .63154        .18631        .97856E-01    .71955E-04
  22  Prefactor     1.0310        .82552E-01    .41181E-01   -.10386E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100067
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 94.4859
  Prefactor  = 5.25861
  norm       = 1.45548
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.685564
  Prefactor  = 69.5289
  Prefactor  = 0.0001
  Prefactor  = 2.21626
  Prefactor  = 22.9944
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.27
  norm       = 4.22692
  Prefactor  = 0.000100056
  Normalizat = 0.631544
  Prefactor  = 1.03099
 **********
 **   18 **HESSE 
 **********

 FCN=   11792.76     FROM HESSE     STATUS=OK           340 CALLS     2692 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.6589        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .35946        .93480E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10007E-03    20.387        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    12.104        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.4134        .12542E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     94.486        69.027        .41347E-04   -1.3761    
   7  Prefactor     5.2586        9.9112        .17527E-03   -1.5249    
   8  norm          1.4555        .72209        .63185E-04   -1.5467    
   9  Prefactor     .10000E-03    35.129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.6708        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .68556        1.4027        .17115E-03   -1.5542    
  12  Prefactor     69.529        15.223        .48141E-04   -1.4038    
  13  Prefactor     .10000E-03    3.8787        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.2163        7.9598        .27625E-03   -1.5410    
  15  Prefactor     22.994        18.280        .83534E-04   -1.4749    
  16  norm          .10000E-03    1.0825        .15841E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    5.7881        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     10.270        15.030        .12502E-03   -1.5067    
  19  norm          4.2269        4.3419        .19597E-03   -1.5297    
  20  Prefactor     .10006E-03    18.875        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .63154        .20631        .43367E-03   -1.0666    
  22  Prefactor     1.0310        .92967E-01    .15998E-03   -.91704    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16283e-08
Minuit parameter uncertainties:
  1  7.50267e-07
  2  3.64182e-07
  3  0.00234435
  4  9.82965e-05
  5  8.5349e-07
  6  69.086
  7  9.91426
  8  0.722098
  9  0.000488725
  10  5.48381e-06
  11  1.40274
  12  15.2242
  13  7.3151e-06
  14  7.96363
  15  18.2849
  16  4.45741e-07
  17  4.8549e-06
  18  15.035
  19  4.34217
  20  0.0020651
  21  0.206565
  22  0.0929814
Done.

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

Extracting fit parameters...

4FGL J2236.3+2828
   Spectrum: LogParabola
286         norm:  1.455e+00  7.221e-01  1.000e-04  1.000e+04 ( 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  0.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.031e+00  9.298e-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:  6.315e-01  2.066e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.96
Ra Dec: 339.096 28.483
Photon Index (Fixed Index): 2.15 +/- 0.00
Photon Flux (Fixed Index): 4.67e-08 +/- 2.32e-08
Energy Flux (Fixed Index): 1.89e-05 +/- 9.39e-06

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) = 11792.6849725
delta logL = 0.0786927227455

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11792.6840783
delta logL = 0.079586971593

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4513       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9656       1.0000          .0000       5.0000    
     3 'Normalizat'    .63982       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0288       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=   11792.68     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      207 TOTAL
                     EDM=   .69E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4513        1.6213         .0000        .43654E-03
   2  alpha         1.9656        .82903         .0000       -.56510E-05
   3  Normalizat    .63982        .17861         .0000        .60645E-04
   4  Prefactor     1.0288        .82502E-01     .0000       -.14014E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.45126
  alpha      = 1.96561
  Normalizat = 0.639817
  Prefactor  = 1.02879
 **********
 **   18 **HESSE 
 **********

 FCN=   11792.68     FROM HESSE     STATUS=OK            33 CALLS      240 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4513        .73067        .63907E-04   -1.5467    
   2  alpha         1.9656        .44189        .16337E-01   -.21542    
   3  Normalizat    .63982        .19859        .43101E-03   -1.0632    
   4  Prefactor     1.0288        .92219E-01    .16013E-03   -.91776    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.941e-11
Minuit parameter uncertainties:
  1  0.730679
  2  0.444332
  3  0.198812
  4  0.0922328
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/43767': 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) = 11792.6840783
delta logL = 0.079586971593

Extracting fit parameters...

4FGL J2236.3+2828
   Spectrum: LogParabola
286         norm:  1.451e+00  7.307e-01  1.000e-04  1.000e+04 ( 1.000e-11)
287        alpha:  1.966e+00  4.443e-01  0.000e+00  5.000e+00 ( 1.000e+00)
288         beta:  1.046e-01  0.000e+00  0.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.029e+00  9.223e-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:  6.398e-01  1.988e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.09
Ra Dec: 339.096 28.483
Photon Index (Free Index): 1.97 +/- 0.44
Photon Flux (Free Index): 4.04e-08 +/- 2.52e-08
Energy Flux (Free Index): 2.11e-05 +/- 1.25e-05

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/43767/cmap_HighResolution_672451201_672710401_4FGL_J2236.3+2828_daily_bin1671.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.67e-08', energy_flux2='2.11e-05', photon_flux_error='2.32e-08', dlogl='7.96e-02', energy_flux='1.89e-05', photon_flux2='4.04e-08', job_status='DONE', time_completed='2022-04-27 01:19:41.850100', photon_index_error2='0.44', photon_index2='1.97', ts='9.96', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='1.25e-05', EG='0.63', time_epoch_completed='1651047581.85', return_code='0', job_id='43767', GAL2='1.03', EG2='0.64', return_code2='0', energy_flux_error='9.39e-06', photon_flux_error2='2.52e-08', ts2='10.09', photon_index='2.15' WHERE bin_id='1671' AND source_name='4FGL J2236.3+2828' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Apr 27 01:19:41 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0181>
Subject: Job 43767: <4FGL_J2236.3+2828_daily_bin1671> in cluster <slac> Done

Job <4FGL_J2236.3+2828_daily_bin1671> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Apr 27 01:05:35 2022
Job was executed on host(s) <bullet0181>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Apr 27 01:05:36 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Apr 27 01:05:36 2022
Terminated at Wed Apr 27 01:19:42 2022
Results reported at Wed Apr 27 01:19:42 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.3+2828_daily_bin1671 339.096 28.4832 672451201 672710401 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 :                                   782.16 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             338.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   846 sec.
    Turnaround time :                            847 sec.

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

