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


Performing analysis on: 4FGL_J2236.4-2309_daily_bin1376
RA = 339.125, Dec = -23.1552
tmin = 595987201, tmax = 596246401
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='409181', job_status='RUN', time_executed='2021-09-28 17:16:43.590991', time_epoch_executed='1632874603.59' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='1376'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/409181

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/409181/ft1_4FGL_J2236.4-2309_daily_bin1376.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/409181/ft2_4FGL_J2236.4-2309_daily_bin1376.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/409181/ft1_4FGL_J2236.4-2309_daily_bin1376.fits outfile=/scratch/kocevski/409181/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1376.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=595987201.0 tmax=596246401.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.13
user 2.93
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/409181/ft1_filtered_4FGL_J2236.4-2309_daily_bin1376.fits" evtable="EVENTS" scfile=/scratch/kocevski/409181/ft2_4FGL_J2236.4-2309_daily_bin1376.fits sctable="SC_DATA" outfile=/scratch/kocevski/409181/ltcube_595987201_596246401_4FGL_J2236.4-2309_daily_bin1376.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/409181/ft2_4FGL_J2236.4-2309_daily_bin1376.fits
.....................!
real 12.10
user 11.68
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/409181/ft1_filtered_4FGL_J2236.4-2309_daily_bin1376.fits evtable="EVENTS" scfile=/scratch/kocevski/409181/ft2_4FGL_J2236.4-2309_daily_bin1376.fits sctable="SC_DATA" expcube=/scratch/kocevski/409181/ltcube_595987201_596246401_4FGL_J2236.4-2309_daily_bin1376.fits outfile=/scratch/kocevski/409181/expmap_595987201_596246401_4FGL_J2236.4-2309_daily_bin1376.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/409181/ltcube_595987201_596246401_4FGL_J2236.4-2309_daily_bin1376.fits
.....................!
real 191.61
user 185.93
sys 5.06

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/409181/ft1_filtered_4FGL_J2236.4-2309_daily_bin1376.fits scfile=/scratch/kocevski/409181/ft2_4FGL_J2236.4-2309_daily_bin1376.fits outfile=/scratch/kocevski/409181/cmap_595987201_596246401_4FGL_J2236.4-2309_daily_bin1376.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.52
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/409181/ft1_filtered_4FGL_J2236.4-2309_daily_bin1376.fits scfile=/scratch/kocevski/409181/ft2_4FGL_J2236.4-2309_daily_bin1376.fits outfile=/scratch/kocevski/409181/cmap_HighResolution_595987201_596246401_4FGL_J2236.4-2309_daily_bin1376.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.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/409181/ft1_filtered_4FGL_J2236.4-2309_daily_bin1376.fits evtable="EVENTS" scfile=/scratch/kocevski/409181/ft2_4FGL_J2236.4-2309_daily_bin1376.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/409181/Model_4FGL_J2236.4-2309_daily_bin1376.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/409181/ft1_filtered_4FGL_J2236.4-2309_daily_bin1376.fits.....................!
real 45.56
user 44.11
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.7822       1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.292       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .37999       1.0000         .10000E-03   10000.    
     7 'Prefactor '    69.918       1.0000         .10000E-03   10000.    
     8 'norm      '    13.643       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10237E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .47656       1.0000         .10000E-03   10000.    
    12 'Prefactor '    125.80       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.2063       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10151E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    8.0957       1.0000         .10000E-03   10000.    
    16 'norm      '    .63916       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10160E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10103E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.266       1.0000         .10000E-03   10000.    
    20 'norm      '    .25335       1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.755       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .54733       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .98444       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .91345       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=   5375.405     FROM MIGRAD    STATUS=CONVERGED    570 CALLS     2781 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.419        .11747E-06** at limit **
   2  Prefactor     .10000E-03    35.398        .28687E-06** at limit **
   3  norm          1.7821        .48523       -.50398E-08    .10602E-04
   4  Prefactor     16.306        11.934       -.93899E-07    .39653E-04
   5  Prefactor     .10000E-03    3.6631       -.55378E-09** at limit **
   6  Prefactor     .55909E-01    17.636       -.22935E-06   -.22729E-04
   7  Prefactor     69.886        60.660       -.31450E-06   -.57319E-04
   8  norm          13.651        21.396        .46112E-06   -.37807E-04
   9  Prefactor     .10000E-03    14.794       -.97714E-06** at limit **
  10  norm          .10000E-03    .31729       -.10244E-06** at limit **
  11  norm          .47619        1.9095       -.14362E-06   -.30321E-03
  12  Prefactor     125.75        70.866        .74727E-06   -.12485E-03
  13  Prefactor     8.2030        10.532       -.33393E-07    .25925E-04
  14  Prefactor     .10000E-03    28.952        .34470E-07** at limit **
  15  norm          8.0949        1.8549       -.57998E-07    .33543E-03
  16  norm          .63738        3.4569        .13667E-05   -.16357E-03
  17  Prefactor     .10000E-03    39.857       -.20429E-06** at limit **
  18  Prefactor     .10000E-03    5.3824       -.13608E-06** at limit **
  19  Prefactor     10.318        14.791        .14638E-05    .56685E-04
  20  norm          .25242        .70351       -.42835E-06   -.99583E-03
  21  Prefactor     10.746        12.657       -.48237E-07    .27571E-05
  22  Prefactor     .49023        15.729       -.12485E-05    .13230E-04
  23  Normalizat    .98423        .21850        .18158E-05   -.95342E-05
  24  Prefactor     .91406        .17912       -.10633E-05    .14365E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.78214
  Prefactor  = 16.3064
  Prefactor  = 0.0001
  Prefactor  = 0.055909
  Prefactor  = 69.8861
  norm       = 13.6507
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.476189
  Prefactor  = 125.748
  Prefactor  = 8.20304
  Prefactor  = 0.0001
  norm       = 8.09487
  norm       = 0.637378
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.3181
  norm       = 0.252417
  Prefactor  = 10.7461
  Prefactor  = 0.490226
  Normalizat = 0.984229
  Prefactor  = 0.914059
 **********
 **   18 **HESSE 
 **********

 FCN=   5375.405     FROM HESSE     STATUS=OK           417 CALLS     3198 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.544        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    35.394        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.7821        .48655        .25898E-04   -1.5441    
   4  Prefactor     16.306        11.931        .99227E-04   -1.4900    
   5  Prefactor     .10000E-03    3.6675        .13704E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55909E-01    23.529        .88324E-01   -1.5661    
   7  Prefactor     69.886        60.535        .24003E-03   -1.4034    
   8  norm          13.651        21.317        .10844E-03   -1.4969    
   9  Prefactor     .10000E-03    14.924        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .32831        .80378E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .47619        2.1777        .16857E-02   -1.5570    
  12  Prefactor     125.75        69.469        .17945E-03   -1.3460    
  13  Prefactor     8.2030        10.536        .13995E-03   -1.5135    
  14  Prefactor     .10000E-03    29.057        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          8.0949        1.8430        .45751E-04   -1.5139    
  16  norm          .63738        3.1175        .24887E-03   -1.5548    
  17  Prefactor     .10000E-03    39.906        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    5.3854        .16609E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     10.318        15.438        .12505E-03   -1.5065    
  20  norm          .25242        .62320        .76570E-03   -1.5608    
  21  Prefactor     10.746        12.656        .12217E-03   -1.5052    
  22  Prefactor     .49023        73.534        .42303E-02   -1.5568    
  23  Normalizat    .98423        .24943        .27287E-03   -.93561    
  24  Prefactor     .91406        .20546        .24277E-03   -.95652    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.44141e-08
Minuit parameter uncertainties:
  1  1.45651e-05
  2  9.79697e-05
  3  0.486553
  4  11.9323
  5  5.70208e-07
  6  2.29273
  7  60.5879
  8  21.3289
  9  3.90116e-05
  10  1.53097e-06
  11  2.03659
  12  69.5139
  13  10.5386
  14  2.14977e-05
  15  1.84303
  16  2.81927
  17  0.000118833
  18  4.09426e-06
  19  15.4435
  20  0.623221
  21  12.6595
  22  12.0219
  23  0.249724
  24  0.20563
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  9.141e-01  2.056e-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:  9.842e-01  2.497e-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: 1.08e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.53e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/409181/likelihoodResults_595987201_596246401_4FGL_J2236.4-2309_daily_bin1376.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) = 5375.40493753
delta logL = -0.000319352583574

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5375.40461816
delta logL = 1.35187292472e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7578       1.0000          .0000       10.000    
     3 'Normalizat'    .98423       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91408       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=   5375.378     FROM MIGRAD    STATUS=CONVERGED    148 CALLS      298 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .90329E-02    .34591        .70544E-02    .45419E-02
   2  Index         7.3630        8.0440        .50000        .33368E-04
   3  Normalizat    .97393        .17793E-01    .27287E-03   -.60654E-03
   4  Prefactor     .91978        .15395E-01    .24277E-03   -.38633E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00903285
  Index      = 7.36298
  Normalizat = 0.973931
  Prefactor  = 0.919782
 **********
 **   18 **HESSE 
 **********

 FCN=   5375.378     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      329 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .90329E-02    8.8821        .24176E-03   -1.5689    
   2  Index         7.3630        6.5754        .27392E-01    .49223    
   3  Normalizat    .97393        .11133        .54574E-04   -.93909    
   4  Prefactor     .91978        .95260E-01    .48554E-04   -.95453    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.46068e-09
Minuit parameter uncertainties:
  1  0.563439
  2  43.0012
  3  0.111361
  4  0.0952768
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/409181': 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) = 5375.37779918
delta logL = 0.0268189961362

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  9.033e-03  5.634e-01  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  7.363e+00  4.300e+01  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.198e-01  9.528e-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:  9.739e-01  1.114e-01  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/409181/cmap_HighResolution_595987201_596246401_4FGL_J2236.4-2309_daily_bin1376.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.53e-03', job_status='DONE', photon_flux_upper_limit='1.08e-07', time_completed='2021-09-28 17:26:34.374902', job_id='409181', GAL2='0.92', fit_tolerance='1e-08', EG2='0.97', EG='0.98', time_epoch_completed='1632875194.37', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='2.68e-02', ts2='0.06', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='1376' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:26:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 409181: <4FGL_J2236.4-2309_daily_bin1376> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin1376 339.125 -23.1552 595987201 596246401 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 :                                   587.11 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             264.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   677 sec.
    Turnaround time :                            679 sec.

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

