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


Performing analysis on: 4FGL_J2236.4-2309_daily_bin1179
RA = 339.125, Dec = -23.1552
tmin = 544924801, tmax = 545184001
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='407934', job_status='RUN', time_executed='2021-09-28 17:11:34.512783', time_epoch_executed='1632874294.51' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='1179'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/407934

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/407934/ft1_4FGL_J2236.4-2309_daily_bin1179.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/407934/ft2_4FGL_J2236.4-2309_daily_bin1179.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/407934/ft1_4FGL_J2236.4-2309_daily_bin1179.fits outfile=/scratch/kocevski/407934/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1179.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=544924801.0 tmax=545184001.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.11
user 3.88
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/407934/ft1_filtered_4FGL_J2236.4-2309_daily_bin1179.fits" evtable="EVENTS" scfile=/scratch/kocevski/407934/ft2_4FGL_J2236.4-2309_daily_bin1179.fits sctable="SC_DATA" outfile=/scratch/kocevski/407934/ltcube_544924801_545184001_4FGL_J2236.4-2309_daily_bin1179.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/407934/ft2_4FGL_J2236.4-2309_daily_bin1179.fits
.....................!
real 11.55
user 11.16
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/407934/ft1_filtered_4FGL_J2236.4-2309_daily_bin1179.fits evtable="EVENTS" scfile=/scratch/kocevski/407934/ft2_4FGL_J2236.4-2309_daily_bin1179.fits sctable="SC_DATA" expcube=/scratch/kocevski/407934/ltcube_544924801_545184001_4FGL_J2236.4-2309_daily_bin1179.fits outfile=/scratch/kocevski/407934/expmap_544924801_545184001_4FGL_J2236.4-2309_daily_bin1179.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/407934/ltcube_544924801_545184001_4FGL_J2236.4-2309_daily_bin1179.fits
.....................!
real 190.64
user 185.27
sys 5.01

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/407934/ft1_filtered_4FGL_J2236.4-2309_daily_bin1179.fits scfile=/scratch/kocevski/407934/ft2_4FGL_J2236.4-2309_daily_bin1179.fits outfile=/scratch/kocevski/407934/cmap_544924801_545184001_4FGL_J2236.4-2309_daily_bin1179.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/407934/ft1_filtered_4FGL_J2236.4-2309_daily_bin1179.fits scfile=/scratch/kocevski/407934/ft2_4FGL_J2236.4-2309_daily_bin1179.fits outfile=/scratch/kocevski/407934/cmap_HighResolution_544924801_545184001_4FGL_J2236.4-2309_daily_bin1179.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/407934/ft1_filtered_4FGL_J2236.4-2309_daily_bin1179.fits evtable="EVENTS" scfile=/scratch/kocevski/407934/ft2_4FGL_J2236.4-2309_daily_bin1179.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/407934/Model_4FGL_J2236.4-2309_daily_bin1179.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/407934/ft1_filtered_4FGL_J2236.4-2309_daily_bin1179.fits.....................!
real 69.57
user 68.23
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .64170       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    29.086       1.0000         .10000E-03   10000.    
     6 'Prefactor '    21.970       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    43.052       1.0000         .10000E-03   10000.    
    10 'norm      '    1.6536       1.0000         .10000E-03   10000.    
    11 'norm      '    .10312E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    41.646       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10374E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    8.2030       1.0000         .10000E-03   10000.    
    16 'norm      '    9.4128       1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.456       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.4568       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .50319E-02   1.0000         .10000E-03   10000.    
    20 'norm      '    1.8838       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    12.795       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.4536       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .73261       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=   9026.187     FROM MIGRAD    STATUS=CONVERGED    550 CALLS     2753 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.9873        .31342E-08** at limit **
   2  Prefactor     .10000E-03    7.6866       -.72011E-08** at limit **
   3  norm          .64169        .23182       -.32207E-08    .96778E-04
   4  Prefactor     .10000E-03    2.4066        .10759E-07** at limit **
   5  Prefactor     29.084        18.795       -.63453E-07    .22557E-04
   6  Prefactor     21.968        14.477       -.23637E-07    .30423E-04
   7  Prefactor     .10000E-03    27.543       -.23837E-06** at limit **
   8  norm          .10000E-03    5.7569        .89927E-08** at limit **
   9  Prefactor     43.057        14.408       -.77893E-08    .87200E-04
  10  norm          1.6533        1.1725        .25803E-07   -.27011E-03
  11  norm          .10000E-03    .86630        .14161E-07** at limit **
  12  Prefactor     41.651        39.849        .73022E-06    .10451E-03
  13  Prefactor     .10000E-03    4.4403       -.46419E-07** at limit **
  14  Prefactor     .10000E-03    36.519       -.44810E-07** at limit **
  15  norm          8.2024        2.3188        .73936E-07   -.57556E-03
  16  norm          9.4148        3.7387        .11135E-06    .50616E-03
  17  Prefactor     11.444        54.952       -.70643E-06   -.41338E-04
  18  Prefactor     8.4621        8.3924        .31779E-07    .59793E-04
  19  Prefactor     .10106E-03    5.4647       -.21614E-05** at limit **
  20  norm          1.8852        .65450        .27247E-06    .26791E-02
  21  Prefactor     .10000E-03    4.4167        .15718E-07** at limit **
  22  Prefactor     12.804        9.2757        .27281E-06    .15491E-03
  23  Normalizat    1.4533        .18226        .10256E-05    .16252E-03
  24  Prefactor     .73287        .14947       -.80172E-06    .21189E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.64169
  Prefactor  = 0.0001
  Prefactor  = 29.0838
  Prefactor  = 21.968
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 43.0569
  norm       = 1.65335
  norm       = 0.0001
  Prefactor  = 41.651
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.20243
  norm       = 9.41478
  Prefactor  = 11.4438
  Prefactor  = 8.46207
  Prefactor  = 0.000101059
  norm       = 1.88516
  Prefactor  = 0.0001
  Prefactor  = 12.8041
  Normalizat = 1.4533
  Prefactor  = 0.732875
 **********
 **   18 **HESSE 
 **********

 FCN=   9026.187     FROM HESSE     STATUS=OK           405 CALLS     3158 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.9886        .16037E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    7.6888        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .64169        .23347        .26706E-04   -1.5548    
   4  Prefactor     .10000E-03    2.4186        .14391E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     29.084        18.807        .74287E-04   -1.4629    
   6  Prefactor     21.968        14.487        .85454E-04   -1.4770    
   7  Prefactor     .10000E-03    27.552        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    5.7640        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     43.057        14.434        .61099E-04   -1.4395    
  10  norm          1.6533        1.1615        .81786E-04   -1.5451    
  11  norm          .10000E-03    .87374        .85877E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     41.651        40.000        .62117E-04   -1.4416    
  13  Prefactor     .10000E-03    4.4627        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    36.715        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          8.2024        2.3344        .60664E-04   -1.5135    
  16  norm          9.4148        3.7696        .11040E-03   -1.5094    
  17  Prefactor     11.444        56.298        .11836E-03   -1.5031    
  18  Prefactor     8.4621        8.4347        .13785E-03   -1.5126    
  19  Prefactor     .10106E-03    18.647        .51844E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.8852        .78537        .41031E-04   -1.5433    
  21  Prefactor     .10000E-03    4.4231        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     12.804        9.4320        .11198E-03   -1.4992    
  23  Normalizat    1.4533        .22180        .25873E-03   -.79099    
  24  Prefactor     .73287        .17981        .29425E-03   -1.0225    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.98894e-10
Minuit parameter uncertainties:
  1  3.4544e-07
  2  4.27709e-06
  3  0.233474
  4  1.60417e-06
  5  18.8109
  6  14.4892
  7  0.000128603
  8  1.29179e-06
  9  14.4352
  10  1.16148
  11  4.41342e-06
  12  40.0254
  13  1.35802e-05
  14  0.000198965
  15  2.33443
  16  3.76969
  17  50.8416
  18  8.43586
  19  0.00889159
  20  0.785375
  21  9.68304e-06
  22  9.43305
  23  0.221945
  24  0.179953
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  4.306e+01  1.444e+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:  7.329e-01  1.800e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.453e+00  2.219e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 21.39
Ra Dec: 339.125 -23.155
Photon Index (Fixed Index): 2.74 +/- 0.00
Photon Flux (Fixed Index): 1.52e-07 +/- 5.07e-08
Energy Flux (Fixed Index): 3.53e-05 +/- 1.18e-05

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) = 9025.02763263
delta logL = 1.15919789073

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9024.95516749
delta logL = 1.23166303629

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    49.247       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2748       1.0000          .0000       10.000    
     3 'Normalizat'    1.4933       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70819       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=   9024.955     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      224 TOTAL
                     EDM=   .20E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     49.242        16.622       -.11365E-05    .11106E-04
   2  Index         2.2747        .28036       -.70914E-05    .79321E-05
   3  Normalizat    1.4933        .17786        .12029E-05    .13109E-03
   4  Prefactor     .70819        .14759       -.51114E-06    .17395E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 49.2425
  Index      = 2.27472
  Normalizat = 1.49332
  Prefactor  = 0.708195
 **********
 **   18 **HESSE 
 **********

 FCN=   9024.955     FROM HESSE     STATUS=OK            31 CALLS      255 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     49.242        16.620        .57143E-04   -1.4303    
   2  Index         2.2747        .28013        .57625E-02   -.57646    
   3  Normalizat    1.4933        .21189        .25595E-03   -.77966    
   4  Prefactor     .70819        .17636        .29875E-03   -1.0321    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.94439e-11
Minuit parameter uncertainties:
  1  16.6219
  2  0.280335
  3  0.212017
  4  0.176501
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/407934': 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) = 9024.95516741
delta logL = 1.23166311134

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  4.924e+01  1.662e+01  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  2.275e+00  2.803e-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:  7.082e-01  1.765e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.493e+00  2.120e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 23.72
Ra Dec: 339.125 -23.155
Photon Index (Free Index): 2.27 +/- 0.28
Photon Flux (Free Index): 1.17e-07 +/- 4.69e-08
Energy Flux (Free Index): 4.63e-05 +/- 1.92e-05

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/407934/cmap_HighResolution_544924801_545184001_4FGL_J2236.4-2309_daily_bin1179.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.52e-07', energy_flux2='4.63e-05', photon_flux_error='5.07e-08', dlogl='1.23e+00', energy_flux='3.53e-05', photon_flux2='1.17e-07', job_status='DONE', time_completed='2021-09-28 17:23:09.015545', photon_index_error2='0.28', photon_index2='2.27', ts='21.39', fit_tolerance='1e-08', GAL='0.73', photon_index_error='0.00', energy_flux_error2='1.92e-05', EG='1.45', time_epoch_completed='1632874989.02', return_code='0', job_id='407934', GAL2='0.71', EG2='1.49', return_code2='0', energy_flux_error='1.18e-05', photon_flux_error2='4.69e-08', ts2='23.72', photon_index='2.74' WHERE bin_id='1179' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:23:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0080>
Subject: Job 407934: <4FGL_J2236.4-2309_daily_bin1179> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin1179 339.125 -23.1552 544924801 545184001 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 :                                   693.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             367.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   742 sec.
    Turnaround time :                            745 sec.

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

