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


Performing analysis on: 4FGL_J2236.3+2828_daily_bin1392
RA = 339.096, Dec = 28.4832
tmin = 600134401, tmax = 600393601
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='401393', job_status='RUN', time_executed='2021-09-28 16:53:54.833817', time_epoch_executed='1632873234.83' WHERE source_name='4FGL J2236.3+2828' and cadence='daily' and bin_id='1392'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/401393

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/401393/ft1_4FGL_J2236.3+2828_daily_bin1392.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/401393/ft2_4FGL_J2236.3+2828_daily_bin1392.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/401393/ft1_4FGL_J2236.3+2828_daily_bin1392.fits outfile=/scratch/kocevski/401393/ft1_filteredMKT_4FGL_J2236.3+2828_daily_bin1392.fits ra=339.096 dec=28.4832 rad=12.0 tmin=600134401.0 tmax=600393601.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.84
user 4.62
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/401393/ft2_4FGL_J2236.3+2828_daily_bin1392.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/401393/ft1_filteredMKT_4FGL_J2236.3+2828_daily_bin1392.fits evtable="EVENTS" outfile="/scratch/kocevski/401393/ft1_filtered_4FGL_J2236.3+2828_daily_bin1392.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/401393/ft1_filtered_4FGL_J2236.3+2828_daily_bin1392.fits" evtable="EVENTS" scfile=/scratch/kocevski/401393/ft2_4FGL_J2236.3+2828_daily_bin1392.fits sctable="SC_DATA" outfile=/scratch/kocevski/401393/ltcube_600134401_600393601_4FGL_J2236.3+2828_daily_bin1392.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/401393/ft2_4FGL_J2236.3+2828_daily_bin1392.fits
.....................!
real 11.59
user 11.26
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/401393/ft1_filtered_4FGL_J2236.3+2828_daily_bin1392.fits evtable="EVENTS" scfile=/scratch/kocevski/401393/ft2_4FGL_J2236.3+2828_daily_bin1392.fits sctable="SC_DATA" expcube=/scratch/kocevski/401393/ltcube_600134401_600393601_4FGL_J2236.3+2828_daily_bin1392.fits outfile=/scratch/kocevski/401393/expmap_600134401_600393601_4FGL_J2236.3+2828_daily_bin1392.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/401393/ltcube_600134401_600393601_4FGL_J2236.3+2828_daily_bin1392.fits
.....................!
real 189.85
user 185.35
sys 4.19

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/401393/ft1_filtered_4FGL_J2236.3+2828_daily_bin1392.fits scfile=/scratch/kocevski/401393/ft2_4FGL_J2236.3+2828_daily_bin1392.fits outfile=/scratch/kocevski/401393/cmap_600134401_600393601_4FGL_J2236.3+2828_daily_bin1392.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/401393/ft1_filtered_4FGL_J2236.3+2828_daily_bin1392.fits scfile=/scratch/kocevski/401393/ft2_4FGL_J2236.3+2828_daily_bin1392.fits outfile=/scratch/kocevski/401393/cmap_HighResolution_600134401_600393601_4FGL_J2236.3+2828_daily_bin1392.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/401393/ft1_filtered_4FGL_J2236.3+2828_daily_bin1392.fits evtable="EVENTS" scfile=/scratch/kocevski/401393/ft2_4FGL_J2236.3+2828_daily_bin1392.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/401393/Model_4FGL_J2236.3+2828_daily_bin1392.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/401393/ft1_filtered_4FGL_J2236.3+2828_daily_bin1392.fits.....................!
real 102.87
user 101.44
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .39621E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.842       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    124.35       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11588E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.4413       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10445E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .92263       1.0000         .10000E-03   10000.    
    12 'Prefactor '    21.317       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .17847E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.7344       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    49.877       1.0000         .10000E-03   10000.    
    19 'norm      '    2.7401       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10419E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .65281       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1098       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=   9967.429     FROM MIGRAD    STATUS=CONVERGED    496 CALLS     2438 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.0276        .90712E-02** at limit **
   2  norm          .10000E-03    .27783        .34727E-01** at limit **
   3  Prefactor     10.844        27.178        .30419E-02    .37209E-04
   4  Prefactor     .10000E-03    9.0183        .90712E-02** at limit **
   5  norm          .10000E-03    1.8790        .90712E-02** at limit **
   6  Prefactor     124.35        88.006        .90238E-03    .11471E-02
   7  Prefactor     .10000E-03    5.9264        .90712E-01** at limit **
   8  norm          1.4412        .85890        .89825E-02    .11673E-03
   9  Prefactor     .10000E-03    142.96        .90712E-02** at limit **
  10  Prefactor     .10000E-03    6.3555        .90712E-02** at limit **
  11  norm          .92134        1.5931        .32974E-01    .20362E-02
  12  Prefactor     21.321        10.157        .21688E-02   -.18290E-03
  13  Prefactor     .10000E-03    4.2248        .90712E-02** at limit **
  14  Prefactor     .10002E-03    18.117        .90712E-02** at limit **
  15  Prefactor     .10000E-03    11.070        .90712E-02** at limit **
  16  norm          1.7341        1.3367        .79673E-02    .95244E-03
  17  Prefactor     .10000E-03    9.5998        .90712E-02** at limit **
  18  Prefactor     49.867        27.426        .14196E-02    .36786E-03
  19  norm          2.7386        3.8796        .61490E-02    .64348E-03
  20  Prefactor     .10002E-03    19.205        .90712E-02** at limit **
  21  Normalizat    .65286        .20797        .97258E-01    .10027E-03
  22  Prefactor     1.1098        .94568E-01    .37225E-01    .30757E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.8438
  Prefactor  = 0.000100004
  norm       = 0.0001
  Prefactor  = 124.352
  Prefactor  = 0.0001
  norm       = 1.4412
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.921336
  Prefactor  = 21.3206
  Prefactor  = 0.0001
  Prefactor  = 0.000100023
  Prefactor  = 0.0001
  norm       = 1.73412
  Prefactor  = 0.000100003
  Prefactor  = 49.8665
  norm       = 2.73863
  Prefactor  = 0.000100019
  Normalizat = 0.652864
  Prefactor  = 1.10984
 **********
 **   18 **HESSE 
 **********

 FCN=   9967.429     FROM HESSE     STATUS=OK           340 CALLS     2778 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.3524        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    6.6237        .10080E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     10.844        27.175        .12168E-03   -1.5049    
   4  Prefactor     .10000E-03    9.0616        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.8915        .13363E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     124.35        87.926        .36095E-04   -1.3473    
   7  Prefactor     .10000E-03    29.403        .46011E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.4412        .85616        .68355E-04   -1.5468    
   9  Prefactor     .10000E-03    143.53        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.3637        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .92134        1.4151        .15651E-02   -1.5516    
  12  Prefactor     21.321        10.049        .86753E-04   -1.4784    
  13  Prefactor     .10000E-03    4.2262        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10002E-03    18.944        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    11.093        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.7341        1.3219        .95931E-04   -1.5445    
  17  Prefactor     .10000E-03    9.6396        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     49.867        27.378        .56783E-04   -1.4294    
  19  norm          2.7386        3.8540        .22530E-03   -1.5377    
  20  Prefactor     .10002E-03    19.436        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .65286        .22283        .43098E-03   -1.0578    
  22  Prefactor     1.1098        .10419        .16121E-03   -.89153    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18851e-08
Minuit parameter uncertainties:
  1  0.000117189
  2  2.25669e-05
  3  27.2058
  4  0.000377739
  5  1.60175e-05
  6  88.0188
  7  0.000230581
  8  0.856165
  9  0.000801245
  10  4.66653e-05
  11  1.41518
  12  10.0502
  13  1.21949e-05
  14  0.00131937
  15  2.62189e-05
  16  1.32197
  17  0.000367179
  18  27.385
  19  3.85433
  20  0.0012309
  21  0.223136
  22  0.104212
Done.

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

Extracting fit parameters...

4FGL J2236.3+2828
   Spectrum: LogParabola
286         norm:  1.441e+00  8.562e-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:  1.110e+00  1.042e-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.529e-01  2.231e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.33
Ra Dec: 339.096 28.483
Photon Index (Fixed Index): 2.15 +/- 0.00
Photon Flux (Fixed Index): 4.62e-08 +/- 2.75e-08
Energy Flux (Fixed Index): 1.87e-05 +/- 1.11e-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) = 9967.35828882
delta logL = 0.0705196601084

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9967.34639433
delta logL = 0.082414145616

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2986       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8860       1.0000          .0000       5.0000    
     3 'Normalizat'    .66897       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1061       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=   9967.346     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      204 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2958        1.0294        .96977E-02   -.17708E-03
   2  alpha         1.8852        .57577        .42841       -.42224E-04
   3  Normalizat    .66887        .19712        .96165E-01   -.16056E-03
   4  Prefactor     1.1061        .93741E-01    .37359E-01   -.63246E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.29582
  alpha      = 1.88522
  Normalizat = 0.668873
  Prefactor  = 1.10614
 **********
 **   18 **HESSE 
 **********

 FCN=   9967.346     FROM HESSE     STATUS=OK            31 CALLS      235 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2958        .95913        .69621E-04   -1.5480    
   2  alpha         1.8852        .63755        .18317E-01   -.24846    
   3  Normalizat    .66887        .21912        .42612E-03   -1.0513    
   4  Prefactor     1.1061        .10409        .16146E-03   -.89271    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14523e-10
Minuit parameter uncertainties:
  1  0.959137
  2  0.645147
  3  0.21941
  4  0.10411
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/401393': 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) = 9967.34638939
delta logL = 0.0824190883304

Extracting fit parameters...

4FGL J2236.3+2828
   Spectrum: LogParabola
286         norm:  1.296e+00  9.591e-01  1.000e-04  1.000e+04 ( 1.000e-11)
287        alpha:  1.885e+00  6.451e-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.106e+00  1.041e-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.689e-01  2.194e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.44
Ra Dec: 339.096 28.483
Photon Index (Free Index): 1.89 +/- 0.65
Photon Flux (Free Index): 3.41e-08 +/- 3.50e-08
Energy Flux (Free Index): 2.03e-05 +/- 1.41e-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/401393/cmap_HighResolution_600134401_600393601_4FGL_J2236.3+2828_daily_bin1392.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.62e-08', energy_flux2='2.03e-05', photon_flux_error='2.75e-08', dlogl='8.24e-02', energy_flux='1.87e-05', photon_flux2='3.41e-08', job_status='DONE', time_completed='2021-09-28 17:05:58.751115', photon_index_error2='0.65', photon_index2='1.89', ts='9.33', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', energy_flux_error2='1.41e-05', EG='0.65', time_epoch_completed='1632873958.75', return_code='0', job_id='401393', GAL2='1.11', EG2='0.67', return_code2='0', energy_flux_error='1.11e-05', photon_flux_error2='3.50e-08', ts2='9.44', photon_index='2.15' WHERE bin_id='1392' AND source_name='4FGL J2236.3+2828' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:05:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 401393: <4FGL_J2236.3+2828_daily_bin1392> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.3+2828_daily_bin1392 339.096 28.4832 600134401 600393601 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 :                                   719.35 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             269.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   916 sec.
    Turnaround time :                            918 sec.

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

