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


Performing analysis on: 4FGL_J2236.4-2309_daily_bin1470
RA = 339.125, Dec = -23.1552
tmin = 620352001, tmax = 620611201
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='409320', job_status='RUN', time_executed='2021-09-28 17:17:11.194641', time_epoch_executed='1632874631.19' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='1470'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/409320

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/409320/ft1_4FGL_J2236.4-2309_daily_bin1470.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/409320/ft2_4FGL_J2236.4-2309_daily_bin1470.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/409320/ft1_4FGL_J2236.4-2309_daily_bin1470.fits outfile=/scratch/kocevski/409320/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1470.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=620352001.0 tmax=620611201.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 5.12
user 4.66
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/409320/ft1_filtered_4FGL_J2236.4-2309_daily_bin1470.fits" evtable="EVENTS" scfile=/scratch/kocevski/409320/ft2_4FGL_J2236.4-2309_daily_bin1470.fits sctable="SC_DATA" outfile=/scratch/kocevski/409320/ltcube_620352001_620611201_4FGL_J2236.4-2309_daily_bin1470.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/409320/ft2_4FGL_J2236.4-2309_daily_bin1470.fits
.....................!
real 11.61
user 11.28
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/409320/ft1_filtered_4FGL_J2236.4-2309_daily_bin1470.fits evtable="EVENTS" scfile=/scratch/kocevski/409320/ft2_4FGL_J2236.4-2309_daily_bin1470.fits sctable="SC_DATA" expcube=/scratch/kocevski/409320/ltcube_620352001_620611201_4FGL_J2236.4-2309_daily_bin1470.fits outfile=/scratch/kocevski/409320/expmap_620352001_620611201_4FGL_J2236.4-2309_daily_bin1470.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/409320/ltcube_620352001_620611201_4FGL_J2236.4-2309_daily_bin1470.fits
.....................!
real 190.96
user 185.19
sys 5.29

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/409320/ft1_filtered_4FGL_J2236.4-2309_daily_bin1470.fits scfile=/scratch/kocevski/409320/ft2_4FGL_J2236.4-2309_daily_bin1470.fits outfile=/scratch/kocevski/409320/cmap_620352001_620611201_4FGL_J2236.4-2309_daily_bin1470.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/409320/ft1_filtered_4FGL_J2236.4-2309_daily_bin1470.fits scfile=/scratch/kocevski/409320/ft2_4FGL_J2236.4-2309_daily_bin1470.fits outfile=/scratch/kocevski/409320/cmap_HighResolution_620352001_620611201_4FGL_J2236.4-2309_daily_bin1470.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/409320/ft1_filtered_4FGL_J2236.4-2309_daily_bin1470.fits evtable="EVENTS" scfile=/scratch/kocevski/409320/ft2_4FGL_J2236.4-2309_daily_bin1470.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/409320/Model_4FGL_J2236.4-2309_daily_bin1470.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/409320/ft1_filtered_4FGL_J2236.4-2309_daily_bin1470.fits.....................!
real 54.22
user 52.78
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10569E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .78341       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.5116       1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.507       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10280E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    10.556       1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.643       1.0000         .10000E-03   10000.    
    10 'norm      '    8.9389       1.0000         .10000E-03   10000.    
    11 'norm      '    .11152E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    61.439       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    48.145       1.0000         .10000E-03   10000.    
    15 'norm      '    1.7872       1.0000         .10000E-03   10000.    
    16 'norm      '    5.9332       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11741E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.2436       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.4436       1.0000         .10000E-03   10000.    
    20 'norm      '    .90434       1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.5003       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .87047       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .93458       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=   6680.521     FROM MIGRAD    STATUS=CONVERGED    541 CALLS     2764 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.4209        .13007E-07** at limit **
   2  Prefactor     .10000E-03    23.667       -.11249E-06** at limit **
   3  norm          .78340        .31575       -.10049E-07    .77530E-04
   4  Prefactor     8.5054        11.940       -.89661E-06    .39966E-04
   5  Prefactor     20.517        18.853       -.60351E-06    .97915E-05
   6  Prefactor     .10000E-03    4.5008       -.80224E-08** at limit **
   7  Prefactor     .10000E-03    36.796        .18098E-05** at limit **
   8  norm          10.557        11.893        .73032E-06   -.52884E-04
   9  Prefactor     11.638        11.256        .96591E-06   -.68225E-04
  10  norm          8.9388        1.6265       -.12431E-07    .37785E-03
  11  norm          .10000E-03    1.8625        .28647E-05** at limit **
  12  Prefactor     61.529        41.427       -.14734E-05   -.35667E-03
  13  Prefactor     .10000E-03    1.9670       -.58837E-07** at limit **
  14  Prefactor     48.138        29.953        .10521E-05    .69741E-04
  15  norm          1.7877        2.1757       -.50047E-06    .42163E-03
  16  norm          5.9325        3.5799        .19420E-06   -.17348E-03
  17  Prefactor     .10000E-03    51.922       -.40461E-05** at limit **
  18  Prefactor     3.2448        11.953        .10717E-05   -.61940E-04
  19  Prefactor     7.4429        11.473        .11077E-05   -.24270E-03
  20  norm          .90442        .78173       -.21524E-06   -.23506E-03
  21  Prefactor     7.5005        11.715       -.21050E-06    .57439E-04
  22  Prefactor     .10000E-03    2.7964       -.20051E-06** at limit **
  23  Normalizat    .87049        .19288        .10483E-05   -.85218E-06
  24  Prefactor     .93459        .16454        .73602E-06    .17243E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.783404
  Prefactor  = 8.50544
  Prefactor  = 20.5171
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.5567
  Prefactor  = 11.6377
  norm       = 8.93879
  norm       = 0.0001
  Prefactor  = 61.5288
  Prefactor  = 0.0001
  Prefactor  = 48.1382
  norm       = 1.78765
  norm       = 5.93251
  Prefactor  = 0.0001
  Prefactor  = 3.24484
  Prefactor  = 7.44288
  norm       = 0.904417
  Prefactor  = 7.50052
  Prefactor  = 0.0001
  Normalizat = 0.870494
  Prefactor  = 0.934585
 **********
 **   18 **HESSE 
 **********

 FCN=   6680.521     FROM HESSE     STATUS=OK           405 CALLS     3169 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.4260        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    23.690        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .78340        .31734        .28344E-04   -1.5531    
   4  Prefactor     8.5054        12.000        .68701E-03   -1.5125    
   5  Prefactor     20.517        18.863        .88448E-04   -1.4802    
   6  Prefactor     .10000E-03    4.5046        .16934E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    36.800        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          10.557        11.880        .12332E-03   -1.5058    
   9  Prefactor     11.638        11.282        .11740E-03   -1.5026    
  10  norm          8.9388        1.6276        .42224E-04   -1.5110    
  11  norm          .10000E-03    1.8538        .17018E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     61.529        42.562        .25595E-03   -1.4138    
  13  Prefactor     .10000E-03    1.9709        .11196E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     48.138        30.752        .57790E-04   -1.4319    
  15  norm          1.7877        2.2347        .39020E-03   -1.5441    
  16  norm          5.9325        3.5676        .11116E-03   -1.5221    
  17  Prefactor     .10000E-03    52.268        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.2448        11.754        .22489E-03   -1.5348    
  19  Prefactor     7.4429        11.758        .14700E-03   -1.5162    
  20  norm          .90442        .78717        .47872E-04   -1.5518    
  21  Prefactor     7.5005        11.704        .14644E-03   -1.5160    
  22  Prefactor     .10000E-03    2.8038        .13347E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .87049        .22964        .27773E-03   -.97505    
  24  Prefactor     .93459        .19540        .23972E-03   -.94943    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.21431e-10
Minuit parameter uncertainties:
  1  2.77446e-06
  2  1.11715e-05
  3  0.317336
  4  12.0034
  5  18.8681
  6  2.89328e-06
  7  2.64466e-05
  8  11.8824
  9  11.284
  10  1.62764
  11  1.10234e-06
  12  42.5835
  13  4.00907e-06
  14  30.7618
  15  2.2348
  16  3.56772
  17  0.000137505
  18  11.7624
  19  11.7614
  20  0.787176
  21  11.7075
  22  1.83653e-05
  23  0.229901
  24  0.195547
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  1.164e+01  1.128e+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.346e-01  1.955e-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.705e-01  2.299e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.49
Ra Dec: 339.125 -23.155
Photon Index (Fixed Index): 2.74 +/- 0.00
Photon Flux (Fixed Index): 4.10e-08 +/- 3.97e-08
Energy Flux (Fixed Index): 9.55e-06 +/- 9.25e-06

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

Saving results to:
/scratch/kocevski/409320/likelihoodResults_620352001_620611201_4FGL_J2236.4-2309_daily_bin1470.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) = 6680.34377241
delta logL = 0.177063832435

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6680.32453455
delta logL = 0.196301690756

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.766       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2460       1.0000          .0000       10.000    
     3 'Normalizat'    .88812       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92130       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=   6680.325     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      202 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.766        23.438        .26989E-02   -.13498E-02
   2  Index         2.2473        1.0404        .24543       -.26721E-04
   3  Normalizat    .88848        .18346        .44750E-01    .25257E-04
   4  Prefactor     .92107        .16488        .45276E-01    .20848E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.7656
  Index      = 2.2473
  Normalizat = 0.888484
  Prefactor  = 0.921071
 **********
 **   18 **HESSE 
 **********

 FCN=   6680.325     FROM HESSE     STATUS=OK            31 CALLS      233 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.766        12.236        .10796E-03   -1.4966    
   2  Index         2.2473        .69719        .10319E-01   -.58301    
   3  Normalizat    .88848        .21487        .27518E-03   -.96866    
   4  Prefactor     .92107        .19117        .24118E-03   -.95409    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.60025e-09
Minuit parameter uncertainties:
  1  12.2382
  2  0.700471
  3  0.21508
  4  0.191314
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/409320': 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) = 6680.32453044
delta logL = 0.196305796736

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  1.377e+01  1.224e+01  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  2.247e+00  7.005e-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.211e-01  1.913e-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.885e-01  2.151e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.87
Ra Dec: 339.125 -23.155
Photon Index (Free Index): 2.25 +/- 0.70
Photon Flux (Free Index): 3.22e-08 +/- 3.37e-08
Energy Flux (Free Index): 1.33e-05 +/- 1.45e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/409320/cmap_HighResolution_620352001_620611201_4FGL_J2236.4-2309_daily_bin1470.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.74e-03', comment='SUCCESS', photon_flux='4.10e-08', energy_flux2='1.33e-05', photon_flux_error='3.97e-08', dlogl='1.96e-01', energy_flux='9.55e-06', photon_flux2='3.22e-08', job_status='DONE', time_completed='2021-09-28 17:28:23.215771', photon_index_error2='0.70', photon_index2='2.25', ts='1.49', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='1.23e-07', energy_flux_error2='1.45e-05', EG='0.87', time_epoch_completed='1632875303.22', return_code='0', job_id='409320', GAL2='0.92', EG2='0.89', return_code2='0', energy_flux_error='9.25e-06', photon_flux_error2='3.37e-08', ts2='1.87', photon_index='2.74' WHERE bin_id='1470' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:28:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 409320: <4FGL_J2236.4-2309_daily_bin1470> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin1470 339.125 -23.1552 620352001 620611201 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 :                                   667.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             328.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   775 sec.
    Turnaround time :                            777 sec.

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

