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


Performing analysis on: 4FGL_J1013.7+3444_daily_bin1718
RA = 153.449, Dec = 34.7384
tmin = 684633601, tmax = 684892801
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='90424', job_status='RUN', time_executed='2022-09-16 15:12:13.842340', time_epoch_executed='1663366333.84' WHERE source_name='4FGL J1013.7+3444' and cadence='daily' and bin_id='1718'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/90424

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/90424/ft1_4FGL_J1013.7+3444_daily_bin1718.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/90424/ft2_4FGL_J1013.7+3444_daily_bin1718.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/90424/ft1_4FGL_J1013.7+3444_daily_bin1718.fits outfile=/scratch/kocevski/90424/ft1_filteredMKT_4FGL_J1013.7+3444_daily_bin1718.fits ra=153.449 dec=34.7384 rad=12.0 tmin=684633601.0 tmax=684892801.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.21
user 3.00
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/90424/ft2_4FGL_J1013.7+3444_daily_bin1718.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/90424/ft2_4FGL_J1013.7+3444_daily_bin1718.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/90424/ft1_filteredMKT_4FGL_J1013.7+3444_daily_bin1718.fits evtable="EVENTS" outfile="/scratch/kocevski/90424/ft1_filtered_4FGL_J1013.7+3444_daily_bin1718.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.52
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 288

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/90424/ft1_filtered_4FGL_J1013.7+3444_daily_bin1718.fits" evtable="EVENTS" scfile=/scratch/kocevski/90424/ft2_4FGL_J1013.7+3444_daily_bin1718.fits sctable="SC_DATA" outfile=/scratch/kocevski/90424/ltcube_684633601_684892801_4FGL_J1013.7+3444_daily_bin1718.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/90424/ft2_4FGL_J1013.7+3444_daily_bin1718.fits
.....................!
real 15.57
user 15.20
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/90424/ft1_filtered_4FGL_J1013.7+3444_daily_bin1718.fits evtable="EVENTS" scfile=/scratch/kocevski/90424/ft2_4FGL_J1013.7+3444_daily_bin1718.fits sctable="SC_DATA" expcube=/scratch/kocevski/90424/ltcube_684633601_684892801_4FGL_J1013.7+3444_daily_bin1718.fits outfile=/scratch/kocevski/90424/expmap_684633601_684892801_4FGL_J1013.7+3444_daily_bin1718.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/90424/ltcube_684633601_684892801_4FGL_J1013.7+3444_daily_bin1718.fits
.....................!
real 193.43
user 187.64
sys 5.41

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

Setting source of interest to:
4FGL J1013.7+3444 @ 153.449 34.7384

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/90424/ft1_filtered_4FGL_J1013.7+3444_daily_bin1718.fits scfile=/scratch/kocevski/90424/ft2_4FGL_J1013.7+3444_daily_bin1718.fits outfile=/scratch/kocevski/90424/cmap_684633601_684892801_4FGL_J1013.7+3444_daily_bin1718.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=153.449 yref=34.7384 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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/90424/ft1_filtered_4FGL_J1013.7+3444_daily_bin1718.fits scfile=/scratch/kocevski/90424/ft2_4FGL_J1013.7+3444_daily_bin1718.fits outfile=/scratch/kocevski/90424/cmap_HighResolution_684633601_684892801_4FGL_J1013.7+3444_daily_bin1718.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=153.449 yref=34.7384 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.57
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/90424/ft1_filtered_4FGL_J1013.7+3444_daily_bin1718.fits evtable="EVENTS" scfile=/scratch/kocevski/90424/ft2_4FGL_J1013.7+3444_daily_bin1718.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/90424/Model_4FGL_J1013.7+3444_daily_bin1718.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/90424/ft1_filtered_4FGL_J1013.7+3444_daily_bin1718.fits.....................!
real 34.68
user 33.40
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/90424/ft1_filtered_4FGL_J1013.7+3444_daily_bin1718.fits', '/scratch/kocevski/90424/ft2_4FGL_J1013.7+3444_daily_bin1718.fits', expMap='/scratch/kocevski/90424/expmap_684633601_684892801_4FGL_J1013.7+3444_daily_bin1718.fits', expCube='/scratch/kocevski/90424/ltcube_684633601_684892801_4FGL_J1013.7+3444_daily_bin1718.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/90424/Model_4FGL_J1013.7+3444_daily_bin1718.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1013.7+3444'

4FGL J1013.7+3444
   Spectrum: PowerLaw
278    Prefactor:  1.162e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
279        Index:  2.591e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
280        Scale:  6.948e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/90424/ft1_filtered_4FGL_J1013.7+3444_daily_bin1718.fits
Spacecraft file(s): /scratch/kocevski/90424/ft2_4FGL_J1013.7+3444_daily_bin1718.fits
Exposure map: /scratch/kocevski/90424/expmap_684633601_684892801_4FGL_J1013.7+3444_daily_bin1718.fits
Exposure cube: /scratch/kocevski/90424/ltcube_684633601_684892801_4FGL_J1013.7+3444_daily_bin1718.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/90424/Model_4FGL_J1013.7+3444_daily_bin1718.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) = 3264.56645051

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.8326       1.0000          .0000       .10000E+07
     2 'Prefactor '    .88818E-09   1.0000          .0000       .10000E+07
     3 'norm      '    .63949E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    30.085       1.0000          .0000       .10000E+07
     5 'Prefactor '    .12212E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .76906E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .33124E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10547E-08   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.9016       1.0000          .0000       .10000E+07
    10 'norm      '    .86542E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    .44964E-08   1.0000          .0000       .10000E+07
    12 'Prefactor '    .66613E-09   1.0000          .0000       .10000E+07
    13 'norm      '    7.1854       1.0000          .0000       .10000E+07
    14 'Prefactor '    .20911E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
    16 'Prefactor '    .13878E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    26.009       1.0000          .0000       .10000E+07
    18 'Prefactor '    15.121       1.0000          .0000       .10000E+07
    19 'Prefactor '    .49960E-09   1.0000          .0000       .10000E+07
    20 'norm      '    2.6411       1.0000          .0000       .10000E+07
    21 'Prefactor '    89.630       1.0000          .0000       .10000E+07
    22 'Prefactor '    .92037E-07   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0728       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1173       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3264.563     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     2384 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.8342        10.580        .48928E-06   -.50949E-02
   2  Prefactor     .55511E-10    1.9354       -.11493E-06** at limit **
   3  norm          .61057E-06    5.0397       -.15261E-06** at limit **
   4  Prefactor     30.121        2.5680       -.37420E-07    .45159E-01
   5  Prefactor     .93187E-06    5.8453       -.22710E-06** at limit **
   6  Prefactor     .13434E-07    24.132        .23161E-06** at limit **
   7  Prefactor     .10683E-05    4.8442        .84811E-06** at limit **
   8  Prefactor     .12623E-06    4.7830        .60116E-06** at limit **
   9  Prefactor     4.9025        4.1366        .13193E-06    .37747E-04
  10  norm          .39441E-05    13.437        .10040E-05** at limit **
  11  Prefactor     .44131E-07    3.4387        .37661E-06** at limit **
  12  Prefactor     .49960E-09    6.7959       -.67535E-06** at limit **
  13  norm          7.1861        8.9466        .71807E-07   -.22901E-04
  14  Prefactor     .86986E-07    27.030        .17712E-06** at limit **
  15  Prefactor     .10267E-05    9.1494        .72633E-06** at limit **
  16  Prefactor     .22204E-09    5.2141        .69327E-06** at limit **
  17  Prefactor     26.023        2.5464       -.37844E-07    .56722E-01
  18  Prefactor     15.066        3.5753       -.65907E-07    .72077E-01
  19  Prefactor     .17680E-05    6.7466        .95304E-06** at limit **
  20  norm          2.6409        .91123       -.80438E-10    .15107E-03
  21  Prefactor     89.628        1.0048       -.55825E-09    .26591E-02
  22  Prefactor     .93181E-06    29.219        .13496E-05** at limit **
  23  Normalizat    1.0725        .26913        .62795E-05    .14678E-03
  24  Prefactor     1.1174        .31935       -.22266E-04    .17915E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.83416
  Prefactor  = 5.55112e-11
  norm       = 6.10567e-07
  Prefactor  = 30.1209
  Prefactor  = 9.31866e-07
  Prefactor  = 1.34337e-08
  Prefactor  = 1.06831e-06
  Prefactor  = 1.26232e-07
  Prefactor  = 4.90254
  norm       = 3.94407e-06
  Prefactor  = 4.41314e-08
  Prefactor  = 4.996e-10
  norm       = 7.18611
  Prefactor  = 8.6986e-08
  Prefactor  = 1.02673e-06
  Prefactor  = 2.22045e-10
  Prefactor  = 26.0228
  Prefactor  = 15.0663
  Prefactor  = 1.76797e-06
  norm       = 2.64092
  Prefactor  = 89.6276
  Prefactor  = 9.3181e-07
  Normalizat = 1.07253
  Prefactor  = 1.11738
 **********
 **   18 **HESSE 
 **********

 FCN=   3264.563     FROM HESSE     STATUS=OK           437 CALLS     2821 TOTAL
                     EDM=   .15E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.8342        10.619        .38360E-03   -1.5656    
   2  Prefactor     .55511E-10    1.9333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .61057E-06    10.428        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     30.121        43.841        .18234E-03   -1.5598    
   5  Prefactor     .93187E-06    9.7102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .13434E-07    51.645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10683E-05    15.826        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .12623E-06    7.7885        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.9025        4.1498        .45408E-03   -1.5664    
  10  norm          .39441E-05    21.241        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .44131E-07    8.2862        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .49960E-09    6.8505        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          7.1861        8.9506        .37397E-03   -1.5654    
  14  Prefactor     .86986E-07    51.431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10267E-05    13.501        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .22204E-09    5.2078        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     26.023        68.564        .19612E-03   -1.5606    
  18  Prefactor     15.066        639.08        .25731E-03   -1.5630    
  19  Prefactor     .17680E-05    16.487        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.6409        .92982        .62712E-03   -1.5675    
  21  Prefactor     89.628        63.876        .10563E-03   -1.5519    
  22  Prefactor     .93181E-06    32.279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0725        .23611        .39232E-01   -.90639    
  24  Prefactor     1.1174        .27601        .64201E-01   -.88913    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48463e-05
Minuit parameter uncertainties:
  1  10.6188
  2  1.88798e-05
  3  0.00504658
  4  43.8418
  5  0.00601627
  6  0.00166471
  7  0.00822371
  8  0.00198296
  9  4.14978
  10  0.0183061
  11  0.00120968
  12  0.000118648
  13  8.95066
  14  0.00423076
  15  0.00744652
  16  6.98759e-05
  17  68.5662
  18  196.274
  19  0.0107979
  20  0.929824
  21  63.8764
  22  0.0109686
  23  0.236342
  24  0.276368
Done.

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

Extracting fit parameters...

4FGL J1013.7+3444
   Spectrum: PowerLaw
278    Prefactor:  4.413e-08  1.210e-03  0.000e+00  1.000e+06 ( 1.000e-12)
279        Index:  2.591e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
280        Scale:  6.948e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
599    Prefactor:  1.117e+00  2.764e-01  0.000e+00  1.000e+01 ( 1.000e+00)
600        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
601        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
598   Normalization:  1.073e+00  2.363e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 153.449 34.738
Photon Flux Upper Limit: 1.31e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.03e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/90424/likelihoodResults_684633601_684892801_4FGL_J1013.7+3444_daily_bin1718.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) = 3264.56353883
delta logL = -0.000711878664788

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3264.34591226
delta logL = 0.216914694785

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3264.346     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      274 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .78912E-01    2.6822        .55508E-03** at limit **
   2  Index         5.2800        7.1805        .15347        .69612E-04
   3  Normalizat    1.0111        .45843E-01    .45525E-01   -.72220E-04
   4  Prefactor     1.1623        .54976E-01    .63136E-01   -.25618E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0789121
  Index      = 5.27995
  Normalizat = 1.01111
  Prefactor  = 1.16233
 **********
 **   18 **HESSE 
 **********

 FCN=   3264.346     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      309 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .78912E-01    9.6951        .25351E-04   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.2800        6.6054        .78239E-02    .56020E-01
   3  Normalizat    1.0111        .19508        .24873E-03   -.92659    
   4  Prefactor     1.1623        .22848        .27925E-03   -.87498    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.50452e-10
Minuit parameter uncertainties:
  1  1.74936
  2  12.8362
  3  0.195216
  4  0.228671
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/90424': 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) = 3264.34591121
delta logL = 0.216915742634

Extracting fit parameters...

4FGL J1013.7+3444
   Spectrum: PowerLaw
278    Prefactor:  7.891e-02  1.749e+00  0.000e+00  1.000e+06 ( 1.000e-12)
279        Index:  5.280e+00  1.284e+01  0.000e+00  1.000e+01 (-1.000e+00)
280        Scale:  6.948e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
599    Prefactor:  1.162e+00  2.287e-01  0.000e+00  1.000e+01 ( 1.000e+00)
600        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
601        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
598   Normalization:  1.011e+00  1.952e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 153.449 34.738

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/90424/cmap_HighResolution_684633601_684892801_4FGL_J1013.7+3444_daily_bin1718.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', job_status='DONE', photon_flux_upper_limit='1.31e-07', time_completed='2022-09-16 15:20:41.479033', job_id='90424', GAL2='1.16', fit_tolerance='1e-08', EG2='1.01', EG='1.07', time_epoch_completed='1663366841.48', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='2.17e-01', ts2='0.47', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1718' AND source_name='4FGL J1013.7+3444' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:20:41 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0123>
Subject: Job 90424: <4FGL_J1013.7+3444_daily_bin1718> in cluster <slac> Done

Job <4FGL_J1013.7+3444_daily_bin1718> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 15:10:31 2022
Job was executed on host(s) <bullet0123>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:11:45 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 15:11:45 2022
Terminated at Fri Sep 16 15:20:42 2022
Results reported at Fri Sep 16 15:20:42 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1013.7+3444_daily_bin1718 153.449 34.7384 684633601 684892801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1013.7+3444 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   510.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             311.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   536 sec.
    Turnaround time :                            611 sec.

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

