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


Performing analysis on: 4FGL_J1013.7+3444_daily_bin1716
RA = 153.449, Dec = 34.7384
tmin = 684115201, tmax = 684374401
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='90421', job_status='RUN', time_executed='2022-09-16 15:11:59.278050', time_epoch_executed='1663366319.28' WHERE source_name='4FGL J1013.7+3444' and cadence='daily' and bin_id='1716'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/90421

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/90421/ft1_4FGL_J1013.7+3444_daily_bin1716.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/90421/ft2_4FGL_J1013.7+3444_daily_bin1716.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/90421/ft1_4FGL_J1013.7+3444_daily_bin1716.fits outfile=/scratch/kocevski/90421/ft1_filteredMKT_4FGL_J1013.7+3444_daily_bin1716.fits ra=153.449 dec=34.7384 rad=12.0 tmin=684115201.0 tmax=684374401.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 4.12
user 3.89
sys 0.21

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

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

Number of photons that the gtmktime cut: 541

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/90421/ft1_filtered_4FGL_J1013.7+3444_daily_bin1716.fits" evtable="EVENTS" scfile=/scratch/kocevski/90421/ft2_4FGL_J1013.7+3444_daily_bin1716.fits sctable="SC_DATA" outfile=/scratch/kocevski/90421/ltcube_684115201_684374401_4FGL_J1013.7+3444_daily_bin1716.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/90421/ft2_4FGL_J1013.7+3444_daily_bin1716.fits
.....................!
real 14.16
user 13.79
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/90421/ft1_filtered_4FGL_J1013.7+3444_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/90421/ft2_4FGL_J1013.7+3444_daily_bin1716.fits sctable="SC_DATA" expcube=/scratch/kocevski/90421/ltcube_684115201_684374401_4FGL_J1013.7+3444_daily_bin1716.fits outfile=/scratch/kocevski/90421/expmap_684115201_684374401_4FGL_J1013.7+3444_daily_bin1716.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/90421/ltcube_684115201_684374401_4FGL_J1013.7+3444_daily_bin1716.fits
.....................!
real 192.42
user 186.22
sys 4.58

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/90421/ft1_filtered_4FGL_J1013.7+3444_daily_bin1716.fits scfile=/scratch/kocevski/90421/ft2_4FGL_J1013.7+3444_daily_bin1716.fits outfile=/scratch/kocevski/90421/cmap_684115201_684374401_4FGL_J1013.7+3444_daily_bin1716.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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/90421/ft1_filtered_4FGL_J1013.7+3444_daily_bin1716.fits scfile=/scratch/kocevski/90421/ft2_4FGL_J1013.7+3444_daily_bin1716.fits outfile=/scratch/kocevski/90421/cmap_HighResolution_684115201_684374401_4FGL_J1013.7+3444_daily_bin1716.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.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/90421/ft1_filtered_4FGL_J1013.7+3444_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/90421/ft2_4FGL_J1013.7+3444_daily_bin1716.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/90421/Model_4FGL_J1013.7+3444_daily_bin1716.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/90421/ft1_filtered_4FGL_J1013.7+3444_daily_bin1716.fits.....................!
real 50.94
user 49.72
sys 1.10

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .18052E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    2.2524       1.0000          .0000       .10000E+07
     3 'norm      '    .43812E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .18478E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .30606E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    14.586       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10847E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .28659E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .70488E-06   1.0000          .0000       .10000E+07
    10 'norm      '    14.338       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.2771       1.0000          .0000       .10000E+07
    12 'Prefactor '    .91590       1.0000          .0000       .10000E+07
    13 'norm      '    .11450E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    32.030       1.0000          .0000       .10000E+07
    15 'Prefactor '    19.549       1.0000          .0000       .10000E+07
    16 'Prefactor '    .76414E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .35504E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .15881       1.0000          .0000       .10000E+07
    19 'Prefactor '    4.0764       1.0000          .0000       .10000E+07
    20 'norm      '    1.2374       1.0000          .0000       .10000E+07
    21 'Prefactor '    11.453       1.0000          .0000       .10000E+07
    22 'Prefactor '    .37824E-05   1.0000          .0000       .10000E+07
    23 'Normalizat'    .95225       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0971       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=   5996.859     FROM MIGRAD    STATUS=CONVERGED    104 CALLS     1924 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    1.7166        .18471E-06** at limit **
   2  Prefactor     2.2533        1.7707       -.22302E-07    .38485E-03
   3  norm          .19984E-08    3.3222        .26729E-06** at limit **
   4  Prefactor     .18557E-06    2.9539        .15068E-06** at limit **
   5  Prefactor     .15726E-06    5.4400        .79650E-07** at limit **
   6  Prefactor     14.587        1.1509        .69954E-08   -.66245E-02
   7  Prefactor     .32085E-07    16.939        .44999E-06** at limit **
   8  Prefactor     .22204E-09    2.5887        .20296E-06** at limit **
   9  Prefactor      .0000        2.3966       -.40389E-06** at limit **
  10  norm          14.329        1.4533        .33562E-08    .59627E-01
  11  Prefactor     4.2774        3.2824       -.33333E-07   -.10038E-02
  12  Prefactor     .91380        .53105        .93258E-08    .95675E-02
  13  norm          .34361E-06    2.5900        .31183E-06** at limit **
  14  Prefactor     32.042        1.7544       -.11233E-07    .11023    
  15  Prefactor     19.532        1.1913       -.20558E-08    .16210E-01
  16  Prefactor     .16653E-09    1.3034        .11714E-06** at limit **
  17  Prefactor     .52297E-06    7.6026        .57117E-06** at limit **
  18  Prefactor     .95378E-05    10.952        .16799E-06** at limit **
  19  Prefactor     4.0730        1.0582        .40608E-08   -.21216E-02
  20  norm          1.2376        .35080       -.59854E-07    .73943E-02
  21  Prefactor     11.450        1.0097        .22903E-09   -.28281E-02
  22  Prefactor     .72164E-08    3.5174        .80704E-07** at limit **
  23  Normalizat    .95232        .19065        .65555E-05   -.88850E-04
  24  Prefactor     1.0972        .23433       -.13764E-05   -.63206E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  Prefactor  = 2.25328
  norm       = 1.9984e-09
  Prefactor  = 1.85574e-07
  Prefactor  = 1.57263e-07
  Prefactor  = 14.5867
  Prefactor  = 3.20854e-08
  Prefactor  = 2.22045e-10
  Prefactor  = 0
  norm       = 14.3293
  Prefactor  = 4.27744
  Prefactor  = 0.913796
  norm       = 3.43614e-07
  Prefactor  = 32.0416
  Prefactor  = 19.5321
  Prefactor  = 1.66533e-10
  Prefactor  = 5.22971e-07
  Prefactor  = 9.53776e-06
  Prefactor  = 4.07303
  norm       = 1.23755
  Prefactor  = 11.4496
  Prefactor  = 7.21645e-09
  Normalizat = 0.952316
  Prefactor  = 1.09715
 **********
 **   18 **HESSE 
 **********

 FCN=   5996.859     FROM HESSE     STATUS=OK           443 CALLS     2367 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    2.8756        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.2533        1.7672        .68434E-03   -1.5678    
   3  norm          .19984E-08    3.3541        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .18557E-06    7.9740        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .15726E-06    6.1510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     14.587        17.525        .26199E-03   -1.5632    
   7  Prefactor     .32085E-07    16.978        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .22204E-09    2.6197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        2.3822        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          14.329        9.5353        .26426E-03   -1.5632    
  11  Prefactor     4.2774        3.4982        .48692E-03   -1.5667    
  12  Prefactor     .91380        3.7143        .44667E-03   -1.5689    
  13  norm          .34361E-06    9.0662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     32.042        44.171        .17672E-03   -1.5595    
  15  Prefactor     19.532        21.260        .22625E-03   -1.5620    
  16  Prefactor     .16653E-09    2.9608        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .52297E-06    10.060        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .95378E-05    43.739        .12560E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.0730        10.686        .49912E-03   -1.5668    
  20  norm          1.2376        .35969        .53468E-03   -1.5686    
  21  Prefactor     11.450        12.901        .29578E-03   -1.5640    
  22  Prefactor     .72164E-08    7.4863        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .95232        .16150        .45566E-01   -.94645    
  24  Prefactor     1.0972        .19765        .61141E-01   -.89558    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16181e-06
Minuit parameter uncertainties:
  1  2.8657e-05
  2  1.76716
  3  0.000163138
  4  0.00243292
  5  0.00196699
  6  17.5248
  7  0.00147561
  8  4.6972e-05
  9  5.86602e-07
  10  9.53534
  11  3.49822
  12  3.68465
  13  0.0035301
  14  44.1714
  15  21.2604
  16  4.14797e-05
  17  0.00458742
  18  0.04085
  19  10.6856
  20  0.35969
  21  12.901
  22  0.000464257
  23  0.161583
  24  0.197781
Done.

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

Extracting fit parameters...

4FGL J1013.7+3444
   Spectrum: PowerLaw
278    Prefactor:  4.277e+00  3.498e+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

GAL_V02
   Spectrum: PowerLaw
599    Prefactor:  1.097e+00  1.978e-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:  9.523e-01  1.616e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.70
Ra Dec: 153.449 34.738
Photon Index (Fixed Index): 2.59 +/- 0.00
Photon Flux (Fixed Index): 4.09e-08 +/- 3.34e-08
Energy Flux (Fixed Index): 1.08e-05 +/- 8.84e-06

TS (Fixed Index): 3.70
Ra Dec: 153.449 34.738
Photon Flux Upper Limit: 1.14e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.91e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/90421/likelihoodResults_684115201_684374401_4FGL_J1013.7+3444_daily_bin1716.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) = 5996.82425083
delta logL = 0.034737717473

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5996.81514471
delta logL = 0.0438438409201

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.7714       1.0000          .0000       .10000E+07
     2 'Index     '    2.3927       1.0000          .0000       10.000    
     3 'Normalizat'    .95924       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0916       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=   5996.815     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      204 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.7733        103.15        .46037E-03    .13178E-02
   2  Index         2.3930        6.1096        .23932        .50101E-04
   3  Normalizat    .95927        .72814E-01    .45654E-01   -.76464E-04
   4  Prefactor     1.0918        .75368E-01    .61272E-01   -.74068E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.77331
  Index      = 2.393
  Normalizat = 0.959268
  Prefactor  = 1.09175
 **********
 **   18 **HESSE 
 **********

 FCN=   5996.815     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.7733        4.0497        .12974E-04   -1.5664    
   2  Index         2.3930        .66737        .81908E-02   -.54849    
   3  Normalizat    .95927        .19139        .23248E-03   -.94408    
   4  Prefactor     1.0918        .23466        .27099E-03   -.89731    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.77843e-11
Minuit parameter uncertainties:
  1  4.04969
  2  0.67012
  3  0.191522
  4  0.234885
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/90421': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5996.81514267
delta logL = 0.0438458795952

Extracting fit parameters...

4FGL J1013.7+3444
   Spectrum: PowerLaw
278    Prefactor:  4.773e+00  4.050e+00  0.000e+00  1.000e+06 ( 1.000e-12)
279        Index:  2.393e+00  6.701e-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.092e+00  2.349e-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:  9.593e-01  1.915e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.77
Ra Dec: 153.449 34.738
Photon Index (Free Index): 2.39 +/- 0.67
Photon Flux (Free Index): 3.55e-08 +/- 3.40e-08
Energy Flux (Free Index): 1.17e-05 +/- 1.03e-05

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/90421/cmap_HighResolution_684115201_684374401_4FGL_J1013.7+3444_daily_bin1716.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.91e-03', comment='SUCCESS', photon_flux='4.09e-08', energy_flux2='1.17e-05', photon_flux_error='3.34e-08', dlogl='4.38e-02', energy_flux='1.08e-05', photon_flux2='3.55e-08', job_status='DONE', time_completed='2022-09-16 15:22:20.915713', photon_index_error2='0.67', photon_index2='2.39', ts='3.70', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', photon_flux_upper_limit='1.14e-07', energy_flux_error2='1.03e-05', EG='0.95', time_epoch_completed='1663366940.92', return_code='0', job_id='90421', GAL2='1.09', EG2='0.96', return_code2='0', energy_flux_error='8.84e-06', photon_flux_error2='3.40e-08', ts2='3.77', photon_index='2.59' WHERE bin_id='1716' AND source_name='4FGL J1013.7+3444' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:22:20 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 90421: <4FGL_J1013.7+3444_daily_bin1716> in cluster <slac> Done

Job <4FGL_J1013.7+3444_daily_bin1716> 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) <bullet0232>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:11:42 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:42 2022
Terminated at Fri Sep 16 15:22:21 2022
Results reported at Fri Sep 16 15:22:21 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1013.7+3444_daily_bin1716 153.449 34.7384 684115201 684374401 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 :                                   622.20 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             354.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   639 sec.
    Turnaround time :                            710 sec.

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

