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


Performing analysis on: 4FGL_J2236.4-2309_daily_bin1577
RA = 339.125, Dec = -23.1552
tmin = 648086401, tmax = 648345601
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='409477', job_status='RUN', time_executed='2021-09-28 17:16:05.673410', time_epoch_executed='1632874565.67' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='1577'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/409477

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/409477/ft1_4FGL_J2236.4-2309_daily_bin1577.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/409477/ft2_4FGL_J2236.4-2309_daily_bin1577.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/409477/ft1_4FGL_J2236.4-2309_daily_bin1577.fits outfile=/scratch/kocevski/409477/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1577.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=648086401.0 tmax=648345601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.26
user 4.03
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/409477/ft1_filtered_4FGL_J2236.4-2309_daily_bin1577.fits" evtable="EVENTS" scfile=/scratch/kocevski/409477/ft2_4FGL_J2236.4-2309_daily_bin1577.fits sctable="SC_DATA" outfile=/scratch/kocevski/409477/ltcube_648086401_648345601_4FGL_J2236.4-2309_daily_bin1577.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/409477/ft2_4FGL_J2236.4-2309_daily_bin1577.fits
.....................!
real 12.04
user 11.67
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/409477/ft1_filtered_4FGL_J2236.4-2309_daily_bin1577.fits evtable="EVENTS" scfile=/scratch/kocevski/409477/ft2_4FGL_J2236.4-2309_daily_bin1577.fits sctable="SC_DATA" expcube=/scratch/kocevski/409477/ltcube_648086401_648345601_4FGL_J2236.4-2309_daily_bin1577.fits outfile=/scratch/kocevski/409477/expmap_648086401_648345601_4FGL_J2236.4-2309_daily_bin1577.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/409477/ltcube_648086401_648345601_4FGL_J2236.4-2309_daily_bin1577.fits
.....................!
real 190.42
user 185.41
sys 4.60

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/409477/ft1_filtered_4FGL_J2236.4-2309_daily_bin1577.fits scfile=/scratch/kocevski/409477/ft2_4FGL_J2236.4-2309_daily_bin1577.fits outfile=/scratch/kocevski/409477/cmap_648086401_648345601_4FGL_J2236.4-2309_daily_bin1577.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/409477/ft1_filtered_4FGL_J2236.4-2309_daily_bin1577.fits scfile=/scratch/kocevski/409477/ft2_4FGL_J2236.4-2309_daily_bin1577.fits outfile=/scratch/kocevski/409477/cmap_HighResolution_648086401_648345601_4FGL_J2236.4-2309_daily_bin1577.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/409477/ft1_filtered_4FGL_J2236.4-2309_daily_bin1577.fits evtable="EVENTS" scfile=/scratch/kocevski/409477/ft2_4FGL_J2236.4-2309_daily_bin1577.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/409477/Model_4FGL_J2236.4-2309_daily_bin1577.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/409477/ft1_filtered_4FGL_J2236.4-2309_daily_bin1577.fits.....................!
real 42.20
user 40.86
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.2486       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .30792E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .32473       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.1067       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.914       1.0000         .10000E-03   10000.    
     7 'Prefactor '    56.795       1.0000         .10000E-03   10000.    
     8 'norm      '    14.580       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.6786       1.0000         .10000E-03   10000.    
    12 'Prefactor '    16.586       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.704       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .13037E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.7258       1.0000         .10000E-03   10000.    
    20 'norm      '    1.0229       1.0000         .10000E-03   10000.    
    21 'Prefactor '    15.094       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .80460       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .93188       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=   4927.647     FROM MIGRAD    STATUS=CONVERGED    532 CALLS     2741 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.2490        16.060       -.41849E-05    .24012E-04
   2  Prefactor     .10000E-03    124.95        .37134E-06** at limit **
   3  norm          .32472        .28667        .74996E-08    .16200E-03
   4  Prefactor     6.1056        9.6395        .75325E-07    .37984E-05
   5  Prefactor     .10000E-03    10.268        .24335E-07** at limit **
   6  Prefactor     14.925        18.443        .15248E-06    .59917E-04
   7  Prefactor     56.817        63.844        .21371E-06    .14374E-04
   8  norm          14.582        14.311        .35776E-07    .22733E-04
   9  Prefactor     .10000E-03    3.0184        .85526E-07** at limit **
  10  norm          .10000E-03    .41279        .16122E-06** at limit **
  11  norm          2.6782        2.6963       -.44241E-07    .93001E-04
  12  Prefactor     16.594        42.270        .54900E-06    .27079E-04
  13  Prefactor     .10000E-03    17.184       -.17161E-06** at limit **
  14  Prefactor     14.712        11.081       -.66476E-06   -.53102E-03
  15  norm          .10000E-03    .53753        .35563E-06** at limit **
  16  norm          .10000E-03    2.3145       -.64772E-06** at limit **
  17  Prefactor     .10000E-03    6.9483        .60723E-07** at limit **
  18  Prefactor     .10000E-03    4.5139        .91134E-08** at limit **
  19  Prefactor     4.7306        8.5612        .29655E-06    .16450E-03
  20  norm          1.0229        .68162       -.30771E-07    .82421E-03
  21  Prefactor     15.093        11.399        .65863E-07   -.75757E-04
  22  Prefactor     .10000E-03    7.2593       -.15324E-06** at limit **
  23  Normalizat    .80459        .19209       -.88071E-06   -.68406E-05
  24  Prefactor     .93188        .16759        .27258E-06   -.10553E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.24902
  Prefactor  = 0.0001
  norm       = 0.324722
  Prefactor  = 6.10565
  Prefactor  = 0.0001
  Prefactor  = 14.9247
  Prefactor  = 56.8166
  norm       = 14.5823
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.67819
  Prefactor  = 16.5943
  Prefactor  = 0.0001
  Prefactor  = 14.7115
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.73056
  norm       = 1.02287
  Prefactor  = 15.0934
  Prefactor  = 0.0001
  Normalizat = 0.804592
  Prefactor  = 0.931881
 **********
 **   18 **HESSE 
 **********

 FCN=   4927.647     FROM HESSE     STATUS=OK           407 CALLS     3148 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.2490        15.676        .13959E-03   -1.5133    
   2  Prefactor     .10000E-03    125.66        .21379E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .32472        .27426        .34306E-03   -1.5594    
   4  Prefactor     6.1056        9.6265        .16247E-03   -1.5214    
   5  Prefactor     .10000E-03    10.321        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     14.925        18.448        .10371E-03   -1.4935    
   7  Prefactor     56.817        63.652        .53230E-04   -1.4199    
   8  norm          14.582        14.313        .10490E-03   -1.4944    
   9  Prefactor     .10000E-03    3.0218        .11909E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .83490        .86570E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.6782        2.7232        .92055E-04   -1.5381    
  12  Prefactor     16.594        42.857        .98343E-04   -1.4893    
  13  Prefactor     .10000E-03    17.644        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.712        10.187        .10445E-03   -1.4941    
  15  norm          .10000E-03    .81560        .88977E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    4.4690        .19768E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    6.9525        .18073E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.5150        .14558E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.7306        8.9830        .18510E-03   -1.5273    
  20  norm          1.0229        .71233        .37277E-04   -1.5506    
  21  Prefactor     15.093        11.396        .10309E-03   -1.4931    
  22  Prefactor     .10000E-03    7.3200        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .80459        .23026        .25136E-03   -.99899    
  24  Prefactor     .93188        .20183        .21084E-03   -.95036    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.52679e-10
Minuit parameter uncertainties:
  1  15.6843
  2  0.000340702
  3  0.274263
  4  9.62894
  5  2.06661e-07
  6  18.4552
  7  63.728
  8  14.3161
  9  4.44183e-07
  10  1.3715e-05
  11  2.72328
  12  42.937
  13  5.11286e-05
  14  10.1877
  15  4.66626e-07
  16  0.000160496
  17  1.31977e-05
  18  6.69479e-06
  19  8.98551
  20  0.712334
  21  11.3973
  22  6.40744e-06
  23  0.230537
  24  0.201988
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  1.000e-04  4.442e-07  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.319e-01  2.020e-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.046e-01  2.305e-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.51e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.35e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/409477/likelihoodResults_648086401_648345601_4FGL_J2236.4-2309_daily_bin1577.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) = 4927.64853468
delta logL = -0.00156675363087

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4927.64696782
delta logL = 1.11044755613e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7291       1.0000          .0000       10.000    
     3 'Normalizat'    .80461       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93187       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=   4927.647     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      249 TOTAL
                     EDM=   .79E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    27.788        .11998E-01** at limit **
   2  Index         2.2419        5.0218        .50000        .18304E-07
   3  Normalizat    .80459        .12560E-01    .25136E-03    .39937E-04
   4  Prefactor     .93188        .11332E-01    .21084E-03    .53921E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.2419
  Normalizat = 0.804591
  Prefactor  = 0.931882
 **********
 **   18 **HESSE 
 **********

 FCN=   4927.647     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      278 TOTAL
                     EDM=   .66E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    232.07        .12842E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2419        8.8309        .50000       -.58430    
   3  Normalizat    .80459        .39137E-01    .10054E-04   -.99899    
   4  Prefactor     .93188        .35310E-01    .84336E-05   -.95036    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.61859e-11
Minuit parameter uncertainties:
  1  2.80431e-05
  2  935.172
  3  0.0391388
  4  0.0353104
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/409477': 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) = 4927.64696562
delta logL = 2.31482954405e-06

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  1.000e-04  2.804e-05  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  2.242e+00  9.352e+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:  9.319e-01  3.531e-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.046e-01  3.914e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/409477/cmap_HighResolution_648086401_648345601_4FGL_J2236.4-2309_daily_bin1577.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.35e-03', job_status='DONE', photon_flux_upper_limit='5.51e-08', time_completed='2021-09-28 17:25:33.529841', job_id='409477', GAL2='0.93', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1632875133.53', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='2.31e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='1577' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:25:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 409477: <4FGL_J2236.4-2309_daily_bin1577> in cluster <slac> Done

Job <4FGL_J2236.4-2309_daily_bin1577> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Sep 28 17:15:37 2021
Job was executed on host(s) <bullet0075>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 17:15:39 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:39 2021
Terminated at Tue Sep 28 17:25:34 2021
Results reported at Tue Sep 28 17:25:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin1577 339.125 -23.1552 648086401 648345601 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 :                                   567.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             325.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   594 sec.
    Turnaround time :                            597 sec.

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

