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


Performing analysis on: 4FGL_J2236.4-2309_daily_bin1059
RA = 339.125, Dec = -23.1552
tmin = 513820801, tmax = 514080001
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='407757', job_status='RUN', time_executed='2021-09-28 17:12:31.597516', time_epoch_executed='1632874351.6' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='1059'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/407757

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/407757/ft1_4FGL_J2236.4-2309_daily_bin1059.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/407757/ft2_4FGL_J2236.4-2309_daily_bin1059.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/407757/ft1_4FGL_J2236.4-2309_daily_bin1059.fits outfile=/scratch/kocevski/407757/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1059.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=513820801.0 tmax=514080001.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.73
user 3.48
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/407757/ft2_4FGL_J2236.4-2309_daily_bin1059.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/407757/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1059.fits evtable="EVENTS" outfile="/scratch/kocevski/407757/ft1_filtered_4FGL_J2236.4-2309_daily_bin1059.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.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/407757/ft1_filtered_4FGL_J2236.4-2309_daily_bin1059.fits" evtable="EVENTS" scfile=/scratch/kocevski/407757/ft2_4FGL_J2236.4-2309_daily_bin1059.fits sctable="SC_DATA" outfile=/scratch/kocevski/407757/ltcube_513820801_514080001_4FGL_J2236.4-2309_daily_bin1059.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/407757/ft2_4FGL_J2236.4-2309_daily_bin1059.fits
.....................!
real 11.93
user 11.53
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/407757/ft1_filtered_4FGL_J2236.4-2309_daily_bin1059.fits evtable="EVENTS" scfile=/scratch/kocevski/407757/ft2_4FGL_J2236.4-2309_daily_bin1059.fits sctable="SC_DATA" expcube=/scratch/kocevski/407757/ltcube_513820801_514080001_4FGL_J2236.4-2309_daily_bin1059.fits outfile=/scratch/kocevski/407757/expmap_513820801_514080001_4FGL_J2236.4-2309_daily_bin1059.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/407757/ltcube_513820801_514080001_4FGL_J2236.4-2309_daily_bin1059.fits
.....................!
real 191.87
user 186.25
sys 5.24

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/407757/ft1_filtered_4FGL_J2236.4-2309_daily_bin1059.fits scfile=/scratch/kocevski/407757/ft2_4FGL_J2236.4-2309_daily_bin1059.fits outfile=/scratch/kocevski/407757/cmap_513820801_514080001_4FGL_J2236.4-2309_daily_bin1059.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/407757/ft1_filtered_4FGL_J2236.4-2309_daily_bin1059.fits scfile=/scratch/kocevski/407757/ft2_4FGL_J2236.4-2309_daily_bin1059.fits outfile=/scratch/kocevski/407757/cmap_HighResolution_513820801_514080001_4FGL_J2236.4-2309_daily_bin1059.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    36.872       1.0000         .10000E-03   10000.    
     3 'norm      '    3.4785       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.2690       1.0000         .10000E-03   10000.    
     6 'Prefactor '    24.418       1.0000         .10000E-03   10000.    
     7 'Prefactor '    76.775       1.0000         .10000E-03   10000.    
     8 'norm      '    51.199       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.4087       1.0000         .10000E-03   10000.    
    10 'norm      '    .30961       1.0000         .10000E-03   10000.    
    11 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    144.78       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    79.544       1.0000         .10000E-03   10000.    
    15 'norm      '    6.2749       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    198.37       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .21533       1.0000         .10000E-03   10000.    
    20 'norm      '    1.1617       1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.826       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10138E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .89375       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .87718       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=   5192.507     FROM MIGRAD    STATUS=CONVERGED    535 CALLS     2818 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    23.209       -.28209E-06** at limit **
   2  Prefactor     36.859        82.745       -.18078E-05   -.22776E-05
   3  norm          3.4785        .74082       -.22919E-07    .21305E-03
   4  Prefactor     .10000E-03    5.3485        .95518E-07** at limit **
   5  Prefactor     7.2730        14.815        .39991E-06    .22602E-04
   6  Prefactor     24.421        25.268       -.40548E-06    .74335E-04
   7  Prefactor     76.739        71.830        .19509E-05   -.35502E-05
   8  norm          51.212        32.601       -.73687E-07    .14677E-03
   9  Prefactor     1.4227        108.59       -.75958E-05    .18729E-04
  10  norm          .31170        .75421       -.17697E-05   -.13452E-02
  11  norm          .10000E-03    1.4132       -.66996E-06** at limit **
  12  Prefactor     144.75        97.328        .66890E-06    .27587E-03
  13  Prefactor     .10000E-03    8.4959        .19967E-06** at limit **
  14  Prefactor     79.455        79.291       -.65539E-05    .15423E-03
  15  norm          6.2834        5.8114        .21245E-05    .36084E-03
  16  norm          .10000E-03    1.5401       -.42236E-07** at limit **
  17  Prefactor     198.33        95.420        .18203E-06   -.73853E-04
  18  Prefactor     .10000E-03    7.8979       -.14835E-07** at limit **
  19  Prefactor     .24990        14.189       -.33213E-05    .44637E-03
  20  norm          1.1611        .75947        .11717E-06    .33985E-02
  21  Prefactor     10.831        18.302        .37540E-06    .86543E-04
  22  Prefactor     .10000E-03    12.737        .45394E-07** at limit **
  23  Normalizat    .89436        .25555        .88463E-05    .29469E-03
  24  Prefactor     .87665        .19708       -.49928E-05    .71776E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 36.8587
  norm       = 3.47853
  Prefactor  = 0.0001
  Prefactor  = 7.27301
  Prefactor  = 24.4212
  Prefactor  = 76.739
  norm       = 51.2118
  Prefactor  = 1.4227
  norm       = 0.311698
  norm       = 0.0001
  Prefactor  = 144.753
  Prefactor  = 0.0001
  Prefactor  = 79.4548
  norm       = 6.28342
  norm       = 0.0001
  Prefactor  = 198.327
  Prefactor  = 0.0001
  Prefactor  = 0.249899
  norm       = 1.16111
  Prefactor  = 10.8305
  Prefactor  = 0.0001
  Normalizat = 0.894365
  Prefactor  = 0.876654
 **********
 **   18 **HESSE 
 **********

 FCN=   5192.507     FROM HESSE     STATUS=OK           399 CALLS     3217 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    23.215        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     36.859        82.826        .66001E-04   -1.4493    
   3  norm          3.4785        .74226        .27206E-04   -1.5335    
   4  Prefactor     .10000E-03    5.3708        .16272E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.2730        14.829        .14877E-03   -1.5169    
   6  Prefactor     24.421        25.277        .81063E-04   -1.4719    
   7  Prefactor     76.739        72.095        .22914E-03   -1.3954    
   8  norm          51.212        32.604        .56049E-04   -1.4275    
   9  Prefactor     1.4227        95.541        .36513E-03   -1.5469    
  10  norm          .31170        .74868        .10103E-02   -1.5596    
  11  norm          .10000E-03    1.4241        .83358E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     144.75        92.050        .16743E-03   -1.3296    
  13  Prefactor     .10000E-03    8.5516        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     79.455        78.609        .45030E-04   -1.3923    
  15  norm          6.2834        5.7881        .72435E-04   -1.5207    
  16  norm          .10000E-03    1.5424        .87282E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     198.33        95.748        .14343E-03   -1.2882    
  18  Prefactor     .10000E-03    7.9061        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .24990        214.77        .40124E-02   -1.5608    
  20  norm          1.1611        .93776        .41980E-04   -1.5492    
  21  Prefactor     10.831        18.291        .12177E-03   -1.5050    
  22  Prefactor     .10000E-03    12.839        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .89436        .29325        .30671E-03   -.96658    
  24  Prefactor     .87665        .22678        .25874E-03   -.96962    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61976e-08
Minuit parameter uncertainties:
  1  2.46671e-05
  2  83.0865
  3  0.742264
  4  5.58993e-06
  5  14.8361
  6  25.2879
  7  72.1777
  8  32.6157
  9  23.3556
  10  0.748699
  11  8.93635e-06
  12  92.1413
  13  2.53015e-05
  14  78.7122
  15  5.7886
  16  2.20041e-06
  17  95.8237
  18  2.11286e-05
  19  14.7021
  20  0.937776
  21  18.3009
  22  3.15253e-05
  23  0.293772
  24  0.227024
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  1.423e+00  2.336e+01  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:  8.767e-01  2.270e-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.944e-01  2.938e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 339.125 -23.155
Photon Flux Upper Limit: 1.60e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.26e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/407757/likelihoodResults_513820801_514080001_4FGL_J2236.4-2309_daily_bin1059.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) = 5188.97295462
delta logL = 3.53428542025

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5188.783193
delta logL = 3.72404704289

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .53629E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    9.9773       1.0000          .0000       10.000    
     3 'Normalizat'    .69737       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99078       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=   5188.783     FROM MIGRAD    STATUS=CONVERGED    164 CALLS      510 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .51984E-02    .29845E-02    .24451E-05   -.91598E-03
   2  Index        10.0000        .46385        .50000       -.33198E-05
   3  Normalizat    .69783        .26490        .34020E-03    .10313E-03
   4  Prefactor     .99051        .22078        .24467E-03    .80711E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00519836
  Index      = 10
  Normalizat = 0.697834
  Prefactor  = 0.990509
 **********
 **   18 **HESSE 
 **********

 FCN=   5188.783     FROM HESSE     STATUS=OK            33 CALLS      543 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .51984E-02    .29803E-02    .97802E-07   -1.5694    
   2  Index        10.0000        .46254        .50000        1.5695    
   3  Normalizat    .69783        .26518        .13608E-04   -1.0398    
   4  Prefactor     .99051        .22101        .97867E-05   -.93047    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95784e-11
Minuit parameter uncertainties:
  1  0.00298029
  2  0.00270897
  3  0.265668
  4  0.22121
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/407757': 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) = 5188.78316183
delta logL = 3.72407820775

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  5.198e-03  2.980e-03  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  1.000e+01  2.709e-03  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.905e-01  2.212e-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:  6.978e-01  2.657e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.98
Ra Dec: 339.125 -23.155
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 1.96e-07 +/- 1.09e-07
Energy Flux (Free Index): 2.19e-05 +/- 1.23e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/407757/cmap_HighResolution_513820801_514080001_4FGL_J2236.4-2309_daily_bin1059.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.26e-02', comment='SUCCESS', energy_flux2='2.19e-05', dlogl='3.72e+00', photon_flux2='1.96e-07', job_status='DONE', time_completed='2021-09-28 17:22:37.799124', photon_index_error2='0.00', photon_index2='10.00', ts='0.01', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='1.60e-07', energy_flux_error2='1.23e-05', EG='0.89', time_epoch_completed='1632874957.8', return_code='0', job_id='407757', GAL2='0.99', EG2='0.70', return_code2='0', photon_flux_error2='1.09e-07', ts2='7.98', photon_index='2.74' WHERE bin_id='1059' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:22:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0222>
Subject: Job 407757: <4FGL_J2236.4-2309_daily_bin1059> in cluster <slac> Done

Job <4FGL_J2236.4-2309_daily_bin1059> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Sep 28 17:10:33 2021
Job was executed on host(s) <bullet0222>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 17:10:34 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:10:34 2021
Terminated at Tue Sep 28 17:22:38 2021
Results reported at Tue Sep 28 17:22:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin1059 339.125 -23.1552 513820801 514080001 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 :                                   602.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             300.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   724 sec.
    Turnaround time :                            725 sec.

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

