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


Performing analysis on: 4FGL_J0239.5+1326_daily_bin1742
RA = 39.8847, Dec = 13.4366
tmin = 690854401, tmax = 691113601
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='217463', job_status='RUN', time_executed='2022-11-26 00:14:33.661663', time_epoch_executed='1669450473.66' WHERE source_name='4FGL J0239.5+1326' and cadence='daily' and bin_id='1742'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/217463

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/217463/ft1_4FGL_J0239.5+1326_daily_bin1742.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/217463/ft2_4FGL_J0239.5+1326_daily_bin1742.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/217463/ft1_4FGL_J0239.5+1326_daily_bin1742.fits outfile=/scratch/kocevski/217463/ft1_filteredMKT_4FGL_J0239.5+1326_daily_bin1742.fits ra=39.8847 dec=13.4366 rad=12.0 tmin=690854401.0 tmax=691113601.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.88
user 2.68
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/217463/ft2_4FGL_J0239.5+1326_daily_bin1742.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/217463/ft2_4FGL_J0239.5+1326_daily_bin1742.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/217463/ft1_filteredMKT_4FGL_J0239.5+1326_daily_bin1742.fits evtable="EVENTS" outfile="/scratch/kocevski/217463/ft1_filtered_4FGL_J0239.5+1326_daily_bin1742.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.51
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 82

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/217463/ft1_filtered_4FGL_J0239.5+1326_daily_bin1742.fits" evtable="EVENTS" scfile=/scratch/kocevski/217463/ft2_4FGL_J0239.5+1326_daily_bin1742.fits sctable="SC_DATA" outfile=/scratch/kocevski/217463/ltcube_690854401_691113601_4FGL_J0239.5+1326_daily_bin1742.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/217463/ft2_4FGL_J0239.5+1326_daily_bin1742.fits
.....................!
real 14.36
user 13.94
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/217463/ft1_filtered_4FGL_J0239.5+1326_daily_bin1742.fits evtable="EVENTS" scfile=/scratch/kocevski/217463/ft2_4FGL_J0239.5+1326_daily_bin1742.fits sctable="SC_DATA" expcube=/scratch/kocevski/217463/ltcube_690854401_691113601_4FGL_J0239.5+1326_daily_bin1742.fits outfile=/scratch/kocevski/217463/expmap_690854401_691113601_4FGL_J0239.5+1326_daily_bin1742.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/217463/ltcube_690854401_691113601_4FGL_J0239.5+1326_daily_bin1742.fits
.....................!
real 192.55
user 186.60
sys 5.40

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 153 point sources and 0 extended sources

Setting source of interest to:
4FGL J0239.5+1326 @ 39.8847 13.4366

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/217463/ft1_filtered_4FGL_J0239.5+1326_daily_bin1742.fits scfile=/scratch/kocevski/217463/ft2_4FGL_J0239.5+1326_daily_bin1742.fits outfile=/scratch/kocevski/217463/cmap_690854401_691113601_4FGL_J0239.5+1326_daily_bin1742.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=39.8847 yref=13.4366 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/217463/ft1_filtered_4FGL_J0239.5+1326_daily_bin1742.fits scfile=/scratch/kocevski/217463/ft2_4FGL_J0239.5+1326_daily_bin1742.fits outfile=/scratch/kocevski/217463/cmap_HighResolution_690854401_691113601_4FGL_J0239.5+1326_daily_bin1742.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=39.8847 yref=13.4366 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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/217463/ft1_filtered_4FGL_J0239.5+1326_daily_bin1742.fits evtable="EVENTS" scfile=/scratch/kocevski/217463/ft2_4FGL_J0239.5+1326_daily_bin1742.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/217463/Model_4FGL_J0239.5+1326_daily_bin1742.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/217463/ft1_filtered_4FGL_J0239.5+1326_daily_bin1742.fits.....................!
real 24.10
user 22.79
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/217463/ft1_filtered_4FGL_J0239.5+1326_daily_bin1742.fits', '/scratch/kocevski/217463/ft2_4FGL_J0239.5+1326_daily_bin1742.fits', expMap='/scratch/kocevski/217463/expmap_690854401_691113601_4FGL_J0239.5+1326_daily_bin1742.fits', expCube='/scratch/kocevski/217463/ltcube_690854401_691113601_4FGL_J0239.5+1326_daily_bin1742.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/217463/Model_4FGL_J0239.5+1326_daily_bin1742.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0239.5+1326'

4FGL J0239.5+1326
   Spectrum: PowerLaw
248    Prefactor:  3.221e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
249        Index:  2.184e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
250        Scale:  2.311e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/217463/ft1_filtered_4FGL_J0239.5+1326_daily_bin1742.fits
Spacecraft file(s): /scratch/kocevski/217463/ft2_4FGL_J0239.5+1326_daily_bin1742.fits
Exposure map: /scratch/kocevski/217463/expmap_690854401_691113601_4FGL_J0239.5+1326_daily_bin1742.fits
Exposure cube: /scratch/kocevski/217463/ltcube_690854401_691113601_4FGL_J0239.5+1326_daily_bin1742.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/217463/Model_4FGL_J0239.5+1326_daily_bin1742.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) = 985.22078379

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.114       1.0000          .0000       .10000E+07
     2 'Prefactor '    18.431       1.0000          .0000       .10000E+07
     3 'norm      '    6.3741       1.0000          .0000       .10000E+07
     4 'Prefactor '    17.382       1.0000          .0000       .10000E+07
     5 'Prefactor '    7.2135       1.0000          .0000       .10000E+07
     6 'Prefactor '    67.352       1.0000          .0000       .10000E+07
     7 'Prefactor '    129.02       1.0000          .0000       .10000E+07
     8 'Prefactor '    264.97       1.0000          .0000       .10000E+07
     9 'Prefactor '    .13929E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    89.127       1.0000          .0000       .10000E+07
    11 'Prefactor '    .16964E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .85213       1.0000          .0000       .10000E+07
    13 'norm      '    .48850E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .82898E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    13.977       1.0000          .0000       .10000E+07
    16 'norm      '    .29231E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    39.906       1.0000          .0000       .10000E+07
    18 'Prefactor '    .61551E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .75239E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    1.9300       1.0000          .0000       .10000E+07
    21 'Prefactor '    .88766E-01   1.0000          .0000       .10000E+07
    22 'norm      '    25.415       1.0000          .0000       .10000E+07
    23 'norm      '    146.90       1.0000          .0000       .10000E+07
    24 'norm      '    .18722E-03   1.0000          .0000       .10000E+07
    25 'Prefactor '    .17213E-01   1.0000          .0000       .10000E+07
    26 'norm      '    .18962E-01   1.0000          .0000       .10000E+07
    27 'Prefactor '    42.982       1.0000          .0000       .10000E+07
    28 'Prefactor '    271.80       1.0000          .0000       .10000E+07
    29 'Normalizat'    .84368E-01   1.0000         .10000E-01   10.000    
    30 'Prefactor '    .59684       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4880E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   985.1711     FROM MIGRAD    STATUS=CONVERGED    303 CALLS     2998 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.346        16.295        .69984E-07   -.16664E-02
   2  Prefactor     18.823        10.526       -.23259E-07   -.27549E-02
   3  norm          6.6442        16.063        .21420E-06   -.35232E-03
   4  Prefactor     17.581        20.137        .35089E-07   -.66249E-02
   5  Prefactor     7.2379        7.1673       -.56308E-07    .87405E-03
   6  Prefactor     69.673        45.182       -.57489E-06   -.17415    
   7  Prefactor     130.79        38.651       -.20654E-06    .12038    
   8  Prefactor     273.52        334.60        .15017E-05   -.91692E-01
   9  Prefactor     .13262E-06    60.332        .74384E-07** at limit **
  10  Prefactor     89.080        46.145       -.56239E-06   -.21278    
  11  Prefactor     .48491E-04    108.45       -.94639E-06** at limit **
  12  Prefactor     .94746E-04    107.31       -.11905E-05** at limit **
  13  norm           .0000        1.3041       -.27697E-07** at limit **
  14  Prefactor     .17346E-03    71.760       -.82741E-06** at limit **
  15  Prefactor     20.213        47.600        .83187E-06   -.16298E-01
  16  norm           .0000        21.243       -.34393E-07** at limit **
  17  Prefactor     50.436        105.98       -.23979E-05   -.14097E-01
  18  Prefactor     .17058E-04    83.019       -.13336E-05** at limit **
  19  Prefactor      .0000        17.105       -.97521E-07** at limit **
  20  Prefactor     .37220E-04    199.23       -.12645E-05** at limit **
  21  Prefactor     .55511E-10    49.355       -.12645E-06** at limit **
  22  norm          22.644        54.051        .23850E-05   -.35877E-01
  23  norm          146.20        28.553       -.21632E-06    .15821    
  24  norm          .11102E-09    24.701       -.22900E-07** at limit **
  25  Prefactor      .0000        41.953        .34114E-06** at limit **
  26  norm           .0000        44.525       -.11407E-06** at limit **
  27  Prefactor     44.751        47.198        .10178E-05   -.49617E-01
  28  Prefactor     268.32        129.18       -.51415E-06   -.52805E-01
  29  Normalizat    .53232E-01    5.9997        .33046E-04   -.59424E-07
  30  Prefactor     .59713        .28073       -.39017E-05   -.95099E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.3457
  Prefactor  = 18.8232
  norm       = 6.64424
  Prefactor  = 17.5808
  Prefactor  = 7.23792
  Prefactor  = 69.6733
  Prefactor  = 130.791
  Prefactor  = 273.515
  Prefactor  = 1.32616e-07
  Prefactor  = 89.08
  Prefactor  = 4.84907e-05
  Prefactor  = 9.47462e-05
  norm       = 0
  Prefactor  = 0.000173457
  Prefactor  = 20.2126
  norm       = 0
  Prefactor  = 50.4363
  Prefactor  = 1.70582e-05
  Prefactor  = 0
  Prefactor  = 3.722e-05
  Prefactor  = 5.55112e-11
  norm       = 22.6441
  norm       = 146.199
  norm       = 1.11022e-10
  Prefactor  = 0
  norm       = 0
  Prefactor  = 44.7511
  Prefactor  = 268.316
  Normalizat = 0.0532324
  Prefactor  = 0.597128
 **********
 **   18 **HESSE 
 **********

 FCN=   985.1711     FROM HESSE     STATUS=NOT POSDEF   636 CALLS     3634 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.346        29.967        .22881E-03   -1.5620    
   2  Prefactor     18.823        32.480        .23302E-03   -1.5621    
   3  norm          6.6442        26.678        .39732E-03   -1.5656    
   4  Prefactor     17.581        46.296        .23996E-03   -1.5624    
   5  Prefactor     7.2379        7.5442        .37323E-03   -1.5654    
   6  Prefactor     69.673        62.874        .12186E-03   -1.5541    
   7  Prefactor     130.79        444.37        .88046E-04   -1.5479    
   8  Prefactor     273.52        552.57        .61441E-04   -1.5377    
   9  Prefactor     .13262E-06    47.845        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     89.080        60.529        .10593E-03   -1.5519    
  11  Prefactor     .48491E-04    94.945        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .94746E-04    185.85        .49128E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        1.0192        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .17346E-03    106.70        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     20.213        333.91        .26765E-03   -1.5618    
  16  norm           .0000        16.973        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     50.436        202.53        .15832E-03   -1.5566    
  18  Prefactor     .17058E-04    118.09        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        13.624        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .37220E-04    424.74        .74735E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .55511E-10    40.045        .14241E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          22.644        74.421        .19840E-03   -1.5613    
  23  norm          146.20        128.41        .82513E-04   -1.5466    
  24  norm          .11102E-09    19.774        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor      .0000        33.458        .17227E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm           .0000        35.536        .17106E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     44.751        78.218        .15254E-03   -1.5574    
  28  Prefactor     268.32        296.40        .60664E-04   -1.5380    
  29  Normalizat    .53232E-01    6.9324        .22332       -1.4391    
  30  Prefactor     .59713        .98491        .41011E-01   -1.0771    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.17431e-05
Minuit parameter uncertainties:
  1  29.9669
  2  32.4806
  3  26.6277
  4  46.297
  5  7.54419
  6  62.8742
  7  444.486
  8  552.677
  9  0.00503804
  10  60.5295
  11  0.135707
  12  0.2654
  13  2.79709e-06
  14  0.272091
  15  164.317
  16  2.58359e-05
  17  202.147
  18  0.0897642
  19  3.64274e-05
  20  0.251484
  21  7.32299e-05
  22  74.4239
  23  128.416
  24  8.65805e-05
  25  4.22008e-05
  26  3.68982e-05
  27  78.2198
  28  296.412
  29  3.31904
  30  1.01574
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 985.171058603

Extracting fit parameters...

4FGL J0239.5+1326
   Spectrum: PowerLaw
248    Prefactor:  1.735e-04  2.721e-01  0.000e+00  1.000e+06 ( 1.000e-14)
249        Index:  2.184e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
250        Scale:  2.311e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
485    Prefactor:  5.971e-01  1.016e+00  0.000e+00  1.000e+01 ( 1.000e+00)
486        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
487        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
484   Normalization:  5.323e-02  3.319e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 39.885 13.437
Photon Flux Upper Limit: 4.56e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.47e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/217463/likelihoodResults_690854401_691113601_4FGL_J0239.5+1326_daily_bin1742.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) = 985.174636011
delta logL = -0.00357740853826

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 985.171064767
delta logL = -6.16429019829e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   985.1711     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      242 TOTAL
                     EDM=   .38E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    111.40       -.34430E-06** at limit **
   2  Index         .92599        8.7380       -.33656E-04   -.19635E-11
   3  Normalizat    .53236E-01    1.6654       -.29428E-04    .44008E-05
   4  Prefactor     .59713        .25548       -.31763E-05   -.44863E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Index      = 0.925986
  Normalizat = 0.0532364
  Prefactor  = 0.597127
 **********
 **   18 **HESSE 
 **********

 FCN=   985.1711     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      279 TOTAL
                     EDM=   .17E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    9.3175        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .92599        9.1836        .50000       -.95239    
   3  Normalizat    .53236E-01    .31694E-02    .22330       -1.4391    
   4  Prefactor     .59713        .18262E-02    .41025E-01   -1.0771    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.68876e-13
Minuit parameter uncertainties:
  1  5.7667e-05
  2  225796
  3  0.00316944
  4  0.00182618
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/217463': 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) = 985.171057952
delta logL = 6.50441847938e-07

Extracting fit parameters...

4FGL J0239.5+1326
   Spectrum: PowerLaw
248    Prefactor:  1.110e-10  5.767e-05  0.000e+00  1.000e+06 ( 1.000e-14)
249        Index:  9.260e-01  2.258e+05  0.000e+00  1.000e+01 (-1.000e+00)
250        Scale:  2.311e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
485    Prefactor:  5.971e-01  1.826e-03  0.000e+00  1.000e+01 ( 1.000e+00)
486        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
487        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
484   Normalization:  5.324e-02  3.169e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 39.885 13.437

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/217463/cmap_HighResolution_690854401_691113601_4FGL_J0239.5+1326_daily_bin1742.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.47e-02', job_status='DONE', photon_flux_upper_limit='4.56e-07', time_completed='2022-11-26 00:20:59.252613', job_id='217463', GAL2='0.60', fit_tolerance='1e-08', EG2='0.05', EG='0.05', time_epoch_completed='1669450859.25', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='102', GAL='0.60', dlogl='6.50e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1742' AND source_name='4FGL J0239.5+1326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Nov 26 00:20:59 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0258>
Subject: Job 217463: <4FGL_J0239.5+1326_daily_bin1742> in cluster <slac> Done

Job <4FGL_J0239.5+1326_daily_bin1742> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Nov 26 00:05:03 2022
Job was executed on host(s) <bullet0258>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Nov 26 00:13:11 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Nov 26 00:13:11 2022
Terminated at Sat Nov 26 00:21:00 2022
Results reported at Sat Nov 26 00:21:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0239.5+1326_daily_bin1742 39.8847 13.4366 690854401 691113601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0239.5+1326 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   387.54 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             314.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   468 sec.
    Turnaround time :                            957 sec.

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

