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


Performing analysis on: 4FGL_J2236.3+2828_daily_bin1029
RA = 339.096, Dec = 28.4832
tmin = 506044801, tmax = 506304001
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='399824', job_status='RUN', time_executed='2021-09-28 16:47:43.129230', time_epoch_executed='1632872863.13' WHERE source_name='4FGL J2236.3+2828' and cadence='daily' and bin_id='1029'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/399824

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/399824/ft1_4FGL_J2236.3+2828_daily_bin1029.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/399824/ft2_4FGL_J2236.3+2828_daily_bin1029.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/399824/ft1_4FGL_J2236.3+2828_daily_bin1029.fits outfile=/scratch/kocevski/399824/ft1_filteredMKT_4FGL_J2236.3+2828_daily_bin1029.fits ra=339.096 dec=28.4832 rad=12.0 tmin=506044801.0 tmax=506304001.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 4.29
user 4.05
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/399824/ft1_filtered_4FGL_J2236.3+2828_daily_bin1029.fits" evtable="EVENTS" scfile=/scratch/kocevski/399824/ft2_4FGL_J2236.3+2828_daily_bin1029.fits sctable="SC_DATA" outfile=/scratch/kocevski/399824/ltcube_506044801_506304001_4FGL_J2236.3+2828_daily_bin1029.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/399824/ft2_4FGL_J2236.3+2828_daily_bin1029.fits
.....................!
real 11.69
user 11.31
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/399824/ft1_filtered_4FGL_J2236.3+2828_daily_bin1029.fits evtable="EVENTS" scfile=/scratch/kocevski/399824/ft2_4FGL_J2236.3+2828_daily_bin1029.fits sctable="SC_DATA" expcube=/scratch/kocevski/399824/ltcube_506044801_506304001_4FGL_J2236.3+2828_daily_bin1029.fits outfile=/scratch/kocevski/399824/expmap_506044801_506304001_4FGL_J2236.3+2828_daily_bin1029.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/399824/ltcube_506044801_506304001_4FGL_J2236.3+2828_daily_bin1029.fits
.....................!
real 190.01
user 185.28
sys 4.35

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/399824/ft1_filtered_4FGL_J2236.3+2828_daily_bin1029.fits scfile=/scratch/kocevski/399824/ft2_4FGL_J2236.3+2828_daily_bin1029.fits outfile=/scratch/kocevski/399824/cmap_506044801_506304001_4FGL_J2236.3+2828_daily_bin1029.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/399824/ft1_filtered_4FGL_J2236.3+2828_daily_bin1029.fits scfile=/scratch/kocevski/399824/ft2_4FGL_J2236.3+2828_daily_bin1029.fits outfile=/scratch/kocevski/399824/cmap_HighResolution_506044801_506304001_4FGL_J2236.3+2828_daily_bin1029.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.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.8527       1.0000         .10000E-03   10000.    
     2 'norm      '    .60988       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .24982E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    28.280       1.0000         .10000E-03   10000.    
     5 'norm      '    5.6419       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12157E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    22.620       1.0000         .10000E-03   10000.    
     8 'norm      '    1.4625       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .22663E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11089E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10242E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    20.153       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10545E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.4380       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .12273E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    4.0706       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .81325       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1471       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=   11028.60     FROM MIGRAD    STATUS=CONVERGED    499 CALLS     2065 TOTAL
                     EDM=   .52E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.8496        4.6999       -.31918E-06    .70620E-05
   2  norm          .61033        .73087       -.17017E-07   -.27898E-03
   3  Prefactor     .10000E-03    105.69       -.22705E-05** at limit **
   4  Prefactor     28.246        19.243        .23489E-07   -.12347E-04
   5  norm          5.6450        4.7713       -.38553E-06   -.10204E-04
   6  Prefactor     .10000E-03    133.62        .65441E-05** at limit **
   7  Prefactor     22.618        13.282        .39882E-06    .53888E-05
   8  norm          1.4623        1.0298        .77633E-08   -.50336E-04
   9  Prefactor     .10000E-03    101.74       -.44070E-05** at limit **
  10  Prefactor     .10000E-03    18.011       -.14214E-06** at limit **
  11  norm          .10000E-03    .75584        .52589E-08** at limit **
  12  Prefactor     .10000E-03    5.8497       -.26504E-07** at limit **
  13  Prefactor     .10000E-03    11.348       -.49219E-07** at limit **
  14  Prefactor     20.167        12.143       -.84382E-06   -.94807E-05
  15  Prefactor     .10000E-03    11.445        .33681E-07** at limit **
  16  norm          3.4385        1.6180       -.34380E-07   -.95423E-06
  17  Prefactor     .10000E-03    73.434        .65589E-06** at limit **
  18  Prefactor     .10000E-03    6.3153        .17144E-06** at limit **
  19  norm          4.0717        4.0617        .12850E-05   -.75797E-05
  20  Prefactor     .10000E-03    6.8491        .25504E-07** at limit **
  21  Normalizat    .81321        .22461        .31874E-06    .10007E-04
  22  Prefactor     1.1470        .99245E-01   -.10967E-06    .34897E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.84959
  norm       = 0.610331
  Prefactor  = 0.0001
  Prefactor  = 28.2458
  norm       = 5.64499
  Prefactor  = 0.0001
  Prefactor  = 22.6184
  norm       = 1.46234
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.1667
  Prefactor  = 0.0001
  norm       = 3.43854
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.07173
  Prefactor  = 0.0001
  Normalizat = 0.813207
  Prefactor  = 1.14704
 **********
 **   18 **HESSE 
 **********

 FCN=   11028.60     FROM HESSE     STATUS=OK           346 CALLS     2411 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.8496        4.6954        .18261E-03   -1.5267    
   2  norm          .61033        .64027        .93937E-03   -1.5552    
   3  Prefactor     .10000E-03    107.71        .20019E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     28.246        19.239        .75336E-04   -1.4645    
   5  norm          5.6450        4.7699        .16912E-03   -1.5233    
   6  Prefactor     .10000E-03    133.46        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     22.618        13.290        .84220E-04   -1.4756    
   8  norm          1.4623        1.0136        .85462E-04   -1.5466    
   9  Prefactor     .10000E-03    102.16        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    18.140        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.6864        .17776E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.8808        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    11.386        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     20.167        12.152        .89220E-04   -1.4810    
  15  Prefactor     .10000E-03    11.474        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.4385        1.6132        .86766E-04   -1.5337    
  17  Prefactor     .10000E-03    75.040        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    6.3188        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          4.0717        4.0625        .99919E-03   -1.5304    
  20  Prefactor     .10000E-03    6.8766        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .81321        .24733        .44838E-03   -.99581    
  22  Prefactor     1.1470        .11048        .17681E-03   -.87977    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80724e-09
Minuit parameter uncertainties:
  1  4.69578
  2  0.64028
  3  4.71001e-05
  4  19.2429
  5  4.77019
  6  6.54698e-05
  7  13.2917
  8  1.01361
  9  6.89108e-07
  10  3.4173e-06
  11  5.82512e-07
  12  5.11966e-06
  13  2.75797e-06
  14  12.1537
  15  2.41037e-06
  16  1.61319
  17  7.78241e-05
  18  4.95581e-07
  19  4.06281
  20  2.76386e-06
  21  0.247675
  22  0.110501
Done.

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

Extracting fit parameters...

4FGL J2236.3+2828
   Spectrum: LogParabola
286         norm:  1.462e+00  1.014e+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.147e+00  1.105e-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:  8.132e-01  2.477e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.31
Ra Dec: 339.096 28.483
Photon Index (Fixed Index): 2.15 +/- 0.00
Photon Flux (Fixed Index): 4.69e-08 +/- 3.25e-08
Energy Flux (Fixed Index): 1.90e-05 +/- 1.32e-05

TS (Fixed Index): 3.31
Ra Dec: 339.096 28.483
Photon Flux Upper Limit: 1.16e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.71e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/399824/likelihoodResults_506044801_506304001_4FGL_J2236.3+2828_daily_bin1029.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): 0
logL (Free Index) = 11028.5669168
delta logL = 0.029003349131

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11028.5661915
delta logL = 0.0297286076129

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4465       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2985       1.0000          .0000       5.0000    
     3 'Normalizat'    .80417       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1495       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=   11028.57     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      204 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4471        25.060        .89602E-02    .10530E-02
   2  alpha         2.2984        2.9938        .41322        .22125E-04
   3  Normalizat    .80427        .98461E-01    .10170        .13880E-03
   4  Prefactor     1.1495        .42694E-01    .35951E-01    .22843E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.44707
  alpha      = 2.29845
  Normalizat = 0.804267
  Prefactor  = 1.14947
 **********
 **   18 **HESSE 
 **********

 FCN=   11028.57     FROM HESSE     STATUS=OK            31 CALLS      235 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4471        1.0131        .83155E-04   -1.5467    
   2  alpha         2.2984        .63279        .21252E-01   -.80709E-01
   3  Normalizat    .80427        .24044        .45070E-03   -.99911    
   4  Prefactor     1.1495        .11015        .17666E-03   -.87901    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71528e-11
Minuit parameter uncertainties:
  1  1.01309
  2  0.639797
  3  0.240763
  4  0.110171
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/399824': 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) = 11028.5661912
delta logL = 0.0297289094997

Extracting fit parameters...

4FGL J2236.3+2828
   Spectrum: LogParabola
286         norm:  1.447e+00  1.013e+00  1.000e-04  1.000e+04 ( 1.000e-11)
287        alpha:  2.298e+00  6.398e-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.149e+00  1.102e-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:  8.043e-01  2.408e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.39
Ra Dec: 339.096 28.483
Photon Index (Free Index): 2.30 +/- 0.64
Photon Flux (Free Index): 5.33e-08 +/- 4.30e-08
Energy Flux (Free Index): 1.81e-05 +/- 1.30e-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/399824/cmap_HighResolution_506044801_506304001_4FGL_J2236.3+2828_daily_bin1029.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.71e-05', comment='SUCCESS', photon_flux='4.69e-08', energy_flux2='1.81e-05', photon_flux_error='3.25e-08', dlogl='2.97e-02', energy_flux='1.90e-05', photon_flux2='5.33e-08', job_status='DONE', time_completed='2021-09-28 17:01:12.365394', photon_index_error2='0.64', photon_index2='2.30', ts='3.31', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', photon_flux_upper_limit='1.16e-07', energy_flux_error2='1.30e-05', EG='0.81', time_epoch_completed='1632873672.37', return_code='0', job_id='399824', GAL2='1.15', EG2='0.80', return_code2='0', energy_flux_error='1.32e-05', photon_flux_error2='4.30e-08', ts2='3.39', photon_index='2.15' WHERE bin_id='1029' AND source_name='4FGL J2236.3+2828' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:01:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 399824: <4FGL_J2236.3+2828_daily_bin1029> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.3+2828_daily_bin1029 339.096 28.4832 506044801 506304001 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 :                                   809.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             303.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   928 sec.
    Turnaround time :                            931 sec.

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

