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


Performing analysis on: 4FGL_J2236.4-2309_daily_bin967
RA = 339.125, Dec = -23.1552
tmin = 489974401, tmax = 490233601
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='407622', job_status='RUN', time_executed='2021-09-28 17:10:38.059527', time_epoch_executed='1632874238.06' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='967'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/407622

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/407622/ft1_4FGL_J2236.4-2309_daily_bin967.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/407622/ft2_4FGL_J2236.4-2309_daily_bin967.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/407622/ft1_4FGL_J2236.4-2309_daily_bin967.fits outfile=/scratch/kocevski/407622/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin967.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=489974401.0 tmax=490233601.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.76
user 3.54
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/407622/ft1_filtered_4FGL_J2236.4-2309_daily_bin967.fits" evtable="EVENTS" scfile=/scratch/kocevski/407622/ft2_4FGL_J2236.4-2309_daily_bin967.fits sctable="SC_DATA" outfile=/scratch/kocevski/407622/ltcube_489974401_490233601_4FGL_J2236.4-2309_daily_bin967.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/407622/ft2_4FGL_J2236.4-2309_daily_bin967.fits
.....................!
real 11.77
user 11.41
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/407622/ft1_filtered_4FGL_J2236.4-2309_daily_bin967.fits evtable="EVENTS" scfile=/scratch/kocevski/407622/ft2_4FGL_J2236.4-2309_daily_bin967.fits sctable="SC_DATA" expcube=/scratch/kocevski/407622/ltcube_489974401_490233601_4FGL_J2236.4-2309_daily_bin967.fits outfile=/scratch/kocevski/407622/expmap_489974401_490233601_4FGL_J2236.4-2309_daily_bin967.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/407622/ltcube_489974401_490233601_4FGL_J2236.4-2309_daily_bin967.fits
.....................!
real 195.45
user 189.89
sys 5.20

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/407622/ft1_filtered_4FGL_J2236.4-2309_daily_bin967.fits scfile=/scratch/kocevski/407622/ft2_4FGL_J2236.4-2309_daily_bin967.fits outfile=/scratch/kocevski/407622/cmap_489974401_490233601_4FGL_J2236.4-2309_daily_bin967.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/407622/ft1_filtered_4FGL_J2236.4-2309_daily_bin967.fits scfile=/scratch/kocevski/407622/ft2_4FGL_J2236.4-2309_daily_bin967.fits outfile=/scratch/kocevski/407622/cmap_HighResolution_489974401_490233601_4FGL_J2236.4-2309_daily_bin967.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.54
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.5082       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    9.3487       1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.062       1.0000         .10000E-03   10000.    
    10 'norm      '    .53662       1.0000         .10000E-03   10000.    
    11 'norm      '    .75599       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .75338E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10696E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .94856E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .95918       1.0000         .10000E-03   10000.    
    21 'Prefactor '    11.261       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10722E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1307       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99008       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=   5908.778     FROM MIGRAD    STATUS=CONVERGED    555 CALLS     2738 TOTAL
                     EDM=   .84E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.664        .10906E-06** at limit **
   2  Prefactor     .10000E-03    26.631        .57794E-06** at limit **
   3  norm          1.5082        .41831       -.32767E-08   -.78334E-03
   4  Prefactor     .10000E-03    6.0060       -.46290E-07** at limit **
   5  Prefactor     .10000E-03    8.8694       -.45781E-06** at limit **
   6  Prefactor     .10000E-03    12.673        .27462E-06** at limit **
   7  Prefactor     .10000E-03    14.079       -.34143E-06** at limit **
   8  norm          9.3384        17.306       -.25917E-06   -.97220E-04
   9  Prefactor     15.036        14.612       -.61829E-06   -.61239E-03
  10  norm          .53665        .58561        .87169E-08    .91911E-04
  11  norm          .75771        1.7547       -.38470E-06   -.34290E-03
  12  Prefactor     .10000E-03    192.77        .65388E-05** at limit **
  13  Prefactor     .10000E-03    8.1268        .15122E-06** at limit **
  14  Prefactor     .10000E-03    5.2037       -.24758E-07** at limit **
  15  norm          .10000E-03    .37050       -.21851E-07** at limit **
  16  norm          .10000E-03    2.6709        .23153E-06** at limit **
  17  Prefactor     .10000E-03    21.999        .12467E-06** at limit **
  18  Prefactor     .10000E-03    6.3724        .97482E-07** at limit **
  19  Prefactor     .10001E-03    52.881        .18658E-04** at limit **
  20  norm          .95988        .72339       -.23187E-08    .19900E-03
  21  Prefactor     11.261        13.005        .16038E-06    .55916E-04
  22  Prefactor     .10000E-03    20.033        .43955E-06** at limit **
  23  Normalizat    1.1307        .19679       -.19521E-05   -.81608E-03
  24  Prefactor     .99004        .16605        .14376E-05   -.37984E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.50825
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.33836
  Prefactor  = 15.0362
  norm       = 0.536646
  norm       = 0.75771
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100009
  norm       = 0.959876
  Prefactor  = 11.2611
  Prefactor  = 0.0001
  Normalizat = 1.13074
  Prefactor  = 0.990041
 **********
 **   18 **HESSE 
 **********

 FCN=   5908.778     FROM HESSE     STATUS=OK           393 CALLS     3131 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.695        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    26.648        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.5082        .41919        .25467E-04   -1.5462    
   4  Prefactor     .10000E-03    6.0473        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.9240        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    12.731        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    14.081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          9.3384        17.284        .13107E-03   -1.5097    
   9  Prefactor     15.036        14.815        .10320E-03   -1.4932    
  10  norm          .53665        .57101        .59450E-04   -1.5561    
  11  norm          .75771        1.5026        .15655E-02   -1.5534    
  12  Prefactor     .10000E-03    197.89        .41875E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.2307        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.2171        .17123E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    .37869        .45648E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    2.6910        .12246E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    22.062        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    6.3777        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10001E-03    52.900        .40255E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .95988        .67675        .51892E-03   -1.5512    
  21  Prefactor     11.261        13.009        .11939E-03   -1.5037    
  22  Prefactor     .10000E-03    20.455        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1307        .23876        .25756E-03   -.88771    
  24  Prefactor     .99004        .20138        .23514E-03   -.93062    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96127e-09
Minuit parameter uncertainties:
  1  3.18165e-05
  2  6.51401e-05
  3  0.419193
  4  2.54035e-05
  5  7.53021e-06
  6  3.28133e-05
  7  5.24617e-06
  8  17.2928
  9  14.8188
  10  0.571014
  11  1.50272
  12  0.000246015
  13  7.5091e-05
  14  7.31392e-06
  15  1.52189e-06
  16  8.01045e-07
  17  3.67993e-05
  18  9.54766e-07
  19  0.00134482
  20  0.676753
  21  13.0126
  22  3.60903e-05
  23  0.238986
  24  0.201538
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  1.504e+01  1.482e+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:  9.900e-01  2.015e-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:  1.131e+00  2.390e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.43
Ra Dec: 339.125 -23.155
Photon Index (Fixed Index): 2.74 +/- 0.00
Photon Flux (Fixed Index): 5.29e-08 +/- 5.21e-08
Energy Flux (Fixed Index): 1.23e-05 +/- 1.22e-05

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

Saving results to:
/scratch/kocevski/407622/likelihoodResults_489974401_490233601_4FGL_J2236.4-2309_daily_bin967.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) = 5907.92562976
delta logL = 0.85247877563

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5907.91601331
delta logL = 0.862095231

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9132       1.0000         .10000E-03   10000.    
     2 'Index     '    5.2578       1.0000          .0000       10.000    
     3 'Normalizat'    1.0282       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0586       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.

 FCN=   5907.916     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      261 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9068        19.297        .75128E-02    .17198E-03
   2  Index         5.2603        3.8159        .16473        .73086E-04
   3  Normalizat    1.0282        .59929E-01    .60687E-01   -.29904E-04
   4  Prefactor     1.0586        .51248E-01    .39433E-01   -.31087E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.90685
  Index      = 5.26034
  Normalizat = 1.0282
  Prefactor  = 1.05855
 **********
 **   18 **HESSE 
 **********

 FCN=   5907.916     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      294 TOTAL
                     EDM=   .33E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9068        35.782        .63499E-04   -1.5432    
   2  Index         5.2603        7.5604        .62794E-02    .52092E-01
   3  Normalizat    1.0282        .21794        .26839E-03   -.92091    
   4  Prefactor     1.0586        .18478        .22835E-03   -.90802    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.25059e-07
Minuit parameter uncertainties:
  1  16.5313
  2  6.92063
  3  0.218129
  4  0.184893
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/407622': 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) = 5907.91601282
delta logL = 0.862095717994

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  1.907e+00  1.653e+01  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  5.260e+00  6.921e+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:  1.059e+00  1.849e-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:  1.028e+00  2.181e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.48
Ra Dec: 339.125 -23.155
Photon Index (Free Index): 5.26 +/- 6.92
Photon Flux (Free Index): 1.21e-07 +/- 7.78e-08
Energy Flux (Free Index): 1.57e-05 +/- 1.17e-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/407622/cmap_HighResolution_489974401_490233601_4FGL_J2236.4-2309_daily_bin967.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.28e-02', comment='SUCCESS', photon_flux='5.29e-08', energy_flux2='1.57e-05', photon_flux_error='5.21e-08', dlogl='8.62e-01', energy_flux='1.23e-05', photon_flux2='1.21e-07', job_status='DONE', time_completed='2021-09-28 17:20:59.612815', photon_index_error2='6.92', photon_index2='5.26', ts='1.43', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='1.62e-07', energy_flux_error2='1.17e-05', EG='1.13', time_epoch_completed='1632874859.61', return_code='0', job_id='407622', GAL2='1.06', EG2='1.03', return_code2='102', energy_flux_error='1.22e-05', photon_flux_error2='7.78e-08', ts2='3.48', photon_index='2.74' WHERE bin_id='967' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:20:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 407622: <4FGL_J2236.4-2309_daily_bin967> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin967 339.125 -23.1552 489974401 490233601 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 :                                   620.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             335.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   635 sec.
    Turnaround time :                            637 sec.

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

