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


Performing analysis on: 4FGL_J1013.7+3444_weekly_bin752
RA = 153.449, Dec = 34.7384
tmin = 693792001, tmax = 694396801
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='436485', job_status='RUN', time_executed='2023-01-03 01:38:35.860780', time_epoch_executed='1672738715.86' WHERE source_name='4FGL J1013.7+3444' and cadence='weekly' and bin_id='752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/436485

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/436485/ft1_4FGL_J1013.7+3444_weekly_bin752.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/436485/ft2_4FGL_J1013.7+3444_weekly_bin752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/436485/ft1_4FGL_J1013.7+3444_weekly_bin752.fits outfile=/scratch/kocevski/436485/ft1_filteredMKT_4FGL_J1013.7+3444_weekly_bin752.fits ra=153.449 dec=34.7384 rad=12.0 tmin=693792001.0 tmax=694396801.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 8.75
user 8.30
sys 0.34

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

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

Number of photons that the gtmktime cut: 689

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/436485/ft1_filtered_4FGL_J1013.7+3444_weekly_bin752.fits" evtable="EVENTS" scfile=/scratch/kocevski/436485/ft2_4FGL_J1013.7+3444_weekly_bin752.fits sctable="SC_DATA" outfile=/scratch/kocevski/436485/ltcube_693792001_694396801_4FGL_J1013.7+3444_weekly_bin752.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/436485/ft2_4FGL_J1013.7+3444_weekly_bin752.fits
.....................!
real 37.24
user 36.70
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/436485/ft1_filtered_4FGL_J1013.7+3444_weekly_bin752.fits evtable="EVENTS" scfile=/scratch/kocevski/436485/ft2_4FGL_J1013.7+3444_weekly_bin752.fits sctable="SC_DATA" expcube=/scratch/kocevski/436485/ltcube_693792001_694396801_4FGL_J1013.7+3444_weekly_bin752.fits outfile=/scratch/kocevski/436485/expmap_693792001_694396801_4FGL_J1013.7+3444_weekly_bin752.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/436485/ltcube_693792001_694396801_4FGL_J1013.7+3444_weekly_bin752.fits
.....................!
real 191.74
user 186.70
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/436485/ft1_filtered_4FGL_J1013.7+3444_weekly_bin752.fits scfile=/scratch/kocevski/436485/ft2_4FGL_J1013.7+3444_weekly_bin752.fits outfile=/scratch/kocevski/436485/cmap_693792001_694396801_4FGL_J1013.7+3444_weekly_bin752.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.61
user 0.42
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/436485/ft1_filtered_4FGL_J1013.7+3444_weekly_bin752.fits scfile=/scratch/kocevski/436485/ft2_4FGL_J1013.7+3444_weekly_bin752.fits outfile=/scratch/kocevski/436485/cmap_HighResolution_693792001_694396801_4FGL_J1013.7+3444_weekly_bin752.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.59
user 0.42
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/436485/ft1_filtered_4FGL_J1013.7+3444_weekly_bin752.fits evtable="EVENTS" scfile=/scratch/kocevski/436485/ft2_4FGL_J1013.7+3444_weekly_bin752.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/436485/Model_4FGL_J1013.7+3444_weekly_bin752.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/436485/ft1_filtered_4FGL_J1013.7+3444_weekly_bin752.fits.....................!
real 64.14
user 61.91
sys 1.40

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.9856       1.0000          .0000       .10000E+07
     2 'Prefactor '    .55304E-05   1.0000          .0000       .10000E+07
     3 'norm      '    .84542E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    17.896       1.0000          .0000       .10000E+07
     5 'Prefactor '    24.087       1.0000          .0000       .10000E+07
     6 'Prefactor '    10.201       1.0000          .0000       .10000E+07
     7 'Prefactor '    .38156E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10589E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.3078       1.0000          .0000       .10000E+07
    10 'norm      '    11.669       1.0000          .0000       .10000E+07
    11 'Prefactor '    .17832E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    4.5789       1.0000          .0000       .10000E+07
    13 'norm      '    .97963E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    42.783       1.0000          .0000       .10000E+07
    15 'Prefactor '    49.995       1.0000          .0000       .10000E+07
    16 'Prefactor '    .13696E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    4.2164       1.0000          .0000       .10000E+07
    18 'Prefactor '    28.208       1.0000          .0000       .10000E+07
    19 'Prefactor '    18.014       1.0000          .0000       .10000E+07
    20 'norm      '    2.9023       1.0000          .0000       .10000E+07
    21 'Prefactor '    .22970E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    .23001E-03   1.0000          .0000       .10000E+07
    23 'Normalizat'    .91672       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .84540       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=   7476.920     FROM MIGRAD    STATUS=CONVERGED    193 CALLS     2011 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0000        6.2303       -.35190E-07   -.41193E-03
   2  Prefactor      .0000        1.0522       -.73652E-07** at limit **
   3  norm          .86597E-08    4.3274        .41340E-06** at limit **
   4  Prefactor     17.929        6.0237        .50548E-07   -.14892    
   5  Prefactor     24.796        22.993       -.16977E-06   -.16228E-02
   6  Prefactor     10.204        19.397        .15526E-06   -.14209E-01
   7  Prefactor      .0000        1.6803        .70134E-07** at limit **
   8  Prefactor     .16376E-07    4.3940       -.12266E-06** at limit **
   9  Prefactor     4.3102        2.0720        .15765E-07   -.67743E-03
  10  norm          11.685        7.2098       -.60957E-07   -.83478E-03
  11  Prefactor      .0000        1.3622        .11093E-07** at limit **
  12  Prefactor     4.5859        3.8265       -.10839E-06   -.12571E-03
  13  norm           .0000        5.2275       -.10702E-06** at limit **
  14  Prefactor     43.067        48.811       -.14093E-06    .23354E-01
  15  Prefactor     50.532        29.930       -.38677E-07   -.28911E-02
  16  Prefactor     .33307E-09    4.2502        .12704E-06** at limit **
  17  Prefactor     4.2347        13.069       -.68785E-06    .47917E-02
  18  Prefactor     29.794        99.235       -.22633E-05   -.25216E-02
  19  Prefactor     18.025        12.109       -.16637E-06   -.10049E-01
  20  norm          2.9030        .35935        .62217E-08   -.36651E-02
  21  Prefactor      .0000        3.2596        .55139E-07** at limit **
  22  Prefactor      .0000        3.2933       -.80352E-07** at limit **
  23  Normalizat    .91507        .17329        .41478E-05   -.82405E-04
  24  Prefactor     .84607        .19718        .11581E-05   -.63268E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.99999
  Prefactor  = 0
  norm       = 8.65974e-09
  Prefactor  = 17.9294
  Prefactor  = 24.7957
  Prefactor  = 10.2044
  Prefactor  = 0
  Prefactor  = 1.63758e-08
  Prefactor  = 4.31025
  norm       = 11.6853
  Prefactor  = 0
  Prefactor  = 4.58588
  norm       = 0
  Prefactor  = 43.0674
  Prefactor  = 50.5325
  Prefactor  = 3.33067e-10
  Prefactor  = 4.23475
  Prefactor  = 29.7945
  Prefactor  = 18.025
  norm       = 2.90297
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 0.915072
  Prefactor  = 0.846073
 **********
 **   18 **HESSE 
 **********

 FCN=   7476.920     FROM HESSE     STATUS=OK           449 CALLS     2460 TOTAL
                     EDM=   .54E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0000        6.2354        .50496E-03   -1.5668    
   2  Prefactor      .0000        1.0495        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .86597E-08    4.3480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     17.929        18.784        .23648E-03   -1.5623    
   5  Prefactor     24.796        22.926        .20380E-03   -1.5608    
   6  Prefactor     10.204        19.592        .31348E-03   -1.5644    
   7  Prefactor      .0000        1.6783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .16376E-07    4.4124        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.3102        2.0713        .48513E-03   -1.5666    
  10  norm          11.685        7.2099        .29301E-03   -1.5640    
  11  Prefactor      .0000        1.3605        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.5859        3.8202        .47018E-03   -1.5665    
  13  norm           .0000        5.2052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     43.067        50.020        .15290E-03   -1.5577    
  15  Prefactor     50.532        29.921        .14144E-03   -1.5566    
  16  Prefactor     .33307E-09    4.2073        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.2347        13.088        .49051E-03   -1.5667    
  18  Prefactor     29.794        99.286        .18832E-03   -1.5599    
  19  Prefactor     18.025        12.128        .23570E-03   -1.5623    
  20  norm          2.9030        .35884        .40036E-03   -1.5674    
  21  Prefactor      .0000        3.2571        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        3.2918        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .91507        .14540        .45115E-01   -.95933    
  24  Prefactor     .84607        .16670        .64455E-01   -.98052    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.40066e-07
Minuit parameter uncertainties:
  1  6.23544
  2  1.94459e-06
  3  0.000388041
  4  18.7845
  5  22.9265
  6  19.592
  7  1.24105e-06
  8  0.00053756
  9  2.07133
  10  7.20991
  11  3.15635e-08
  12  3.82022
  13  8.03489e-06
  14  50.0206
  15  29.9213
  16  7.68598e-05
  17  13.0883
  18  99.2915
  19  12.128
  20  0.358838
  21  3.74165e-06
  22  1.00304e-05
  23  0.145465
  24  0.1668
Done.

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

Extracting fit parameters...

4FGL J1013.7+3444
   Spectrum: PowerLaw
278    Prefactor:  0.000e+00  3.156e-08  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:  8.461e-01  1.668e-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.151e-01  1.455e-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: 5.44e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.25e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/436485/likelihoodResults_693792001_694396801_4FGL_J1013.7+3444_weekly_bin752.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) = 7476.92201949
delta logL = -0.00235299554515

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7476.9196675
delta logL = -1.00966462924e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .76827E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.2164       1.0000          .0000       10.000    
     3 'Normalizat'    .91495       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84619       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7476.842     FROM MIGRAD    STATUS=FAILED       133 CALLS      344 TOTAL
                     EDM=   .67E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .20589E-02    .25541E-01    .82975E-05** at limit **
   2  Index         6.6621        3.4181        .14469E-01    .35095E-03
   3  Normalizat    .89542        .16956        .23276E-03    .14355E-03
   4  Prefactor     .86175        .19863        .28280E-03    .17966E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7476.842     FROM SIMPLEX   STATUS=UNCHANGED     75 CALLS      419 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .20589E-02    .25541E-01    .14227E-05   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.6621        3.4181        .30431E-02    .33886    
   3  Normalizat    .89542        .16956        .19005E-03   -.96621    
   4  Prefactor     .86175        .19863        .24593E-03   -.97491    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7476.842     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      450 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .20583E-02    .26374        .33190E-06** at limit **
   2  Index         6.6622        7.7685        .28938E-02   -.86979E-05
   3  Normalizat    .89542        .17023        .93104E-05   -.22150E-03
   4  Prefactor     .86175        .19893        .11312E-04   -.20643E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00205828
  Index      = 6.66221
  Normalizat = 0.895421
  Prefactor  = 0.86175
 **********
 **   18 **HESSE 
 **********

 FCN=   7476.842     FROM HESSE     STATUS=OK            23 CALLS      473 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .20583E-02    .44149E-01    .37453E-06   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.6622        7.4825        .11575E-03    .33889    
   3  Normalizat    .89542        .16917        .18621E-05   -.96621    
   4  Prefactor     .86175        .19816        .22624E-05   -.97491    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.58829e-10
Minuit parameter uncertainties:
  1  0.0190653
  2  5.00059
  3  0.169274
  4  0.198323
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/436485': 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) = 7476.84205239
delta logL = 0.0776140982653

Extracting fit parameters...

4FGL J1013.7+3444
   Spectrum: PowerLaw
278    Prefactor:  2.058e-03  1.907e-02  0.000e+00  1.000e+06 ( 1.000e-12)
279        Index:  6.662e+00  5.001e+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:  8.618e-01  1.983e-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:  8.954e-01  1.693e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/436485/cmap_HighResolution_693792001_694396801_4FGL_J1013.7+3444_weekly_bin752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.25e-03', job_status='DONE', photon_flux_upper_limit='5.44e-08', time_completed='2023-01-03 01:52:00.896837', job_id='436485', GAL2='0.86', fit_tolerance='1e-08', EG2='0.90', EG='0.92', time_epoch_completed='1672739520.9', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='7.76e-02', ts2='0.17', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='752' AND source_name='4FGL J1013.7+3444' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jan  3 01:52:00 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 436485: <4FGL_J1013.7+3444_weekly_bin752> in cluster <slac> Done

Job <4FGL_J1013.7+3444_weekly_bin752> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Jan  3 01:35:28 2023
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan  3 01:35:38 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan  3 01:35:38 2023
Terminated at Tue Jan  3 01:52:01 2023
Results reported at Tue Jan  3 01:52:01 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1013.7+3444_weekly_bin752 153.449 34.7384 693792001 694396801 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 :                                   798.07 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             272.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   983 sec.
    Turnaround time :                            993 sec.

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

