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


Performing analysis on: 4FGL_J2236.3+2828_daily_bin1285
RA = 339.096, Dec = 28.4832
tmin = 572400001, tmax = 572659201
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='401238', job_status='RUN', time_executed='2021-09-28 16:53:10.784996', time_epoch_executed='1632873190.79' WHERE source_name='4FGL J2236.3+2828' and cadence='daily' and bin_id='1285'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/401238

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/401238/ft1_4FGL_J2236.3+2828_daily_bin1285.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/401238/ft2_4FGL_J2236.3+2828_daily_bin1285.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/401238/ft1_4FGL_J2236.3+2828_daily_bin1285.fits outfile=/scratch/kocevski/401238/ft1_filteredMKT_4FGL_J2236.3+2828_daily_bin1285.fits ra=339.096 dec=28.4832 rad=12.0 tmin=572400001.0 tmax=572659201.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.66
user 3.42
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/401238/ft1_filtered_4FGL_J2236.3+2828_daily_bin1285.fits" evtable="EVENTS" scfile=/scratch/kocevski/401238/ft2_4FGL_J2236.3+2828_daily_bin1285.fits sctable="SC_DATA" outfile=/scratch/kocevski/401238/ltcube_572400001_572659201_4FGL_J2236.3+2828_daily_bin1285.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/401238/ft2_4FGL_J2236.3+2828_daily_bin1285.fits
.....................!
real 14.05
user 13.68
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/401238/ft1_filtered_4FGL_J2236.3+2828_daily_bin1285.fits evtable="EVENTS" scfile=/scratch/kocevski/401238/ft2_4FGL_J2236.3+2828_daily_bin1285.fits sctable="SC_DATA" expcube=/scratch/kocevski/401238/ltcube_572400001_572659201_4FGL_J2236.3+2828_daily_bin1285.fits outfile=/scratch/kocevski/401238/expmap_572400001_572659201_4FGL_J2236.3+2828_daily_bin1285.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/401238/ltcube_572400001_572659201_4FGL_J2236.3+2828_daily_bin1285.fits
.....................!
real 191.28
user 186.20
sys 4.62

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/401238/ft1_filtered_4FGL_J2236.3+2828_daily_bin1285.fits scfile=/scratch/kocevski/401238/ft2_4FGL_J2236.3+2828_daily_bin1285.fits outfile=/scratch/kocevski/401238/cmap_572400001_572659201_4FGL_J2236.3+2828_daily_bin1285.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.37
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .68877       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.8101       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.1318       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .13054E-01   1.0000         .10000E-03   10000.    
     8 'norm      '    3.5755       1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.515       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .79016       1.0000         .10000E-03   10000.    
    12 'Prefactor '    26.529       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .65104       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.2305       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .82134E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10182E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .67757       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0201       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=   8220.033     FROM MIGRAD    STATUS=CONVERGED    518 CALLS     2447 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.9355        .23975E-06** at limit **
   2  norm          .68934        .72704       -.35213E-06   -.93772E-03
   3  Prefactor     2.6277        181.73       -.68684E-06   -.10122E-04
   4  Prefactor     8.1295        15.947        .49433E-06    .94235E-04
   5  norm          .10000E-03    2.3784       -.79604E-07** at limit **
   6  Prefactor     .10000E-03    88.153       -.11563E-06** at limit **
   7  Prefactor     .10000E-03    260.69        .63509E-05** at limit **
   8  norm          3.5752        1.2919       -.47342E-08    .17786E-03
   9  Prefactor     18.448        40.370       -.15788E-06    .48177E-05
  10  Prefactor     .10000E-03    8.7267       -.72267E-07** at limit **
  11  norm          .79100        1.5068        .17880E-06    .23901E-03
  12  Prefactor     26.525        12.970       -.41530E-08    .12562E-03
  13  Prefactor     .10000E-03    8.9447        .69193E-07** at limit **
  14  Prefactor     .59427        25.275       -.34144E-05    .20494E-04
  15  Prefactor     .10000E-03    8.1028        .82528E-07** at limit **
  16  norm          1.2309        1.3903       -.16893E-06    .48327E-03
  17  Prefactor     .10000E-03    9.1282       -.10059E-06** at limit **
  18  Prefactor     .10000E-03    16.970        .66188E-07** at limit **
  19  norm          .10000E-03    2.2553       -.23220E-07** at limit **
  20  Prefactor     .10000E-03    17.789       -.55792E-07** at limit **
  21  Normalizat    .67727        .23464       -.24693E-05    .15399E-03
  22  Prefactor     1.0203        .10824        .15127E-05    .91850E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.689343
  Prefactor  = 2.62774
  Prefactor  = 8.12951
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 3.57515
  Prefactor  = 18.4477
  Prefactor  = 0.0001
  norm       = 0.791
  Prefactor  = 26.5254
  Prefactor  = 0.0001
  Prefactor  = 0.594266
  Prefactor  = 0.0001
  norm       = 1.23089
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.677274
  Prefactor  = 1.0203
 **********
 **   18 **HESSE 
 **********

 FCN=   8220.033     FROM HESSE     STATUS=OK           360 CALLS     2807 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.0217        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .68934        .71795        .82042E-03   -1.5542    
   3  Prefactor     2.6277        184.60        .24266E-03   -1.5384    
   4  Prefactor     8.1295        15.996        .14060E-03   -1.5138    
   5  norm          .10000E-03    2.3970        .13655E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    88.291        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    12.732        .76480E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.5752        1.2903        .59287E-04   -1.5330    
   9  Prefactor     18.448        40.376        .93081E-04   -1.4849    
  10  Prefactor     .10000E-03    8.7640        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .79100        1.5094        .16753E-02   -1.5530    
  12  Prefactor     26.525        13.059        .77778E-04   -1.4677    
  13  Prefactor     .10000E-03    8.9986        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .59427        25.168        .43765E-02   -1.5554    
  15  Prefactor     .10000E-03    8.1073        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.2309        1.3703        .10768E-03   -1.5486    
  17  Prefactor     .10000E-03    9.1600        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    17.111        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    22.883        .25875E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    18.017        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .67727        .23724        .40682E-03   -1.0480    
  22  Prefactor     1.0203        .10896        .15892E-03   -.92056    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.26971e-10
Minuit parameter uncertainties:
  1  2.27078e-05
  2  0.717958
  3  44.1905
  4  16.0048
  5  3.3086e-06
  6  0.000158181
  7  0.0002368
  8  1.2903
  9  40.4357
  10  1.82308e-06
  11  1.50945
  12  13.0606
  13  5.59153e-06
  14  7.7375
  15  2.29094e-06
  16  1.37038
  17  2.51062e-06
  18  3.69085e-06
  19  0.000203683
  20  5.09125e-05
  21  0.237604
  22  0.108982
Done.

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

Extracting fit parameters...

4FGL J2236.3+2828
   Spectrum: LogParabola
286         norm:  3.575e+00  1.290e+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.020e+00  1.090e-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:  6.773e-01  2.376e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 22.73
Ra Dec: 339.096 28.483
Photon Index (Fixed Index): 2.15 +/- 0.00
Photon Flux (Fixed Index): 1.15e-07 +/- 4.14e-08
Energy Flux (Fixed Index): 4.65e-05 +/- 1.68e-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) = 8219.58363949
delta logL = 0.449444775884

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8219.52927159
delta logL = 0.503812676603

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6065       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7678       1.0000          .0000       5.0000    
     3 'Normalizat'    .71388       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0096       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=   8219.529     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      207 TOTAL
                     EDM=   .42E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6087        1.4384        .53191E-02    .13983E-03
   2  alpha         1.7678        .33219        .28805       -.34785E-04
   3  Normalizat    .71384        .19943        .89620E-01    .38586E-04
   4  Prefactor     1.0096        .93771E-01    .43380E-01   -.78954E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.60873
  alpha      = 1.76779
  Normalizat = 0.713836
  Prefactor  = 1.00965
 **********
 **   18 **HESSE 
 **********

 FCN=   8219.529     FROM HESSE     STATUS=OK            33 CALLS      240 TOTAL
                     EDM=   .94E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6087        1.3863        .61980E-04   -1.5328    
   2  alpha         1.7678        .35726        .11377E-01   -.29724    
   3  Normalizat    .71384        .22711        .39700E-03   -1.0335    
   4  Prefactor     1.0096        .10692        .15966E-03   -.92409    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.37724e-13
Minuit parameter uncertainties:
  1  1.38633
  2  0.358606
  3  0.227413
  4  0.10694
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/401238': 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) = 8219.52927021
delta logL = 0.503814053704

Extracting fit parameters...

4FGL J2236.3+2828
   Spectrum: LogParabola
286         norm:  3.609e+00  1.386e+00  1.000e-04  1.000e+04 ( 1.000e-11)
287        alpha:  1.768e+00  3.586e-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.010e+00  1.069e-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:  7.138e-01  2.274e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 23.54
Ra Dec: 339.096 28.483
Photon Index (Free Index): 1.77 +/- 0.36
Photon Flux (Free Index): 8.84e-08 +/- 4.17e-08
Energy Flux (Free Index): 6.50e-05 +/- 3.52e-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/401238/cmap_HighResolution_572400001_572659201_4FGL_J2236.3+2828_daily_bin1285.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.15e-07', energy_flux2='6.50e-05', photon_flux_error='4.14e-08', dlogl='5.04e-01', energy_flux='4.65e-05', photon_flux2='8.84e-08', job_status='DONE', time_completed='2021-09-28 17:04:17.267584', photon_index_error2='0.36', photon_index2='1.77', ts='22.73', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='3.52e-05', EG='0.68', time_epoch_completed='1632873857.27', return_code='0', job_id='401238', GAL2='1.01', EG2='0.71', return_code2='0', energy_flux_error='1.68e-05', photon_flux_error2='4.17e-08', ts2='23.54', photon_index='2.15' WHERE bin_id='1285' AND source_name='4FGL J2236.3+2828' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:04:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0288>
Subject: Job 401238: <4FGL_J2236.3+2828_daily_bin1285> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.3+2828_daily_bin1285 339.096 28.4832 572400001 572659201 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 :                                   656.28 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             294.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   825 sec.
    Turnaround time :                            826 sec.

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

