/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 194 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 = 7574
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2236.4-2309_daily_bin288
RA = 339.125, Dec = -23.1552
tmin = 313977601, tmax = 314236801
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='404382', job_status='RUN', time_executed='2021-09-28 17:03:41.748684', time_epoch_executed='1632873821.75' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='288'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/404382

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/404382/ft1_4FGL_J2236.4-2309_daily_bin288.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/404382/ft2_4FGL_J2236.4-2309_daily_bin288.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/404382/ft1_4FGL_J2236.4-2309_daily_bin288.fits outfile=/scratch/kocevski/404382/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin288.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=313977601.0 tmax=314236801.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.50
user 3.28
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/404382/ft1_filtered_4FGL_J2236.4-2309_daily_bin288.fits" evtable="EVENTS" scfile=/scratch/kocevski/404382/ft2_4FGL_J2236.4-2309_daily_bin288.fits sctable="SC_DATA" outfile=/scratch/kocevski/404382/ltcube_313977601_314236801_4FGL_J2236.4-2309_daily_bin288.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/404382/ft2_4FGL_J2236.4-2309_daily_bin288.fits
.....................!
real 11.82
user 11.46
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/404382/ft1_filtered_4FGL_J2236.4-2309_daily_bin288.fits evtable="EVENTS" scfile=/scratch/kocevski/404382/ft2_4FGL_J2236.4-2309_daily_bin288.fits sctable="SC_DATA" expcube=/scratch/kocevski/404382/ltcube_313977601_314236801_4FGL_J2236.4-2309_daily_bin288.fits outfile=/scratch/kocevski/404382/expmap_313977601_314236801_4FGL_J2236.4-2309_daily_bin288.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/404382/ltcube_313977601_314236801_4FGL_J2236.4-2309_daily_bin288.fits
.....................!
real 189.93
user 185.24
sys 4.34

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/404382/ft1_filtered_4FGL_J2236.4-2309_daily_bin288.fits scfile=/scratch/kocevski/404382/ft2_4FGL_J2236.4-2309_daily_bin288.fits outfile=/scratch/kocevski/404382/cmap_313977601_314236801_4FGL_J2236.4-2309_daily_bin288.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/404382/ft1_filtered_4FGL_J2236.4-2309_daily_bin288.fits scfile=/scratch/kocevski/404382/ft2_4FGL_J2236.4-2309_daily_bin288.fits outfile=/scratch/kocevski/404382/cmap_HighResolution_313977601_314236801_4FGL_J2236.4-2309_daily_bin288.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.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/404382/ft1_filtered_4FGL_J2236.4-2309_daily_bin288.fits evtable="EVENTS" scfile=/scratch/kocevski/404382/ft2_4FGL_J2236.4-2309_daily_bin288.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/404382/Model_4FGL_J2236.4-2309_daily_bin288.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/404382/ft1_filtered_4FGL_J2236.4-2309_daily_bin288.fits.....................!
real 63.60
user 62.21
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.9405       1.0000         .10000E-03   10000.    
     3 'norm      '    1.8827       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10783E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .34172       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.9920       1.0000         .10000E-03   10000.    
    10 'norm      '    1.1443       1.0000         .10000E-03   10000.    
    11 'norm      '    5.2565       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10041E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    10.973       1.0000         .10000E-03   10000.    
    17 'Prefactor '    13.958       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.0943       1.0000         .10000E-03   10000.    
    20 'norm      '    .42281       1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.1842       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .66261E-01   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2459       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .66560       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=   8228.391     FROM MIGRAD    STATUS=CONVERGED    574 CALLS     2383 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.6702        .72403E-06** at limit **
   2  Prefactor     9.9472        48.833       -.10733E-06    .27424E-04
   3  norm          1.8826        .40358       -.34992E-08    .34816E-03
   4  Prefactor     .10000E-03    2.9109        .18777E-06** at limit **
   5  Prefactor     .10000E-03    2.9358       -.78227E-08** at limit **
   6  Prefactor     .10000E-03    16.071        .79697E-06** at limit **
   7  Prefactor     .10000E-03    73.248       -.43779E-07** at limit **
   8  norm          .30970        181.54        .81870E-04    .19622E-03
   9  Prefactor     4.9921        8.7380       -.14894E-05    .13587E-03
  10  norm          1.1441        .69506       -.18722E-06    .15107E-02
  11  norm          5.2571        2.3211       -.20963E-06    .60267E-03
  12  Prefactor     .10000E-03    24.095        .80951E-06** at limit **
  13  Prefactor     .10000E-03    6.1076        .26480E-06** at limit **
  14  Prefactor     .10000E-03    3.6726       -.32911E-05** at limit **
  15  norm          .10000E-03    .23960       -.24326E-05** at limit **
  16  norm          10.972        4.5217       -.23546E-06   -.10440E-04
  17  Prefactor     13.970        13.856       -.16754E-05    .72931E-04
  18  Prefactor     .10000E-03    5.7128        .41795E-06** at limit **
  19  Prefactor     8.1057        9.4278       -.65538E-06   -.11525E-03
  20  norm          .42287        .50357       -.12152E-06   -.20356E-02
  21  Prefactor     9.1844        7.2104       -.62678E-06   -.12653E-03
  22  Prefactor     .33583E-01    12.393       -.16101E-04    .93900E-03
  23  Normalizat    1.2459        .15422        .63852E-07    .10475E-02
  24  Prefactor     .66567        .12949        .11853E-05    .10116E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 9.94723
  norm       = 1.88264
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.309697
  Prefactor  = 4.99206
  norm       = 1.14414
  norm       = 5.25712
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 10.9722
  Prefactor  = 13.9695
  Prefactor  = 0.0001
  Prefactor  = 8.10571
  norm       = 0.422868
  Prefactor  = 9.18445
  Prefactor  = 0.0335828
  Normalizat = 1.24588
  Prefactor  = 0.665667
 **********
 **   18 **HESSE 
 **********

 FCN=   8228.391     FROM HESSE     STATUS=OK           415 CALLS     2798 TOTAL
                     EDM=   .86E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.6753        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.9472        48.746        .12709E-03   -1.5077    
   3  norm          1.8826        .40399        .25710E-04   -1.5434    
   4  Prefactor     .10000E-03    2.9257        .15111E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.9423        .15178E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    16.364        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    73.732        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .30970        14.394        .10213       -1.5597    
   9  Prefactor     4.9921        8.7552        .17999E-03   -1.5261    
  10  norm          1.1441        .68256        .56294E-04   -1.5494    
  11  norm          5.2571        2.3077        .86398E-04   -1.5249    
  12  Prefactor     .10000E-03    24.140        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.1662        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.6711        .16913E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    .23730        .84214E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          10.972        4.5259        .11055E-03   -1.5045    
  17  Prefactor     13.970        13.781        .10721E-03   -1.4960    
  18  Prefactor     .10000E-03    5.7220        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.1057        9.9377        .14092E-03   -1.5138    
  20  norm          .42287        .47525        .53016E-03   -1.5578    
  21  Prefactor     9.1844        7.2096        .13225E-03   -1.5102    
  22  Prefactor     .33583E-01    12.460        .54704E-01   -1.5671    
  23  Normalizat    1.2459        .18409        .22466E-03   -.85197    
  24  Prefactor     .66567        .15368        .25657E-03   -1.0489    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.55092e-09
Minuit parameter uncertainties:
  1  1.57742e-05
  2  44.0982
  3  0.403995
  4  6.50075e-06
  5  4.52193e-06
  6  4.31436e-05
  7  0.00014888
  8  4.22307
  9  8.7574
  10  0.682561
  11  2.30772
  12  3.29259e-05
  13  3.56544e-06
  14  1.47304e-05
  15  2.0406e-06
  16  4.52605
  17  13.7841
  18  6.62749e-05
  19  9.93969
  20  0.475258
  21  7.21032
  22  1.29209
  23  0.18419
  24  0.153782
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  4.992e+00  8.757e+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

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  6.657e-01  1.538e-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.246e+00  1.842e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.41
Ra Dec: 339.125 -23.155
Photon Flux Upper Limit: 8.79e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.94e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/404382/likelihoodResults_313977601_314236801_4FGL_J2236.4-2309_daily_bin288.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) = 8228.365914
delta logL = 0.0253998800636

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8228.36357019
delta logL = 0.0277436855977

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.5064       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0399       1.0000          .0000       10.000    
     3 'Normalizat'    1.2409       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66863       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=   8228.364     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      257 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4975        9.0573        .94829E-03   -.65681E-03
   2  Index         3.0418        1.4300        .16490E-01   -.11114E-03
   3  Normalizat    1.2408        .17791        .22506E-03   -.29543E-03
   4  Prefactor     .66864        .15133        .25605E-03   -.20504E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.49746
  Index      = 3.04176
  Normalizat = 1.24078
  Prefactor  = 0.668639
 **********
 **   18 **HESSE 
 **********

 FCN=   8228.364     FROM HESSE     STATUS=OK            25 CALLS      282 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.4975        8.3064        .37932E-04   -1.5284    
   2  Index         3.0418        1.3149        .65960E-03   -.40242    
   3  Normalizat    1.2408        .17819        .45011E-04   -.85352    
   4  Prefactor     .66864        .15146        .10242E-04   -1.0477    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.66424e-10
Minuit parameter uncertainties:
  1  8.30854
  2  1.33349
  3  0.178274
  4  0.151552
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/404382': 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) = 8228.36356851
delta logL = 0.0277453700655

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  4.497e+00  8.309e+00  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  3.042e+00  1.333e+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:  6.686e-01  1.516e-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.241e+00  1.783e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.41
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/404382/cmap_HighResolution_313977601_314236801_4FGL_J2236.4-2309_daily_bin288.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.94e-03', job_status='DONE', photon_flux_upper_limit='8.79e-08', time_completed='2021-09-28 17:15:27.673384', job_id='404382', GAL2='0.67', fit_tolerance='1e-08', EG2='1.24', EG='1.25', time_epoch_completed='1632874527.67', return_code2='0', ts='0.41', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='2.77e-02', ts2='0.47', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='288' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:15:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 404382: <4FGL_J2236.4-2309_daily_bin288> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin288 339.125 -23.1552 313977601 314236801 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 :                                   706.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             282.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   909 sec.
    Turnaround time :                            911 sec.

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

