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


Performing analysis on: 4FGL_J2236.3+2828_daily_bin1685
RA = 339.096, Dec = 28.4832
tmin = 676080001, tmax = 676339201
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='384743', job_status='RUN', time_executed='2022-06-08 01:13:07.324355', time_epoch_executed='1654675987.32' WHERE source_name='4FGL J2236.3+2828' and cadence='daily' and bin_id='1685'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/384743

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/384743/ft1_4FGL_J2236.3+2828_daily_bin1685.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/384743/ft2_4FGL_J2236.3+2828_daily_bin1685.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/384743/ft1_4FGL_J2236.3+2828_daily_bin1685.fits outfile=/scratch/kocevski/384743/ft1_filteredMKT_4FGL_J2236.3+2828_daily_bin1685.fits ra=339.096 dec=28.4832 rad=12.0 tmin=676080001.0 tmax=676339201.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.67
user 3.40
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/384743/ft2_4FGL_J2236.3+2828_daily_bin1685.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/384743/ft1_filteredMKT_4FGL_J2236.3+2828_daily_bin1685.fits evtable="EVENTS" outfile="/scratch/kocevski/384743/ft1_filtered_4FGL_J2236.3+2828_daily_bin1685.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.56
user 0.36
sys 0.17

Number of photons that the gtmktime cut: 1103

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/384743/ft1_filtered_4FGL_J2236.3+2828_daily_bin1685.fits" evtable="EVENTS" scfile=/scratch/kocevski/384743/ft2_4FGL_J2236.3+2828_daily_bin1685.fits sctable="SC_DATA" outfile=/scratch/kocevski/384743/ltcube_676080001_676339201_4FGL_J2236.3+2828_daily_bin1685.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/384743/ft2_4FGL_J2236.3+2828_daily_bin1685.fits
.....................!
real 16.06
user 15.50
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/384743/ft1_filtered_4FGL_J2236.3+2828_daily_bin1685.fits evtable="EVENTS" scfile=/scratch/kocevski/384743/ft2_4FGL_J2236.3+2828_daily_bin1685.fits sctable="SC_DATA" expcube=/scratch/kocevski/384743/ltcube_676080001_676339201_4FGL_J2236.3+2828_daily_bin1685.fits outfile=/scratch/kocevski/384743/expmap_676080001_676339201_4FGL_J2236.3+2828_daily_bin1685.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/384743/ltcube_676080001_676339201_4FGL_J2236.3+2828_daily_bin1685.fits
.....................!
real 194.48
user 187.85
sys 5.33

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/384743/ft1_filtered_4FGL_J2236.3+2828_daily_bin1685.fits scfile=/scratch/kocevski/384743/ft2_4FGL_J2236.3+2828_daily_bin1685.fits outfile=/scratch/kocevski/384743/cmap_676080001_676339201_4FGL_J2236.3+2828_daily_bin1685.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.58
user 0.40
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/384743/ft1_filtered_4FGL_J2236.3+2828_daily_bin1685.fits scfile=/scratch/kocevski/384743/ft2_4FGL_J2236.3+2828_daily_bin1685.fits outfile=/scratch/kocevski/384743/cmap_HighResolution_676080001_676339201_4FGL_J2236.3+2828_daily_bin1685.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/384743/ft1_filtered_4FGL_J2236.3+2828_daily_bin1685.fits evtable="EVENTS" scfile=/scratch/kocevski/384743/ft2_4FGL_J2236.3+2828_daily_bin1685.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/384743/Model_4FGL_J2236.3+2828_daily_bin1685.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/384743/ft1_filtered_4FGL_J2236.3+2828_daily_bin1685.fits.....................!
real 128.94
user 127.01
sys 1.33

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15054E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10539E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10997E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10376E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .69840E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.2265       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10709E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.6790       1.0000         .10000E-03   10000.    
    11 'norm      '    .99082       1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.628       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10126E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .91052       1.0000         .10000E-03   10000.    
    16 'norm      '    3.3227       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .22830E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10239E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0550       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0072       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=   11911.09     FROM MIGRAD    STATUS=CONVERGED    486 CALLS     2048 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10012E-03    3.7094       -.73317E-06** at limit **
   2  norm          .10000E-03    .11234        .45340E-09** at limit **
   3  Prefactor     .10000E-03    77.969        .13746E-04** at limit **
   4  Prefactor     .10013E-03    5.7344       -.13588E-05** at limit **
   5  norm          .10000E-03    1.0909       -.63157E-08** at limit **
   6  Prefactor     .10000E-03    45.253        .15927E-05** at limit **
   7  Prefactor     .10008E-03    4.3425        .64326E-06** at limit **
   8  norm          2.2265        .93163       -.23750E-07    .15684E-03
   9  Prefactor     .10000E-03    47.510        .81382E-05** at limit **
  10  Prefactor     9.6773        10.682        .77295E-06    .19701E-04
  11  norm          .99257        1.4337       -.36819E-06   -.21336E-02
  12  Prefactor     11.629        9.1451        .27897E-06    .14377E-04
  13  Prefactor     .10000E-03    4.8262       -.11461E-07** at limit **
  14  Prefactor     .10000E-03    10.069        .78745E-08** at limit **
  15  Prefactor     .95906        14.481       -.57155E-05    .45193E-03
  16  norm          3.3227        1.7337        .12028E-07    .28656E-03
  17  Prefactor     .10064E-03    11.837       -.25167E-05** at limit **
  18  Prefactor     .10000E-03    46.067        .53738E-05** at limit **
  19  norm          .10000E-03    3.5650        .32976E-08** at limit **
  20  Prefactor     .10000E-03    15.852       -.56603E-07** at limit **
  21  Normalizat    1.0554        .19236        .28983E-06    .46681E-03
  22  Prefactor     1.0070        .84606E-01    .18435E-06    .92600E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100116
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100127
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010008
  norm       = 2.22646
  Prefactor  = 0.0001
  Prefactor  = 9.67725
  norm       = 0.992573
  Prefactor  = 11.6293
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.959058
  norm       = 3.3227
  Prefactor  = 0.000100641
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.05539
  Prefactor  = 1.00703
 **********
 **   18 **HESSE 
 **********

 FCN=   11911.09     FROM HESSE     STATUS=OK           350 CALLS     2398 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10012E-03    39.955        .40288E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .11334        .35707E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    77.895        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10013E-03    38.748        .48731E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.0939        .11132E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    45.283        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10008E-03    42.565        .42928E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.2265        .93187        .65486E-04   -1.5410    
   9  Prefactor     .10000E-03    47.468        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.6773        10.671        .12881E-03   -1.5086    
  11  norm          .99257        1.2566        .15699E-02   -1.5509    
  12  Prefactor     11.629        8.9669        .11748E-03   -1.5026    
  13  Prefactor     .10000E-03    4.8371        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.329        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .95906        58.881        .72210E-02   -1.5512    
  16  norm          3.3227        1.7187        .97295E-04   -1.5343    
  17  Prefactor     .10064E-03    83.857        .69152E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    46.568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    3.6310        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    16.025        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0554        .21743        .37430E-03   -.91197    
  22  Prefactor     1.0070        .99119E-01    .17431E-03   -.92495    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.21646e-08
Minuit parameter uncertainties:
  1  0.00431658
  2  6.23733e-09
  3  0.000125943
  4  0.00444461
  5  4.16415e-07
  6  2.55472e-06
  7  0.00368445
  8  0.931874
  9  1.26467e-05
  10  10.6728
  11  1.25663
  12  8.96793
  13  1.24901e-06
  14  1.63688e-06
  15  15.0441
  16  1.71872
  17  0.0146894
  18  1.91416e-05
  19  1.46321e-06
  20  3.1589e-06
  21  0.217615
  22  0.0991366
Done.

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

Extracting fit parameters...

4FGL J2236.3+2828
   Spectrum: LogParabola
286         norm:  2.226e+00  9.319e-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.007e+00  9.914e-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:  1.055e+00  2.176e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 21.80
Ra Dec: 339.096 28.483
Photon Index (Fixed Index): 2.15 +/- 0.00
Photon Flux (Fixed Index): 7.14e-08 +/- 2.99e-08
Energy Flux (Fixed Index): 2.90e-05 +/- 1.21e-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) = 11910.0284049
delta logL = 1.06528552794

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11909.9655666
delta logL = 1.1281238151

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8161       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5698       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0926       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99834       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=   11909.97     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      207 TOTAL
                     EDM=   .68E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8161        .81607        .77482E-02   -.11225E-03
   2  alpha         1.5698        .28399        .31968       -.63285E-04
   3  Normalizat    1.0926        .18218        .83245E-01    .33269E-04
   4  Prefactor     .99834        .83320E-01    .46246E-01   -.29620E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 1.81607
  alpha      = 1.56975
  Normalizat = 1.09257
  Prefactor  = 0.998335
 **********
 **   18 **HESSE 
 **********

 FCN=   11909.97     FROM HESSE     STATUS=OK            31 CALLS      238 TOTAL
                     EDM=   .27E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8161        .97410        .63740E-04   -1.5438    
   2  alpha         1.5698        .36883        .12933E-01   -.38127    
   3  Normalizat    1.0926        .21492        .36857E-03   -.89991    
   4  Prefactor     .99834        .98448E-01    .17502E-03   -.92785    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.67618e-12
Minuit parameter uncertainties:
  1  0.974108
  2  0.370405
  3  0.215091
  4  0.0984654
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/384743': 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) = 11909.9655666
delta logL = 1.1281238211

Extracting fit parameters...

4FGL J2236.3+2828
   Spectrum: LogParabola
286         norm:  1.816e+00  9.741e-01  1.000e-04  1.000e+04 ( 1.000e-11)
287        alpha:  1.570e+00  3.704e-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:  9.983e-01  9.847e-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:  1.093e+00  2.151e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 23.93
Ra Dec: 339.096 28.483
Photon Index (Free Index): 1.57 +/- 0.37
Photon Flux (Free Index): 4.08e-08 +/- 2.49e-08
Energy Flux (Free Index): 4.52e-05 +/- 2.75e-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/384743/cmap_HighResolution_676080001_676339201_4FGL_J2236.3+2828_daily_bin1685.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.14e-08', energy_flux2='4.52e-05', photon_flux_error='2.99e-08', dlogl='1.13e+00', energy_flux='2.90e-05', photon_flux2='4.08e-08', job_status='DONE', time_completed='2022-06-08 01:26:04.832581', photon_index_error2='0.37', photon_index2='1.57', ts='21.80', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='2.75e-05', EG='1.06', time_epoch_completed='1654676764.83', return_code='0', job_id='384743', GAL2='1.00', EG2='1.09', return_code2='0', energy_flux_error='1.21e-05', photon_flux_error2='2.49e-08', ts2='23.93', photon_index='2.15' WHERE bin_id='1685' AND source_name='4FGL J2236.3+2828' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jun  8 01:26:04 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 384743: <4FGL_J2236.3+2828_daily_bin1685> in cluster <slac> Done

Job <4FGL_J2236.3+2828_daily_bin1685> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Jun  8 01:10:14 2022
Job was executed on host(s) <bullet0249>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jun  8 01:10:35 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jun  8 01:10:35 2022
Terminated at Wed Jun  8 01:26:05 2022
Results reported at Wed Jun  8 01:26:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.3+2828_daily_bin1685 339.096 28.4832 676080001 676339201 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 :                                   777.50 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             335.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   930 sec.
    Turnaround time :                            951 sec.

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

