/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 85 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 = 7546
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2236.3+2828_daily_bin1499
RA = 339.096, Dec = 28.4832
tmin = 627868801, tmax = 628128001
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='401547', job_status='RUN', time_executed='2021-09-28 16:52:39.895935', time_epoch_executed='1632873159.9' WHERE source_name='4FGL J2236.3+2828' and cadence='daily' and bin_id='1499'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/401547

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/401547/ft1_4FGL_J2236.3+2828_daily_bin1499.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/401547/ft2_4FGL_J2236.3+2828_daily_bin1499.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/401547/ft1_4FGL_J2236.3+2828_daily_bin1499.fits outfile=/scratch/kocevski/401547/ft1_filteredMKT_4FGL_J2236.3+2828_daily_bin1499.fits ra=339.096 dec=28.4832 rad=12.0 tmin=627868801.0 tmax=628128001.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.49
user 2.27
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/401547/ft1_filtered_4FGL_J2236.3+2828_daily_bin1499.fits" evtable="EVENTS" scfile=/scratch/kocevski/401547/ft2_4FGL_J2236.3+2828_daily_bin1499.fits sctable="SC_DATA" outfile=/scratch/kocevski/401547/ltcube_627868801_628128001_4FGL_J2236.3+2828_daily_bin1499.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/401547/ft2_4FGL_J2236.3+2828_daily_bin1499.fits
.....................!
real 12.53
user 12.17
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/401547/ft1_filtered_4FGL_J2236.3+2828_daily_bin1499.fits evtable="EVENTS" scfile=/scratch/kocevski/401547/ft2_4FGL_J2236.3+2828_daily_bin1499.fits sctable="SC_DATA" expcube=/scratch/kocevski/401547/ltcube_627868801_628128001_4FGL_J2236.3+2828_daily_bin1499.fits outfile=/scratch/kocevski/401547/expmap_627868801_628128001_4FGL_J2236.3+2828_daily_bin1499.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/401547/ltcube_627868801_628128001_4FGL_J2236.3+2828_daily_bin1499.fits
.....................!
real 192.21
user 186.83
sys 5.07

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/401547/ft1_filtered_4FGL_J2236.3+2828_daily_bin1499.fits scfile=/scratch/kocevski/401547/ft2_4FGL_J2236.3+2828_daily_bin1499.fits outfile=/scratch/kocevski/401547/cmap_627868801_628128001_4FGL_J2236.3+2828_daily_bin1499.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/401547/ft1_filtered_4FGL_J2236.3+2828_daily_bin1499.fits scfile=/scratch/kocevski/401547/ft2_4FGL_J2236.3+2828_daily_bin1499.fits outfile=/scratch/kocevski/401547/cmap_HighResolution_627868801_628128001_4FGL_J2236.3+2828_daily_bin1499.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .42170       1.0000         .10000E-03   10000.    
     3 'Prefactor '    88.993       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.0326       1.0000         .10000E-03   10000.    
     6 'Prefactor '    43.501       1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.855       1.0000         .10000E-03   10000.    
     8 'norm      '    2.2159       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    4.0144       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.6482       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.6247       1.0000         .10000E-03   10000.    
    16 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    21.959       1.0000         .10000E-03   10000.    
    19 'norm      '    5.1431       1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.548       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .50238       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0692       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=   8938.415     FROM MIGRAD    STATUS=CONVERGED    481 CALLS     2390 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.9454        .10406E-06** at limit **
   2  norm          .42162        .64380        .18696E-06    .59917E-03
   3  Prefactor     88.994        49.022        .10311E-06    .56346E-05
   4  Prefactor     .10000E-03    6.6352       -.43780E-06** at limit **
   5  norm          2.0323        4.1112        .56614E-05   -.77135E-03
   6  Prefactor     43.424        80.362        .16397E-04    .19410E-03
   7  Prefactor     13.856        11.219       -.27754E-06    .97103E-05
   8  norm          2.2162        1.1324       -.87137E-07   -.34013E-03
   9  Prefactor     .10000E-03    39.671        .31097E-06** at limit **
  10  Prefactor     .10000E-03    6.2017        .11228E-06** at limit **
  11  norm          4.0144        1.9971       -.73419E-08    .69961E-04
  12  Prefactor     5.6460        12.616        .87564E-06    .44198E-04
  13  Prefactor     .10000E-03    5.0551       -.43950E-07** at limit **
  14  Prefactor     .10000E-03    4.9233        .15222E-06** at limit **
  15  Prefactor     7.6242        26.652        .96361E-06    .14351E-04
  16  norm          .10000E-03    .70497        .63410E-08** at limit **
  17  Prefactor     .10000E-03    69.110       -.11119E-05** at limit **
  18  Prefactor     21.940        30.301        .21102E-05    .11323E-03
  19  norm          5.1463        7.6907       -.82517E-06   -.11104E-03
  20  Prefactor     10.530        30.429        .40250E-05    .98719E-04
  21  Normalizat    .50234        .22198       -.47515E-05   -.39977E-04
  22  Prefactor     1.0692        .97105E-01    .38009E-06    .88499E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.421621
  Prefactor  = 88.9939
  Prefactor  = 0.0001
  norm       = 2.03228
  Prefactor  = 43.4236
  Prefactor  = 13.8556
  norm       = 2.21619
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.01443
  Prefactor  = 5.64603
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.62423
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.9404
  norm       = 5.14634
  Prefactor  = 10.5301
  Normalizat = 0.502344
  Prefactor  = 1.06921
 **********
 **   18 **HESSE 
 **********

 FCN=   8938.415     FROM HESSE     STATUS=OK           344 CALLS     2734 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.9699        .15843E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .42162        .58532        .88199E-03   -1.5578    
   3  Prefactor     88.994        48.962        .42592E-04   -1.3818    
   4  Prefactor     .10000E-03    6.6670        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.0323        4.1372        .13285E-02   -1.5423    
   6  Prefactor     43.424        81.026        .60784E-04   -1.4389    
   7  Prefactor     13.856        11.174        .10761E-03   -1.4963    
   8  norm          2.2162        1.1248        .67804E-04   -1.5410    
   9  Prefactor     .10000E-03    39.692        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.2085        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.0144        1.9941        .87545E-04   -1.5307    
  12  Prefactor     5.6460        12.555        .16903E-03   -1.5233    
  13  Prefactor     .10000E-03    5.0571        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.9393        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.6242        26.636        .14523E-03   -1.5156    
  16  norm          .10000E-03    .72943        .15474E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    70.754        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     21.940        30.236        .85475E-04   -1.4771    
  19  norm          5.1463        7.6050        .17727E-03   -1.5254    
  20  Prefactor     10.530        30.078        .12337E-03   -1.5059    
  21  Normalizat    .50234        .23152        .47146E-03   -1.1231    
  22  Prefactor     1.0692        .10376        .15581E-03   -.90457    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39216e-09
Minuit parameter uncertainties:
  1  9.42237e-06
  2  0.585332
  3  48.9838
  4  5.41349e-05
  5  4.1378
  6  81.2325
  7  11.1752
  8  1.12477
  9  7.15004e-05
  10  9.98523e-06
  11  1.99411
  12  12.5606
  13  9.07621e-07
  14  1.33223e-05
  15  26.6772
  16  5.3826e-07
  17  0.000210483
  18  30.2576
  19  7.60641
  20  30.1215
  21  0.231965
  22  0.103784
Done.

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

Extracting fit parameters...

4FGL J2236.3+2828
   Spectrum: LogParabola
286         norm:  2.216e+00  1.125e+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.069e+00  1.038e-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:  5.023e-01  2.320e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.69
Ra Dec: 339.096 28.483
Photon Index (Fixed Index): 2.15 +/- 0.00
Photon Flux (Fixed Index): 7.11e-08 +/- 3.61e-08
Energy Flux (Fixed Index): 2.88e-05 +/- 1.46e-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) = 8937.41492098
delta logL = 0.999650492857

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8937.40474004
delta logL = 1.0098314258

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7478       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8646       1.0000          .0000       5.0000    
     3 'Normalizat'    .43329       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0889       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=   8937.405     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      239 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7491        10.240        .79298E-02    .51119E-03
   2  alpha         2.8638        3.9194        .30479        .67438E-04
   3  Normalizat    .43330        .82300E-01    .11413        .69000E-04
   4  Prefactor     1.0889        .35644E-01    .38025E-01   -.31317E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.74914
  alpha      = 2.86384
  Normalizat = 0.433301
  Prefactor  = 1.08892
 **********
 **   18 **HESSE 
 **********

 FCN=   8937.405     FROM HESSE     STATUS=OK            33 CALLS      272 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7491        1.1109        .50161E-04   -1.5443    
   2  alpha         2.8638        .56630        .12308E-01    .14606    
   3  Normalizat    .43330        .22286        .50582E-03   -1.1561    
   4  Prefactor     1.0889        .10328        .15450E-03   -.89822    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.9305e-09
Minuit parameter uncertainties:
  1  1.11096
  2  0.571371
  3  0.223321
  4  0.103294
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/401547': 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) = 8937.40473854
delta logL = 1.00983293306

Extracting fit parameters...

4FGL J2236.3+2828
   Spectrum: LogParabola
286         norm:  1.749e+00  1.111e+00  1.000e-04  1.000e+04 ( 1.000e-11)
287        alpha:  2.864e+00  5.714e-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.089e+00  1.033e-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:  4.333e-01  2.233e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.21
Ra Dec: 339.096 28.483
Photon Index (Free Index): 2.86 +/- 0.57
Photon Flux (Free Index): 1.18e-07 +/- 5.49e-08
Energy Flux (Free Index): 2.61e-05 +/- 1.14e-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/401547/cmap_HighResolution_627868801_628128001_4FGL_J2236.3+2828_daily_bin1499.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.11e-08', energy_flux2='2.61e-05', photon_flux_error='3.61e-08', dlogl='1.01e+00', energy_flux='2.88e-05', photon_flux2='1.18e-07', job_status='DONE', time_completed='2021-09-28 17:04:04.972055', photon_index_error2='0.57', photon_index2='2.86', ts='7.69', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='1.14e-05', EG='0.50', time_epoch_completed='1632873844.97', return_code='0', job_id='401547', GAL2='1.09', EG2='0.43', return_code2='0', energy_flux_error='1.46e-05', photon_flux_error2='5.49e-08', ts2='10.21', photon_index='2.15' WHERE bin_id='1499' AND source_name='4FGL J2236.3+2828' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:04:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 401547: <4FGL_J2236.3+2828_daily_bin1499> in cluster <slac> Done

Job <4FGL_J2236.3+2828_daily_bin1499> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Sep 28 16:50:52 2021
Job was executed on host(s) <bullet0241>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 16:50:53 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:53 2021
Terminated at Tue Sep 28 17:04:05 2021
Results reported at Tue Sep 28 17:04:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.3+2828_daily_bin1499 339.096 28.4832 627868801 628128001 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 :                                   666.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             322.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   792 sec.
    Turnaround time :                            793 sec.

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

