aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 3 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J2236.4-2309_daily_bin1746
RA = 339.125, Dec = -23.1552
tmin = 691891201, tmax = 692150401
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='742502', job_status='RUN', time_executed='2022-12-08 01:50:30.978740', time_epoch_executed='1670493030.98' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/742502

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/742502/ft1_4FGL_J2236.4-2309_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/742502/ft2_4FGL_J2236.4-2309_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/742502/ft1_4FGL_J2236.4-2309_daily_bin1746.fits outfile=/scratch/kocevski/742502/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1746.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=691891201.0 tmax=692150401.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 4.71
user 4.43
sys 0.26

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

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

Number of photons that the gtmktime cut: 397

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/742502/ft1_filtered_4FGL_J2236.4-2309_daily_bin1746.fits" evtable="EVENTS" scfile=/scratch/kocevski/742502/ft2_4FGL_J2236.4-2309_daily_bin1746.fits sctable="SC_DATA" outfile=/scratch/kocevski/742502/ltcube_691891201_692150401_4FGL_J2236.4-2309_daily_bin1746.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/742502/ft2_4FGL_J2236.4-2309_daily_bin1746.fits
.....................!
real 12.26
user 11.92
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/742502/ft1_filtered_4FGL_J2236.4-2309_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/742502/ft2_4FGL_J2236.4-2309_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/742502/ltcube_691891201_692150401_4FGL_J2236.4-2309_daily_bin1746.fits outfile=/scratch/kocevski/742502/expmap_691891201_692150401_4FGL_J2236.4-2309_daily_bin1746.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/742502/ltcube_691891201_692150401_4FGL_J2236.4-2309_daily_bin1746.fits
.....................!
real 192.48
user 186.64
sys 5.47

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/742502/ft1_filtered_4FGL_J2236.4-2309_daily_bin1746.fits scfile=/scratch/kocevski/742502/ft2_4FGL_J2236.4-2309_daily_bin1746.fits outfile=/scratch/kocevski/742502/cmap_691891201_692150401_4FGL_J2236.4-2309_daily_bin1746.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.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/742502/ft1_filtered_4FGL_J2236.4-2309_daily_bin1746.fits scfile=/scratch/kocevski/742502/ft2_4FGL_J2236.4-2309_daily_bin1746.fits outfile=/scratch/kocevski/742502/cmap_HighResolution_691891201_692150401_4FGL_J2236.4-2309_daily_bin1746.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/742502/ft1_filtered_4FGL_J2236.4-2309_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/742502/ft2_4FGL_J2236.4-2309_daily_bin1746.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/742502/Model_4FGL_J2236.4-2309_daily_bin1746.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/742502/ft1_filtered_4FGL_J2236.4-2309_daily_bin1746.fits.....................!
real 41.73
user 40.45
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/742502/ft1_filtered_4FGL_J2236.4-2309_daily_bin1746.fits', '/scratch/kocevski/742502/ft2_4FGL_J2236.4-2309_daily_bin1746.fits', expMap='/scratch/kocevski/742502/expmap_691891201_692150401_4FGL_J2236.4-2309_daily_bin1746.fits', expCube='/scratch/kocevski/742502/ltcube_691891201_692150401_4FGL_J2236.4-2309_daily_bin1746.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/742502/Model_4FGL_J2236.4-2309_daily_bin1746.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  0.000e+00  1.000e+06 ( 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/742502/ft1_filtered_4FGL_J2236.4-2309_daily_bin1746.fits
Spacecraft file(s): /scratch/kocevski/742502/ft2_4FGL_J2236.4-2309_daily_bin1746.fits
Exposure map: /scratch/kocevski/742502/expmap_691891201_692150401_4FGL_J2236.4-2309_daily_bin1746.fits
Exposure cube: /scratch/kocevski/742502/ltcube_691891201_692150401_4FGL_J2236.4-2309_daily_bin1746.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/742502/Model_4FGL_J2236.4-2309_daily_bin1746.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) = 4462.95643562

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34433E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    46.111       1.0000          .0000       .10000E+07
     3 'norm      '    1.0278       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.4920       1.0000          .0000       .10000E+07
     5 'Prefactor '    .58869E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .61601E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    70.154       1.0000          .0000       .10000E+07
     8 'norm      '    .49876E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    5.6211       1.0000          .0000       .10000E+07
    10 'norm      '    1.9597       1.0000          .0000       .10000E+07
    11 'norm      '    7.0882       1.0000          .0000       .10000E+07
    12 'Prefactor '    .28262       1.0000          .0000       .10000E+07
    13 'Prefactor '    10.617       1.0000          .0000       .10000E+07
    14 'Prefactor '    .47444E-02   1.0000          .0000       .10000E+07
    15 'norm      '    1.2780       1.0000          .0000       .10000E+07
    16 'norm      '    .59058E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    41.715       1.0000          .0000       .10000E+07
    18 'Prefactor '    .12168E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .24458E-02   1.0000          .0000       .10000E+07
    20 'norm      '    3.3167       1.0000          .0000       .10000E+07
    21 'Prefactor '    .14640E-01   1.0000          .0000       .10000E+07
    22 'Prefactor '    2.5556       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.4519       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .70993       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=   4462.955     FROM MIGRAD    STATUS=CONVERGED    136 CALLS     2036 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    30.571       -.38699E-07** at limit **
   2  Prefactor     46.946        34.756        .53499E-07   -.10236    
   3  norm          1.0276        .46486       -.75355E-08   -.10283E-01
   4  Prefactor     7.5151        9.7916        .76869E-08    .93382E-03
   5  Prefactor     .22204E-08    24.764        .79820E-08** at limit **
   6  Prefactor     .24155E-05    6.1983       -.19110E-07** at limit **
   7  Prefactor     70.337        9.0320        .10644E-07   -.11891    
   8  norm          .10490E-05    10.257        .31353E-07** at limit **
   9  Prefactor     5.6321        2.0036        .98640E-08    .10360E-02
  10  norm          1.9594        1.0816       -.61366E-08   -.13452E-02
  11  norm          7.0964        3.7245        .83838E-07    .18949E-01
  12  Prefactor     .33095E-03    366.42       -.42479E-06** at limit **
  13  Prefactor     10.605        1.4563        .13883E-08   -.25621E-02
  14  Prefactor     .64287E-06    13.456        .20385E-07** at limit **
  15  norm          1.2763        1.0658       -.14081E-07   -.44203E-02
  16  norm           .0000        2.4153        .14762E-07** at limit **
  17  Prefactor     41.879        6.1145        .11618E-07    .76748E-01
  18  Prefactor     .62894E-07    10.552        .10611E-06** at limit **
  19  Prefactor     .11546E-07    10.169        .75707E-07** at limit **
  20  norm          3.3177        1.1463       -.28513E-09    .75222E-02
  21  Prefactor     .23676E-06    34.005       -.13922E-06** at limit **
  22  Prefactor     2.5409        1.6659        .41325E-08   -.13679E-02
  23  Normalizat    1.4521        .29910        .28932E-05    .43240E-03
  24  Prefactor     .70962        .24534       -.17054E-05    .26298E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  Prefactor  = 46.946
  norm       = 1.02759
  Prefactor  = 7.51506
  Prefactor  = 2.22045e-09
  Prefactor  = 2.41551e-06
  Prefactor  = 70.3373
  norm       = 1.04899e-06
  Prefactor  = 5.6321
  norm       = 1.95939
  norm       = 7.09635
  Prefactor  = 0.00033095
  Prefactor  = 10.6053
  Prefactor  = 6.42875e-07
  norm       = 1.2763
  norm       = 0
  Prefactor  = 41.8789
  Prefactor  = 6.28941e-08
  Prefactor  = 1.15463e-08
  norm       = 3.3177
  Prefactor  = 2.36755e-07
  Prefactor  = 2.54093
  Normalizat = 1.45211
  Prefactor  = 0.709618
 **********
 **   18 **HESSE 
 **********

 FCN=   4462.955     FROM HESSE     STATUS=OK           449 CALLS     2485 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    30.399        .16225E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     46.946        55.886        .14728E-03   -1.5571    
   3  norm          1.0276        .46521        .67461E-03   -1.5688    
   4  Prefactor     7.5151        9.8220        .36617E-03   -1.5653    
   5  Prefactor     .22204E-08    25.662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .24155E-05    14.152        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     70.337        71.171        .11940E-03   -1.5540    
   8  norm          .10490E-05    12.960        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.6321        21.746        .42348E-03   -1.5660    
  10  norm          1.9594        1.0905        .74074E-03   -1.5680    
  11  norm          7.0964        3.7856        .37655E-03   -1.5655    
  12  Prefactor     .33095E-03    615.00        .10459E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.605        18.735        .30724E-03   -1.5643    
  14  Prefactor     .64287E-06    16.003        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.2763        1.1684        .98203E-03   -1.5685    
  16  norm           .0000        2.4137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     41.879        34.741        .15484E-03   -1.5579    
  18  Prefactor     .62894E-07    10.690        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .11546E-07    10.197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.3177        1.4975        .55560E-03   -1.5672    
  21  Prefactor     .23676E-06    34.847        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2.5409        49.643        .63839E-03   -1.5676    
  23  Normalizat    1.4521        .25990        .57752E-01   -.79133    
  24  Prefactor     .70962        .20437        .65167E-01   -1.0315    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.80164e-06
Minuit parameter uncertainties:
  1  0.000158908
  2  55.8863
  3  0.465209
  4  9.82204
  5  0.000474683
  6  0.0116936
  7  71.1717
  8  0.00737421
  9  21.7463
  10  1.09051
  11  3.78558
  12  0.90239
  13  18.7346
  14  0.00641519
  15  1.16841
  16  7.17051e-06
  17  34.7411
  18  0.00163973
  19  0.000685553
  20  1.49754
  21  0.00574476
  22  22.4625
  23  0.26014
  24  0.204582
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  5.632e+00  2.175e+01  0.000e+00  1.000e+06 ( 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:  7.096e-01  2.046e-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.452e+00  2.601e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/742502/likelihoodResults_691891201_692150401_4FGL_J2236.4-2309_daily_bin1746.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) = 4462.68347894
delta logL = 0.271236557741

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4462.62345385
delta logL = 0.331261653897

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.2737       1.0000          .0000       .10000E+07
     2 'Index     '    4.7419       1.0000          .0000       10.000    
     3 'Normalizat'    1.3790       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75231       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4462.623     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      274 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.2672        167.40        .58904E-04   -.39807E-02
   2  Index         4.7436        6.0931        .91748E-02   -.30777E-04
   3  Normalizat    1.3792        .24970        .26086E-03   -.16069E-03
   4  Prefactor     .75216        .19357        .28083E-03   -.11007E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.26715
  Index      = 4.74362
  Normalizat = 1.37924
  Prefactor  = 0.752165
 **********
 **   18 **HESSE 
 **********

 FCN=   4462.623     FROM HESSE     STATUS=OK            25 CALLS      299 TOTAL
                     EDM=   .79E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.2672        13.393        .23562E-05   -1.5678    
   2  Index         4.7436        3.3180        .36699E-03   -.51298E-01
   3  Normalizat    1.3792        .31710        .52172E-04   -.81231    
   4  Prefactor     .75216        .25266        .11233E-04   -1.0152    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.90278e-11
Minuit parameter uncertainties:
  1  11.0208
  2  3.62913
  3  0.317554
  4  0.253052
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/742502': 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) = 4462.6234534
delta logL = 0.331262104543

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  2.267e+00  1.102e+01  0.000e+00  1.000e+06 ( 1.000e-12)
248        Index:  4.744e+00  3.629e+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:  7.522e-01  2.531e-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.379e+00  3.176e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.08
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/742502/cmap_HighResolution_691891201_692150401_4FGL_J2236.4-2309_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.47e-02', job_status='DONE', photon_flux_upper_limit='1.86e-07', time_completed='2022-12-08 01:58:57.384369', job_id='742502', GAL2='0.75', fit_tolerance='1e-08', EG2='1.38', EG='1.45', time_epoch_completed='1670493537.38', return_code2='0', ts='0.08', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='3.31e-01', ts2='0.81', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='1746' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 01:58:57 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0156>
Subject: Job 742502: <4FGL_J2236.4-2309_daily_bin1746> in cluster <slac> Done

Job <4FGL_J2236.4-2309_daily_bin1746> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Dec  8 01:50:18 2022
Job was executed on host(s) <bullet0156>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 01:50:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 01:50:19 2022
Terminated at Thu Dec  8 01:58:58 2022
Results reported at Thu Dec  8 01:58:58 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin1746 339.125 -23.1552 691891201 692150401 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 :                                   509.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             366.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   520 sec.
    Turnaround time :                            520 sec.

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

