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


Performing analysis on: 4FGL_J2236.4-2309_daily_bin1697
RA = 339.125, Dec = -23.1552
tmin = 679190401, tmax = 679449601
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='857701', job_status='RUN', time_executed='2022-07-14 00:39:50.239772', time_epoch_executed='1657784390.24' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='1697'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/857701

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/857701/ft1_4FGL_J2236.4-2309_daily_bin1697.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/857701/ft2_4FGL_J2236.4-2309_daily_bin1697.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/857701/ft1_4FGL_J2236.4-2309_daily_bin1697.fits outfile=/scratch/kocevski/857701/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1697.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=679190401.0 tmax=679449601.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.47
user 3.22
sys 0.19

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

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

Number of photons that the gtmktime cut: 446

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/857701/ft1_filtered_4FGL_J2236.4-2309_daily_bin1697.fits" evtable="EVENTS" scfile=/scratch/kocevski/857701/ft2_4FGL_J2236.4-2309_daily_bin1697.fits sctable="SC_DATA" outfile=/scratch/kocevski/857701/ltcube_679190401_679449601_4FGL_J2236.4-2309_daily_bin1697.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/857701/ft2_4FGL_J2236.4-2309_daily_bin1697.fits
.....................!
real 11.88
user 11.55
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/857701/ft1_filtered_4FGL_J2236.4-2309_daily_bin1697.fits evtable="EVENTS" scfile=/scratch/kocevski/857701/ft2_4FGL_J2236.4-2309_daily_bin1697.fits sctable="SC_DATA" expcube=/scratch/kocevski/857701/ltcube_679190401_679449601_4FGL_J2236.4-2309_daily_bin1697.fits outfile=/scratch/kocevski/857701/expmap_679190401_679449601_4FGL_J2236.4-2309_daily_bin1697.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/857701/ltcube_679190401_679449601_4FGL_J2236.4-2309_daily_bin1697.fits
.....................!
real 191.88
user 187.42
sys 4.15

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/857701/ft1_filtered_4FGL_J2236.4-2309_daily_bin1697.fits scfile=/scratch/kocevski/857701/ft2_4FGL_J2236.4-2309_daily_bin1697.fits outfile=/scratch/kocevski/857701/cmap_679190401_679449601_4FGL_J2236.4-2309_daily_bin1697.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.38
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/857701/ft1_filtered_4FGL_J2236.4-2309_daily_bin1697.fits evtable="EVENTS" scfile=/scratch/kocevski/857701/ft2_4FGL_J2236.4-2309_daily_bin1697.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/857701/Model_4FGL_J2236.4-2309_daily_bin1697.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/857701/ft1_filtered_4FGL_J2236.4-2309_daily_bin1697.fits.....................!
real 43.66
user 42.36
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10810E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    74.380       1.0000         .10000E-03   10000.    
     3 'norm      '    .18983       1.0000         .10000E-03   10000.    
     4 'Prefactor '    17.701       1.0000         .10000E-03   10000.    
     5 'Prefactor '    76.877       1.0000         .10000E-03   10000.    
     6 'Prefactor '    18.901       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.9255       1.0000         .10000E-03   10000.    
    11 'norm      '    .14737E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    32.027       1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.772       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .14478E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .77593       1.0000         .10000E-03   10000.    
    16 'norm      '    .12061E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    35.029       1.0000         .10000E-03   10000.    
    18 'Prefactor '    14.434       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.1349       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .69112       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .95637       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=   5055.253     FROM MIGRAD    STATUS=CONVERGED    571 CALLS     2823 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    52.735       -.52637E-05** at limit **
   2  Prefactor     74.286        66.680        .39464E-06   -.11703E-03
   3  norm          .18986        .17279       -.13281E-07   -.76963E-04
   4  Prefactor     17.701        12.713       -.35118E-07   -.16148E-04
   5  Prefactor     76.876        22.195       -.27062E-07   -.64265E-04
   6  Prefactor     18.900        21.575       -.20445E-07   -.15382E-04
   7  Prefactor     .10000E-03    22.062       -.10013E-07** at limit **
   8  norm          .10000E-03    7.5953        .69275E-08** at limit **
   9  Prefactor     .10000E-03    13.884        .12710E-06** at limit **
  10  norm          2.9252        1.1899       -.42528E-07   -.16934E-02
  11  norm          .10000E-03    2.0847        .12408E-05** at limit **
  12  Prefactor     32.100        35.189        .56441E-06   -.30029E-03
  13  Prefactor     12.774        11.467        .86492E-07   -.39180E-04
  14  Prefactor     .10162E-03    24.773        .53531E-05** at limit **
  15  norm          .77854        1.4947       -.53164E-06   -.39493E-02
  16  norm          .10000E-03    3.4826       -.36855E-07** at limit **
  17  Prefactor     35.016        43.722       -.40399E-06   -.73196E-03
  18  Prefactor     14.446        12.312        .54606E-06   -.26729E-03
  19  Prefactor     .10000E-03    6.8986       -.18010E-07** at limit **
  20  norm          .10000E-03    .23446        .88377E-07** at limit **
  21  Prefactor     4.1341        6.7451        .79570E-08   -.97892E-04
  22  Prefactor     .10000E-03    4.1181        .73785E-08** at limit **
  23  Normalizat    .69095        .19271       -.71699E-06   -.47538E-03
  24  Prefactor     .95660        .16709        .65647E-06   -.63523E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100014
  Prefactor  = 74.2865
  norm       = 0.189856
  Prefactor  = 17.701
  Prefactor  = 76.8758
  Prefactor  = 18.8998
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.92515
  norm       = 0.0001
  Prefactor  = 32.1002
  Prefactor  = 12.7736
  Prefactor  = 0.000101619
  norm       = 0.778539
  norm       = 0.000100001
  Prefactor  = 35.0157
  Prefactor  = 14.4456
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.13412
  Prefactor  = 0.0001
  Normalizat = 0.690954
  Prefactor  = 0.956599
 **********
 **   18 **HESSE 
 **********

 FCN=   5055.253     FROM HESSE     STATUS=OK           403 CALLS     3226 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    51.854        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     74.286        66.702        .23277E-03   -1.3982    
   3  norm          .18986        .18734        .27437E-03   -1.5621    
   4  Prefactor     17.701        12.710        .95195E-04   -1.4866    
   5  Prefactor     76.876        22.192        .45798E-04   -1.3952    
   6  Prefactor     18.900        21.571        .92127E-04   -1.4838    
   7  Prefactor     .10000E-03    22.074        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    7.6005        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    14.159        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.9252        1.1885        .46901E-04   -1.5366    
  11  norm          .10000E-03    2.5577        .16414E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     32.100        34.651        .70804E-04   -1.4574    
  13  Prefactor     12.774        11.504        .11208E-03   -1.4993    
  14  Prefactor     .10162E-03    153.20        .46474E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .77854        1.4876        .49399E-04   -1.5532    
  16  norm          .10000E-03    7.0752        .24129E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     35.016        43.686        .67710E-04   -1.4524    
  18  Prefactor     14.446        11.723        .10543E-03   -1.4948    
  19  Prefactor     .10000E-03    7.0568        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    .32713        .64423E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     4.1341        6.7340        .19823E-03   -1.5301    
  22  Prefactor     .10000E-03    4.1402        .14088E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .69095        .22787        .28370E-03   -1.0425    
  24  Prefactor     .95660        .19769        .21443E-03   -.94190    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1956e-08
Minuit parameter uncertainties:
  1  0.00170432
  2  66.7688
  3  0.187341
  4  12.7118
  5  22.1943
  6  21.58
  7  9.17166e-06
  8  1.14817e-06
  9  3.99347e-05
  10  1.18846
  11  5.64159e-05
  12  34.6731
  13  11.5062
  14  0.0315778
  15  1.48771
  16  0.000185058
  17  43.7263
  18  11.7246
  19  1.32162e-05
  20  1.49434e-06
  21  6.73521
  22  1.04227e-06
  23  0.228183
  24  0.197838
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  1.000e-04  3.993e-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:  9.566e-01  1.978e-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.910e-01  2.282e-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: 9.06e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.15e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/857701/likelihoodResults_679190401_679449601_4FGL_J2236.4-2309_daily_bin1697.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) = 5055.25357082
delta logL = -0.00033664538114

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5055.25323433
delta logL = -1.59320734383e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10986E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7784       1.0000          .0000       10.000    
     3 'Normalizat'    .69100       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95658       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.

 FCN=   5055.111     FROM MIGRAD    STATUS=CONVERGED    254 CALLS      400 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .74171E-01    .17657        .36285E-02    .31847E-02
   2  Index         6.5627        1.1305        .27435       -.62674E-04
   3  Normalizat    .65807        .22961        .28370E-03    .93089E-04
   4  Prefactor     .97560        .19744        .21443E-03    .10338E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0741713
  Index      = 6.56272
  Normalizat = 0.658072
  Prefactor  = 0.975598
 **********
 **   18 **HESSE 
 **********

 FCN=   5055.111     FROM HESSE     STATUS=OK            29 CALLS      429 TOTAL
                     EDM=   .51E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .74171E-01    .34031        .38117E-04   -1.5654    
   2  Index         6.5627        2.8790        .14931E-01    2.8237    
   3  Normalizat    .65807        .22658        .11348E-04   -1.0557    
   4  Prefactor     .97560        .19646        .42886E-04   -.93547    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.09975e-11
Minuit parameter uncertainties:
  1  0.317538
  2  3.09306
  3  0.226906
  4  0.1966
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/857701': 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) = 5055.11134647
delta logL = 0.141887699682

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  9.756e-01  1.966e-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.581e-01  2.269e-01  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/857701/cmap_HighResolution_679190401_679449601_4FGL_J2236.4-2309_daily_bin1697.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.15e-03', job_status='DONE', photon_flux_upper_limit='9.06e-08', time_completed='2022-07-14 00:49:24.145634', job_id='857701', GAL2='0.98', fit_tolerance='1e-08', EG2='0.66', EG='0.69', time_epoch_completed='1657784964.15', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='1.42e-01', ts2='0.30', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='1697' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 14 00:49:24 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 857701: <4FGL_J2236.4-2309_daily_bin1697> in cluster <slac> Done

Job <4FGL_J2236.4-2309_daily_bin1697> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jul 14 00:35:52 2022
Job was executed on host(s) <bullet0228>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jul 14 00:35:53 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jul 14 00:35:53 2022
Terminated at Thu Jul 14 00:49:24 2022
Results reported at Thu Jul 14 00:49:24 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin1697 339.125 -23.1552 679190401 679449601 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 :                                   576.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             298.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   811 sec.
    Turnaround time :                            812 sec.

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

