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


Performing analysis on: 4FGL_J2236.4-2309_daily_bin1632
RA = 339.125, Dec = -23.1552
tmin = 662342401, tmax = 662601601
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='628584', job_status='RUN', time_executed='2021-12-31 00:36:04.125183', time_epoch_executed='1640939764.13' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='1632'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/628584

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/628584/ft1_4FGL_J2236.4-2309_daily_bin1632.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/628584/ft2_4FGL_J2236.4-2309_daily_bin1632.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/628584/ft1_4FGL_J2236.4-2309_daily_bin1632.fits outfile=/scratch/kocevski/628584/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1632.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=662342401.0 tmax=662601601.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 2.91
user 2.69
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/628584/ft2_4FGL_J2236.4-2309_daily_bin1632.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/628584/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1632.fits evtable="EVENTS" outfile="/scratch/kocevski/628584/ft1_filtered_4FGL_J2236.4-2309_daily_bin1632.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.32
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/628584/ft1_filtered_4FGL_J2236.4-2309_daily_bin1632.fits" evtable="EVENTS" scfile=/scratch/kocevski/628584/ft2_4FGL_J2236.4-2309_daily_bin1632.fits sctable="SC_DATA" outfile=/scratch/kocevski/628584/ltcube_662342401_662601601_4FGL_J2236.4-2309_daily_bin1632.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/628584/ft2_4FGL_J2236.4-2309_daily_bin1632.fits
.....................!
real 13.66
user 13.30
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/628584/ft1_filtered_4FGL_J2236.4-2309_daily_bin1632.fits evtable="EVENTS" scfile=/scratch/kocevski/628584/ft2_4FGL_J2236.4-2309_daily_bin1632.fits sctable="SC_DATA" expcube=/scratch/kocevski/628584/ltcube_662342401_662601601_4FGL_J2236.4-2309_daily_bin1632.fits outfile=/scratch/kocevski/628584/expmap_662342401_662601601_4FGL_J2236.4-2309_daily_bin1632.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/628584/ltcube_662342401_662601601_4FGL_J2236.4-2309_daily_bin1632.fits
.....................!
real 192.00
user 186.60
sys 5.04

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/628584/ft1_filtered_4FGL_J2236.4-2309_daily_bin1632.fits scfile=/scratch/kocevski/628584/ft2_4FGL_J2236.4-2309_daily_bin1632.fits outfile=/scratch/kocevski/628584/cmap_662342401_662601601_4FGL_J2236.4-2309_daily_bin1632.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/628584/ft1_filtered_4FGL_J2236.4-2309_daily_bin1632.fits scfile=/scratch/kocevski/628584/ft2_4FGL_J2236.4-2309_daily_bin1632.fits outfile=/scratch/kocevski/628584/cmap_HighResolution_662342401_662601601_4FGL_J2236.4-2309_daily_bin1632.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .51335       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .40927E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.549       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.3743       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    13.791       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.4138       1.0000         .10000E-03   10000.    
    10 'norm      '    1.0072       1.0000         .10000E-03   10000.    
    11 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.067       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.0081       1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.749       1.0000         .10000E-03   10000.    
    15 'norm      '    .10074E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.9568       1.0000         .10000E-03   10000.    
    17 'Prefactor '    35.415       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    11.789       1.0000         .10000E-03   10000.    
    20 'norm      '    .22469       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    9.1875       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .84593       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0039       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=   6309.869     FROM MIGRAD    STATUS=CONVERGED    578 CALLS     2802 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.6527        .45061E-08** at limit **
   2  Prefactor     .10000E-03    16.065        .20687E-07** at limit **
   3  norm          .51332        .35012        .59887E-08   -.13295E-04
   4  Prefactor     .10001E-03    6.2459        .11431E-05** at limit **
   5  Prefactor     18.549        11.786        .14618E-07   -.52062E-05
   6  Prefactor     1.3745        14.591        .73892E-05   -.90439E-04
   7  Prefactor     .10000E-03    43.497       -.15598E-06** at limit **
   8  norm          13.790        15.753        .18709E-06   -.74038E-04
   9  Prefactor     3.4151        6.3425        .28279E-06   -.72933E-04
  10  norm          1.0070        .77229        .25096E-07   -.34950E-03
  11  norm          .10000E-03    1.6536        .88476E-06** at limit **
  12  Prefactor     10.012        34.179        .28596E-05   -.16888E-03
  13  Prefactor     5.0107        13.285       -.51232E-06   -.27833E-04
  14  Prefactor     19.764        21.278       -.35427E-05   -.53806E-03
  15  norm          .10000E-03    .63689        .20052E-06** at limit **
  16  norm          2.9557        3.6555       -.45088E-07   -.32898E-03
  17  Prefactor     35.315        45.501        .49769E-05   -.35033E-03
  18  Prefactor     .10000E-03    4.2884       -.48516E-07** at limit **
  19  Prefactor     11.786        12.860       -.51438E-06   -.39595E-03
  20  norm          .22523        .50375        .43037E-06    .18171E-02
  21  Prefactor     .10000E-03    3.8445       -.23151E-07** at limit **
  22  Prefactor     9.1860        12.400        .95438E-07   -.25321E-03
  23  Normalizat    .84562        .18470       -.91429E-07   -.28892E-03
  24  Prefactor     1.0042        .15293       -.45607E-06   -.37987E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.513324
  Prefactor  = 0.000100008
  Prefactor  = 18.549
  Prefactor  = 1.37445
  Prefactor  = 0.0001
  norm       = 13.7896
  Prefactor  = 3.41507
  norm       = 1.00702
  norm       = 0.0001
  Prefactor  = 10.0121
  Prefactor  = 5.01075
  Prefactor  = 19.7643
  norm       = 0.0001
  norm       = 2.95569
  Prefactor  = 35.3147
  Prefactor  = 0.0001
  Prefactor  = 11.7858
  norm       = 0.225229
  Prefactor  = 0.0001
  Prefactor  = 9.18599
  Normalizat = 0.84562
  Prefactor  = 1.00415
 **********
 **   18 **HESSE 
 **********

 FCN=   6309.869     FROM HESSE     STATUS=OK           409 CALLS     3211 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.6540        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    16.066        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .51332        .34609        .37731E-04   -1.5565    
   4  Prefactor     .10001E-03    29.898        .37546E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     18.549        11.785        .92995E-04   -1.4846    
   6  Prefactor     1.3745        15.747        .18584E-02   -1.5473    
   7  Prefactor     .10000E-03    43.712        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          13.790        15.740        .10786E-03   -1.4965    
   9  Prefactor     3.4151        6.3244        .21895E-03   -1.5338    
  10  norm          1.0070        .75418        .57860E-04   -1.5507    
  11  norm          .10000E-03    3.4045        .16775E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.012        33.341        .12629E-03   -1.5075    
  13  Prefactor     5.0107        13.327        .17969E-03   -1.5260    
  14  Prefactor     19.764        20.774        .90128E-04   -1.4819    
  15  norm          .10000E-03    .79067        .10970E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.9557        3.6187        .15013E-03   -1.5364    
  17  Prefactor     35.315        44.571        .67341E-04   -1.4519    
  18  Prefactor     .10000E-03    4.2895        .16057E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     11.786        12.278        .11667E-03   -1.5021    
  20  norm          .22523        .39995        .68569E-03   -1.5613    
  21  Prefactor     .10000E-03    3.8557        .15208E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     9.1860        12.241        .13222E-03   -1.5102    
  23  Normalizat    .84562        .21724        .26598E-03   -.98398    
  24  Prefactor     1.0042        .17982        .21793E-03   -.92591    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43541e-09
Minuit parameter uncertainties:
  1  5.31435e-08
  2  4.26903e-07
  3  0.346094
  4  0.000950373
  5  11.7863
  6  9.30731
  7  2.43136e-05
  8  15.7452
  9  6.32559
  10  0.75419
  11  1.36347e-05
  12  33.4033
  13  13.335
  14  20.7814
  15  6.31873e-06
  16  3.61894
  17  44.6131
  18  9.6306e-06
  19  12.2805
  20  0.399956
  21  1.71933e-05
  22  12.2444
  23  0.217465
  24  0.179923
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  3.415e+00  6.326e+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:  1.004e+00  1.799e-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.456e-01  2.175e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/628584/likelihoodResults_662342401_662601601_4FGL_J2236.4-2309_daily_bin1632.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) = 6309.60106708
delta logL = 0.267537431567

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6309.59947329
delta logL = 0.269131223366

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.6271       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7330       1.0000          .0000       10.000    
     3 'Normalizat'    .85359       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99873       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6309.599     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      200 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6271        5.1933        .53034E-02    .32627E-02
   2  Index         1.7326        .69766        .27595        .13635E-04
   3  Normalizat    .85365        .16695        .44306E-01   -.27014E-03
   4  Prefactor     .99876        .14856        .46251E-01   -.21960E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.62711
  Index      = 1.73256
  Normalizat = 0.853651
  Prefactor  = 0.998757
 **********
 **   18 **HESSE 
 **********

 FCN=   6309.599     FROM HESSE     STATUS=OK            29 CALLS      229 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6271        6.4510        .21082E-03   -1.5327    
   2  Index         1.7326        1.4701        .14350E-01   -.71218    
   3  Normalizat    .85365        .19365        .26482E-03   -.98108    
   4  Prefactor     .99876        .17240        .21838E-03   -.92771    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24229e-08
Minuit parameter uncertainties:
  1  6.45227
  2  1.50982
  3  0.193804
  4  0.172492
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/628584': 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) = 6309.59947282
delta logL = 0.269131694128

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  3.627e+00  6.452e+00  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  1.733e+00  1.510e+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:  9.988e-01  1.725e-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.537e-01  1.938e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.42
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/628584/cmap_HighResolution_662342401_662601601_4FGL_J2236.4-2309_daily_bin1632.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.06e-03', job_status='DONE', photon_flux_upper_limit='7.68e-08', time_completed='2021-12-31 00:46:40.048377', job_id='628584', GAL2='1.00', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1640940400.05', return_code2='0', ts='0.42', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='2.69e-01', ts2='0.96', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='1632' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 31 00:46:40 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0108>
Subject: Job 628584: <4FGL_J2236.4-2309_daily_bin1632> in cluster <slac> Done

Job <4FGL_J2236.4-2309_daily_bin1632> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Dec 31 00:35:35 2021
Job was executed on host(s) <bullet0108>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 31 00:35:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 31 00:35:37 2021
Terminated at Fri Dec 31 00:46:40 2021
Results reported at Fri Dec 31 00:46:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin1632 339.125 -23.1552 662342401 662601601 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 :                                   638.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             345.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   664 sec.
    Turnaround time :                            665 sec.

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

