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


Performing analysis on: 4FGL_J2236.4-2309_daily_bin1754
RA = 339.125, Dec = -23.1552
tmin = 693964801, tmax = 694224001
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='658517', job_status='RUN', time_executed='2023-01-01 02:05:22.920330', time_epoch_executed='1672567522.92' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='1754'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/658517

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/658517/ft1_4FGL_J2236.4-2309_daily_bin1754.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/658517/ft2_4FGL_J2236.4-2309_daily_bin1754.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/658517/ft1_4FGL_J2236.4-2309_daily_bin1754.fits outfile=/scratch/kocevski/658517/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1754.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=693964801.0 tmax=694224001.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.99
user 3.71
sys 0.22

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

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

Number of photons that the gtmktime cut: 668

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/658517/ft1_filtered_4FGL_J2236.4-2309_daily_bin1754.fits" evtable="EVENTS" scfile=/scratch/kocevski/658517/ft2_4FGL_J2236.4-2309_daily_bin1754.fits sctable="SC_DATA" outfile=/scratch/kocevski/658517/ltcube_693964801_694224001_4FGL_J2236.4-2309_daily_bin1754.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/658517/ft2_4FGL_J2236.4-2309_daily_bin1754.fits
.....................!
real 13.73
user 13.30
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/658517/ft1_filtered_4FGL_J2236.4-2309_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/658517/ft2_4FGL_J2236.4-2309_daily_bin1754.fits sctable="SC_DATA" expcube=/scratch/kocevski/658517/ltcube_693964801_694224001_4FGL_J2236.4-2309_daily_bin1754.fits outfile=/scratch/kocevski/658517/expmap_693964801_694224001_4FGL_J2236.4-2309_daily_bin1754.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/658517/ltcube_693964801_694224001_4FGL_J2236.4-2309_daily_bin1754.fits
.....................!
real 191.67
user 185.47
sys 5.24

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/658517/ft1_filtered_4FGL_J2236.4-2309_daily_bin1754.fits scfile=/scratch/kocevski/658517/ft2_4FGL_J2236.4-2309_daily_bin1754.fits outfile=/scratch/kocevski/658517/cmap_693964801_694224001_4FGL_J2236.4-2309_daily_bin1754.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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/658517/ft1_filtered_4FGL_J2236.4-2309_daily_bin1754.fits scfile=/scratch/kocevski/658517/ft2_4FGL_J2236.4-2309_daily_bin1754.fits outfile=/scratch/kocevski/658517/cmap_HighResolution_693964801_694224001_4FGL_J2236.4-2309_daily_bin1754.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.59
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/658517/ft1_filtered_4FGL_J2236.4-2309_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/658517/ft2_4FGL_J2236.4-2309_daily_bin1754.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/658517/Model_4FGL_J2236.4-2309_daily_bin1754.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/658517/ft1_filtered_4FGL_J2236.4-2309_daily_bin1754.fits.....................!
real 56.35
user 54.80
sys 1.33

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.515       1.0000          .0000       .10000E+07
     2 'Prefactor '    .15648E-01   1.0000          .0000       .10000E+07
     3 'norm      '    .39467       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.0530       1.0000          .0000       .10000E+07
     5 'Prefactor '    14.055       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.5296       1.0000          .0000       .10000E+07
     7 'Prefactor '    .68368       1.0000          .0000       .10000E+07
     8 'norm      '    23.409       1.0000          .0000       .10000E+07
     9 'Prefactor '    8.3849       1.0000          .0000       .10000E+07
    10 'norm      '    1.7594       1.0000          .0000       .10000E+07
    11 'norm      '    5.2240       1.0000          .0000       .10000E+07
    12 'Prefactor '    .22911       1.0000          .0000       .10000E+07
    13 'Prefactor '    31.802       1.0000          .0000       .10000E+07
    14 'Prefactor '    14.139       1.0000          .0000       .10000E+07
    15 'norm      '    .64460E-05   1.0000          .0000       .10000E+07
    16 'norm      '    .59786E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    25.768       1.0000          .0000       .10000E+07
    18 'Prefactor '    .67356E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .73077E-04   1.0000          .0000       .10000E+07
    20 'norm      '    3.1838       1.0000          .0000       .10000E+07
    21 'Prefactor '    .11479E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .72661       1.0000          .0000       .10000E+07
    23 'Normalizat'    .77868       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2101       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=   7237.305     FROM MIGRAD    STATUS=CONVERGED    186 CALLS     2136 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.812        10.002       -.15649E-06   -.50655E-01
   2  Prefactor     .89612E-06    34.984        .40046E-06** at limit **
   3  norm          .39425        .25105        .11467E-07    .10582E-01
   4  Prefactor     2.2019        11.507        .41008E-07    .12107E-02
   5  Prefactor     14.311        11.794       -.56453E-07    .44475E-01
   6  Prefactor     5.5723        3.6640        .90058E-08   -.18524E-01
   7  Prefactor     .21383E-06    245.42        .21065E-06** at limit **
   8  norm          23.681        11.981       -.99456E-07   -.35739E-01
   9  Prefactor     8.4638        10.856       -.46304E-07   -.27124E-01
  10  norm          1.7623        .76536       -.75965E-08   -.11245E-02
  11  norm          5.2297        2.4319       -.42252E-07   -.34973E-02
  12  Prefactor     .12015E-05    55.677        .56629E-06** at limit **
  13  Prefactor     31.968        8.5415       -.77717E-08   -.17252    
  14  Prefactor     13.829        8.9138       -.89907E-07   -.98084E-02
  15  norm           .0000        2.5708        .40737E-07** at limit **
  16  norm          .11102E-09    1.3947        .10147E-06** at limit **
  17  Prefactor     25.968        2.3882       -.21464E-07    .14061E-02
  18  Prefactor     .61062E-09    4.8290       -.18951E-07** at limit **
  19  Prefactor     .18480E-06    30.767        .24919E-06** at limit **
  20  norm          3.1829        .83226       -.25702E-08    .77879E-02
  21  Prefactor     .14869E-05    51.005        .14324E-06** at limit **
  22  Prefactor     .74959        30.451        .44709E-06   -.17147E-01
  23  Normalizat    .77742        .21436       -.11791E-05    .15875E-03
  24  Prefactor     1.2105        .18806        .26803E-05    .28795E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.812
  Prefactor  = 8.96117e-07
  norm       = 0.394254
  Prefactor  = 2.20187
  Prefactor  = 14.3114
  Prefactor  = 5.57232
  Prefactor  = 2.13829e-07
  norm       = 23.6808
  Prefactor  = 8.4638
  norm       = 1.76228
  norm       = 5.22966
  Prefactor  = 1.20148e-06
  Prefactor  = 31.9676
  Prefactor  = 13.8286
  norm       = 0
  norm       = 1.11022e-10
  Prefactor  = 25.968
  Prefactor  = 6.10623e-10
  Prefactor  = 1.84797e-07
  norm       = 3.18286
  Prefactor  = 1.48692e-06
  Prefactor  = 0.749587
  Normalizat = 0.777418
  Prefactor  = 1.2105
 **********
 **   18 **HESSE 
 **********

 FCN=   7237.305     FROM HESSE     STATUS=OK           465 CALLS     2601 TOTAL
                     EDM=   .39E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.812        18.287        .30874E-03   -1.5642    
   2  Prefactor     .89612E-06    186.36        .17342E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .39425        .24786        .75073E-03   -1.5695    
   4  Prefactor     2.2019        12.942        .72113E-03   -1.5678    
   5  Prefactor     14.311        12.165        .26690E-03   -1.5632    
   6  Prefactor     5.5723        11.453        .42702E-03   -1.5661    
   7  Prefactor     .21383E-06    243.43        .62043E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          23.681        16.705        .20673E-03   -1.5611    
   9  Prefactor     8.4638        11.371        .34596E-03   -1.5650    
  10  norm          1.7623        .76865        .78972E-03   -1.5681    
  11  norm          5.2297        2.4481        .43956E-03   -1.5662    
  12  Prefactor     .12015E-05    60.547        .11279E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     31.968        13.083        .17735E-03   -1.5595    
  14  Prefactor     13.829        11.474        .26611E-03   -1.5634    
  15  norm           .0000        .58179        .29425E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .11102E-09    1.4027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     25.968        21.075        .19704E-03   -1.5606    
  18  Prefactor     .61062E-09    4.8545        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .18480E-06    31.164        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.1829        .86563        .56767E-03   -1.5672    
  21  Prefactor     .14869E-05    52.224        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .74959        36.969        .58574E-03   -1.5691    
  23  Normalizat    .77742        .18460        .68630E-01   -1.0091    
  24  Prefactor     1.2105        .15769        .50680E-01   -.86009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.94901e-07
Minuit parameter uncertainties:
  1  18.287
  2  0.0258464
  3  0.247861
  4  10.6763
  5  12.1655
  6  11.4532
  7  0.0144295
  8  16.7046
  9  11.3707
  10  0.768646
  11  2.44809
  12  0.0170585
  13  13.0826
  14  11.4742
  15  6.46786e-06
  16  2.39037e-05
  17  21.0748
  18  0.000111321
  19  0.00479991
  20  0.865631
  21  0.0176245
  22  10.5285
  23  0.184753
  24  0.157755
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  8.464e+00  1.137e+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:  1.210e+00  1.578e-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.774e-01  1.848e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/658517/likelihoodResults_693964801_694224001_4FGL_J2236.4-2309_daily_bin1754.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) = 7236.03768766
delta logL = 1.26776735746

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7236.01244424
delta logL = 1.29301077938

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4678       1.0000          .0000       .10000E+07
     2 'Index     '    4.7405       1.0000          .0000       10.000    
     3 'Normalizat'    .70308       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2547       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7236.012     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      260 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4480        26.672        .65067E-03    .24846E-01
   2  Index         4.7472        3.8236        .18325        .32562E-03
   3  Normalizat    .70325        .54703E-01    .71805E-01    .22912E-03
   4  Prefactor     1.2546        .49223E-01    .49889E-01   -.20581E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.44803
  Index      = 4.74723
  Normalizat = 0.703248
  Prefactor  = 1.25456
 **********
 **   18 **HESSE 
 **********

 FCN=   7236.012     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      291 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4480        50.008        .81170E-05   -1.5677    
   2  Index         4.7472        7.3596        .68511E-02   -.50576E-01
   3  Normalizat    .70325        .20538        .31780E-03   -1.0376    
   4  Prefactor     1.2546        .18292        .22055E-03   -.84668    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.86031e-09
Minuit parameter uncertainties:
  1  22.1291
  2  7.06326
  3  0.205601
  4  0.183018
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/658517': 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) = 7236.01243542
delta logL = 1.29301960105

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  2.448e+00  2.213e+01  0.000e+00  1.000e+06 ( 1.000e-12)
248        Index:  4.747e+00  7.063e+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.255e+00  1.830e-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.032e-01  2.056e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.50
Ra Dec: 339.125 -23.155
Photon Index (Free Index): 4.75 +/- 7.06
Photon Flux (Free Index): 8.15e-08 +/- 5.82e-08
Energy Flux (Free Index): 1.11e-05 +/- 1.31e-05

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/658517/cmap_HighResolution_693964801_694224001_4FGL_J2236.4-2309_daily_bin1754.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.02e-03', comment='SUCCESS', energy_flux2='1.11e-05', dlogl='1.29e+00', photon_flux2='8.15e-08', job_status='DONE', time_completed='2023-01-01 02:16:01.232517', photon_index_error2='7.06', photon_index2='4.75', ts='0.70', fit_tolerance='1e-08', GAL='1.21', photon_index_error='0.00', photon_flux_upper_limit='1.14e-07', energy_flux_error2='1.31e-05', EG='0.78', time_epoch_completed='1672568161.23', return_code='0', job_id='658517', GAL2='1.25', EG2='0.70', return_code2='102', photon_flux_error2='5.82e-08', ts2='3.50', photon_index='2.74' WHERE bin_id='1754' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan  1 02:16:01 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0265>
Subject: Job 658517: <4FGL_J2236.4-2309_daily_bin1754> in cluster <slac> Done

Job <4FGL_J2236.4-2309_daily_bin1754> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Jan  1 02:00:21 2023
Job was executed on host(s) <bullet0265>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan  1 02:04:29 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan  1 02:04:29 2023
Terminated at Sun Jan  1 02:16:02 2023
Results reported at Sun Jan  1 02:16:02 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin1754 339.125 -23.1552 693964801 694224001 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 :                                   639.13 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             340.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   692 sec.
    Turnaround time :                            941 sec.

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

