/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 163 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 = 7479
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2236.3+2828_daily_bin69
RA = 339.096, Dec = 28.4832
tmin = 257212801, tmax = 257472001
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='395201', job_status='RUN', time_executed='2021-09-28 16:33:54.762308', time_epoch_executed='1632872034.76' WHERE source_name='4FGL J2236.3+2828' and cadence='daily' and bin_id='69'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/395201

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/395201/ft1_4FGL_J2236.3+2828_daily_bin69.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/395201/ft2_4FGL_J2236.3+2828_daily_bin69.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/395201/ft1_4FGL_J2236.3+2828_daily_bin69.fits outfile=/scratch/kocevski/395201/ft1_filteredMKT_4FGL_J2236.3+2828_daily_bin69.fits ra=339.096 dec=28.4832 rad=12.0 tmin=257212801.0 tmax=257472001.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.39
user 2.16
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/395201/ft1_filtered_4FGL_J2236.3+2828_daily_bin69.fits evtable="EVENTS" scfile=/scratch/kocevski/395201/ft2_4FGL_J2236.3+2828_daily_bin69.fits sctable="SC_DATA" expcube=/scratch/kocevski/395201/ltcube_257212801_257472001_4FGL_J2236.3+2828_daily_bin69.fits outfile=/scratch/kocevski/395201/expmap_257212801_257472001_4FGL_J2236.3+2828_daily_bin69.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/395201/ltcube_257212801_257472001_4FGL_J2236.3+2828_daily_bin69.fits
.....................!
real 191.09
user 185.13
sys 5.65

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/395201/ft1_filtered_4FGL_J2236.3+2828_daily_bin69.fits scfile=/scratch/kocevski/395201/ft2_4FGL_J2236.3+2828_daily_bin69.fits outfile=/scratch/kocevski/395201/cmap_257212801_257472001_4FGL_J2236.3+2828_daily_bin69.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/395201/ft1_filtered_4FGL_J2236.3+2828_daily_bin69.fits scfile=/scratch/kocevski/395201/ft2_4FGL_J2236.3+2828_daily_bin69.fits outfile=/scratch/kocevski/395201/cmap_HighResolution_257212801_257472001_4FGL_J2236.3+2828_daily_bin69.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.36
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .77299       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10876E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.1895       1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    95.130       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10106E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .90961       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10093E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.3428       1.0000         .10000E-03   10000.    
    15 'Prefactor '    27.383       1.0000         .10000E-03   10000.    
    16 'norm      '    .79817       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10518E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .13467E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .17084E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.7972       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0547       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .97743       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=   9777.561     FROM MIGRAD    STATUS=CONVERGED    471 CALLS     2386 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.6718        .19172E-06** at limit **
   2  norm          .77309        .68295        .11810E-06    .16958E-03
   3  Prefactor     .10000E-03    18.513        .15306E-05** at limit **
   4  Prefactor     3.1903        9.2575        .48269E-05    .11305E-03
   5  norm          .10000E-03    .99449        .20289E-07** at limit **
   6  Prefactor     95.051        83.376        .75795E-05   -.87679E-04
   7  Prefactor     .10000E-03    7.9427        .30052E-06** at limit **
   8  norm          .90950        .86201       -.85866E-07   -.72990E-03
   9  Prefactor     .10000E-03    24.850       -.15234E-05** at limit **
  10  Prefactor     .10000E-03    10.988        .13212E-06** at limit **
  11  norm          .10000E-03    .37878        .23143E-07** at limit **
  12  Prefactor     .10000E-03    2.2817        .26812E-07** at limit **
  13  Prefactor     .10000E-03    6.1371       -.15669E-06** at limit **
  14  Prefactor     2.3429        10.822        .11635E-04    .20492E-03
  15  Prefactor     27.347        27.594        .40764E-05   -.10837E-03
  16  norm          .79798        1.3587       -.24517E-06   -.88515E-03
  17  Prefactor     .10000E-03    21.493        .19403E-06** at limit **
  18  Prefactor     .10000E-03    32.945        .11638E-05** at limit **
  19  norm          .10002E-03    2.9796        .13114E-06** at limit **
  20  Prefactor     1.7574        23.876        .98881E-05   -.33725E-03
  21  Normalizat    1.0546        .19895       -.33921E-05   -.32189E-03
  22  Prefactor     .97744        .90720E-01   -.32342E-06   -.69500E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.773094
  Prefactor  = 0.0001
  Prefactor  = 3.19028
  norm       = 0.0001
  Prefactor  = 95.0513
  Prefactor  = 0.0001
  norm       = 0.909501
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.34287
  Prefactor  = 27.3465
  norm       = 0.79798
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100021
  Prefactor  = 1.75737
  Normalizat = 1.05463
  Prefactor  = 0.977438
 **********
 **   18 **HESSE 
 **********

 FCN=   9777.561     FROM HESSE     STATUS=OK           338 CALLS     2724 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.7284        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .77309        .67335        .73831E-04   -1.5532    
   3  Prefactor     .10000E-03    18.545        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.1903        9.2031        .11345E-02   -1.5351    
   5  norm          .10000E-03    .99597        .96300E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     95.051        82.897        .20604E-03   -1.3755    
   7  Prefactor     .10000E-03    8.0370        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .90950        .84350        .85438E-04   -1.5517    
   9  Prefactor     .10000E-03    24.841        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    11.022        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .38133        .59428E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.2845        .14586E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.1450        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.3429        10.599        .13393E-02   -1.5402    
  15  Prefactor     27.347        27.487        .76558E-04   -1.4662    
  16  norm          .79798        1.3237        .13975E-03   -1.5529    
  17  Prefactor     .10000E-03    21.681        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    33.642        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10002E-03    10.339        .30375E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.7574        23.149        .15594E-02   -1.5443    
  21  Normalizat    1.0546        .23341        .35294E-03   -.91222    
  22  Prefactor     .97744        .10803        .17124E-03   -.93485    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.26642e-09
Minuit parameter uncertainties:
  1  1.75799e-05
  2  0.673353
  3  3.95642e-05
  4  9.20715
  5  1.1645e-06
  6  82.9983
  7  2.64535e-06
  8  0.84351
  9  7.91364e-05
  10  1.73215e-05
  11  5.597e-07
  12  1.14865e-07
  13  6.33882e-08
  14  9.96901
  15  27.4995
  16  1.3237
  17  0.000106842
  18  0.000149966
  19  0.000941083
  20  12.7619
  21  0.233634
  22  0.108049
Done.

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

Extracting fit parameters...

4FGL J2236.3+2828
   Spectrum: LogParabola
286         norm:  9.095e-01  8.435e-01  1.000e-04  1.000e+04 ( 1.000e-11)
287        alpha:  2.146e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
288         beta:  1.046e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  5.754e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  9.774e-01  1.080e-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:  1.055e+00  2.336e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.52
Ra Dec: 339.096 28.483
Photon Index (Fixed Index): 2.15 +/- 0.00
Photon Flux (Fixed Index): 2.92e-08 +/- 2.71e-08
Energy Flux (Fixed Index): 1.18e-05 +/- 1.10e-05

TS (Fixed Index): 2.52
Ra Dec: 339.096 28.483
Photon Flux Upper Limit: 9.42e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.82e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/395201/likelihoodResults_257212801_257472001_4FGL_J2236.3+2828_daily_bin69.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) = 9777.44704205
delta logL = 0.114026778965

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9777.44405996
delta logL = 0.117008868972

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .92891       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5171       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0362       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98230       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=   9777.444     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      202 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .92892        17.295        .12912E-01    .95310E-03
   2  alpha         2.5171        3.3001        .41153        .42178E-04
   3  Normalizat    1.0362        .61889E-01    .80359E-01   -.23279E-03
   4  Prefactor     .98230        .28781E-01    .46045E-01   -.60744E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.928924
  alpha      = 2.5171
  Normalizat = 1.03616
  Prefactor  = 0.9823
 **********
 **   18 **HESSE 
 **********

 FCN=   9777.444     FROM HESSE     STATUS=OK            31 CALLS      233 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .92892        .82002        .77459E-04   -1.5515    
   2  alpha         2.5171        .76367        .22916E-01    .68389E-02
   3  Normalizat    1.0362        .23253        .35572E-03   -.91829    
   4  Prefactor     .98230        .10808        .17086E-03   -.93322    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46785e-10
Minuit parameter uncertainties:
  1  0.820026
  2  0.776075
  3  0.232758
  4  0.108104
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/395201': 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) = 9777.44405996
delta logL = 0.117008869378

Extracting fit parameters...

4FGL J2236.3+2828
   Spectrum: LogParabola
286         norm:  9.289e-01  8.200e-01  1.000e-04  1.000e+04 ( 1.000e-11)
287        alpha:  2.517e+00  7.761e-01  0.000e+00  5.000e+00 ( 1.000e+00)
288         beta:  1.046e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  5.754e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  9.823e-01  1.081e-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:  1.036e+00  2.328e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.80
Ra Dec: 339.096 28.483
Photon Index (Free Index): 2.52 +/- 0.78
Photon Flux (Free Index): 4.25e-08 +/- 4.20e-08
Energy Flux (Free Index): 1.18e-05 +/- 9.94e-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/395201/cmap_HighResolution_257212801_257472001_4FGL_J2236.3+2828_daily_bin69.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.82e-05', comment='SUCCESS', photon_flux='2.92e-08', energy_flux2='1.18e-05', photon_flux_error='2.71e-08', dlogl='1.17e-01', energy_flux='1.18e-05', photon_flux2='4.25e-08', job_status='DONE', time_completed='2021-09-28 16:47:15.095040', photon_index_error2='0.78', photon_index2='2.52', ts='2.52', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='9.42e-08', energy_flux_error2='9.94e-06', EG='1.05', time_epoch_completed='1632872835.1', return_code='0', job_id='395201', GAL2='0.98', EG2='1.04', return_code2='0', energy_flux_error='1.10e-05', photon_flux_error2='4.20e-08', ts2='2.80', photon_index='2.15' WHERE bin_id='69' AND source_name='4FGL J2236.3+2828' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 16:47:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 395201: <4FGL_J2236.3+2828_daily_bin69> in cluster <slac> Done

Job <4FGL_J2236.3+2828_daily_bin69> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Tue Sep 28 16:31:00 2021
Job was executed on host(s) <bullet0260>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 16:31:02 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:31:02 2021
Terminated at Tue Sep 28 16:47:15 2021
Results reported at Tue Sep 28 16:47:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.3+2828_daily_bin69 339.096 28.4832 257212801 257472001 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 :                                   799.35 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             306.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   973 sec.
    Turnaround time :                            975 sec.

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

