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


Performing analysis on: 4FGL_J1013.7+3444_daily_bin1758
RA = 153.449, Dec = 34.7384
tmin = 695001601, tmax = 695260801
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='362307', job_status='RUN', time_executed='2023-01-13 00:35:11.322344', time_epoch_executed='1673598911.32' WHERE source_name='4FGL J1013.7+3444' and cadence='daily' and bin_id='1758'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/362307

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/362307/ft1_4FGL_J1013.7+3444_daily_bin1758.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/362307/ft2_4FGL_J1013.7+3444_daily_bin1758.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/362307/ft1_4FGL_J1013.7+3444_daily_bin1758.fits outfile=/scratch/kocevski/362307/ft1_filteredMKT_4FGL_J1013.7+3444_daily_bin1758.fits ra=153.449 dec=34.7384 rad=12.0 tmin=695001601.0 tmax=695260801.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.78
user 2.57
sys 0.20

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

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

Number of photons that the gtmktime cut: 314

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/362307/ft1_filtered_4FGL_J1013.7+3444_daily_bin1758.fits" evtable="EVENTS" scfile=/scratch/kocevski/362307/ft2_4FGL_J1013.7+3444_daily_bin1758.fits sctable="SC_DATA" outfile=/scratch/kocevski/362307/ltcube_695001601_695260801_4FGL_J1013.7+3444_daily_bin1758.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/362307/ft2_4FGL_J1013.7+3444_daily_bin1758.fits
.....................!
real 17.03
user 16.64
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/362307/ft1_filtered_4FGL_J1013.7+3444_daily_bin1758.fits evtable="EVENTS" scfile=/scratch/kocevski/362307/ft2_4FGL_J1013.7+3444_daily_bin1758.fits sctable="SC_DATA" expcube=/scratch/kocevski/362307/ltcube_695001601_695260801_4FGL_J1013.7+3444_daily_bin1758.fits outfile=/scratch/kocevski/362307/expmap_695001601_695260801_4FGL_J1013.7+3444_daily_bin1758.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/362307/ltcube_695001601_695260801_4FGL_J1013.7+3444_daily_bin1758.fits
.....................!
real 194.19
user 187.76
sys 5.65

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/362307/ft1_filtered_4FGL_J1013.7+3444_daily_bin1758.fits scfile=/scratch/kocevski/362307/ft2_4FGL_J1013.7+3444_daily_bin1758.fits outfile=/scratch/kocevski/362307/cmap_695001601_695260801_4FGL_J1013.7+3444_daily_bin1758.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/362307/ft1_filtered_4FGL_J1013.7+3444_daily_bin1758.fits scfile=/scratch/kocevski/362307/ft2_4FGL_J1013.7+3444_daily_bin1758.fits outfile=/scratch/kocevski/362307/cmap_HighResolution_695001601_695260801_4FGL_J1013.7+3444_daily_bin1758.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.56
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.1937       1.0000          .0000       .10000E+07
     2 'Prefactor '    7.6734       1.0000          .0000       .10000E+07
     3 'norm      '    .96970E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    70.365       1.0000          .0000       .10000E+07
     5 'Prefactor '    .58389E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .43736E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    16.041       1.0000          .0000       .10000E+07
     8 'Prefactor '    .45382E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .28799E-06   1.0000          .0000       .10000E+07
    10 'norm      '    10.522       1.0000          .0000       .10000E+07
    11 'Prefactor '    8.5411       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.9107       1.0000          .0000       .10000E+07
    13 'norm      '    .63227E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .61666       1.0000          .0000       .10000E+07
    15 'Prefactor '    .28003       1.0000          .0000       .10000E+07
    16 'Prefactor '    .12488E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    18.465       1.0000          .0000       .10000E+07
    18 'Prefactor '    46.318       1.0000          .0000       .10000E+07
    19 'Prefactor '    1.2033       1.0000          .0000       .10000E+07
    20 'norm      '    3.2608       1.0000          .0000       .10000E+07
    21 'Prefactor '    .34108E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .49062E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    .59393       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.4331       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=   3565.682     FROM MIGRAD    STATUS=CONVERGED    203 CALLS     2123 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.2809        10.705       -.14642E-06   -.81789E-01
   2  Prefactor     7.7026        9.0318        .98078E-07    .12055E-01
   3  norm          .76661E-07    9.6653        .13071E-06** at limit **
   4  Prefactor     72.555        81.718        .72714E-06    .33772E-02
   5  Prefactor     .16653E-09    15.190       -.94460E-07** at limit **
   6  Prefactor      .0000        25.109       -.62052E-07** at limit **
   7  Prefactor     16.019        5.0586        .67837E-08   -.75828E-02
   8  Prefactor     .11102E-09    19.283        .11097E-06** at limit **
   9  Prefactor      .0000        1.8476       -.15605E-07** at limit **
  10  norm          10.562        11.916        .65322E-08   -.46264E-01
  11  Prefactor     8.5168        8.4858       -.48180E-07   -.81152E-03
  12  Prefactor     4.8862        7.7537        .43727E-08   -.57953E-03
  13  norm          .10358E-06    10.002        .17326E-06** at limit **
  14  Prefactor     1.7580        1245.2        .21824E-04   -.69586E-03
  15  Prefactor     .38858E-09    3.2276       -.21937E-06** at limit **
  16  Prefactor     .45519E-08    8.5374       -.15827E-06** at limit **
  17  Prefactor     18.651        34.307        .63979E-07   -.28735E-01
  18  Prefactor     46.219        3.7369       -.70193E-07   -.24290E-01
  19  Prefactor     1.3268        37.766        .16319E-06   -.28206E-02
  20  norm          3.2618        .52513        .54741E-08   -.26887E-04
  21  Prefactor     .47184E-08    8.0701       -.37598E-06** at limit **
  22  Prefactor     .22760E-08    6.8654       -.23155E-06** at limit **
  23  Normalizat    .59380        .27755       -.12748E-04   -.12026E-05
  24  Prefactor     1.4317        .33004       -.64404E-06    .93719E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 8.28085
  Prefactor  = 7.70263
  norm       = 7.66609e-08
  Prefactor  = 72.5549
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  Prefactor  = 16.0194
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  norm       = 10.5621
  Prefactor  = 8.5168
  Prefactor  = 4.88623
  norm       = 1.03584e-07
  Prefactor  = 1.75804
  Prefactor  = 3.88578e-10
  Prefactor  = 4.55191e-09
  Prefactor  = 18.651
  Prefactor  = 46.2192
  Prefactor  = 1.32675
  norm       = 3.26179
  Prefactor  = 4.71845e-09
  Prefactor  = 2.27596e-09
  Normalizat = 0.593801
  Prefactor  = 1.43172
 **********
 **   18 **HESSE 
 **********

 FCN=   3565.682     FROM HESSE     STATUS=OK           449 CALLS     2572 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.2809        25.326        .35000E-03   -1.5650    
   2  Prefactor     7.7026        9.7709        .36177E-03   -1.5652    
   3  norm          .76661E-07    9.9099        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     72.555        81.753        .11922E-03   -1.5538    
   5  Prefactor     .16653E-09    15.184        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        25.105        .15799E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     16.019        14.914        .24981E-03   -1.5628    
   8  Prefactor     .11102E-09    19.256        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.8420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          10.562        13.065        .30864E-03   -1.5643    
  11  Prefactor     8.5168        8.5239        .34276E-03   -1.5650    
  12  Prefactor     4.8862        7.8118        .45365E-03   -1.5664    
  13  norm          .10358E-06    10.359        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.7580        1261.4        .67748E-03   -1.5681    
  15  Prefactor     .38858E-09    52.998        .10496E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .45519E-08    8.4588        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     18.651        36.220        .23280E-03   -1.5622    
  18  Prefactor     46.219        141.89        .14695E-03   -1.5572    
  19  Prefactor     1.3268        37.895        .10335E-02   -1.5685    
  20  norm          3.2618        .52484        .37897E-03   -1.5672    
  21  Prefactor     .47184E-08    8.4615        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .22760E-08    6.8572        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .59380        .24467        .72738E-01   -1.0825    
  24  Prefactor     1.4317        .28240        .60011E-01   -.79470    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38651e-06
Minuit parameter uncertainties:
  1  25.3267
  2  9.77094
  3  0.00174327
  4  81.7538
  5  9.54673e-05
  6  1.87164e-06
  7  14.9139
  8  8.73191e-05
  9  7.61949e-07
  10  13.0653
  11  8.52394
  12  7.8118
  13  0.00207199
  14  94.204
  15  0.00028874
  16  0.000391267
  17  36.2205
  18  141.899
  19  14.1814
  20  0.524838
  21  0.000399488
  22  0.000249406
  23  0.245115
  24  0.282709
Done.

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

Extracting fit parameters...

4FGL J1013.7+3444
   Spectrum: PowerLaw
278    Prefactor:  8.517e+00  8.524e+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.432e+00  2.827e-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:  5.938e-01  2.451e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.98
Ra Dec: 153.449 34.738
Photon Index (Fixed Index): 2.59 +/- 0.00
Photon Flux (Fixed Index): 8.14e-08 +/- 8.14e-08
Energy Flux (Fixed Index): 2.15e-05 +/- 2.15e-05

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

Saving results to:
/scratch/kocevski/362307/likelihoodResults_695001601_695260801_4FGL_J1013.7+3444_daily_bin1758.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) = 3564.59709045
delta logL = 1.08509021365

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3564.50392104
delta logL = 1.17825961767

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23701E-01   1.0000          .0000       .10000E+07
     2 'Index     '    6.7597       1.0000          .0000       10.000    
     3 'Normalizat'    .42407       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.6000       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=   3564.504     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      323 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22925E-01    .21880        .10965E-03** at limit **
   2  Index         6.7796        3.0113        .83826E-01   -.76922E-04
   3  Normalizat    .42392        .83745E-01    .85177E-01   -.37023E-04
   4  Prefactor     1.5999        .10281        .57426E-01   -.79709E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0229249
  Index      = 6.77964
  Normalizat = 0.423915
  Prefactor  = 1.59994
 **********
 **   18 **HESSE 
 **********

 FCN=   3564.504     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      354 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22925E-01    .33262        .47575E-06   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.7796        3.6869        .35595E-02    .36391    
   3  Normalizat    .42392        .25471        .37739E-03   -1.1608    
   4  Prefactor     1.5999        .30455        .25388E-03   -.74778    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.28536e-10
Minuit parameter uncertainties:
  1  0.174647
  2  4.24859
  3  0.255412
  4  0.304901
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/362307': 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) = 3564.50390113
delta logL = 1.17827953388

Extracting fit parameters...

4FGL J1013.7+3444
   Spectrum: PowerLaw
278    Prefactor:  2.292e-02  1.746e-01  0.000e+00  1.000e+06 ( 1.000e-12)
279        Index:  6.780e+00  4.249e+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:  1.600e+00  3.049e-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:  4.239e-01  2.554e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.07
Ra Dec: 153.449 34.738
Photon Index (Free Index): 6.78 +/- 4.25
Photon Flux (Free Index): 2.05e-07 +/- 1.15e-07
Energy Flux (Free Index): 2.47e-05 +/- 1.50e-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/362307/cmap_HighResolution_695001601_695260801_4FGL_J1013.7+3444_daily_bin1758.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.78e-02', comment='SUCCESS', photon_flux='8.14e-08', energy_flux2='2.47e-05', photon_flux_error='8.14e-08', dlogl='1.18e+00', energy_flux='2.15e-05', photon_flux2='2.05e-07', job_status='DONE', time_completed='2023-01-13 00:44:07.728216', photon_index_error2='4.25', photon_index2='6.78', ts='1.98', fit_tolerance='1e-08', GAL='1.43', photon_index_error='0.00', photon_flux_upper_limit='2.28e-07', energy_flux_error2='1.50e-05', EG='0.59', time_epoch_completed='1673599447.73', return_code='0', job_id='362307', GAL2='1.60', EG2='0.42', return_code2='102', energy_flux_error='2.15e-05', photon_flux_error2='1.15e-07', ts2='5.07', photon_index='2.59' WHERE bin_id='1758' AND source_name='4FGL J1013.7+3444' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jan 13 00:44:07 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 362307: <4FGL_J1013.7+3444_daily_bin1758> in cluster <slac> Done

Job <4FGL_J1013.7+3444_daily_bin1758> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Jan 13 00:30:26 2023
Job was executed on host(s) <bullet0041>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jan 13 00:32:14 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jan 13 00:32:14 2023
Terminated at Fri Jan 13 00:44:08 2023
Results reported at Fri Jan 13 00:44:08 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1013.7+3444_daily_bin1758 153.449 34.7384 695001601 695260801 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 :                                   536.44 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             284.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   714 sec.
    Turnaround time :                            822 sec.

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

