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


Performing analysis on: 4FGL_J1013.7+3444_daily_bin1713
RA = 153.449, Dec = 34.7384
tmin = 683337601, tmax = 683596801
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='90416', job_status='RUN', time_executed='2022-09-16 15:12:20.489986', time_epoch_executed='1663366340.49' WHERE source_name='4FGL J1013.7+3444' and cadence='daily' and bin_id='1713'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/90416

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/90416/ft1_4FGL_J1013.7+3444_daily_bin1713.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/90416/ft2_4FGL_J1013.7+3444_daily_bin1713.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/90416/ft1_4FGL_J1013.7+3444_daily_bin1713.fits outfile=/scratch/kocevski/90416/ft1_filteredMKT_4FGL_J1013.7+3444_daily_bin1713.fits ra=153.449 dec=34.7384 rad=12.0 tmin=683337601.0 tmax=683596801.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.54
user 3.29
sys 0.22

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

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

Number of photons that the gtmktime cut: 525

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/90416/ft1_filtered_4FGL_J1013.7+3444_daily_bin1713.fits" evtable="EVENTS" scfile=/scratch/kocevski/90416/ft2_4FGL_J1013.7+3444_daily_bin1713.fits sctable="SC_DATA" outfile=/scratch/kocevski/90416/ltcube_683337601_683596801_4FGL_J1013.7+3444_daily_bin1713.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/90416/ft2_4FGL_J1013.7+3444_daily_bin1713.fits
.....................!
real 14.97
user 14.55
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/90416/ft1_filtered_4FGL_J1013.7+3444_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/90416/ft2_4FGL_J1013.7+3444_daily_bin1713.fits sctable="SC_DATA" expcube=/scratch/kocevski/90416/ltcube_683337601_683596801_4FGL_J1013.7+3444_daily_bin1713.fits outfile=/scratch/kocevski/90416/expmap_683337601_683596801_4FGL_J1013.7+3444_daily_bin1713.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/90416/ltcube_683337601_683596801_4FGL_J1013.7+3444_daily_bin1713.fits
.....................!
real 191.93
user 186.18
sys 5.22

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/90416/ft1_filtered_4FGL_J1013.7+3444_daily_bin1713.fits scfile=/scratch/kocevski/90416/ft2_4FGL_J1013.7+3444_daily_bin1713.fits outfile=/scratch/kocevski/90416/cmap_683337601_683596801_4FGL_J1013.7+3444_daily_bin1713.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.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/90416/ft1_filtered_4FGL_J1013.7+3444_daily_bin1713.fits scfile=/scratch/kocevski/90416/ft2_4FGL_J1013.7+3444_daily_bin1713.fits outfile=/scratch/kocevski/90416/cmap_HighResolution_683337601_683596801_4FGL_J1013.7+3444_daily_bin1713.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/90416/ft1_filtered_4FGL_J1013.7+3444_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/90416/ft2_4FGL_J1013.7+3444_daily_bin1713.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/90416/Model_4FGL_J1013.7+3444_daily_bin1713.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/90416/ft1_filtered_4FGL_J1013.7+3444_daily_bin1713.fits.....................!
real 52.20
user 50.85
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/90416/ft1_filtered_4FGL_J1013.7+3444_daily_bin1713.fits', '/scratch/kocevski/90416/ft2_4FGL_J1013.7+3444_daily_bin1713.fits', expMap='/scratch/kocevski/90416/expmap_683337601_683596801_4FGL_J1013.7+3444_daily_bin1713.fits', expCube='/scratch/kocevski/90416/ltcube_683337601_683596801_4FGL_J1013.7+3444_daily_bin1713.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/90416/Model_4FGL_J1013.7+3444_daily_bin1713.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/90416/ft1_filtered_4FGL_J1013.7+3444_daily_bin1713.fits
Spacecraft file(s): /scratch/kocevski/90416/ft2_4FGL_J1013.7+3444_daily_bin1713.fits
Exposure map: /scratch/kocevski/90416/expmap_683337601_683596801_4FGL_J1013.7+3444_daily_bin1713.fits
Exposure cube: /scratch/kocevski/90416/ltcube_683337601_683596801_4FGL_J1013.7+3444_daily_bin1713.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/90416/Model_4FGL_J1013.7+3444_daily_bin1713.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) = 5957.10537541

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0962       1.0000          .0000       .10000E+07
     2 'Prefactor '    .55804E-05   1.0000          .0000       .10000E+07
     3 'norm      '    .10565       1.0000          .0000       .10000E+07
     4 'Prefactor '    .27611E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .25653E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .10413E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .18165E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    8.1286       1.0000          .0000       .10000E+07
     9 'Prefactor '    .84373       1.0000          .0000       .10000E+07
    10 'norm      '    9.5509       1.0000          .0000       .10000E+07
    11 'Prefactor '    .52825E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .19516E-04   1.0000          .0000       .10000E+07
    13 'norm      '    11.379       1.0000          .0000       .10000E+07
    14 'Prefactor '    4.0234       1.0000          .0000       .10000E+07
    15 'Prefactor '    61.168       1.0000          .0000       .10000E+07
    16 'Prefactor '    .24653       1.0000          .0000       .10000E+07
    17 'Prefactor '    .21518       1.0000          .0000       .10000E+07
    18 'Prefactor '    .18891E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    15.753       1.0000          .0000       .10000E+07
    20 'norm      '    1.5903       1.0000          .0000       .10000E+07
    21 'Prefactor '    .21110E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .61180E-03   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1821       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .90557       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=   5957.084     FROM MIGRAD    STATUS=CONVERGED    154 CALLS     2017 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0667        8.4668        .17408E-05    .47262E-02
   2  Prefactor     .33307E-09    1.6356       -.31070E-06** at limit **
   3  norm          .19834E-06    1.8104       -.71273E-06** at limit **
   4  Prefactor     .12967E-06    11.758       -.35127E-05** at limit **
   5  Prefactor     .90095E-07    16.742        .41385E-06** at limit **
   6  Prefactor     .52180E-08    9.7412        .16377E-05** at limit **
   7  Prefactor     .55511E-10    4.5590       -.12985E-06** at limit **
   8  Prefactor     8.1406        1.1527       -.54204E-07    .16356E-03
   9  Prefactor     .84373        1.7547        .99610E-07   -.32435E-02
  10  norm          9.5233        6.3265        .11190E-05   -.28745E-01
  11  Prefactor     .55511E-10    2.3296        .15166E-06** at limit **
  12  Prefactor      .0000        1.8490        .57800E-07** at limit **
  13  norm          11.396        6.3938       -.15596E-05   -.70950E-01
  14  Prefactor     4.4760        8.2812        .30701E-05   -.63202E-01
  15  Prefactor     61.306        1.8482        .12047E-06   -.42740E-01
  16  Prefactor     .24902        5.0701        .38404E-07** at limit **
  17  Prefactor     .24245E-05    14.573        .28707E-05** at limit **
  18  Prefactor     .72942E-06    55.110       -.14751E-05** at limit **
  19  Prefactor     15.765        1.0967       -.62047E-07   -.13007E-02
  20  norm          1.5903        .36405        .15416E-07    .47094E-01
  21  Prefactor     .31641E-08    5.5140       -.11780E-05** at limit **
  22  Prefactor     .23870E-08    5.0949        .15975E-05** at limit **
  23  Normalizat    1.1823        .21193       -.29583E-05    .24899E-03
  24  Prefactor     .90526        .24597       -.59780E-06    .97334E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.06668
  Prefactor  = 3.33067e-10
  norm       = 1.98341e-07
  Prefactor  = 1.29674e-07
  Prefactor  = 9.00946e-08
  Prefactor  = 5.21805e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 8.14055
  Prefactor  = 0.843728
  norm       = 9.52332
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 11.3957
  Prefactor  = 4.47599
  Prefactor  = 61.3064
  Prefactor  = 0.249023
  Prefactor  = 2.42451e-06
  Prefactor  = 7.29417e-07
  Prefactor  = 15.7648
  norm       = 1.59027
  Prefactor  = 3.16414e-09
  Prefactor  = 2.38698e-09
  Normalizat = 1.18235
  Prefactor  = 0.905257
 **********
 **   18 **HESSE 
 **********

 FCN=   5957.084     FROM HESSE     STATUS=OK           457 CALLS     2474 TOTAL
                     EDM=   .20E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0667        8.5210        .57608E-03   -1.5673    
   2  Prefactor     .33307E-09    1.6346        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .19834E-06    10.726        .92577E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .12967E-06    12.899        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .90095E-07    16.883        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .52180E-08    11.214        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .55511E-10    4.5650        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.1406        12.347        .35142E-03   -1.5651    
   9  Prefactor     .84373        1.7736        .49731E-03   -1.5690    
  10  norm          9.5233        9.3842        .32402E-03   -1.5646    
  11  Prefactor     .55511E-10    2.3248        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        1.8419        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          11.396        8.4217        .29673E-03   -1.5640    
  14  Prefactor     4.4760        112.67        .50250E-03   -1.5666    
  15  Prefactor     61.306        39.028        .12787E-03   -1.5551    
  16  Prefactor     .24902        2.2963        .39729E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .24245E-05    71.401        .11512E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .72942E-06    55.624        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     15.765        15.365        .25208E-03   -1.5629    
  20  norm          1.5903        .36339        .48983E-03   -1.5683    
  21  Prefactor     .31641E-08    5.6614        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .23870E-08    5.2321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1823        .17731        .51683E-01   -.87150    
  24  Prefactor     .90526        .20348        .67555E-01   -.95958    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.9541e-06
Minuit parameter uncertainties:
  1  8.52106
  2  4.78094e-05
  3  0.00291705
  4  0.00258677
  5  0.00246643
  6  0.000484099
  7  3.09418e-05
  8  12.347
  9  1.77363
  10  9.38418
  11  1.9066e-05
  12  8.81117e-07
  13  8.42169
  14  44.9141
  15  39.0277
  16  1.51238
  17  0.0263148
  18  0.0127396
  19  15.3654
  20  0.36339
  21  0.00026856
  22  0.000222601
  23  0.1774
  24  0.20365
Done.

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

Extracting fit parameters...

4FGL J1013.7+3444
   Spectrum: PowerLaw
278    Prefactor:  5.551e-11  1.907e-05  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:  9.053e-01  2.036e-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.182e+00  1.774e-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: 7.46e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.84e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/90416/likelihoodResults_683337601_683596801_4FGL_J1013.7+3444_daily_bin1713.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) = 5957.08967544
delta logL = -0.00545956507813

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 5957.08421588
delta logL = -7.14589987183e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     2 'Index     '    .60912       1.0000          .0000       10.000    
     3 'Normalizat'    1.1824       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90524       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5957.084     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      240 TOTAL
                     EDM=   .29E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .26584        .27156E-02** at limit **
   2  Index         4.0827        1.9673        .98482E-04     .0000    
   3  Normalizat    1.1823        1.1127        .20511E-05   -.15131E-03
   4  Prefactor     .90526        1.2499       -.10449E-05   -.53141E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 4.0827
  Normalizat = 1.18234
  Prefactor  = 0.905262
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5957.084     FROM HESSE     STATUS=FAILED         9 CALLS      249 TOTAL
                     EDM=   .29E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .26584        .27156E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8000        2.3594        .98482E-04   -.18451    
   3  Normalizat    1.1823        1.1127        .20511E-05   -.87150    
   4  Prefactor     .90526        1.2499       -.10449E-05   -.95957    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.8716e-11
Minuit parameter uncertainties:
  1  3.98932e-06
  2  2.02397
  3  1.13621
  4  1.29326
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/90416': 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): 101
logL (Free Index) = 5957.08421587
delta logL = 1.13686837722e-10

Extracting fit parameters...

4FGL J1013.7+3444
   Spectrum: PowerLaw
278    Prefactor:  0.000e+00  3.989e-06  0.000e+00  1.000e+06 ( 1.000e-12)
279        Index:  4.083e+00  2.024e+00  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:  9.053e-01  1.293e+00  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.182e+00  1.136e+00  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/90416/cmap_HighResolution_683337601_683596801_4FGL_J1013.7+3444_daily_bin1713.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.84e-03', job_status='DONE', photon_flux_upper_limit='7.46e-08', time_completed='2022-09-16 15:22:42.974234', job_id='90416', GAL2='0.91', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1663366962.97', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='1.14e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1713' AND source_name='4FGL J1013.7+3444' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:22:43 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 90416: <4FGL_J1013.7+3444_daily_bin1713> in cluster <slac> Done

Job <4FGL_J1013.7+3444_daily_bin1713> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 15:10:30 2022
Job was executed on host(s) <bullet0040>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:11:30 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:30 2022
Terminated at Fri Sep 16 15:22:43 2022
Results reported at Fri Sep 16 15:22:43 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1013.7+3444_daily_bin1713 153.449 34.7384 683337601 683596801 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 :                                   624.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             312.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   673 sec.
    Turnaround time :                            733 sec.

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

