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


Performing analysis on: 4FGL_J2236.4-2309_daily_bin1067
RA = 339.125, Dec = -23.1552
tmin = 515894401, tmax = 516153601
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='407769', job_status='RUN', time_executed='2021-09-28 17:12:41.893149', time_epoch_executed='1632874361.89' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='1067'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/407769

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/407769/ft1_4FGL_J2236.4-2309_daily_bin1067.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/407769/ft2_4FGL_J2236.4-2309_daily_bin1067.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/407769/ft1_4FGL_J2236.4-2309_daily_bin1067.fits outfile=/scratch/kocevski/407769/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1067.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=515894401.0 tmax=516153601.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.71
user 3.46
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/407769/ft1_filtered_4FGL_J2236.4-2309_daily_bin1067.fits" evtable="EVENTS" scfile=/scratch/kocevski/407769/ft2_4FGL_J2236.4-2309_daily_bin1067.fits sctable="SC_DATA" outfile=/scratch/kocevski/407769/ltcube_515894401_516153601_4FGL_J2236.4-2309_daily_bin1067.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/407769/ft2_4FGL_J2236.4-2309_daily_bin1067.fits
.....................!
real 11.63
user 11.30
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/407769/ft1_filtered_4FGL_J2236.4-2309_daily_bin1067.fits evtable="EVENTS" scfile=/scratch/kocevski/407769/ft2_4FGL_J2236.4-2309_daily_bin1067.fits sctable="SC_DATA" expcube=/scratch/kocevski/407769/ltcube_515894401_516153601_4FGL_J2236.4-2309_daily_bin1067.fits outfile=/scratch/kocevski/407769/expmap_515894401_516153601_4FGL_J2236.4-2309_daily_bin1067.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/407769/ltcube_515894401_516153601_4FGL_J2236.4-2309_daily_bin1067.fits
.....................!
real 190.38
user 186.00
sys 4.09

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/407769/ft1_filtered_4FGL_J2236.4-2309_daily_bin1067.fits scfile=/scratch/kocevski/407769/ft2_4FGL_J2236.4-2309_daily_bin1067.fits outfile=/scratch/kocevski/407769/cmap_515894401_516153601_4FGL_J2236.4-2309_daily_bin1067.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/407769/ft1_filtered_4FGL_J2236.4-2309_daily_bin1067.fits scfile=/scratch/kocevski/407769/ft2_4FGL_J2236.4-2309_daily_bin1067.fits outfile=/scratch/kocevski/407769/cmap_HighResolution_515894401_516153601_4FGL_J2236.4-2309_daily_bin1067.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/407769/ft1_filtered_4FGL_J2236.4-2309_daily_bin1067.fits evtable="EVENTS" scfile=/scratch/kocevski/407769/ft2_4FGL_J2236.4-2309_daily_bin1067.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/407769/Model_4FGL_J2236.4-2309_daily_bin1067.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/407769/ft1_filtered_4FGL_J2236.4-2309_daily_bin1067.fits.....................!
real 75.20
user 73.90
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.4364       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.612       1.0000         .10000E-03   10000.    
     7 'Prefactor '    72.577       1.0000         .10000E-03   10000.    
     8 'norm      '    6.6267       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.5520       1.0000         .10000E-03   10000.    
    11 'norm      '    1.2311       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    73.603       1.0000         .10000E-03   10000.    
    15 'norm      '    18.077       1.0000         .10000E-03   10000.    
    16 'norm      '    13.915       1.0000         .10000E-03   10000.    
    17 'Prefactor '    32.158       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    3.6839       1.0000         .10000E-03   10000.    
    21 'Prefactor '    20.627       1.0000         .10000E-03   10000.    
    22 'Prefactor '    15.608       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .80624       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1070       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=   9900.127     FROM MIGRAD    STATUS=CONVERGED    519 CALLS     2774 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.8417        .17477E-05** at limit **
   2  Prefactor     .10000E-03    16.004       -.22151E-05** at limit **
   3  norm          1.4364        .37231       -.65235E-07    .17439E-04
   4  Prefactor     .10000E-03    5.3354       -.48670E-06** at limit **
   5  Prefactor     .10000E-03    10.883       -.39655E-05** at limit **
   6  Prefactor     13.611        14.392       -.15459E-05   -.33737E-04
   7  Prefactor     72.562        54.624       -.16183E-04   -.37356E-03
   8  norm          6.6269        20.591       -.71610E-06   -.13572E-04
   9  Prefactor     .10000E-03    1.5478        .41553E-06** at limit **
  10  norm          1.5517        .76530        .63853E-06    .14088E-02
  11  norm          1.2313        1.3904       -.30780E-06   -.93051E-03
  12  Prefactor     .10000E-03    14.377        .61700E-05** at limit **
  13  Prefactor     .10000E-03    5.2455       -.17390E-05** at limit **
  14  Prefactor     73.549        47.595       -.55716E-04   -.82745E-03
  15  norm          18.082        4.4952        .97845E-05   -.63407E-02
  16  norm          13.915        4.4508       -.11457E-06    .68363E-04
  17  Prefactor     32.142        40.272       -.23751E-04   -.35111E-03
  18  Prefactor     .10000E-03    3.3424        .74503E-07** at limit **
  19  Prefactor     .10000E-03    2.7408        .17835E-06** at limit **
  20  norm          3.6840        .79863       -.31529E-07    .57324E-04
  21  Prefactor     20.627        10.188        .13256E-05    .45109E-04
  22  Prefactor     15.608        8.7336       -.51157E-06   -.47571E-03
  23  Normalizat    .80629        .16304        .66642E-05   -.95971E-04
  24  Prefactor     1.1069        .14444       -.11324E-05    .49408E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.43639
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.6114
  Prefactor  = 72.5622
  norm       = 6.6269
  Prefactor  = 0.0001
  norm       = 1.55174
  norm       = 1.23135
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 73.5495
  norm       = 18.0822
  norm       = 13.9147
  Prefactor  = 32.142
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.68397
  Prefactor  = 20.6274
  Prefactor  = 15.6075
  Normalizat = 0.806292
  Prefactor  = 1.10693
 **********
 **   18 **HESSE 
 **********

 FCN=   9900.127     FROM HESSE     STATUS=OK           393 CALLS     3167 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.8486        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    16.014        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.4364        .37348        .30013E-04   -1.5468    
   4  Prefactor     .10000E-03    5.3942        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    11.038        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.611        14.402        .10856E-03   -1.4970    
   7  Prefactor     72.562        54.756        .47125E-04   -1.4002    
   8  norm          6.6269        20.567        .15589E-03   -1.5193    
   9  Prefactor     .10000E-03    1.5488        .12089E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.5517        .76299        .58374E-04   -1.5459    
  11  norm          1.2313        1.3637        .12061E-03   -1.5486    
  12  Prefactor     .10000E-03    14.411        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.3021        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     73.549        47.563        .46798E-04   -1.3991    
  15  norm          18.082        4.4945        .50884E-04   -1.4857    
  16  norm          13.915        4.4557        .10738E-03   -1.4962    
  17  Prefactor     32.142        40.216        .70659E-04   -1.4573    
  18  Prefactor     .10000E-03    3.3439        .17762E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.7495        .16063E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.6840        .80271        .37546E-04   -1.5324    
  21  Prefactor     20.627        10.188        .88190E-04   -1.4799    
  22  Prefactor     15.608        8.7794        .50690E-03   -1.4918    
  23  Normalizat    .80629        .19676        .32143E-03   -.99836    
  24  Prefactor     1.1069        .17540        .25072E-03   -.89245    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.67566e-09
Minuit parameter uncertainties:
  1  3.03329e-05
  2  0.000101139
  3  0.373485
  4  3.61992e-05
  5  7.65976e-05
  6  14.4061
  7  54.7944
  8  20.5886
  9  4.44992e-06
  10  0.762999
  11  1.36374
  12  0.000202532
  13  6.54088e-05
  14  47.5879
  15  4.49463
  16  4.45585
  17  40.2501
  18  8.49027e-07
  19  4.82116e-06
  20  0.80271
  21  10.1886
  22  8.78014
  23  0.196935
  24  0.175487
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  1.000e-04  4.450e-06  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.107e+00  1.755e-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.063e-01  1.969e-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: 3.12e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.46e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/407769/likelihoodResults_515894401_516153601_4FGL_J2236.4-2309_daily_bin1067.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) = 9900.13025251
delta logL = -0.00296184186118

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9900.12729044
delta logL = 2.26888005272e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7297       1.0000          .0000       10.000    
     3 'Normalizat'    .80630       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1069       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=   9900.127     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      262 TOTAL
                     EDM=   .49E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.048        .12179E-01** at limit **
   2  Index         2.1280        5.8583        .50000       -.10882E-06
   3  Normalizat    .80630        .13828E-01    .32143E-03    .17932E-03
   4  Prefactor     1.1069        .12525E-01    .25073E-03    .24066E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.12802
  Normalizat = 0.806298
  Prefactor  = 1.10693
 **********
 **   18 **HESSE 
 **********

 FCN=   9900.127     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      291 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    170.27        .13333E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1280        8.9359        .50000       -.61187    
   3  Normalizat    .80630        .42886E-01    .12857E-04   -.99835    
   4  Prefactor     1.1069        .38844E-01    .50145E-04   -.89245    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.82098e-10
Minuit parameter uncertainties:
  1  9.1871e-06
  2  813.966
  3  0.0428881
  4  0.038845
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/407769': 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) = 9900.12728493
delta logL = 5.7410215959e-06

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.107e+00  3.884e-02  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  8.063e-01  4.289e-02  1.000e-02  1.000e+01 ( 1.000e+00)


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

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.46e-03', job_status='DONE', photon_flux_upper_limit='3.12e-08', time_completed='2021-09-28 17:26:50.525593', job_id='407769', GAL2='1.11', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1632875210.53', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='5.74e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='1067' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:26:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 407769: <4FGL_J2236.4-2309_daily_bin1067> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin1067 339.125 -23.1552 515894401 516153601 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 :                                   844.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             329.06 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   976 sec.
    Turnaround time :                            978 sec.

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

