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


Performing analysis on: 4FGL_J2236.4-2309_daily_bin1626
RA = 339.125, Dec = -23.1552
tmin = 660787201, tmax = 661046401
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='171933', job_status='RUN', time_executed='2021-12-13 00:39:47.976569', time_epoch_executed='1639384787.98' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='1626'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/171933

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/171933/ft1_4FGL_J2236.4-2309_daily_bin1626.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/171933/ft2_4FGL_J2236.4-2309_daily_bin1626.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/171933/ft1_4FGL_J2236.4-2309_daily_bin1626.fits outfile=/scratch/kocevski/171933/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1626.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=660787201.0 tmax=661046401.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.52
user 3.32
sys 0.18

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/171933/ft1_filtered_4FGL_J2236.4-2309_daily_bin1626.fits" evtable="EVENTS" scfile=/scratch/kocevski/171933/ft2_4FGL_J2236.4-2309_daily_bin1626.fits sctable="SC_DATA" outfile=/scratch/kocevski/171933/ltcube_660787201_661046401_4FGL_J2236.4-2309_daily_bin1626.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/171933/ft2_4FGL_J2236.4-2309_daily_bin1626.fits
.....................!
real 11.51
user 11.15
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/171933/ft1_filtered_4FGL_J2236.4-2309_daily_bin1626.fits evtable="EVENTS" scfile=/scratch/kocevski/171933/ft2_4FGL_J2236.4-2309_daily_bin1626.fits sctable="SC_DATA" expcube=/scratch/kocevski/171933/ltcube_660787201_661046401_4FGL_J2236.4-2309_daily_bin1626.fits outfile=/scratch/kocevski/171933/expmap_660787201_661046401_4FGL_J2236.4-2309_daily_bin1626.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/171933/ltcube_660787201_661046401_4FGL_J2236.4-2309_daily_bin1626.fits
.....................!
real 190.72
user 185.11
sys 5.22

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/171933/ft1_filtered_4FGL_J2236.4-2309_daily_bin1626.fits scfile=/scratch/kocevski/171933/ft2_4FGL_J2236.4-2309_daily_bin1626.fits outfile=/scratch/kocevski/171933/cmap_660787201_661046401_4FGL_J2236.4-2309_daily_bin1626.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/171933/ft1_filtered_4FGL_J2236.4-2309_daily_bin1626.fits scfile=/scratch/kocevski/171933/ft2_4FGL_J2236.4-2309_daily_bin1626.fits outfile=/scratch/kocevski/171933/cmap_HighResolution_660787201_661046401_4FGL_J2236.4-2309_daily_bin1626.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.56
user 0.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10288E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.9476       1.0000         .10000E-03   10000.    
     3 'norm      '    1.3543       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10194E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .29705E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    76.566       1.0000         .10000E-03   10000.    
     8 'norm      '    .10041E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.9651       1.0000         .10000E-03   10000.    
    10 'norm      '    5.0553       1.0000         .10000E-03   10000.    
    11 'norm      '    .10056E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    144.75       1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.8198       1.0000         .10000E-03   10000.    
    14 'Prefactor '    17.017       1.0000         .10000E-03   10000.    
    15 'norm      '    1.4803       1.0000         .10000E-03   10000.    
    16 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    92.915       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11336E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    11.855       1.0000         .10000E-03   10000.    
    20 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.984       1.0000         .10000E-03   10000.    
    22 'Prefactor '    14.227       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .89292       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .89515       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=   4908.621     FROM MIGRAD    STATUS=CONVERGED    115 CALLS     2898 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    17.769        .19044E-05** at limit **
   2  Prefactor     7.9345        3.2133       -.89835E-06   -.30868E-03
   3  norm          1.3543        .50719        .42476E-07   -.99292E-04
   4  Prefactor     .10000E-03    20.310        .11474E-05** at limit **
   5  Prefactor     .10017E-03    50.662       -.27136E-04** at limit **
   6  Prefactor     .10000E-03    11.862        .93448E-06** at limit **
   7  Prefactor     76.571        1.7377        .45100E-06   -.23281E-03
   8  norm          .10000E-03    10.465       -.54516E-07** at limit **
   9  Prefactor     1.9337        21.174        .25348E-04    .19749E-03
  10  norm          5.0548        1.5429        .28364E-06   -.29290E-04
  11  norm          .10000E-03    1.2540        .46538E-08** at limit **
  12  Prefactor     144.90        36.041        .58783E-05    .50282E-02
  13  Prefactor     9.8142        8.9476       -.13276E-04   -.21591E-02
  14  Prefactor     17.177        40.398        .69121E-06    .66205E-03
  15  norm          1.4753        2.0413        .24472E-05    .59974E-04
  16  norm          .10000E-03    1.7669       -.14398E-07** at limit **
  17  Prefactor     92.663        65.503       -.17612E-04    .37589E-02
  18  Prefactor     .10000E-03    6.8811        .39012E-06** at limit **
  19  Prefactor     11.854        10.128        .16278E-04   -.95333E-03
  20  norm          .10000E-03    .67195        .17273E-06** at limit **
  21  Prefactor     10.983        5.8105        .66526E-05    .31383E-02
  22  Prefactor     14.230        8.6680       -.18572E-05    .63115E-02
  23  Normalizat    .89287        .27240       -.43893E-05   -.66367E-04
  24  Prefactor     .89526        .22361       -.34480E-05   -.12712E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 7.93453
  norm       = 1.35432
  Prefactor  = 0.0001
  Prefactor  = 0.00010017
  Prefactor  = 0.0001
  Prefactor  = 76.5711
  norm       = 0.0001
  Prefactor  = 1.93371
  norm       = 5.05477
  norm       = 0.0001
  Prefactor  = 144.9
  Prefactor  = 9.81423
  Prefactor  = 17.177
  norm       = 1.47535
  norm       = 0.0001
  Prefactor  = 92.6632
  Prefactor  = 0.0001
  Prefactor  = 11.8539
  norm       = 0.0001
  Prefactor  = 10.9831
  Prefactor  = 14.2301
  Normalizat = 0.892869
  Prefactor  = 0.895257
 **********
 **   18 **HESSE 
 **********

 FCN=   4908.621     FROM HESSE     STATUS=OK           457 CALLS     3355 TOTAL
                     EDM=   .29E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    17.775        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.9345        130.84        .35557E-02   -1.5145    
   3  norm          1.3543        .51257        .66909E-02   -1.5475    
   4  Prefactor     .10000E-03    19.924        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10017E-03    9.5991        .10697       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.841        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     76.571        80.164        .11473E-02   -1.3956    
   8  norm          .10000E-03    10.458        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.9337        35.631        .73965E-02   -1.5430    
  10  norm          5.0548        1.5690        .44709E-02   -1.5258    
  11  norm          .10000E-03    1.2502        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     144.90        73.317        .83726E-03   -1.3295    
  13  Prefactor     9.8142        14.974        .31969E-02   -1.5081    
  14  Prefactor     17.177        41.598        .24273E-02   -1.4879    
  15  norm          1.4753        2.0067        .88196E-02   -1.5465    
  16  norm          .10000E-03    1.7603        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     92.663        76.459        .10423E-02   -1.3780    
  18  Prefactor     .10000E-03    6.8787        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     11.854        13.415        .29086E-02   -1.5019    
  20  norm          .10000E-03    .51331        .17550E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     10.983        13.176        .30221E-02   -1.5045    
  22  Prefactor     14.230        18.109        .26547E-02   -1.4953    
  23  Normalizat    .89287        .23605        .65018E-01   -.96711    
  24  Prefactor     .89526        .18585        .44943E-01   -.96307    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.87505e-07
Minuit parameter uncertainties:
  1  0.000120713
  2  64.6084
  3  0.512575
  4  5.66972e-05
  5  0.00255826
  6  2.49127e-05
  7  80.2777
  8  2.56463e-06
  9  16.6122
  10  1.56904
  11  1.55146e-06
  12  73.3628
  13  14.9798
  14  41.6681
  15  2.00676
  16  4.81833e-07
  17  76.54
  18  1.21863e-05
  19  13.4183
  20  3.76435e-06
  21  13.1796
  22  18.1158
  23  0.236327
  24  0.185984
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  8.953e-01  1.860e-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.929e-01  2.363e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/171933/likelihoodResults_660787201_661046401_4FGL_J2236.4-2309_daily_bin1626.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) = 4908.61880271
delta logL = 0.00248772254054

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4908.61862692
delta logL = 0.00266350979473

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9973       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9760       1.0000          .0000       10.000    
     3 'Normalizat'    .89084       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89633       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=   4908.619     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      234 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0327        686.60        .73272E-02    .23605E-03
   2  Index         3.0006        5.8690        .50000        .21558E-04
   3  Normalizat    .89030        .31150E-01    .65101E-01   -.11862E-03
   4  Prefactor     .89654        .26652E-01    .44958E-01   -.43275E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.0327
  Index      = 3.00056
  Normalizat = 0.890302
  Prefactor  = 0.896539
 **********
 **   18 **HESSE 
 **********

 FCN=   4908.619     FROM HESSE     STATUS=OK            33 CALLS      267 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0327        28.772        .29309E-03   -1.5423    
   2  Index         3.0006        3.4252        .22874E-01   -.41140    
   3  Normalizat    .89030        .26445        .28797E-03   -.96802    
   4  Prefactor     .89654        .22054        .24247E-03   -.96262    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.19184e-10
Minuit parameter uncertainties:
  1  15.3037
  2  3.8685
  3  0.264836
  4  0.220764
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/171933': 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) = 4908.61859649
delta logL = 0.00269394270617

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  2.033e+00  1.530e+01  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  3.001e+00  3.869e+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:  8.965e-01  2.208e-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.903e-01  2.648e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
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/171933/cmap_HighResolution_660787201_661046401_4FGL_J2236.4-2309_daily_bin1626.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.13e-02', job_status='DONE', photon_flux_upper_limit='1.43e-07', time_completed='2021-12-13 00:49:10.630557', job_id='171933', GAL2='0.90', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1639385350.63', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='2.69e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='1626' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 13 00:49:10 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0292>
Subject: Job 171933: <4FGL_J2236.4-2309_daily_bin1626> in cluster <slac> Done

Job <4FGL_J2236.4-2309_daily_bin1626> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Mon Dec 13 00:35:58 2021
Job was executed on host(s) <bullet0292>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 13 00:36:00 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 13 00:36:00 2021
Terminated at Mon Dec 13 00:49:11 2021
Results reported at Mon Dec 13 00:49:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin1626 339.125 -23.1552 660787201 661046401 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 :                                   565.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             259.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   790 sec.
    Turnaround time :                            793 sec.

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

