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


Performing analysis on: 4FGL_J2236.4-2309_daily_bin1041
RA = 339.125, Dec = -23.1552
tmin = 509155201, tmax = 509414401
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='407731', job_status='RUN', time_executed='2021-09-28 17:13:51.064674', time_epoch_executed='1632874431.06' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='1041'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/407731

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/407731/ft1_4FGL_J2236.4-2309_daily_bin1041.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/407731/ft2_4FGL_J2236.4-2309_daily_bin1041.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/407731/ft1_4FGL_J2236.4-2309_daily_bin1041.fits outfile=/scratch/kocevski/407731/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1041.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=509155201.0 tmax=509414401.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.63
user 3.41
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/407731/ft1_filtered_4FGL_J2236.4-2309_daily_bin1041.fits" evtable="EVENTS" scfile=/scratch/kocevski/407731/ft2_4FGL_J2236.4-2309_daily_bin1041.fits sctable="SC_DATA" outfile=/scratch/kocevski/407731/ltcube_509155201_509414401_4FGL_J2236.4-2309_daily_bin1041.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/407731/ft2_4FGL_J2236.4-2309_daily_bin1041.fits
.....................!
real 13.89
user 13.51
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/407731/ft1_filtered_4FGL_J2236.4-2309_daily_bin1041.fits evtable="EVENTS" scfile=/scratch/kocevski/407731/ft2_4FGL_J2236.4-2309_daily_bin1041.fits sctable="SC_DATA" expcube=/scratch/kocevski/407731/ltcube_509155201_509414401_4FGL_J2236.4-2309_daily_bin1041.fits outfile=/scratch/kocevski/407731/expmap_509155201_509414401_4FGL_J2236.4-2309_daily_bin1041.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/407731/ltcube_509155201_509414401_4FGL_J2236.4-2309_daily_bin1041.fits
.....................!
real 191.46
user 186.10
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/407731/ft1_filtered_4FGL_J2236.4-2309_daily_bin1041.fits scfile=/scratch/kocevski/407731/ft2_4FGL_J2236.4-2309_daily_bin1041.fits outfile=/scratch/kocevski/407731/cmap_509155201_509414401_4FGL_J2236.4-2309_daily_bin1041.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=339.125 yref=-23.1552 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/407731/ft1_filtered_4FGL_J2236.4-2309_daily_bin1041.fits scfile=/scratch/kocevski/407731/ft2_4FGL_J2236.4-2309_daily_bin1041.fits outfile=/scratch/kocevski/407731/cmap_HighResolution_509155201_509414401_4FGL_J2236.4-2309_daily_bin1041.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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/407731/ft1_filtered_4FGL_J2236.4-2309_daily_bin1041.fits evtable="EVENTS" scfile=/scratch/kocevski/407731/ft2_4FGL_J2236.4-2309_daily_bin1041.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/407731/Model_4FGL_J2236.4-2309_daily_bin1041.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/407731/ft1_filtered_4FGL_J2236.4-2309_daily_bin1041.fits.....................!
real 44.36
user 43.05
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    149.25       1.0000         .10000E-03   10000.    
     3 'norm      '    1.8518       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    24.104       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    87.840       1.0000         .10000E-03   10000.    
     8 'norm      '    51.384       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .48817       1.0000         .10000E-03   10000.    
    11 'norm      '    1.0224       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .15036       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .67625       1.0000         .10000E-03   10000.    
    15 'norm      '    3.6512       1.0000         .10000E-03   10000.    
    16 'norm      '    8.8508       1.0000         .10000E-03   10000.    
    17 'Prefactor '    73.722       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    34.494       1.0000         .10000E-03   10000.    
    20 'norm      '    .10132E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .77629       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.4271       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=   5108.772     FROM MIGRAD    STATUS=CONVERGED    124 CALLS     3209 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    16.606       -.77617E-06** at limit **
   2  Prefactor     149.29        6.2066       -.32745E-06    .29084E-02
   3  norm          1.8517        .62614        .77122E-08    .17858E-03
   4  Prefactor     .10000E-03    5.7759       -.22403E-06** at limit **
   5  Prefactor     24.121        4.1203       -.44328E-06    .16629E-01
   6  Prefactor     .10000E-03    11.083       -.86638E-06** at limit **
   7  Prefactor     87.835        1.2234        .48098E-07    .14597E-03
   8  norm          51.364        3.6099        .30983E-06   -.11846E-01
   9  Prefactor     .10000E-03    28.104        .10642E-05** at limit **
  10  norm          .48762        .96133       -.11733E-06   -.26702E-03
  11  norm          1.0206        3.2099        .36223E-06    .17626E-03
  12  Prefactor     .34243E-03    6418.6        .72361E-04** at limit **
  13  Prefactor     .10004E-03    14.220       -.14128E-06** at limit **
  14  Prefactor     .67206        1.1725        .44687E-06    .59235E-04
  15  norm          3.6530        1.9635       -.65134E-07   -.56068E-03
  16  norm          8.8499        6.3693       -.74471E-06   -.72353E-03
  17  Prefactor     73.780        8.9702       -.68113E-06    .87122E-02
  18  Prefactor     .10003E-03    12.518        .14649E-05** at limit **
  19  Prefactor     34.526        14.592        .19904E-06   -.34124E-02
  20  norm          .10000E-03    .84745       -.36963E-06** at limit **
  21  Prefactor     .10000E-03    5.7194       -.13507E-06** at limit **
  22  Prefactor     .10000E-03    6.8789        .18034E-06** at limit **
  23  Normalizat    .77561        .31045       -.93559E-06   -.56385E-04
  24  Prefactor     1.4277        .27114        .65499E-06   -.47439E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100012
  Prefactor  = 149.287
  norm       = 1.85169
  Prefactor  = 0.0001
  Prefactor  = 24.1213
  Prefactor  = 0.000100003
  Prefactor  = 87.8354
  norm       = 51.3635
  Prefactor  = 0.000100003
  norm       = 0.487619
  norm       = 1.02058
  Prefactor  = 0.000342426
  Prefactor  = 0.000100038
  Prefactor  = 0.672058
  norm       = 3.65298
  norm       = 8.84992
  Prefactor  = 73.7798
  Prefactor  = 0.000100025
  Prefactor  = 34.5265
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.775607
  Prefactor  = 1.42767
 **********
 **   18 **HESSE 
 **********

 FCN=   5108.772     FROM HESSE     STATUS=OK           463 CALLS     3672 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    16.614        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     149.29        84.122        .82474E-03   -1.3258    
   3  norm          1.8517        .62920        .72064E-02   -1.5436    
   4  Prefactor     .10000E-03    5.7463        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     24.121        21.585        .20397E-02   -1.4725    
   6  Prefactor     .10000E-03    11.077        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     87.835        70.352        .10717E-02   -1.3831    
   8  norm          51.364        35.983        .13987E-02   -1.4273    
   9  Prefactor     .10000E-03    27.873        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .48762        1.0406        .21983E-01   -1.5568    
  11  norm          1.0206        4.9528        .12728E-01   -1.5506    
  12  Prefactor     .34243E-03    225.05        .14040       -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10004E-03    14.135        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .67206        75.615        .11970       -1.5544    
  15  norm          3.6530        4.1827        .52851E-02   -1.5326    
  16  norm          8.8499        6.3869        .33682E-02   -1.5113    
  17  Prefactor     73.780        62.518        .11690E-02   -1.3988    
  18  Prefactor     .10003E-03    12.546        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     34.526        16.242        .17058E-02   -1.4532    
  20  norm          .10000E-03    .59420        .19216E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    5.7096        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    6.8675        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .77561        .26886        .82856E-01   -1.0098    
  24  Prefactor     1.4277        .22660        .55019E-01   -.79586    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34623e-06
Minuit parameter uncertainties:
  1  0.000899559
  2  84.1896
  3  0.629198
  4  1.73415e-05
  5  21.592
  6  0.000334086
  7  70.4189
  8  35.9986
  9  0.000610407
  10  1.04064
  11  4.49692
  12  0.468922
  13  0.00147467
  14  14.2748
  15  4.18305
  16  6.38743
  17  62.5736
  18  0.00112359
  19  16.2439
  20  1.15017e-05
  21  1.26479e-05
  22  1.8765e-05
  23  0.269321
  24  0.22676
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  1.000e-04  6.104e-04  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.428e+00  2.268e-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:  7.756e-01  2.693e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 339.125 -23.155
Photon Flux Upper Limit: 1.44e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.14e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/407731/likelihoodResults_509155201_509414401_4FGL_J2236.4-2309_daily_bin1041.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) = 5108.7719638
delta logL = -0.000169154615833

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5108.77179518
delta logL = -5.36225343239e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6590       1.0000          .0000       10.000    
     3 'Normalizat'    .77563       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4277       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=   5108.772     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      266 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    26.367        .18142E-02** at limit **
   2  Index         2.7206        6.3502        .92053E-02   -.25989E-04
   3  Normalizat    .77561        .29714        .36690E-03   -.23022E-04
   4  Prefactor     1.4277        .26038        .24325E-03   -.32034E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100019
  Index      = 2.72055
  Normalizat = 0.775608
  Prefactor  = 1.42767
 **********
 **   18 **HESSE 
 **********

 FCN=   5108.772     FROM HESSE     STATUS=OK            23 CALLS      289 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    26.004        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7206        6.3485        .18411E-02   -.47337    
   3  Normalizat    .77561        .29738        .14676E-04   -1.0098    
   4  Prefactor     1.4277        .26060        .48650E-04   -.79586    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34627e-09
Minuit parameter uncertainties:
  1  0.00139347
  2  4.45151
  3  0.298006
  4  0.260842
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/407731': 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) = 5108.77179477
delta logL = -1.29924046632e-07

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  1.000e-04  1.393e-03  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  2.721e+00  4.452e+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.428e+00  2.608e-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:  7.756e-01  2.980e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/407731/cmap_HighResolution_509155201_509414401_4FGL_J2236.4-2309_daily_bin1041.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.14e-02', job_status='DONE', photon_flux_upper_limit='1.44e-07', time_completed='2021-09-28 17:23:51.634960', job_id='407731', GAL2='1.43', fit_tolerance='1e-08', EG2='0.78', EG='0.78', time_epoch_completed='1632875031.64', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.43', dlogl='-1.30e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='1041' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:23:51 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin1041 339.125 -23.1552 509155201 509414401 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 :                                   599.37 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             301.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   799 sec.
    Turnaround time :                            801 sec.

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

