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


Performing analysis on: 4FGL_J2236.4-2309_daily_bin180
RA = 339.125, Dec = -23.1552
tmin = 285984001, tmax = 286243201
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='403151', job_status='RUN', time_executed='2021-09-28 16:58:34.852080', time_epoch_executed='1632873514.85' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='180'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/403151

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/403151/ft1_4FGL_J2236.4-2309_daily_bin180.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/403151/ft2_4FGL_J2236.4-2309_daily_bin180.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/403151/ft1_4FGL_J2236.4-2309_daily_bin180.fits outfile=/scratch/kocevski/403151/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin180.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=285984001.0 tmax=286243201.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.38
user 3.14
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/403151/ft2_4FGL_J2236.4-2309_daily_bin180.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/403151/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin180.fits evtable="EVENTS" outfile="/scratch/kocevski/403151/ft1_filtered_4FGL_J2236.4-2309_daily_bin180.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.50
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/403151/ft1_filtered_4FGL_J2236.4-2309_daily_bin180.fits" evtable="EVENTS" scfile=/scratch/kocevski/403151/ft2_4FGL_J2236.4-2309_daily_bin180.fits sctable="SC_DATA" outfile=/scratch/kocevski/403151/ltcube_285984001_286243201_4FGL_J2236.4-2309_daily_bin180.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/403151/ft2_4FGL_J2236.4-2309_daily_bin180.fits
.....................!
real 11.73
user 11.37
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/403151/ft1_filtered_4FGL_J2236.4-2309_daily_bin180.fits evtable="EVENTS" scfile=/scratch/kocevski/403151/ft2_4FGL_J2236.4-2309_daily_bin180.fits sctable="SC_DATA" expcube=/scratch/kocevski/403151/ltcube_285984001_286243201_4FGL_J2236.4-2309_daily_bin180.fits outfile=/scratch/kocevski/403151/expmap_285984001_286243201_4FGL_J2236.4-2309_daily_bin180.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/403151/ltcube_285984001_286243201_4FGL_J2236.4-2309_daily_bin180.fits
.....................!
real 190.63
user 185.32
sys 4.96

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/403151/ft1_filtered_4FGL_J2236.4-2309_daily_bin180.fits scfile=/scratch/kocevski/403151/ft2_4FGL_J2236.4-2309_daily_bin180.fits outfile=/scratch/kocevski/403151/cmap_285984001_286243201_4FGL_J2236.4-2309_daily_bin180.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.54
user 0.37
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.1943       1.0000         .10000E-03   10000.    
     3 'norm      '    .87723       1.0000         .10000E-03   10000.    
     4 'Prefactor '    15.227       1.0000         .10000E-03   10000.    
     5 'Prefactor '    23.045       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.1861       1.0000         .10000E-03   10000.    
     8 'norm      '    25.602       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.4381       1.0000         .10000E-03   10000.    
    10 'norm      '    1.0507       1.0000         .10000E-03   10000.    
    11 'norm      '    1.1687       1.0000         .10000E-03   10000.    
    12 'Prefactor '    45.674       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.4861       1.0000         .10000E-03   10000.    
    15 'norm      '    .24042E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    4.5159       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.0456       1.0000         .10000E-03   10000.    
    20 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.8789       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10296E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .70871       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0833       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=   6855.389     FROM MIGRAD    STATUS=CONVERGED    529 CALLS     2747 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.3328       -.10093E-05** at limit **
   2  Prefactor     9.1952        32.631        .25733E-05   -.11460E-05
   3  norm          .87724        .30945       -.52043E-07    .14616E-03
   4  Prefactor     15.229        10.245       -.72134E-06   -.36182E-04
   5  Prefactor     23.045        15.728       -.84502E-06    .25358E-04
   6  Prefactor     .10000E-03    21.263        .14450E-05** at limit **
   7  Prefactor     7.1582        34.921       -.80900E-04   -.70632E-05
   8  norm          25.596        20.531       -.55470E-05   -.11281E-03
   9  Prefactor     5.4389        9.7406        .62241E-05   -.70574E-04
  10  norm          1.0507        .62744        .20250E-06    .98972E-03
  11  norm          1.1703        1.9282        .42957E-05    .58468E-03
  12  Prefactor     45.646        47.662       -.37731E-04   -.10328E-03
  13  Prefactor     .10000E-03    1.6481        .38630E-07** at limit **
  14  Prefactor     3.4868        4.6799       -.85543E-06   -.34945E-03
  15  norm          .10000E-03    .38810        .21274E-06** at limit **
  16  norm          4.5156        3.3693        .42315E-06   -.20447E-03
  17  Prefactor     .10000E-03    4.1902       -.12629E-05** at limit **
  18  Prefactor     .10000E-03    4.4603        .16447E-06** at limit **
  19  Prefactor     8.0451        6.6616        .17555E-05   -.37629E-03
  20  norm          .10000E-03    .20386       -.55767E-07** at limit **
  21  Prefactor     1.8787        5.6722       -.20783E-05   -.76543E-03
  22  Prefactor     .10000E-03    5.1501        .85385E-06** at limit **
  23  Normalizat    .70878        .16627        .51271E-05   -.21014E-03
  24  Prefactor     1.0833        .14670        .11128E-05   -.44488E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 9.1952
  norm       = 0.877239
  Prefactor  = 15.229
  Prefactor  = 23.0446
  Prefactor  = 0.0001
  Prefactor  = 7.15822
  norm       = 25.5958
  Prefactor  = 5.43891
  norm       = 1.05066
  norm       = 1.17033
  Prefactor  = 45.6457
  Prefactor  = 0.0001
  Prefactor  = 3.4868
  norm       = 0.0001
  norm       = 4.51563
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.04511
  norm       = 0.0001
  Prefactor  = 1.8787
  Prefactor  = 0.0001
  Normalizat = 0.708777
  Prefactor  = 1.08328
 **********
 **   18 **HESSE 
 **********

 FCN=   6855.389     FROM HESSE     STATUS=OK           411 CALLS     3158 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.3362        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.1952        32.566        .13217E-03   -1.5101    
   3  norm          .87724        .30917        .26525E-04   -1.5521    
   4  Prefactor     15.229        10.246        .10264E-03   -1.4927    
   5  Prefactor     23.045        15.732        .83440E-04   -1.4748    
   6  Prefactor     .10000E-03    21.457        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.1582        34.946        .14963E-03   -1.5173    
   8  norm          25.596        20.525        .79170E-04   -1.4696    
   9  Prefactor     5.4389        9.7103        .17231E-03   -1.5241    
  10  norm          1.0507        .61994        .48904E-04   -1.5503    
  11  norm          1.1703        1.8635        .12684E-03   -1.5492    
  12  Prefactor     45.646        47.377        .59326E-04   -1.4356    
  13  Prefactor     .10000E-03    1.6494        .10381E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.4868        4.7670        .18049E-03   -1.5334    
  15  norm          .10000E-03    .40374        .16693E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.5156        3.3618        .12102E-03   -1.5283    
  17  Prefactor     .10000E-03    4.1913        .16553E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.4633        .17062E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.0451        6.6668        .14135E-03   -1.5141    
  20  norm          .10000E-03    .20400        .18142E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.8787        5.6717        .30373E-03   -1.5434    
  22  Prefactor     .10000E-03    5.1735        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .70878        .19602        .27396E-03   -1.0355    
  24  Prefactor     1.0833        .17379        .20665E-03   -.90003    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50545e-09
Minuit parameter uncertainties:
  1  3.65279e-05
  2  32.6289
  3  0.309169
  4  10.2467
  5  15.7346
  6  8.60049e-05
  7  31.662
  8  20.5306
  9  9.7131
  10  0.619943
  11  1.86355
  12  47.4164
  13  2.24004e-06
  14  4.76752
  15  2.83364e-05
  16  3.36192
  17  1.27216e-06
  18  2.56443e-06
  19  6.66738
  20  6.74023e-07
  21  5.67333
  22  8.76755e-06
  23  0.196217
  24  0.173879
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  5.439e+00  9.713e+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.083e+00  1.739e-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.088e-01  1.962e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/403151/likelihoodResults_285984001_286243201_4FGL_J2236.4-2309_daily_bin180.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) = 6855.29171736
delta logL = 0.0971924677569

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6855.26735121
delta logL = 0.121558620275

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4518       1.0000         .10000E-03   10000.    
     2 'Index     '    3.7714       1.0000          .0000       10.000    
     3 'Normalizat'    .68372       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0988       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6855.267     FROM MIGRAD    STATUS=FAILED        95 CALLS      265 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4498        259.95        .18768E-03   -.90259E-05
   2  Index         3.7720        6.7858        .13025E-01    .31766E-03
   3  Normalizat    .68375        .24104        .27855E-03    .74689E-04
   4  Prefactor     1.0987        .21322        .20537E-03   -.60505E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6855.267     FROM SIMPLEX   STATUS=UNCHANGED     85 CALLS      350 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4498        259.95        .27991E-03   -.90259E-05
   2  Index         3.7720        6.7858        .24727E-02    .31766E-03
   3  Normalizat    .68375        .24104        .26675E-03    .74689E-04
   4  Prefactor     1.0987        .21322        .20798E-03   -.60505E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6855.267     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      379 TOTAL
                     EDM=   .76E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4497        11.254        .75070E-05   -.41495E-04
   2  Index         3.7720        2.8660        .26051E-02    .14969E-05
   3  Normalizat    .68375        .19425        .11142E-04    .69180E-04
   4  Prefactor     1.0987        .17321        .41074E-04   -.60505E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.44973
  Index      = 3.77204
  Normalizat = 0.683746
  Prefactor  = 1.09874
 **********
 **   18 **HESSE 
 **********

 FCN=   6855.267     FROM HESSE     STATUS=OK            23 CALLS      402 TOTAL
                     EDM=   .75E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4497        10.159        .15014E-05   -1.5336    
   2  Index         3.7720        2.6171        .10420E-03   -.24813    
   3  Normalizat    .68375        .19353        .22284E-05   -1.0454    
   4  Prefactor     1.0987        .17260        .82149E-05   -.89507    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.52621e-11
Minuit parameter uncertainties:
  1  10.1642
  2  2.76458
  3  0.193722
  4  0.172683
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/403151': 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) = 6855.26735116
delta logL = 0.121558669282

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  3.450e+00  1.016e+01  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  3.772e+00  2.765e+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.099e+00  1.727e-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:  6.837e-01  1.937e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.43
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/403151/cmap_HighResolution_285984001_286243201_4FGL_J2236.4-2309_daily_bin180.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.67e-03', job_status='DONE', photon_flux_upper_limit='9.72e-08', time_completed='2021-09-28 17:09:52.384093', job_id='403151', GAL2='1.10', fit_tolerance='1e-08', EG2='0.68', EG='0.71', time_epoch_completed='1632874192.38', return_code2='0', ts='0.43', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='1.22e-01', ts2='0.71', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='180' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:09:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 403151: <4FGL_J2236.4-2309_daily_bin180> in cluster <slac> Done

Job <4FGL_J2236.4-2309_daily_bin180> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 16:55:43 2021
Job was executed on host(s) <bullet0055>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 16:55:45 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 16:55:45 2021
Terminated at Tue Sep 28 17:09:53 2021
Results reported at Tue Sep 28 17:09:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin180 339.125 -23.1552 285984001 286243201 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 :                                   678.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             264.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   847 sec.
    Turnaround time :                            850 sec.

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

