/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 224 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 = 7394
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2236.4-2309_daily_bin447
RA = 339.125, Dec = -23.1552
tmin = 355190401, tmax = 355449601
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='404619', job_status='RUN', time_executed='2021-09-28 17:04:28.699642', time_epoch_executed='1632873868.7' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='447'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/404619

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/404619/ft1_4FGL_J2236.4-2309_daily_bin447.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/404619/ft2_4FGL_J2236.4-2309_daily_bin447.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/404619/ft1_4FGL_J2236.4-2309_daily_bin447.fits outfile=/scratch/kocevski/404619/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin447.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=355190401.0 tmax=355449601.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.37
user 3.13
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/404619/ft2_4FGL_J2236.4-2309_daily_bin447.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/404619/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin447.fits evtable="EVENTS" outfile="/scratch/kocevski/404619/ft1_filtered_4FGL_J2236.4-2309_daily_bin447.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.49
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/404619/ft1_filtered_4FGL_J2236.4-2309_daily_bin447.fits" evtable="EVENTS" scfile=/scratch/kocevski/404619/ft2_4FGL_J2236.4-2309_daily_bin447.fits sctable="SC_DATA" outfile=/scratch/kocevski/404619/ltcube_355190401_355449601_4FGL_J2236.4-2309_daily_bin447.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/404619/ft2_4FGL_J2236.4-2309_daily_bin447.fits
.....................!
real 11.88
user 11.52
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/404619/ft1_filtered_4FGL_J2236.4-2309_daily_bin447.fits evtable="EVENTS" scfile=/scratch/kocevski/404619/ft2_4FGL_J2236.4-2309_daily_bin447.fits sctable="SC_DATA" expcube=/scratch/kocevski/404619/ltcube_355190401_355449601_4FGL_J2236.4-2309_daily_bin447.fits outfile=/scratch/kocevski/404619/expmap_355190401_355449601_4FGL_J2236.4-2309_daily_bin447.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/404619/ltcube_355190401_355449601_4FGL_J2236.4-2309_daily_bin447.fits
.....................!
real 191.33
user 185.80
sys 5.17

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/404619/ft1_filtered_4FGL_J2236.4-2309_daily_bin447.fits scfile=/scratch/kocevski/404619/ft2_4FGL_J2236.4-2309_daily_bin447.fits outfile=/scratch/kocevski/404619/cmap_355190401_355449601_4FGL_J2236.4-2309_daily_bin447.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.56
user 0.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/404619/ft1_filtered_4FGL_J2236.4-2309_daily_bin447.fits scfile=/scratch/kocevski/404619/ft2_4FGL_J2236.4-2309_daily_bin447.fits outfile=/scratch/kocevski/404619/cmap_HighResolution_355190401_355449601_4FGL_J2236.4-2309_daily_bin447.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/404619/ft1_filtered_4FGL_J2236.4-2309_daily_bin447.fits evtable="EVENTS" scfile=/scratch/kocevski/404619/ft2_4FGL_J2236.4-2309_daily_bin447.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/404619/Model_4FGL_J2236.4-2309_daily_bin447.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/404619/ft1_filtered_4FGL_J2236.4-2309_daily_bin447.fits.....................!
real 59.81
user 58.39
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/404619/ft1_filtered_4FGL_J2236.4-2309_daily_bin447.fits', '/scratch/kocevski/404619/ft2_4FGL_J2236.4-2309_daily_bin447.fits', expMap='/scratch/kocevski/404619/expmap_355190401_355449601_4FGL_J2236.4-2309_daily_bin447.fits', expCube='/scratch/kocevski/404619/ltcube_355190401_355449601_4FGL_J2236.4-2309_daily_bin447.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/404619/Model_4FGL_J2236.4-2309_daily_bin447.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/404619/ft1_filtered_4FGL_J2236.4-2309_daily_bin447.fits
Spacecraft file(s): /scratch/kocevski/404619/ft2_4FGL_J2236.4-2309_daily_bin447.fits
Exposure map: /scratch/kocevski/404619/expmap_355190401_355449601_4FGL_J2236.4-2309_daily_bin447.fits
Exposure cube: /scratch/kocevski/404619/ltcube_355190401_355449601_4FGL_J2236.4-2309_daily_bin447.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/404619/Model_4FGL_J2236.4-2309_daily_bin447.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) = 7755.05693472

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    38.042       1.0000         .10000E-03   10000.    
     3 'norm      '    1.8855       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    26.891       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.081       1.0000         .10000E-03   10000.    
     8 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.7066       1.0000         .10000E-03   10000.    
    10 'norm      '    3.3072       1.0000         .10000E-03   10000.    
    11 'norm      '    .85153       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.4904       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10081E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    19.365       1.0000         .10000E-03   10000.    
    17 'Prefactor '    29.858       1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.476       1.0000         .10000E-03   10000.    
    19 'Prefactor '    16.219       1.0000         .10000E-03   10000.    
    20 'norm      '    2.8379       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.3570       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .74447       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .94599       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=   7755.027     FROM MIGRAD    STATUS=CONVERGED    529 CALLS     2716 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.1449       -.78032E-07** at limit **
   2  Prefactor     38.042        37.921        .11878E-06    .35909E-05
   3  norm          1.8855        .41639        .77710E-08   -.54930E-05
   4  Prefactor     .10000E-03    3.5237       -.61565E-07** at limit **
   5  Prefactor     26.890        14.683        .11393E-06   -.14919E-03
   6  Prefactor     .10000E-03    3.6693       -.58916E-08** at limit **
   7  Prefactor     15.070        50.769       -.36999E-06   -.16537E-03
   8  norm          .10000E-03    20.184        .28955E-06** at limit **
   9  Prefactor     2.7069        6.4495        .34594E-05   -.24595E-03
  10  norm          3.3074        1.0102       -.34549E-07   -.28527E-02
  11  norm          .85128        1.8856        .11270E-06   -.26500E-04
  12  Prefactor     .10000E-03    13.463       -.11857E-06** at limit **
  13  Prefactor     5.4915        7.3965        .72872E-06   -.67550E-04
  14  Prefactor     .10000E-03    5.1303        .98763E-06** at limit **
  15  norm          .10000E-03    .53539        .23981E-05** at limit **
  16  norm          19.366        6.0516       -.61111E-08    .18224E-04
  17  Prefactor     29.887        19.481       -.22782E-05   -.17690E-03
  18  Prefactor     13.481        13.746        .56927E-07    .13389E-03
  19  Prefactor     16.218        12.628       -.39533E-08   -.31035E-04
  20  norm          2.8377        .95937        .17789E-07    .17221E-03
  21  Prefactor     1.3567        4.4036        .39672E-06   -.81277E-04
  22  Prefactor     .10000E-03    6.8138        .81604E-07** at limit **
  23  Normalizat    .74426        .16176       -.58054E-06   -.45102E-03
  24  Prefactor     .94620        .14010       -.29635E-06   -.68013E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 38.0424
  norm       = 1.8855
  Prefactor  = 0.0001
  Prefactor  = 26.8901
  Prefactor  = 0.0001
  Prefactor  = 15.0705
  norm       = 0.000100001
  Prefactor  = 2.70687
  norm       = 3.30738
  norm       = 0.851275
  Prefactor  = 0.0001
  Prefactor  = 5.49151
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 19.3664
  Prefactor  = 29.8874
  Prefactor  = 13.4805
  Prefactor  = 16.2184
  norm       = 2.83775
  Prefactor  = 1.35672
  Prefactor  = 0.0001
  Normalizat = 0.744259
  Prefactor  = 0.946199
 **********
 **   18 **HESSE 
 **********

 FCN=   7755.027     FROM HESSE     STATUS=OK           397 CALLS     3113 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.1474        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     38.042        37.901        .64982E-04   -1.4474    
   3  norm          1.8855        .41698        .25819E-04   -1.5433    
   4  Prefactor     .10000E-03    3.5425        .16140E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     26.890        14.690        .77253E-04   -1.4670    
   6  Prefactor     .10000E-03    3.6718        .16474E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     15.070        50.842        .10314E-03   -1.4931    
   8  norm          .10000E-03    20.573        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.7069        7.1560        .12380E-02   -1.5379    
  10  norm          3.3074        1.0097        .46119E-04   -1.5344    
  11  norm          .85128        1.8494        .17062E-03   -1.5523    
  12  Prefactor     .10000E-03    13.477        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.4915        7.4644        .85738E-03   -1.5239    
  14  Prefactor     .10000E-03    5.1532        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    .62832        .10355E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          19.366        6.0381        .91015E-04   -1.4828    
  17  Prefactor     29.887        20.454        .73323E-04   -1.4614    
  18  Prefactor     13.481        13.715        .10911E-03   -1.4973    
  19  Prefactor     16.218        12.957        .99451E-04   -1.4902    
  20  norm          2.8377        .98341        .38026E-04   -1.5371    
  21  Prefactor     1.3567        4.3595        .32369E-03   -1.5475    
  22  Prefactor     .10000E-03    6.9087        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .74426        .19428        .28280E-03   -1.0217    
  24  Prefactor     .94620        .16865        .22564E-03   -.94545    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01223e-09
Minuit parameter uncertainties:
  1  6.49328e-05
  2  37.925
  3  0.416978
  4  3.90195e-06
  5  14.6916
  6  6.19141e-06
  7  50.9887
  8  0.000323663
  9  7.15825
  10  1.00968
  11  1.84952
  12  0.0001634
  13  7.46562
  14  3.57199e-05
  15  1.75078e-06
  16  6.03824
  17  20.4591
  18  13.7182
  19  12.9596
  20  0.983414
  21  4.36052
  22  8.38667e-05
  23  0.194465
  24  0.16874
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  2.707e+00  7.158e+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

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  9.462e-01  1.687e-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:  7.443e-01  1.945e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/404619/likelihoodResults_355190401_355449601_4FGL_J2236.4-2309_daily_bin447.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) = 7754.97070771
delta logL = 0.056148746593

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7754.96928989
delta logL = 0.0575665632114

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.9827       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3053       1.0000          .0000       10.000    
     3 'Normalizat'    .74666       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94322       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=   7754.969     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      317 TOTAL
                     EDM=   .75E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9832        8.3785        .20210E-03   -.16201E-04
   2  Index         2.3053        1.0924        .17050E-01   -.36599E-05
   3  Normalizat    .74663        .18327        .28236E-03   -.62729E-04
   4  Prefactor     .94328        .16405        .22593E-03   -.97268E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.98315
  Index      = 2.30534
  Normalizat = 0.746628
  Prefactor  = 0.94328
 **********
 **   18 **HESSE 
 **********

 FCN=   7754.969     FROM HESSE     STATUS=OK            25 CALLS      342 TOTAL
                     EDM=   .68E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9832        8.3211        .80841E-05   -1.5309    
   2  Index         2.3053        1.0859        .68202E-03   -.56917    
   3  Normalizat    .74663        .18348        .11294E-04   -1.0208    
   4  Prefactor     .94328        .16421        .90371E-05   -.94645    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.831e-12
Minuit parameter uncertainties:
  1  8.32349
  2  1.09828
  3  0.183629
  4  0.164297
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/404619': 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) = 7754.96928975
delta logL = 0.0575667041749

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  3.983e+00  8.323e+00  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  2.305e+00  1.098e+00  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:  9.433e-01  1.643e-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:  7.466e-01  1.836e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.17
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/404619/cmap_HighResolution_355190401_355449601_4FGL_J2236.4-2309_daily_bin447.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.76e-03', job_status='DONE', photon_flux_upper_limit='7.30e-08', time_completed='2021-09-28 17:16:28.206540', job_id='404619', GAL2='0.94', fit_tolerance='1e-08', EG2='0.75', EG='0.74', time_epoch_completed='1632874588.21', return_code2='0', ts='0.17', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='5.76e-02', ts2='0.28', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='447' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:16:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0049>
Subject: Job 404619: <4FGL_J2236.4-2309_daily_bin447> in cluster <slac> Done

Job <4FGL_J2236.4-2309_daily_bin447> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Sep 28 17:00:35 2021
Job was executed on host(s) <bullet0049>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 17:00: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:00:36 2021
Terminated at Tue Sep 28 17:16:28 2021
Results reported at Tue Sep 28 17:16:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin447 339.125 -23.1552 355190401 355449601 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 :                                   720.01 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             260.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   952 sec.
    Turnaround time :                            953 sec.

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

