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


Performing analysis on: 4FGL_J2236.4-2309_daily_bin1089
RA = 339.125, Dec = -23.1552
tmin = 521596801, tmax = 521856001
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='407802', job_status='RUN', time_executed='2021-09-28 17:11:37.101102', time_epoch_executed='1632874297.1' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='1089'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/407802

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/407802/ft1_4FGL_J2236.4-2309_daily_bin1089.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/407802/ft2_4FGL_J2236.4-2309_daily_bin1089.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/407802/ft1_4FGL_J2236.4-2309_daily_bin1089.fits outfile=/scratch/kocevski/407802/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1089.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=521596801.0 tmax=521856001.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.33
user 4.13
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/407802/ft1_filtered_4FGL_J2236.4-2309_daily_bin1089.fits" evtable="EVENTS" scfile=/scratch/kocevski/407802/ft2_4FGL_J2236.4-2309_daily_bin1089.fits sctable="SC_DATA" outfile=/scratch/kocevski/407802/ltcube_521596801_521856001_4FGL_J2236.4-2309_daily_bin1089.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/407802/ft2_4FGL_J2236.4-2309_daily_bin1089.fits
.....................!
real 13.52
user 13.14
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/407802/ft1_filtered_4FGL_J2236.4-2309_daily_bin1089.fits evtable="EVENTS" scfile=/scratch/kocevski/407802/ft2_4FGL_J2236.4-2309_daily_bin1089.fits sctable="SC_DATA" expcube=/scratch/kocevski/407802/ltcube_521596801_521856001_4FGL_J2236.4-2309_daily_bin1089.fits outfile=/scratch/kocevski/407802/expmap_521596801_521856001_4FGL_J2236.4-2309_daily_bin1089.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/407802/ltcube_521596801_521856001_4FGL_J2236.4-2309_daily_bin1089.fits
.....................!
real 190.20
user 185.10
sys 4.74

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/407802/ft1_filtered_4FGL_J2236.4-2309_daily_bin1089.fits scfile=/scratch/kocevski/407802/ft2_4FGL_J2236.4-2309_daily_bin1089.fits outfile=/scratch/kocevski/407802/cmap_521596801_521856001_4FGL_J2236.4-2309_daily_bin1089.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/407802/ft1_filtered_4FGL_J2236.4-2309_daily_bin1089.fits scfile=/scratch/kocevski/407802/ft2_4FGL_J2236.4-2309_daily_bin1089.fits outfile=/scratch/kocevski/407802/cmap_HighResolution_521596801_521856001_4FGL_J2236.4-2309_daily_bin1089.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.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/407802/ft1_filtered_4FGL_J2236.4-2309_daily_bin1089.fits evtable="EVENTS" scfile=/scratch/kocevski/407802/ft2_4FGL_J2236.4-2309_daily_bin1089.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/407802/Model_4FGL_J2236.4-2309_daily_bin1089.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/407802/ft1_filtered_4FGL_J2236.4-2309_daily_bin1089.fits.....................!
real 60.82
user 59.59
sys 1.05

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .69694E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    32.086       1.0000         .10000E-03   10000.    
     3 'norm      '    .93236       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.7629       1.0000         .10000E-03   10000.    
     5 'Prefactor '    21.052       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.6731       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10927E-02   1.0000         .10000E-03   10000.    
     8 'norm      '    23.893       1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.0308       1.0000         .10000E-03   10000.    
    10 'norm      '    .67782E-01   1.0000         .10000E-03   10000.    
    11 'norm      '    2.9237       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12527E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.4781       1.0000         .10000E-03   10000.    
    14 'Prefactor '    51.114       1.0000         .10000E-03   10000.    
    15 'norm      '    6.3972       1.0000         .10000E-03   10000.    
    16 'norm      '    5.4600       1.0000         .10000E-03   10000.    
    17 'Prefactor '    35.643       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .20747E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    15.377       1.0000         .10000E-03   10000.    
    20 'norm      '    .82446       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .15697E-02   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .11143E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .85443       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1627       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7597.960     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     2000 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.3052        .76005E-06** at limit **
   2  Prefactor     32.038        8.2754       -.28120E-08    .19947E-02
   3  norm          .93250        .32314       -.51913E-08   -.75656E-04
   4  Prefactor     3.6752        9.3995       -.25852E-06    .52936E-03
   5  Prefactor     21.237        13.987       -.78365E-06    .20975E-03
   6  Prefactor     5.6893        8.2236       -.47372E-07   -.10841E-02
   7  Prefactor     .10000E-03    10.931        .19796E-05** at limit **
   8  norm          23.492        17.564        .12164E-05    .36317E-04
   9  Prefactor     9.1666        11.248       -.93790E-06   -.14228E-02
  10  norm          .66853E-01    1.7797       -.70017E-07   -.19843E-04
  11  norm          2.9238        1.8487       -.15962E-06   -.10729E-03
  12  Prefactor     .10000E-03    18.630       -.38578E-06** at limit **
  13  Prefactor     9.4726        4.8320       -.41682E-07   -.36604E-02
  14  Prefactor     52.679        47.914        .23721E-05    .57024E-03
  15  norm          6.3325        3.7085       -.14924E-06    .52298E-04
  16  norm          5.4559        4.3951       -.16679E-06   -.51838E-03
  17  Prefactor     33.762        56.509       -.41625E-05    .31274E-03
  18  Prefactor     .10000E-03    8.8426       -.41265E-06** at limit **
  19  Prefactor     15.429        4.8670       -.26470E-06    .58814E-02
  20  norm          .82281        .60937        .86727E-07   -.26797E-04
  21  Prefactor     .10000E-03    11.540        .56821E-06** at limit **
  22  Prefactor     .10000E-03    3.4694        .19187E-06** at limit **
  23  Normalizat    .85401        .23209        .13323E-05   -.43219E-04
  24  Prefactor     1.1628        .20345       -.15808E-05   -.73844E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 32.0377
  norm       = 0.932499
  Prefactor  = 3.67524
  Prefactor  = 21.2371
  Prefactor  = 5.68931
  Prefactor  = 0.0001
  norm       = 23.4923
  Prefactor  = 9.1666
  norm       = 0.0668532
  norm       = 2.9238
  Prefactor  = 0.0001
  Prefactor  = 9.47263
  Prefactor  = 52.6793
  norm       = 6.33252
  norm       = 5.45592
  Prefactor  = 33.7619
  Prefactor  = 0.0001
  Prefactor  = 15.4293
  norm       = 0.822814
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.854013
  Prefactor  = 1.16282
 **********
 **   18 **HESSE 
 **********

 FCN=   7597.960     FROM HESSE     STATUS=OK           463 CALLS     2463 TOTAL
                     EDM=   .75E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.3035        .10491E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     32.038        40.035        .17685E-02   -1.4575    
   3  norm          .93250        .32355        .64085E-02   -1.5515    
   4  Prefactor     3.6752        9.9448        .52031E-02   -1.5325    
   5  Prefactor     21.237        13.994        .21824E-02   -1.4786    
   6  Prefactor     5.6893        9.4061        .42162E-02   -1.5231    
   7  Prefactor     .10000E-03    10.930        .10352E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          23.492        17.565        .20487E-02   -1.4738    
   9  Prefactor     9.1666        11.809        .33343E-02   -1.5102    
  10  norm          .66853E-01    .38176        .28727E-01   -1.5656    
  11  norm          2.9238        1.8476        .59395E-02   -1.5366    
  12  Prefactor     .10000E-03    18.990        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     9.4726        9.1405        .32543E-02   -1.5092    
  14  Prefactor     52.679        45.807        .14024E-02   -1.4255    
  15  norm          6.3325        3.5138        .39672E-02   -1.5205    
  16  norm          5.4559        4.6395        .42990E-02   -1.5241    
  17  Prefactor     33.762        57.025        .16782E-02   -1.4545    
  18  Prefactor     .10000E-03    8.8277        .10098E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     15.429        10.720        .25535E-02   -1.4922    
  20  norm          .82281        .72350        .11700E-01   -1.5527    
  21  Prefactor     .10000E-03    11.383        .10217E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    3.4622        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .85401        .19176        .68950E-01   -.98095    
  24  Prefactor     1.1628        .16441        .53520E-01   -.87483    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.52846e-08
Minuit parameter uncertainties:
  1  1.25659e-05
  2  40.0686
  3  0.32355
  4  9.94928
  5  13.9957
  6  9.40859
  7  3.99577e-05
  8  17.5692
  9  11.8118
  10  0.319276
  11  1.84763
  12  4.93308e-07
  13  9.14181
  14  45.8378
  15  3.51393
  16  4.63984
  17  57.1168
  18  8.80803e-06
  19  10.7216
  20  0.723507
  21  1.01737e-05
  22  7.91354e-07
  23  0.191914
  24  0.164482
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  9.167e+00  1.181e+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:  1.163e+00  1.645e-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.540e-01  1.919e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.74
Ra Dec: 339.125 -23.155
Photon Flux Upper Limit: 1.19e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.42e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/407802/likelihoodResults_521596801_521856001_4FGL_J2236.4-2309_daily_bin1089.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) = 7597.85165827
delta logL = 0.108162938721

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7597.84935975
delta logL = 0.110461455612

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.7050       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3032       1.0000          .0000       10.000    
     3 'Normalizat'    .83941       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1724       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=   7597.849     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      262 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7085        227.27        .38741E-02   -.33104E-03
   2  Index         3.3038        6.5067        .21493        .89043E-05
   3  Normalizat    .83916        .58458E-01    .69500E-01   -.48876E-03
   4  Prefactor     1.1725        .52895E-01    .53326E-01   -.78204E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.70848
  Index      = 3.3038
  Normalizat = 0.83916
  Prefactor  = 1.17253
 **********
 **   18 **HESSE 
 **********

 FCN=   7597.849     FROM HESSE     STATUS=OK            29 CALLS      291 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.7085        12.478        .15496E-03   -1.5190    
   2  Index         3.3038        1.4302        .12266E-01   -.34611    
   3  Normalizat    .83916        .22541        .30751E-03   -.98632    
   4  Prefactor     1.1725        .19795        .23577E-03   -.87181    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.1697e-10
Minuit parameter uncertainties:
  1  12.4825
  2  1.45318
  3  0.225661
  4  0.198078
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/407802': 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) = 7597.8493585
delta logL = 0.110462700704

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  6.708e+00  1.248e+01  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  3.304e+00  1.453e+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.173e+00  1.981e-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.392e-01  2.257e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.74
Ra Dec: 339.125 -23.155

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/407802/cmap_HighResolution_521596801_521856001_4FGL_J2236.4-2309_daily_bin1089.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.42e-03', job_status='DONE', photon_flux_upper_limit='1.19e-07', time_completed='2021-09-28 17:22:39.953183', job_id='407802', GAL2='1.17', fit_tolerance='1e-08', EG2='0.84', EG='0.85', time_epoch_completed='1632874959.95', return_code2='0', ts='0.74', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='1.10e-01', ts2='0.98', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='1089' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:22:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 407802: <4FGL_J2236.4-2309_daily_bin1089> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin1089 339.125 -23.1552 521596801 521856001 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 :                                   661.01 sec.
    Max Memory :                                 1184 MB
    Average Memory :                             305.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   722 sec.
    Turnaround time :                            724 sec.

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

