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


Performing analysis on: 4FGL_J1013.7+3444_daily_bin1763
RA = 153.449, Dec = 34.7384
tmin = 696297601, tmax = 696556801
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='276359', job_status='RUN', time_executed='2023-01-28 00:43:23.953842', time_epoch_executed='1674895403.95' WHERE source_name='4FGL J1013.7+3444' and cadence='daily' and bin_id='1763'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/276359

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/276359/ft1_4FGL_J1013.7+3444_daily_bin1763.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/276359/ft2_4FGL_J1013.7+3444_daily_bin1763.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/276359/ft1_4FGL_J1013.7+3444_daily_bin1763.fits outfile=/scratch/kocevski/276359/ft1_filteredMKT_4FGL_J1013.7+3444_daily_bin1763.fits ra=153.449 dec=34.7384 rad=12.0 tmin=696297601.0 tmax=696556801.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.65
user 3.40
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/276359/ft2_4FGL_J1013.7+3444_daily_bin1763.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/276359/ft1_filteredMKT_4FGL_J1013.7+3444_daily_bin1763.fits evtable="EVENTS" outfile="/scratch/kocevski/276359/ft1_filtered_4FGL_J1013.7+3444_daily_bin1763.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.52
user 0.36
sys 0.15

Number of photons that the gtmktime cut: 498

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/276359/ft1_filtered_4FGL_J1013.7+3444_daily_bin1763.fits" evtable="EVENTS" scfile=/scratch/kocevski/276359/ft2_4FGL_J1013.7+3444_daily_bin1763.fits sctable="SC_DATA" outfile=/scratch/kocevski/276359/ltcube_696297601_696556801_4FGL_J1013.7+3444_daily_bin1763.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/276359/ft2_4FGL_J1013.7+3444_daily_bin1763.fits
.....................!
real 15.02
user 14.59
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/276359/ft1_filtered_4FGL_J1013.7+3444_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/276359/ft2_4FGL_J1013.7+3444_daily_bin1763.fits sctable="SC_DATA" expcube=/scratch/kocevski/276359/ltcube_696297601_696556801_4FGL_J1013.7+3444_daily_bin1763.fits outfile=/scratch/kocevski/276359/expmap_696297601_696556801_4FGL_J1013.7+3444_daily_bin1763.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/276359/ltcube_696297601_696556801_4FGL_J1013.7+3444_daily_bin1763.fits
.....................!
real 194.56
user 188.47
sys 5.50

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/276359/ft1_filtered_4FGL_J1013.7+3444_daily_bin1763.fits scfile=/scratch/kocevski/276359/ft2_4FGL_J1013.7+3444_daily_bin1763.fits outfile=/scratch/kocevski/276359/cmap_696297601_696556801_4FGL_J1013.7+3444_daily_bin1763.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.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/276359/ft1_filtered_4FGL_J1013.7+3444_daily_bin1763.fits scfile=/scratch/kocevski/276359/ft2_4FGL_J1013.7+3444_daily_bin1763.fits outfile=/scratch/kocevski/276359/cmap_HighResolution_696297601_696556801_4FGL_J1013.7+3444_daily_bin1763.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/276359/ft1_filtered_4FGL_J1013.7+3444_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/276359/ft2_4FGL_J1013.7+3444_daily_bin1763.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/276359/Model_4FGL_J1013.7+3444_daily_bin1763.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/276359/ft1_filtered_4FGL_J1013.7+3444_daily_bin1763.fits.....................!
real 49.96
user 48.50
sys 1.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .51663E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .16215E-06   1.0000          .0000       .10000E+07
     3 'norm      '    .70526E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .22821E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .67034E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    22.451       1.0000          .0000       .10000E+07
     7 'Prefactor '    4.0132       1.0000          .0000       .10000E+07
     8 'Prefactor '    .61181E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .13878E-08   1.0000          .0000       .10000E+07
    10 'norm      '    10.905       1.0000          .0000       .10000E+07
    11 'Prefactor '    .56088E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .10984E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .27004E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    29.833       1.0000          .0000       .10000E+07
    15 'Prefactor '    .18159E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    .19785E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .19158E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    5.2139       1.0000          .0000       .10000E+07
    19 'Prefactor '    .18135E-02   1.0000          .0000       .10000E+07
    20 'norm      '    1.5216       1.0000          .0000       .10000E+07
    21 'Prefactor '    28.911       1.0000          .0000       .10000E+07
    22 'Prefactor '    .30216E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1614       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .85480       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=   5658.416     FROM MIGRAD    STATUS=CONVERGED    231 CALLS     2064 TOTAL
                     EDM=   .91E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        6.0222        .19384E-06** at limit **
   2  Prefactor     .22204E-09    1.9947       -.16354E-06** at limit **
   3  norm           .0000        8.3969        .41404E-06** at limit **
   4  Prefactor     .11102E-09    20.473       -.17707E-05** at limit **
   5  Prefactor     .41633E-08    15.007       -.54725E-06** at limit **
   6  Prefactor     21.712        39.417        .83316E-07    .52078E-03
   7  Prefactor     4.0382        8.7810        .83134E-08    .11027E-03
   8  Prefactor     .13656E-07    26.347        .13986E-05** at limit **
   9  Prefactor      .0000        .91087       -.65014E-07** at limit **
  10  norm          10.918        9.0529        .11576E-06    .72367E-03
  11  Prefactor     .11102E-09    1.5946        .24212E-06** at limit **
  12  Prefactor      .0000        3.0056        .78390E-07** at limit **
  13  norm           .0000        13.679       -.10010E-05** at limit **
  14  Prefactor     36.169        73.423       -.11519E-06    .11969E-02
  15  Prefactor     .27756E-09    36.153        .28117E-06** at limit **
  16  Prefactor      .0000        4.9724       -.53791E-07** at limit **
  17  Prefactor     .61062E-09    29.043       -.21192E-05** at limit **
  18  Prefactor     .61062E-09    4453.3       -.11194E-03** at limit **
  19  Prefactor     .55511E-10    7.3305        .67556E-06** at limit **
  20  norm          1.5226        .37917        .18443E-07    .34298E-01
  21  Prefactor     28.952        1.7558        .19352E-08    .58571E-02
  22  Prefactor     .55511E-10    11.947        .96692E-06** at limit **
  23  Normalizat    1.1606        .21954       -.55321E-05    .61207E-03
  24  Prefactor     .85398        .24480        .37435E-05    .35179E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 2.22045e-10
  norm       = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 4.16334e-09
  Prefactor  = 21.7117
  Prefactor  = 4.03823
  Prefactor  = 1.36557e-08
  Prefactor  = 0
  norm       = 10.9176
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  norm       = 0
  Prefactor  = 36.1687
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Prefactor  = 6.10623e-10
  Prefactor  = 6.10623e-10
  Prefactor  = 5.55112e-11
  norm       = 1.52259
  Prefactor  = 28.9524
  Prefactor  = 5.55112e-11
  Normalizat = 1.16061
  Prefactor  = 0.853981
 **********
 **   18 **HESSE 
 **********

 FCN=   5658.416     FROM HESSE     STATUS=OK           435 CALLS     2499 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        6.0037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .22204E-09    1.9812        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        8.3921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-09    20.561        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .41633E-08    15.113        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     21.712        39.468        .21110E-03   -1.5615    
   7  Prefactor     4.0382        8.8062        .50316E-03   -1.5668    
   8  Prefactor     .13656E-07    26.919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        .90864        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          10.918        9.0574        .30314E-03   -1.5642    
  11  Prefactor     .11102E-09    1.5937        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        2.9921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        13.583        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     36.169        73.759        .18311E-03   -1.5588    
  15  Prefactor     .27756E-09    35.610        .17161E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        4.8725        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .61062E-09    29.234        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .61062E-09    4425.1        .43999E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .55511E-10    7.3292        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.5226        .39639        .50736E-03   -1.5683    
  21  Prefactor     28.952        21.334        .18601E-03   -1.5600    
  22  Prefactor     .55511E-10    11.983        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1606        .18269        .35917E-01   -.87829    
  24  Prefactor     .85398        .20560        .66629E-01   -.97768    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.91624e-09
Minuit parameter uncertainties:
  1  1.88843e-05
  2  4.32096e-05
  3  2.23384e-05
  4  9.84248e-05
  5  0.000500017
  6  39.4684
  7  8.80627
  8  0.0012138
  9  4.86332e-06
  10  9.05744
  11  2.44587e-05
  12  3.00052e-06
  13  1.70953e-05
  14  73.7611
  15  0.000203198
  16  1.77565e-05
  17  0.00027284
  18  0.00332369
  19  3.52146e-05
  20  0.396392
  21  21.3339
  22  4.08257e-05
  23  0.182788
  24  0.20579
Done.

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

Extracting fit parameters...

4FGL J1013.7+3444
   Spectrum: PowerLaw
278    Prefactor:  1.110e-10  2.446e-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:  8.540e-01  2.058e-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.161e+00  1.828e-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: 6.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.12e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/276359/likelihoodResults_696297601_696556801_4FGL_J1013.7+3444_daily_bin1763.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) = 5658.41758121
delta logL = -0.00155003100645

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5658.4160342
delta logL = -3.02328862745e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14649E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .99407       1.0000          .0000       10.000    
     3 'Normalizat'    1.1609       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85361       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=   5658.416     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      254 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.2894        .42118E-03** at limit **
   2  Index         2.9935        2.0411        .78569E-04     .0000    
   3  Normalizat    1.1606        1.1214       -.99441E-05    .14432E-03
   4  Prefactor     .85398        1.2008        .30395E-04    .57811E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.99347
  Normalizat = 1.16061
  Prefactor  = 0.853981
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5658.416     FROM HESSE     STATUS=FAILED         9 CALLS      263 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.2894        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0131        2.1907        .78569E-04   -.41294    
   3  Normalizat    1.1606        1.1214       -.99441E-05   -.87829    
   4  Prefactor     .85398        1.2008        .30395E-04   -.97768    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.05001e-11
Minuit parameter uncertainties:
  1  1.91698e-06
  2  2.11551
  3  1.14587
  4  1.24117
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/276359': 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) = 5658.41603118
delta logL = 2.0008883439e-10

Extracting fit parameters...

4FGL J1013.7+3444
   Spectrum: PowerLaw
278    Prefactor:  0.000e+00  1.917e-06  0.000e+00  1.000e+06 ( 1.000e-12)
279        Index:  2.993e+00  2.116e+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.540e-01  1.241e+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.161e+00  1.146e+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/276359/cmap_HighResolution_696297601_696556801_4FGL_J1013.7+3444_daily_bin1763.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.12e-03', job_status='DONE', photon_flux_upper_limit='6.55e-08', time_completed='2023-01-28 00:53:38.412017', job_id='276359', GAL2='0.85', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1674896018.41', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='2.00e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1763' AND source_name='4FGL J1013.7+3444' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan 28 00:53:38 PST 2023


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

Job <4FGL_J1013.7+3444_daily_bin1763> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Jan 28 00:40:26 2023
Job was executed on host(s) <bullet0040>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan 28 00:41:28 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan 28 00:41:28 2023
Terminated at Sat Jan 28 00:53:39 2023
Results reported at Sat Jan 28 00:53:39 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1013.7+3444_daily_bin1763 153.449 34.7384 696297601 696556801 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 :                                   616.46 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             295.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   730 sec.
    Turnaround time :                            793 sec.

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

