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


Performing analysis on: 4FGL_J2236.4-2309_daily_bin1690
RA = 339.125, Dec = -23.1552
tmin = 677376001, tmax = 677635201
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='159508', job_status='RUN', time_executed='2022-06-23 01:16:48.351517', time_epoch_executed='1655972208.35' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='1690'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/159508

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/159508/ft1_4FGL_J2236.4-2309_daily_bin1690.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/159508/ft2_4FGL_J2236.4-2309_daily_bin1690.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/159508/ft1_4FGL_J2236.4-2309_daily_bin1690.fits outfile=/scratch/kocevski/159508/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1690.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=677376001.0 tmax=677635201.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.53
user 2.35
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/159508/ft2_4FGL_J2236.4-2309_daily_bin1690.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/159508/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1690.fits evtable="EVENTS" outfile="/scratch/kocevski/159508/ft1_filtered_4FGL_J2236.4-2309_daily_bin1690.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.53
user 0.33
sys 0.14

Number of photons that the gtmktime cut: 435

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/159508/ft1_filtered_4FGL_J2236.4-2309_daily_bin1690.fits" evtable="EVENTS" scfile=/scratch/kocevski/159508/ft2_4FGL_J2236.4-2309_daily_bin1690.fits sctable="SC_DATA" outfile=/scratch/kocevski/159508/ltcube_677376001_677635201_4FGL_J2236.4-2309_daily_bin1690.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/159508/ft2_4FGL_J2236.4-2309_daily_bin1690.fits
.....................!
real 17.57
user 16.91
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/159508/ft1_filtered_4FGL_J2236.4-2309_daily_bin1690.fits evtable="EVENTS" scfile=/scratch/kocevski/159508/ft2_4FGL_J2236.4-2309_daily_bin1690.fits sctable="SC_DATA" expcube=/scratch/kocevski/159508/ltcube_677376001_677635201_4FGL_J2236.4-2309_daily_bin1690.fits outfile=/scratch/kocevski/159508/expmap_677376001_677635201_4FGL_J2236.4-2309_daily_bin1690.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/159508/ltcube_677376001_677635201_4FGL_J2236.4-2309_daily_bin1690.fits
.....................!
real 194.27
user 187.67
sys 4.30

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/159508/ft1_filtered_4FGL_J2236.4-2309_daily_bin1690.fits scfile=/scratch/kocevski/159508/ft2_4FGL_J2236.4-2309_daily_bin1690.fits outfile=/scratch/kocevski/159508/cmap_677376001_677635201_4FGL_J2236.4-2309_daily_bin1690.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.64
user 0.38
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/159508/ft1_filtered_4FGL_J2236.4-2309_daily_bin1690.fits evtable="EVENTS" scfile=/scratch/kocevski/159508/ft2_4FGL_J2236.4-2309_daily_bin1690.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/159508/Model_4FGL_J2236.4-2309_daily_bin1690.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/159508/ft1_filtered_4FGL_J2236.4-2309_daily_bin1690.fits.....................!
real 44.81
user 43.04
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11278E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    88.541       1.0000         .10000E-03   10000.    
     3 'norm      '    .56954       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10253E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .86127E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10624E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.0724       1.0000         .10000E-03   10000.    
    11 'norm      '    .60021       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10292E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10996E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10347E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .12578E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    6.6580       1.0000         .10000E-03   10000.    
    17 'Prefactor '    19.067       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10501E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    36.581       1.0000         .10000E-03   10000.    
    20 'norm      '    .10875E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .11100E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3944       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .86138       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=   4818.763     FROM MIGRAD    STATUS=CONVERGED    568 CALLS     2842 TOTAL
                     EDM=   .92E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    20.012       -.30317E-05** at limit **
   2  Prefactor     88.368        84.364       -.92990E-07   -.68073E-04
   3  norm          .56954        .37723       -.32829E-07    .12707E-03
   4  Prefactor     .10000E-03    5.0197       -.23692E-06** at limit **
   5  Prefactor     .10000E-03    6.8336        .21611E-07** at limit **
   6  Prefactor     .10099E-03    24.221        .21921E-05** at limit **
   7  Prefactor     .10000E-03    30.967        .19206E-07** at limit **
   8  norm          .10000E-03    6.9115        .23555E-08** at limit **
   9  Prefactor     .10000E-03    9.8008        .68986E-08** at limit **
  10  norm          3.0732        1.1684       -.30874E-07   -.65263E-03
  11  norm          .60020        1.8446        .53334E-06   -.10014E-04
  12  Prefactor     .10000E-03    37.626       -.20723E-06** at limit **
  13  Prefactor     .10000E-03    8.6312       -.22231E-07** at limit **
  14  Prefactor     .10000E-03    21.938        .13450E-05** at limit **
  15  norm          .10000E-03    .85664        .94207E-06** at limit **
  16  norm          6.6524        5.3793        .67322E-07    .22419E-03
  17  Prefactor     19.151        29.500       -.36356E-05   -.41214E-03
  18  Prefactor     .10000E-03    10.558       -.26615E-06** at limit **
  19  Prefactor     36.592        15.338        .64795E-06    .56340E-03
  20  norm          .10014E-03    .53745       -.35513E-06** at limit **
  21  Prefactor     .10000E-03    9.6312        .28593E-06** at limit **
  22  Prefactor     .10000E-03    10.706       -.29394E-06** at limit **
  23  Normalizat    1.3944        .24662        .15575E-05   -.30016E-03
  24  Prefactor     .86155        .19827       -.88474E-06   -.18334E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 88.368
  norm       = 0.569536
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100987
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.07324
  norm       = 0.600203
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.65242
  Prefactor  = 19.1514
  Prefactor  = 0.0001
  Prefactor  = 36.5919
  norm       = 0.000100139
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.39437
  Prefactor  = 0.861545
 **********
 **   18 **HESSE 
 **********

 FCN=   4818.763     FROM HESSE     STATUS=OK           403 CALLS     3245 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    19.321        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     88.368        84.297        .21350E-03   -1.3825    
   3  norm          .56954        .38706        .33804E-03   -1.5557    
   4  Prefactor     .10000E-03    5.0223        .15184E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.8482        .17723E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10099E-03    162.22        .63526E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    30.984        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    6.9118        .17825E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    9.8577        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.0732        1.1675        .44192E-04   -1.5357    
  11  norm          .60020        1.6793        .15881E-02   -1.5553    
  12  Prefactor     .10000E-03    37.708        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.7032        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    22.251        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.3699        .11011E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          6.6524        5.3684        .13357E-03   -1.5192    
  17  Prefactor     19.151        30.165        .91723E-04   -1.4832    
  18  Prefactor     .10000E-03    10.575        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     36.592        17.250        .66263E-04   -1.4497    
  20  norm          .10014E-03    2.4733        .14203E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    9.7013        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    10.757        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3944        .29312        .25906E-03   -.80792    
  24  Prefactor     .86155        .23769        .26434E-03   -.97498    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.44413e-08
Minuit parameter uncertainties:
  1  0.000171678
  2  84.4117
  3  0.387057
  4  2.88235e-06
  5  1.01534e-05
  6  0.0253763
  7  2.73951e-05
  8  3.2556e-06
  9  1.79703e-05
  10  1.16749
  11  1.67944
  12  6.5177e-05
  13  1.13401e-05
  14  7.60267e-07
  15  4.03917e-05
  16  5.36877
  17  30.189
  18  1.14127e-05
  19  17.2526
  20  0.00117192
  21  1.05433e-05
  22  1.87703e-05
  23  0.293473
  24  0.237971
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  1.000e-04  1.797e-05  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.615e-01  2.380e-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.394e+00  2.935e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 339.125 -23.155
Photon Flux Upper Limit: 1.06e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.40e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/159508/likelihoodResults_677376001_677635201_4FGL_J2236.4-2309_daily_bin1690.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): 102
logL (Free Index) = 4818.76378282
delta logL = -0.00048305193377

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4818.76330132
delta logL = -1.55065572471e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10566E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7549       1.0000          .0000       10.000    
     3 'Normalizat'    1.3939       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86191       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=   4818.763     FROM MIGRAD    STATUS=CONVERGED    118 CALLS      261 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.825        .81545E-01** at limit **
   2  Index         3.7927        6.4541        .50000       -.32831E-04
   3  Normalizat    1.3944        .11414E-01    .25906E-03   -.43885E-05
   4  Prefactor     .86154        .94644E-02    .26434E-03    .39567E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 3.7927
  Normalizat = 1.39437
  Prefactor  = 0.861545
 **********
 **   18 **HESSE 
 **********

 FCN=   4818.763     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      292 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6575.8        .24167E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.7927        8.0075        .50000       -.24387    
   3  Normalizat    1.3944        .72887E-01    .10362E-04   -.80792    
   4  Prefactor     .86154        .59839E-01    .10574E-04   -.97498    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.19371e-07
Minuit parameter uncertainties:
  1  0.000110427
  2  50.8175
  3  0.0728926
  4  0.0598435
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/159508': 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): 102
logL (Free Index) = 4818.7632962
delta logL = 3.56781765731e-06

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  1.000e-04  1.104e-04  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  3.793e+00  5.082e+01  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.615e-01  5.984e-02  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.394e+00  7.289e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/159508/cmap_HighResolution_677376001_677635201_4FGL_J2236.4-2309_daily_bin1690.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.40e-03', job_status='DONE', photon_flux_upper_limit='1.06e-07', time_completed='2022-06-23 01:26:33.530298', job_id='159508', GAL2='0.86', fit_tolerance='1e-08', EG2='1.39', EG='1.39', time_epoch_completed='1655972793.53', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='3.57e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='1690' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jun 23 01:26:33 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0113>
Subject: Job 159508: <4FGL_J2236.4-2309_daily_bin1690> in cluster <slac> Done

Job <4FGL_J2236.4-2309_daily_bin1690> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Thu Jun 23 01:15:17 2022
Job was executed on host(s) <bullet0113>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun 23 01:15:51 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jun 23 01:15:51 2022
Terminated at Thu Jun 23 01:26:34 2022
Results reported at Thu Jun 23 01:26:34 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin1690 339.125 -23.1552 677376001 677635201 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 :                                   580.52 sec.
    Max Memory :                                 655 MB
    Average Memory :                             318.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2929 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   642 sec.
    Turnaround time :                            677 sec.

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

