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


Performing analysis on: 4FGL_J2236.3+2828_daily_bin1675
RA = 339.096, Dec = 28.4832
tmin = 673488001, tmax = 673747201
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='884165', job_status='RUN', time_executed='2022-05-09 01:28:43.401405', time_epoch_executed='1652084923.4' WHERE source_name='4FGL J2236.3+2828' and cadence='daily' and bin_id='1675'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/884165

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/884165/ft1_4FGL_J2236.3+2828_daily_bin1675.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/884165/ft2_4FGL_J2236.3+2828_daily_bin1675.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/884165/ft1_4FGL_J2236.3+2828_daily_bin1675.fits outfile=/scratch/kocevski/884165/ft1_filteredMKT_4FGL_J2236.3+2828_daily_bin1675.fits ra=339.096 dec=28.4832 rad=12.0 tmin=673488001.0 tmax=673747201.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.59
user 2.38
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/884165/ft1_filtered_4FGL_J2236.3+2828_daily_bin1675.fits" evtable="EVENTS" scfile=/scratch/kocevski/884165/ft2_4FGL_J2236.3+2828_daily_bin1675.fits sctable="SC_DATA" outfile=/scratch/kocevski/884165/ltcube_673488001_673747201_4FGL_J2236.3+2828_daily_bin1675.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/884165/ft2_4FGL_J2236.3+2828_daily_bin1675.fits
.....................!
real 15.68
user 15.28
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/884165/ft1_filtered_4FGL_J2236.3+2828_daily_bin1675.fits evtable="EVENTS" scfile=/scratch/kocevski/884165/ft2_4FGL_J2236.3+2828_daily_bin1675.fits sctable="SC_DATA" expcube=/scratch/kocevski/884165/ltcube_673488001_673747201_4FGL_J2236.3+2828_daily_bin1675.fits outfile=/scratch/kocevski/884165/expmap_673488001_673747201_4FGL_J2236.3+2828_daily_bin1675.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/884165/ltcube_673488001_673747201_4FGL_J2236.3+2828_daily_bin1675.fits
.....................!
real 191.71
user 186.43
sys 4.27

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/884165/ft1_filtered_4FGL_J2236.3+2828_daily_bin1675.fits scfile=/scratch/kocevski/884165/ft2_4FGL_J2236.3+2828_daily_bin1675.fits outfile=/scratch/kocevski/884165/cmap_673488001_673747201_4FGL_J2236.3+2828_daily_bin1675.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.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/884165/ft1_filtered_4FGL_J2236.3+2828_daily_bin1675.fits scfile=/scratch/kocevski/884165/ft2_4FGL_J2236.3+2828_daily_bin1675.fits outfile=/scratch/kocevski/884165/cmap_HighResolution_673488001_673747201_4FGL_J2236.3+2828_daily_bin1675.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.56
user 0.41
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/884165/ft1_filtered_4FGL_J2236.3+2828_daily_bin1675.fits', '/scratch/kocevski/884165/ft2_4FGL_J2236.3+2828_daily_bin1675.fits', expMap='/scratch/kocevski/884165/expmap_673488001_673747201_4FGL_J2236.3+2828_daily_bin1675.fits', expCube='/scratch/kocevski/884165/ltcube_673488001_673747201_4FGL_J2236.3+2828_daily_bin1675.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/884165/Model_4FGL_J2236.3+2828_daily_bin1675.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/884165/ft1_filtered_4FGL_J2236.3+2828_daily_bin1675.fits
Spacecraft file(s): /scratch/kocevski/884165/ft2_4FGL_J2236.3+2828_daily_bin1675.fits
Exposure map: /scratch/kocevski/884165/expmap_673488001_673747201_4FGL_J2236.3+2828_daily_bin1675.fits
Exposure cube: /scratch/kocevski/884165/ltcube_673488001_673747201_4FGL_J2236.3+2828_daily_bin1675.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/884165/Model_4FGL_J2236.3+2828_daily_bin1675.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) = 10275.7061157

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10226E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.835       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11183E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.0117       1.0000         .10000E-03   10000.    
     8 'norm      '    3.7564       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.428       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.4971       1.0000         .10000E-03   10000.    
    11 'norm      '    1.1555       1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.6170       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .66661       1.0000         .10000E-03   10000.    
    15 'Prefactor '    17.940       1.0000         .10000E-03   10000.    
    16 'norm      '    1.0244       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    50.565       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .68042       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1070       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10275.69     FROM MIGRAD    STATUS=CONVERGED    470 CALLS     2424 TOTAL
                     EDM=   .26E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.2281        .13383E-06** at limit **
   2  norm          .10000E-03    .20810        .44557E-07** at limit **
   3  Prefactor     .10000E-03    95.835       -.18292E-04** at limit **
   4  Prefactor     13.829        13.506        .32603E-05   -.79886E-06
   5  norm          .10000E-03    1.9507        .81777E-07** at limit **
   6  Prefactor     .10000E-03    93.353        .16934E-04** at limit **
   7  Prefactor     6.0128        7.8125       -.58980E-06   -.11016E-04
   8  norm          3.7562        1.2263        .10640E-07   -.10031E-03
   9  Prefactor     13.431        40.758        .30844E-05    .25819E-06
  10  Prefactor     4.4975        9.1577        .10207E-06   -.13124E-04
  11  norm          1.1555        1.0212       -.30976E-07    .14407E-04
  12  Prefactor     9.6180        8.7302        .31070E-07   -.58273E-05
  13  Prefactor     .10000E-03    8.9466        .23413E-06** at limit **
  14  Prefactor     .66748        .48480       -.29683E-08   -.17953E-03
  15  Prefactor     17.941        19.760       -.26837E-06    .51684E-06
  16  norm          1.0246        1.2801       -.60702E-07    .48175E-05
  17  Prefactor     .10000E-03    15.431       -.36899E-06** at limit **
  18  Prefactor     .10000E-03    21.952       -.62455E-06** at limit **
  19  norm          .10000E-03    3.3597        .91218E-08** at limit **
  20  Prefactor     50.560        22.841       -.45703E-06    .43763E-05
  21  Normalizat    .68023        .21323       -.33227E-06    .20455E-04
  22  Prefactor     1.1071        .95409E-01    .15107E-06    .51802E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.8289
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.01277
  norm       = 3.75616
  Prefactor  = 13.4305
  Prefactor  = 4.49746
  norm       = 1.15554
  Prefactor  = 9.61803
  Prefactor  = 0.0001
  Prefactor  = 0.667479
  Prefactor  = 17.9414
  norm       = 1.02464
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 50.5599
  Normalizat = 0.680235
  Prefactor  = 1.10705
 **********
 **   18 **HESSE 
 **********

 FCN=   10275.69     FROM HESSE     STATUS=OK           346 CALLS     2770 TOTAL
                     EDM=   .68E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.2357        .14776E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .20815        .18142E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    96.680        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.829        13.502        .10768E-03   -1.4964    
   5  norm          .10000E-03    1.9793        .13825E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    93.166        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.0128        7.8086        .16376E-03   -1.5217    
   8  norm          3.7562        1.2252        .61227E-04   -1.5320    
   9  Prefactor     13.431        40.751        .10931E-03   -1.4975    
  10  Prefactor     4.4975        9.1511        .94929E-03   -1.5284    
  11  norm          1.1555        1.0408        .93235E-04   -1.5493    
  12  Prefactor     9.6180        8.7149        .64612E-03   -1.5088    
  13  Prefactor     .10000E-03    8.9717        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .66748        10.371        .23866E-02   -1.5545    
  15  Prefactor     17.941        19.760        .94559E-04   -1.4861    
  16  norm          1.0246        1.2790        .50683E-04   -1.5506    
  17  Prefactor     .10000E-03    15.508        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    22.016        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    3.3940        .18111E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     50.560        22.804        .56397E-04   -1.4285    
  21  Normalizat    .68023        .23569        .43958E-03   -1.0468    
  22  Prefactor     1.1071        .10642        .16333E-03   -.89242    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.78587e-11
Minuit parameter uncertainties:
  1  4.19952e-07
  2  1.91946e-08
  3  0.000101485
  4  13.5054
  5  4.04039e-07
  6  0.000208205
  7  7.8099
  8  1.22521
  9  40.836
  10  9.15395
  11  1.04078
  12  8.71601
  13  1.23137e-06
  14  5.2629
  15  19.7673
  16  1.27901
  17  3.10765e-06
  18  1.02991e-05
  19  6.38181e-06
  20  22.8075
  21  0.236044
  22  0.106437
Done.

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

Extracting fit parameters...

4FGL J2236.3+2828
   Spectrum: LogParabola
286         norm:  3.756e+00  1.225e+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

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.107e+00  1.064e-01  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.802e-01  2.360e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 28.56
Ra Dec: 339.096 28.483
Photon Index (Fixed Index): 2.15 +/- 0.00
Photon Flux (Fixed Index): 1.21e-07 +/- 3.93e-08
Energy Flux (Fixed Index): 4.89e-05 +/- 1.59e-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) = 10275.6355679
delta logL = 0.0549566654518

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10275.6327873
delta logL = 0.0577372661646

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.8061       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0332       1.0000          .0000       5.0000    
     3 'Normalizat'    .69437       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1027       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=   10275.63     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      199 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.8062        2.1151        .51724E-02   -.34215E-02
   2  alpha         2.0332        .50509        .29170       -.45787E-06
   3  Normalizat    .69460        .20937        .98233E-01   -.16674E-03
   4  Prefactor     1.1027        .96163E-01    .37483E-01   -.62621E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.80622
  alpha      = 2.03322
  Normalizat = 0.694599
  Prefactor  = 1.10268
 **********
 **   18 **HESSE 
 **********

 FCN=   10275.63     FROM HESSE     STATUS=OK            29 CALLS      228 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.8062        1.2521        .62451E-04   -1.5318    
   2  alpha         2.0332        .32735        .11720E-01   -.18781    
   3  Normalizat    .69460        .23065        .43530E-03   -1.0411    
   4  Prefactor     1.1027        .10645        .16362E-03   -.89381    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.39686e-10
Minuit parameter uncertainties:
  1  1.25215
  2  0.328326
  3  0.230973
  4  0.106472
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/884165': 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) = 10275.6327867
delta logL = 0.0577378954276

Extracting fit parameters...

4FGL J2236.3+2828
   Spectrum: LogParabola
286         norm:  3.806e+00  1.252e+00  1.000e-04  1.000e+04 ( 1.000e-11)
287        alpha:  2.033e+00  3.283e-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.103e+00  1.065e-01  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.946e-01  2.310e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 28.60
Ra Dec: 339.096 28.483
Photon Index (Free Index): 2.03 +/- 0.33
Photon Flux (Free Index): 1.11e-07 +/- 4.49e-08
Energy Flux (Free Index): 5.26e-05 +/- 2.13e-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/884165/cmap_HighResolution_673488001_673747201_4FGL_J2236.3+2828_daily_bin1675.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.21e-07', energy_flux2='5.26e-05', photon_flux_error='3.93e-08', dlogl='5.77e-02', energy_flux='4.89e-05', photon_flux2='1.11e-07', job_status='DONE', time_completed='2022-05-09 01:41:01.489730', photon_index_error2='0.33', photon_index2='2.03', ts='28.56', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', energy_flux_error2='2.13e-05', EG='0.68', time_epoch_completed='1652085661.49', return_code='0', job_id='884165', GAL2='1.10', EG2='0.69', return_code2='0', energy_flux_error='1.59e-05', photon_flux_error2='4.49e-08', ts2='28.60', photon_index='2.15' WHERE bin_id='1675' AND source_name='4FGL J2236.3+2828' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon May  9 01:41:01 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 884165: <4FGL_J2236.3+2828_daily_bin1675> in cluster <slac> Done

Job <4FGL_J2236.3+2828_daily_bin1675> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Mon May  9 01:25:28 2022
Job was executed on host(s) <bullet0250>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon May  9 01:26:37 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon May  9 01:26:37 2022
Terminated at Mon May  9 01:41:02 2022
Results reported at Mon May  9 01:41:02 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.3+2828_daily_bin1675 339.096 28.4832 673488001 673747201 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 :                                   739.17 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             342.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   864 sec.
    Turnaround time :                            934 sec.

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

