/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 55 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 = 7401
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2236.3+2828_daily_bin1463
RA = 339.096, Dec = 28.4832
tmin = 618537601, tmax = 618796801
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='401497', job_status='RUN', time_executed='2021-09-28 16:52:35.983624', time_epoch_executed='1632873155.98' WHERE source_name='4FGL J2236.3+2828' and cadence='daily' and bin_id='1463'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/401497

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/401497/ft1_4FGL_J2236.3+2828_daily_bin1463.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/401497/ft2_4FGL_J2236.3+2828_daily_bin1463.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/401497/ft1_4FGL_J2236.3+2828_daily_bin1463.fits outfile=/scratch/kocevski/401497/ft1_filteredMKT_4FGL_J2236.3+2828_daily_bin1463.fits ra=339.096 dec=28.4832 rad=12.0 tmin=618537601.0 tmax=618796801.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.76
user 3.50
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/401497/ft1_filtered_4FGL_J2236.3+2828_daily_bin1463.fits" evtable="EVENTS" scfile=/scratch/kocevski/401497/ft2_4FGL_J2236.3+2828_daily_bin1463.fits sctable="SC_DATA" outfile=/scratch/kocevski/401497/ltcube_618537601_618796801_4FGL_J2236.3+2828_daily_bin1463.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/401497/ft2_4FGL_J2236.3+2828_daily_bin1463.fits
.....................!
real 11.66
user 11.33
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/401497/ft1_filtered_4FGL_J2236.3+2828_daily_bin1463.fits evtable="EVENTS" scfile=/scratch/kocevski/401497/ft2_4FGL_J2236.3+2828_daily_bin1463.fits sctable="SC_DATA" expcube=/scratch/kocevski/401497/ltcube_618537601_618796801_4FGL_J2236.3+2828_daily_bin1463.fits outfile=/scratch/kocevski/401497/expmap_618537601_618796801_4FGL_J2236.3+2828_daily_bin1463.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/401497/ltcube_618537601_618796801_4FGL_J2236.3+2828_daily_bin1463.fits
.....................!
real 191.06
user 185.96
sys 4.67

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/401497/ft1_filtered_4FGL_J2236.3+2828_daily_bin1463.fits scfile=/scratch/kocevski/401497/ft2_4FGL_J2236.3+2828_daily_bin1463.fits outfile=/scratch/kocevski/401497/cmap_618537601_618796801_4FGL_J2236.3+2828_daily_bin1463.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.52
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/401497/ft1_filtered_4FGL_J2236.3+2828_daily_bin1463.fits scfile=/scratch/kocevski/401497/ft2_4FGL_J2236.3+2828_daily_bin1463.fits outfile=/scratch/kocevski/401497/cmap_HighResolution_618537601_618796801_4FGL_J2236.3+2828_daily_bin1463.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.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .23790       1.0000         .10000E-03   10000.    
     3 'Prefactor '    62.228       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.6007       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    30.124       1.0000         .10000E-03   10000.    
    11 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.6756       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.943       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.5388       1.0000         .10000E-03   10000.    
    16 'norm      '    1.9009       1.0000         .10000E-03   10000.    
    17 'Prefactor '    15.021       1.0000         .10000E-03   10000.    
    18 'Prefactor '    40.737       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.9995       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .98783       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .86103       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=   8123.746     FROM MIGRAD    STATUS=CONVERGED    465 CALLS     2376 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.8970        .90712E-02** at limit **
   2  norm          .23784        .61141        .10149E-01    .30322E-02
   3  Prefactor     62.227        48.663        .12717E-02    .68800E-03
   4  Prefactor     .10000E-03    4.4199        .90712E-02** at limit **
   5  norm          2.6006        3.3064        .63246E-02    .33736E-03
   6  Prefactor     .10000E-03    97.905        .90712E-02** at limit **
   7  Prefactor     .10000E-03    6.3310        .90712E-02** at limit **
   8  norm          .10000E-03    .32056        .90712E-02** at limit **
   9  Prefactor     .10000E-03    21.503        .90712E-02** at limit **
  10  Prefactor     30.125        19.498        .18250E-02    .12724E-03
  11  norm          .10000E-03    .47068        .90712E-02** at limit **
  12  Prefactor     9.6758        8.1920        .32207E-02   -.53668E-04
  13  Prefactor     .10000E-03    10.543        .90712E-02** at limit **
  14  Prefactor     11.943        11.517        .28979E-02   -.85051E-04
  15  Prefactor     5.5391        30.990        .42678E-02    .54370E-03
  16  norm          1.9009        1.1434        .75414E-02    .28117E-03
  17  Prefactor     15.022        16.079        .25836E-02    .20903E-03
  18  Prefactor     40.737        25.842        .15701E-02    .11861E-03
  19  norm          .10000E-03    1.3099        .90712E-02** at limit **
  20  Prefactor     10.001        15.747        .31679E-02    .45434E-03
  21  Normalizat    .98779        .20263        .76902E-01    .26190E-04
  22  Prefactor     .86104        .91691E-01    .44506E-01    .71969E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.23784
  Prefactor  = 62.2274
  Prefactor  = 0.0001
  norm       = 2.60056
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 30.1246
  norm       = 0.0001
  Prefactor  = 9.6758
  Prefactor  = 0.0001
  Prefactor  = 11.9428
  Prefactor  = 5.5391
  norm       = 1.90091
  Prefactor  = 15.0215
  Prefactor  = 40.7372
  norm       = 0.0001
  Prefactor  = 10.0009
  Normalizat = 0.987791
  Prefactor  = 0.861041
 **********
 **   18 **HESSE 
 **********

 FCN=   8123.746     FROM HESSE     STATUS=OK           338 CALLS     2714 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.0347        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .23784        .59996        .10735E-03   -1.5610    
   3  Prefactor     62.227        48.666        .50867E-04   -1.4129    
   4  Prefactor     .10000E-03    4.4265        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.6006        3.2936        .18000E-03   -1.5385    
   6  Prefactor     .10000E-03    98.459        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.3862        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .32819        .99374E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    21.506        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     30.125        19.482        .73000E-04   -1.4610    
  11  norm          .10000E-03    .47225        .60368E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.6758        8.1899        .12883E-03   -1.5086    
  13  Prefactor     .10000E-03    10.563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.943        11.521        .11592E-03   -1.5017    
  15  Prefactor     5.5391        31.093        .85357E-03   -1.5237    
  16  norm          1.9009        1.1381        .72120E-04   -1.5432    
  17  Prefactor     15.022        16.089        .10334E-03   -1.4933    
  18  Prefactor     40.737        25.832        .62804E-04   -1.4431    
  19  norm          .10000E-03    1.3116        .10068E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     10.001        15.750        .12672E-03   -1.5075    
  21  Normalizat    .98779        .23807        .34033E-03   -.93441    
  22  Prefactor     .86104        .10838        .16719E-03   -.97516    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.39376e-09
Minuit parameter uncertainties:
  1  1.43857e-06
  2  0.599972
  3  48.6969
  4  8.05036e-07
  5  3.29384
  6  3.30769e-05
  7  9.7834e-07
  8  1.20525e-08
  9  5.05475e-06
  10  19.4862
  11  1.55544e-08
  12  8.19083
  13  1.06396e-06
  14  11.5229
  15  26.2676
  16  1.13812
  17  16.0934
  18  25.8386
  19  7.68608e-08
  20  15.7566
  21  0.238326
  22  0.108405
Done.

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

Extracting fit parameters...

4FGL J2236.3+2828
   Spectrum: LogParabola
286         norm:  1.000e-04  1.205e-08  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:  8.610e-01  1.084e-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:  9.878e-01  2.383e-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: 4.93e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.00e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/401497/likelihoodResults_618537601_618796801_4FGL_J2236.3+2828_daily_bin1463.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): 102
logL (Free Index) = 8123.74720397
delta logL = -0.00161528313311

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8123.2421955
delta logL = 0.503393183783

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .37360E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .91322       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88306       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8123.242     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      359 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .37401E-01    .47642E-01    .18980E-03    .27098E-01
   2  alpha         5.0000        3.3847        .50000    ** at limit **
   3  Normalizat    .91311        .24308        .35264E-03    .26114E-05
   4  Prefactor     .88319        .10978        .16529E-03    .10661E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0374007
  alpha      = 5
  Normalizat = 0.913111
  Prefactor  = 0.883195
 **********
 **   18 **HESSE 
 **********

 FCN=   8123.242     FROM HESSE     STATUS=OK            31 CALLS      390 TOTAL
                     EDM=   .57E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .37401E-01    .46164E-01    .37960E-04   -1.5669    
   2  alpha         5.0000        3.3395        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .91311        .24353        .14105E-04   -.96001    
   4  Prefactor     .88319        .10993        .66117E-05   -.96731    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.7196e-12
Minuit parameter uncertainties:
  1  0.0461636
  2  4.64044e-07
  3  0.243821
  4  0.109958
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/401497': 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) = 8123.24219199
delta logL = 0.503396688328

Extracting fit parameters...

4FGL J2236.3+2828
   Spectrum: LogParabola
286         norm:  3.740e-02  4.616e-02  1.000e-04  1.000e+04 ( 1.000e-11)
287        alpha:  5.000e+00  4.640e-07  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:  8.832e-01  1.100e-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:  9.131e-01  2.438e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.14
Ra Dec: 339.096 28.483
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 4.67e-08 +/- 5.73e-08
Energy Flux (Free Index): 6.34e-06 +/- 7.80e-06

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/401497/cmap_HighResolution_618537601_618796801_4FGL_J2236.3+2828_daily_bin1463.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.00e-05', comment='SUCCESS', energy_flux2='6.34e-06', dlogl='5.03e-01', photon_flux2='4.67e-08', job_status='DONE', time_completed='2021-09-28 17:05:05.557358', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='4.93e-08', energy_flux_error2='7.80e-06', EG='0.99', time_epoch_completed='1632873905.56', return_code='0', job_id='401497', GAL2='0.88', EG2='0.91', return_code2='0', photon_flux_error2='5.73e-08', ts2='1.14', photon_index='2.15' WHERE bin_id='1463' AND source_name='4FGL J2236.3+2828' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:05:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 401497: <4FGL_J2236.3+2828_daily_bin1463> in cluster <slac> Done

Job <4FGL_J2236.3+2828_daily_bin1463> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Sep 28 16:50:49 2021
Job was executed on host(s) <bullet0208>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 16:50:51 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 16:50:51 2021
Terminated at Tue Sep 28 17:05:06 2021
Results reported at Tue Sep 28 17:05:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.3+2828_daily_bin1463 339.096 28.4832 618537601 618796801 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 :                                   724.40 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   854 sec.
    Turnaround time :                            857 sec.

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

