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


Performing analysis on: 4FGL_J2236.4-2309_daily_bin1548
RA = 339.125, Dec = -23.1552
tmin = 640569601, tmax = 640828801
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='409435', job_status='RUN', time_executed='2021-09-28 17:16:56.629148', time_epoch_executed='1632874616.63' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='1548'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/409435

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/409435/ft1_4FGL_J2236.4-2309_daily_bin1548.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/409435/ft2_4FGL_J2236.4-2309_daily_bin1548.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/409435/ft1_4FGL_J2236.4-2309_daily_bin1548.fits outfile=/scratch/kocevski/409435/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1548.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=640569601.0 tmax=640828801.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.25
user 2.76
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/409435/ft2_4FGL_J2236.4-2309_daily_bin1548.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/409435/ft2_4FGL_J2236.4-2309_daily_bin1548.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/409435/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1548.fits evtable="EVENTS" outfile="/scratch/kocevski/409435/ft1_filtered_4FGL_J2236.4-2309_daily_bin1548.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.61
user 0.34
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/409435/ft1_filtered_4FGL_J2236.4-2309_daily_bin1548.fits" evtable="EVENTS" scfile=/scratch/kocevski/409435/ft2_4FGL_J2236.4-2309_daily_bin1548.fits sctable="SC_DATA" outfile=/scratch/kocevski/409435/ltcube_640569601_640828801_4FGL_J2236.4-2309_daily_bin1548.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/409435/ft2_4FGL_J2236.4-2309_daily_bin1548.fits
.....................!
real 12.55
user 12.15
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/409435/ft1_filtered_4FGL_J2236.4-2309_daily_bin1548.fits evtable="EVENTS" scfile=/scratch/kocevski/409435/ft2_4FGL_J2236.4-2309_daily_bin1548.fits sctable="SC_DATA" expcube=/scratch/kocevski/409435/ltcube_640569601_640828801_4FGL_J2236.4-2309_daily_bin1548.fits outfile=/scratch/kocevski/409435/expmap_640569601_640828801_4FGL_J2236.4-2309_daily_bin1548.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/409435/ltcube_640569601_640828801_4FGL_J2236.4-2309_daily_bin1548.fits
.....................!
real 190.69
user 185.62
sys 4.70

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 159 point sources and 0 extended sources

Setting source of interest to:
4FGL J2236.4-2309 @ 339.125 -23.1552

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/409435/ft1_filtered_4FGL_J2236.4-2309_daily_bin1548.fits scfile=/scratch/kocevski/409435/ft2_4FGL_J2236.4-2309_daily_bin1548.fits outfile=/scratch/kocevski/409435/cmap_640569601_640828801_4FGL_J2236.4-2309_daily_bin1548.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.125 yref=-23.1552 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/409435/ft1_filtered_4FGL_J2236.4-2309_daily_bin1548.fits scfile=/scratch/kocevski/409435/ft2_4FGL_J2236.4-2309_daily_bin1548.fits outfile=/scratch/kocevski/409435/cmap_HighResolution_640569601_640828801_4FGL_J2236.4-2309_daily_bin1548.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.125 yref=-23.1552 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.58
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/409435/ft1_filtered_4FGL_J2236.4-2309_daily_bin1548.fits evtable="EVENTS" scfile=/scratch/kocevski/409435/ft2_4FGL_J2236.4-2309_daily_bin1548.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/409435/Model_4FGL_J2236.4-2309_daily_bin1548.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/409435/ft1_filtered_4FGL_J2236.4-2309_daily_bin1548.fits.....................!
real 72.34
user 70.93
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/409435/ft1_filtered_4FGL_J2236.4-2309_daily_bin1548.fits', '/scratch/kocevski/409435/ft2_4FGL_J2236.4-2309_daily_bin1548.fits', expMap='/scratch/kocevski/409435/expmap_640569601_640828801_4FGL_J2236.4-2309_daily_bin1548.fits', expCube='/scratch/kocevski/409435/ltcube_640569601_640828801_4FGL_J2236.4-2309_daily_bin1548.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/409435/Model_4FGL_J2236.4-2309_daily_bin1548.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2236.4-2309'

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  4.382e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  2.743e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
249        Scale:  4.484e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/409435/ft1_filtered_4FGL_J2236.4-2309_daily_bin1548.fits
Spacecraft file(s): /scratch/kocevski/409435/ft2_4FGL_J2236.4-2309_daily_bin1548.fits
Exposure map: /scratch/kocevski/409435/expmap_640569601_640828801_4FGL_J2236.4-2309_daily_bin1548.fits
Exposure cube: /scratch/kocevski/409435/ltcube_640569601_640828801_4FGL_J2236.4-2309_daily_bin1548.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/409435/Model_4FGL_J2236.4-2309_daily_bin1548.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) = 10005.2998682

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10396E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    102.10       1.0000         .10000E-03   10000.    
     3 'norm      '    .41072       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.9225       1.0000         .10000E-03   10000.    
     5 'Prefactor '    39.584       1.0000         .10000E-03   10000.    
     6 'Prefactor '    23.621       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10129E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    6.4916       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.7011       1.0000         .10000E-03   10000.    
    13 'Prefactor '    21.530       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .67726E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.4644       1.0000         .10000E-03   10000.    
    16 'norm      '    .21584       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .31221E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.3906       1.0000         .10000E-03   10000.    
    20 'norm      '    .75859       1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.5930       1.0000         .10000E-03   10000.    
    22 'Prefactor '    7.1224       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .85371       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0705       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10005.26     FROM MIGRAD    STATUS=CONVERGED    553 CALLS     2783 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.6376        .76244E-06** at limit **
   2  Prefactor     102.12        46.908        .79531E-06    .98382E-04
   3  norm          .41071        .17607       -.68268E-08    .23985E-04
   4  Prefactor     7.9223        6.5535        .35081E-07    .51882E-04
   5  Prefactor     39.585        12.953        .80034E-08    .55091E-04
   6  Prefactor     23.620        13.995        .17337E-06    .40527E-04
   7  Prefactor     .10000E-03    20.325       -.26754E-06** at limit **
   8  norm          .10000E-03    14.660        .31898E-06** at limit **
   9  Prefactor     .10000E-03    4.7371        .22051E-05** at limit **
  10  norm          .10000E-03    .15267       -.11574E-06** at limit **
  11  norm          6.4901        3.2190        .31903E-06    .91688E-03
  12  Prefactor     4.7812        129.22       -.21144E-06    .54234E-04
  13  Prefactor     21.531        10.743        .19745E-06    .11714E-03
  14  Prefactor     .10000E-03    6.9727       -.20442E-05** at limit **
  15  norm          1.4642        .81797        .17732E-06    .27464E-02
  16  norm          .21987        1.7926       -.56658E-06    .25985E-03
  17  Prefactor     .10061E-03    15.934        .27975E-05** at limit **
  18  Prefactor     .10000E-03    5.3203       -.32128E-06** at limit **
  19  Prefactor     9.3909        9.2826        .62230E-06    .51669E-03
  20  norm          .75866        .58374        .51181E-07    .18399E-02
  21  Prefactor     4.5930        5.4046        .15923E-06    .91334E-04
  22  Prefactor     7.1245        7.8392        .17709E-07    .19056E-03
  23  Normalizat    .85360        .17562       -.32767E-05    .41270E-03
  24  Prefactor     1.0705        .14719        .28722E-05    .37077E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 102.121
  norm       = 0.410706
  Prefactor  = 7.9223
  Prefactor  = 39.5851
  Prefactor  = 23.6202
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.49006
  Prefactor  = 4.78119
  Prefactor  = 21.5312
  Prefactor  = 0.000100003
  norm       = 1.46416
  norm       = 0.219872
  Prefactor  = 0.000100609
  Prefactor  = 0.0001
  Prefactor  = 9.3909
  norm       = 0.758664
  Prefactor  = 4.59301
  Prefactor  = 7.12453
  Normalizat = 0.853599
  Prefactor  = 1.07051
 **********
 **   18 **HESSE 
 **********

 FCN=   10005.26     FROM HESSE     STATUS=OK           411 CALLS     3194 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.6235        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     102.12        46.756        .39790E-04   -1.3683    
   3  norm          .41071        .17874        .26731E-04   -1.5580    
   4  Prefactor     7.9223        6.5463        .14245E-03   -1.5145    
   5  Prefactor     39.585        12.954        .63708E-04   -1.4449    
   6  Prefactor     23.620        13.989        .82418E-04   -1.4736    
   7  Prefactor     .10000E-03    20.368        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    14.831        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.7506        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .18332        .76018E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.4901        3.2177        .93958E-04   -1.5198    
  12  Prefactor     4.7812        128.58        .18559E-03   -1.5271    
  13  Prefactor     21.531        10.749        .86322E-04   -1.4780    
  14  Prefactor     .10000E-03    24.835        .41815E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.4642        .71179        .56736E-04   -1.5466    
  16  norm          .21987        11.410        .22799E-02   -1.5614    
  17  Prefactor     .10061E-03    85.559        .62183E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    5.3411        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     9.3909        9.2956        .13078E-03   -1.5095    
  20  norm          .75866        .57221        .51599E-04   -1.5534    
  21  Prefactor     4.5930        5.4000        .18782E-03   -1.5279    
  22  Prefactor     7.1245        7.7758        .15031E-03   -1.5174    
  23  Normalizat    .85360        .18722        .27910E-03   -.98110    
  24  Prefactor     1.0705        .15746        .22506E-03   -.90415    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.88351e-09
Minuit parameter uncertainties:
  1  3.07046e-05
  2  46.773
  3  0.178736
  4  6.54688
  5  12.9552
  6  13.991
  7  3.28567e-05
  8  2.11895e-06
  9  9.2913e-05
  10  9.40014e-07
  11  3.21776
  12  49.7076
  13  10.7503
  14  0.000544977
  15  0.711792
  16  3.16768
  17  0.0144593
  18  2.67516e-05
  19  9.29702
  20  0.57221
  21  5.40055
  22  7.77692
  23  0.18736
  24  0.157529
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  1.000e-04  9.291e-05  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  2.743e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
249        Scale:  4.484e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.071e+00  1.575e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  8.536e-01  1.874e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 339.125 -23.155
Photon Flux Upper Limit: 5.48e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.32e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/409435/likelihoodResults_640569601_640828801_4FGL_J2236.4-2309_daily_bin1548.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): 102
logL (Free Index) = 10005.2595715
delta logL = -0.00100329296947

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10005.2585683
delta logL = -2.17951310333e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7539       1.0000          .0000       10.000    
     3 'Normalizat'    .85356       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0706       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10005.26     FROM MIGRAD    STATUS=CONVERGED    110 CALLS      259 TOTAL
                     EDM=   .20E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .97216E-01    .63584E-01** at limit **
   2  Index         3.8835        6.5767        .50000        .96861E-07
   3  Normalizat    .85360        .10134E-02    .27910E-03   -.97571E-03
   4  Prefactor     1.0705        .90989E-03    .22506E-03   -.13239E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 3.88352
  Normalizat = 0.853596
  Prefactor  = 1.07051
 **********
 **   18 **HESSE 
 **********

 FCN=   10005.26     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      290 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    65.658        .21304E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.8835        6.0906        .50000       -.22519    
   3  Normalizat    .85360        .11289E-01    .55821E-04   -.98110    
   4  Prefactor     1.0705        .10136E-01    .45012E-04   -.90415    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.29941e-10
Minuit parameter uncertainties:
  1  0.000181268
  2  439.421
  3  0.0112887
  4  0.0101357
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/409435': 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): 102
logL (Free Index) = 10005.2585652
delta logL = 3.02578882838e-06

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  1.000e-04  1.813e-04  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  3.884e+00  4.394e+02  0.000e+00  1.000e+01 (-1.000e+00)
249        Scale:  4.484e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.071e+00  1.014e-02  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  8.536e-01  1.129e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 339.125 -23.155

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/409435/cmap_HighResolution_640569601_640828801_4FGL_J2236.4-2309_daily_bin1548.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.32e-03', job_status='DONE', photon_flux_upper_limit='5.48e-08', time_completed='2021-09-28 17:31:03.745285', job_id='409435', GAL2='1.07', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1632875463.75', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='3.03e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='1548' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:31:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 409435: <4FGL_J2236.4-2309_daily_bin1548> in cluster <slac> Done

Job <4FGL_J2236.4-2309_daily_bin1548> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Sep 28 17:15:34 2021
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 17:15:36 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 17:15:36 2021
Terminated at Tue Sep 28 17:31:04 2021
Results reported at Tue Sep 28 17:31:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin1548 339.125 -23.1552 640569601 640828801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2236.4-2309 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   843.24 sec.
    Max Memory :                                 1240 MB
    Average Memory :                             326.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   928 sec.
    Turnaround time :                            930 sec.

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

