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


Performing analysis on: 4FGL_J2236.3+2828_daily_bin1043
RA = 339.096, Dec = 28.4832
tmin = 509673601, tmax = 509932801
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='399846', job_status='RUN', time_executed='2021-09-28 16:49:03.345250', time_epoch_executed='1632872943.35' WHERE source_name='4FGL J2236.3+2828' and cadence='daily' and bin_id='1043'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/399846

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/399846/ft1_4FGL_J2236.3+2828_daily_bin1043.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/399846/ft2_4FGL_J2236.3+2828_daily_bin1043.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/399846/ft1_4FGL_J2236.3+2828_daily_bin1043.fits outfile=/scratch/kocevski/399846/ft1_filteredMKT_4FGL_J2236.3+2828_daily_bin1043.fits ra=339.096 dec=28.4832 rad=12.0 tmin=509673601.0 tmax=509932801.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.55
user 3.34
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/399846/ft2_4FGL_J2236.3+2828_daily_bin1043.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/399846/ft1_filteredMKT_4FGL_J2236.3+2828_daily_bin1043.fits evtable="EVENTS" outfile="/scratch/kocevski/399846/ft1_filtered_4FGL_J2236.3+2828_daily_bin1043.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.48
user 0.33
sys 0.14

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/399846/ft1_filtered_4FGL_J2236.3+2828_daily_bin1043.fits evtable="EVENTS" scfile=/scratch/kocevski/399846/ft2_4FGL_J2236.3+2828_daily_bin1043.fits sctable="SC_DATA" expcube=/scratch/kocevski/399846/ltcube_509673601_509932801_4FGL_J2236.3+2828_daily_bin1043.fits outfile=/scratch/kocevski/399846/expmap_509673601_509932801_4FGL_J2236.3+2828_daily_bin1043.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/399846/ltcube_509673601_509932801_4FGL_J2236.3+2828_daily_bin1043.fits
.....................!
real 189.32
user 184.70
sys 4.32

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/399846/ft1_filtered_4FGL_J2236.3+2828_daily_bin1043.fits scfile=/scratch/kocevski/399846/ft2_4FGL_J2236.3+2828_daily_bin1043.fits outfile=/scratch/kocevski/399846/cmap_509673601_509932801_4FGL_J2236.3+2828_daily_bin1043.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/399846/ft1_filtered_4FGL_J2236.3+2828_daily_bin1043.fits scfile=/scratch/kocevski/399846/ft2_4FGL_J2236.3+2828_daily_bin1043.fits outfile=/scratch/kocevski/399846/cmap_HighResolution_509673601_509932801_4FGL_J2236.3+2828_daily_bin1043.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.53
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.785       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    51.599       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.0750       1.0000         .10000E-03   10000.    
     5 'norm      '    .10471E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.5309       1.0000         .10000E-03   10000.    
     8 'norm      '    2.8155       1.0000         .10000E-03   10000.    
     9 'Prefactor '    35.847       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .11931E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .12723E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.8393       1.0000         .10000E-03   10000.    
    19 'norm      '    .10258E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.4328       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .58757       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1007       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=   8389.951     FROM MIGRAD    STATUS=CONVERGED    485 CALLS     2362 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.786        8.5603        .26971E-02    .21161E-03
   2  norm          .10000E-03    .25282        .23088E-01** at limit **
   3  Prefactor     51.598        43.255        .13958E-02    .77109E-03
   4  Prefactor     8.0741        8.8649        .35273E-02    .78197E-04
   5  norm          .10000E-03    2.3993        .51354E-01** at limit **
   6  Prefactor     .10000E-03    68.241        .90712E-02** at limit **
   7  Prefactor     6.5309        10.646        .39259E-02    .37407E-03
   8  norm          2.8154        1.2402        .60602E-02    .20930E-03
   9  Prefactor     35.845        48.370        .16734E-02    .13414E-02
  10  Prefactor     .10000E-03    5.4068        .90712E-02** at limit **
  11  norm          .10000E-03    .54488        .90712E-02** at limit **
  12  Prefactor     .10000E-03    9.6646        .90712E-02** at limit **
  13  Prefactor     .10000E-03    5.6839        .90712E-02** at limit **
  14  Prefactor     .10000E-03    4.3986        .90712E-02** at limit **
  15  Prefactor     .10000E-03    15.570        .90712E-02** at limit **
  16  norm          .10000E-03    .49471        .37831E-01** at limit **
  17  Prefactor     .10000E-03    36.360        .90712E-02** at limit **
  18  Prefactor     9.8340        15.594        .31937E-02   -.26512E-03
  19  norm          .10000E-03    3.5188        .90712E-02** at limit **
  20  Prefactor     6.4424        13.686        .39561E-02    .99511E-04
  21  Normalizat    .58745        .22082        .99609E-01    .60326E-04
  22  Prefactor     1.1008        .10191        .37559E-01    .14491E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.7857
  norm       = 0.0001
  Prefactor  = 51.5976
  Prefactor  = 8.07412
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.53092
  norm       = 2.81536
  Prefactor  = 35.8448
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.83397
  norm       = 0.0001
  Prefactor  = 6.44242
  Normalizat = 0.587452
  Prefactor  = 1.1008
 **********
 **   18 **HESSE 
 **********

 FCN=   8389.951     FROM HESSE     STATUS=OK           342 CALLS     2704 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.786        8.5373        .10788E-03   -1.4965    
   2  norm          .10000E-03    .35234        .89147E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     51.598        43.241        .55832E-04   -1.4270    
   4  Prefactor     8.0741        8.8596        .14109E-03   -1.5140    
   5  norm          .10000E-03    5.3468        .27555E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    68.317        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.5309        10.625        .15704E-03   -1.5197    
   8  norm          2.8154        1.2366        .64547E-04   -1.5372    
   9  Prefactor     35.845        48.399        .66936E-04   -1.4510    
  10  Prefactor     .10000E-03    5.4094        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .54798        .66022E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    9.7783        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.6879        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.4089        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    15.676        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    3.8367        .12386E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    37.215        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     9.8340        15.585        .12775E-03   -1.5081    
  19  norm          .10000E-03    3.5411        .16674E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.4424        13.563        .15824E-03   -1.5200    
  21  Normalizat    .58745        .23853        .44146E-03   -1.0852    
  22  Prefactor     1.1008        .11193        .15879E-03   -.89441    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.45476e-08
Minuit parameter uncertainties:
  1  8.53807
  2  3.70607e-07
  3  43.2676
  4  8.86109
  5  8.81602e-05
  6  6.22657e-05
  7  10.628
  8  1.23665
  9  48.4526
  10  8.78387e-05
  11  1.70779e-07
  12  4.20327e-06
  13  1.88287e-05
  14  4.01279e-06
  15  9.58418e-06
  16  7.49363e-06
  17  0.000102417
  18  15.5917
  19  4.61618e-06
  20  13.5696
  21  0.238944
  22  0.111956
Done.

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

Extracting fit parameters...

4FGL J2236.3+2828
   Spectrum: LogParabola
286         norm:  2.815e+00  1.237e+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.101e+00  1.120e-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.875e-01  2.389e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.87
Ra Dec: 339.096 28.483
Photon Index (Fixed Index): 2.15 +/- 0.00
Photon Flux (Fixed Index): 9.03e-08 +/- 3.97e-08
Energy Flux (Fixed Index): 3.66e-05 +/- 1.61e-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) = 8389.95058945
delta logL = 0.000465592589535

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8389.95056064
delta logL = 0.000494399246236

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8168       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1315       1.0000          .0000       5.0000    
     3 'Normalizat'    .58898       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1004       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=   8389.951     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      226 TOTAL
                     EDM=   .57E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8178        25.864        .60587E-02    .18567E-03
   2  alpha         2.1319        3.2795        .34864        .77947E-05
   3  Normalizat    .58891        .21902        .99493E-01    .67633E-04
   4  Prefactor     1.1004        .85812E-01    .37571E-01    .39469E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.81784
  alpha      = 2.13192
  Normalizat = 0.588906
  Prefactor  = 1.10039
 **********
 **   18 **HESSE 
 **********

 FCN=   8389.951     FROM HESSE     STATUS=OK            33 CALLS      259 TOTAL
                     EDM=   .79E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8178        1.2429        .64753E-04   -1.5372    
   2  alpha         2.1319        .43872        .13295E-01   -.14777    
   3  Normalizat    .58891        .23320        .44094E-03   -1.0846    
   4  Prefactor     1.1004        .11089        .15881E-03   -.89454    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.89636e-13
Minuit parameter uncertainties:
  1  1.24287
  2  0.441053
  3  0.233592
  4  0.110912
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/399846': 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) = 8389.95055969
delta logL = 0.000495350503115

Extracting fit parameters...

4FGL J2236.3+2828
   Spectrum: LogParabola
286         norm:  2.818e+00  1.243e+00  1.000e-04  1.000e+04 ( 1.000e-11)
287        alpha:  2.132e+00  4.411e-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.100e+00  1.109e-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.889e-01  2.336e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.86
Ra Dec: 339.096 28.483
Photon Index (Free Index): 2.13 +/- 0.44
Photon Flux (Free Index): 8.93e-08 +/- 4.95e-08
Energy Flux (Free Index): 3.69e-05 +/- 1.83e-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/399846/cmap_HighResolution_509673601_509932801_4FGL_J2236.3+2828_daily_bin1043.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.03e-08', energy_flux2='3.69e-05', photon_flux_error='3.97e-08', dlogl='4.95e-04', energy_flux='3.66e-05', photon_flux2='8.93e-08', job_status='DONE', time_completed='2021-09-28 16:59:46.598044', photon_index_error2='0.44', photon_index2='2.13', ts='14.87', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', energy_flux_error2='1.83e-05', EG='0.59', time_epoch_completed='1632873586.6', return_code='0', job_id='399846', GAL2='1.10', EG2='0.59', return_code2='0', energy_flux_error='1.61e-05', photon_flux_error2='4.95e-08', ts2='14.86', photon_index='2.15' WHERE bin_id='1043' AND source_name='4FGL J2236.3+2828' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 16:59:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0286>
Subject: Job 399846: <4FGL_J2236.3+2828_daily_bin1043> in cluster <slac> Done

Job <4FGL_J2236.3+2828_daily_bin1043> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Sep 28 16:45:44 2021
Job was executed on host(s) <bullet0286>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 16:45:45 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:45:45 2021
Terminated at Tue Sep 28 16:59:47 2021
Results reported at Tue Sep 28 16:59:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.3+2828_daily_bin1043 339.096 28.4832 509673601 509932801 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 :                                   642.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             262.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   841 sec.
    Turnaround time :                            843 sec.

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

