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


Performing analysis on: 4FGL_J1013.7+3444_daily_bin1747
RA = 153.449, Dec = 34.7384
tmin = 692150401, tmax = 692409601
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='795489', job_status='RUN', time_executed='2022-12-11 00:35:56.057357', time_epoch_executed='1670747756.06' WHERE source_name='4FGL J1013.7+3444' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/795489

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/795489/ft1_4FGL_J1013.7+3444_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/795489/ft2_4FGL_J1013.7+3444_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/795489/ft1_4FGL_J1013.7+3444_daily_bin1747.fits outfile=/scratch/kocevski/795489/ft1_filteredMKT_4FGL_J1013.7+3444_daily_bin1747.fits ra=153.449 dec=34.7384 rad=12.0 tmin=692150401.0 tmax=692409601.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.99
user 3.74
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/795489/ft2_4FGL_J1013.7+3444_daily_bin1747.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/795489/ft1_filteredMKT_4FGL_J1013.7+3444_daily_bin1747.fits evtable="EVENTS" outfile="/scratch/kocevski/795489/ft1_filtered_4FGL_J1013.7+3444_daily_bin1747.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.49
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 585

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/795489/ft1_filtered_4FGL_J1013.7+3444_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/795489/ft2_4FGL_J1013.7+3444_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/795489/ltcube_692150401_692409601_4FGL_J1013.7+3444_daily_bin1747.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/795489/ft2_4FGL_J1013.7+3444_daily_bin1747.fits
.....................!
real 11.96
user 11.61
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/795489/ft1_filtered_4FGL_J1013.7+3444_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/795489/ft2_4FGL_J1013.7+3444_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/795489/ltcube_692150401_692409601_4FGL_J1013.7+3444_daily_bin1747.fits outfile=/scratch/kocevski/795489/expmap_692150401_692409601_4FGL_J1013.7+3444_daily_bin1747.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/795489/ltcube_692150401_692409601_4FGL_J1013.7+3444_daily_bin1747.fits
.....................!
real 191.31
user 185.28
sys 5.70

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/795489/ft1_filtered_4FGL_J1013.7+3444_daily_bin1747.fits scfile=/scratch/kocevski/795489/ft2_4FGL_J1013.7+3444_daily_bin1747.fits outfile=/scratch/kocevski/795489/cmap_692150401_692409601_4FGL_J1013.7+3444_daily_bin1747.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.54
user 0.37
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/795489/ft1_filtered_4FGL_J1013.7+3444_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/795489/ft2_4FGL_J1013.7+3444_daily_bin1747.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/795489/Model_4FGL_J1013.7+3444_daily_bin1747.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/795489/ft1_filtered_4FGL_J1013.7+3444_daily_bin1747.fits.....................!
real 54.51
user 53.24
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .55028E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    1.0785       1.0000          .0000       .10000E+07
     3 'norm      '    .15723E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    7.1744       1.0000          .0000       .10000E+07
     5 'Prefactor '    .77605E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .33472E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .66582E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    5.1243       1.0000          .0000       .10000E+07
     9 'Prefactor '    .20888       1.0000          .0000       .10000E+07
    10 'norm      '    12.214       1.0000          .0000       .10000E+07
    11 'Prefactor '    .53829E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    4.9634       1.0000          .0000       .10000E+07
    13 'norm      '    8.2231       1.0000          .0000       .10000E+07
    14 'Prefactor '    45.753       1.0000          .0000       .10000E+07
    15 'Prefactor '    50.872       1.0000          .0000       .10000E+07
    16 'Prefactor '    4.7005       1.0000          .0000       .10000E+07
    17 'Prefactor '    .17832E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .69559       1.0000          .0000       .10000E+07
    19 'Prefactor '    .89438E-03   1.0000          .0000       .10000E+07
    20 'norm      '    1.7442       1.0000          .0000       .10000E+07
    21 'Prefactor '    46.710       1.0000          .0000       .10000E+07
    22 'Prefactor '    .36053E-03   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0921       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .83502       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=   6484.524     FROM MIGRAD    STATUS=CONVERGED    160 CALLS     2015 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .72187E-06    7.9160        .20033E-05** at limit **
   2  Prefactor     1.0805        2.5764       -.99438E-07   -.16050E-03
   3  norm          .44409E-09    5.7571       -.59300E-07** at limit **
   4  Prefactor     7.1310        3.4691        .11739E-05   -.31547E-01
   5  Prefactor     .33773E-06    9.7102       -.20871E-05** at limit **
   6  Prefactor     .93814E-08    16.420        .24636E-05** at limit **
   7  Prefactor     .11102E-09    4.1603       -.19588E-06** at limit **
   8  Prefactor     5.1212        5.8446        .11904E-06    .48710E-03
   9  Prefactor     .20903        3.1513        .24932E-06** at limit **
  10  norm          12.184        7.3539        .11029E-07    .14329E-02
  11  Prefactor      .0000        1.1750       -.19891E-06** at limit **
  12  Prefactor     4.9643        3.6048       -.25134E-07   -.81511E-03
  13  norm          8.2256        7.9237        .26782E-05    .10758    
  14  Prefactor     45.977        3.6556        .90540E-07   -.37447E-01
  15  Prefactor     50.674        6.6704        .85696E-06   -.17444    
  16  Prefactor     4.6718        5.6644       -.63996E-06   -.16991E-01
  17  Prefactor     .17930E-07    5.6678        .56733E-06** at limit **
  18  Prefactor     .95807E-06    193.78        .31147E-05** at limit **
  19  Prefactor     .14000E-06    7.8500        .12353E-06** at limit **
  20  norm          1.7441        .36418       -.21178E-07   -.64602E-03
  21  Prefactor     46.722        1.0133       -.31480E-08   -.44437E-02
  22  Prefactor     .22204E-09    3.8007       -.19445E-05** at limit **
  23  Normalizat    1.0925        .19845       -.95768E-05   -.67839E-05
  24  Prefactor     .83491        .22654        .11333E-04   -.38091E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.21867e-07
  Prefactor  = 1.0805
  norm       = 4.44089e-10
  Prefactor  = 7.13102
  Prefactor  = 3.3773e-07
  Prefactor  = 9.38138e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 5.12119
  Prefactor  = 0.209027
  norm       = 12.1843
  Prefactor  = 0
  Prefactor  = 4.96427
  norm       = 8.22557
  Prefactor  = 45.9771
  Prefactor  = 50.6735
  Prefactor  = 4.6718
  Prefactor  = 1.79301e-08
  Prefactor  = 9.58067e-07
  Prefactor  = 1.39999e-07
  norm       = 1.7441
  Prefactor  = 46.7217
  Prefactor  = 2.22045e-10
  Normalizat = 1.09254
  Prefactor  = 0.834906
 **********
 **   18 **HESSE 
 **********

 FCN=   6484.524     FROM HESSE     STATUS=OK           449 CALLS     2464 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .72187E-06    12.814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.0805        2.6283        .11615E-02   -1.5687    
   3  norm          .44409E-09    5.7632        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.1310        24.753        .37426E-03   -1.5655    
   5  Prefactor     .33773E-06    14.108        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .93814E-08    17.163        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11102E-09    4.1484        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.1212        5.8503        .44390E-03   -1.5663    
   9  Prefactor     .20903        1.5472        .32395E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          12.184        7.3593        .28638E-03   -1.5638    
  11  Prefactor      .0000        1.1746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.9643        3.6202        .45118E-03   -1.5663    
  13  norm          8.2256        10.144        .34937E-03   -1.5651    
  14  Prefactor     45.977        50.259        .14785E-03   -1.5572    
  15  Prefactor     50.674        34.778        .14021E-03   -1.5566    
  16  Prefactor     4.6718        5.8459        .46390E-03   -1.5665    
  17  Prefactor     .17930E-07    7.7406        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .95807E-06    196.19        .61067E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .14000E-06    9.0844        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.7441        .37290        .48871E-03   -1.5682    
  21  Prefactor     46.722        20.029        .14633E-03   -1.5571    
  22  Prefactor     .22204E-09    8.0202        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0925        .17035        .38329E-01   -.89992    
  24  Prefactor     .83491        .19311        .68003E-01   -.98454    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23034e-06
Minuit parameter uncertainties:
  1  0.00608265
  2  2.62828
  3  0.000100851
  4  24.7531
  5  0.00436552
  6  0.000803382
  7  4.79671e-05
  8  5.85029
  9  1.13737
  10  7.35935
  11  1.99521e-06
  12  3.62025
  13  10.1438
  14  50.2591
  15  34.7781
  16  5.84589
  17  0.00074514
  18  0.0274212
  19  0.00225537
  20  0.372904
  21  20.0289
  22  8.21037e-05
  23  0.170432
  24  0.19327
Done.

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

Extracting fit parameters...

4FGL J1013.7+3444
   Spectrum: PowerLaw
278    Prefactor:  0.000e+00  1.995e-06  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.349e-01  1.933e-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.093e+00  1.704e-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.33e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.17e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/795489/likelihoodResults_692150401_692409601_4FGL_J1013.7+3444_daily_bin1747.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) = 6484.5244378
delta logL = -0.000123055054246

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6484.52431478
delta logL = -3.46071828972e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     2 'Index     '    1.3440       1.0000          .0000       10.000    
     3 'Normalizat'    1.0926       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83486       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=   6484.524     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      195 TOTAL
                     EDM=   .52E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.5915        .42118E-03** at limit **
   2  Index         1.5922        1.1469        .42939E-04     .0000    
   3  Normalizat    1.0925        1.1607       -.15978E-04   -.25245E-03
   4  Prefactor     .83491        1.1825        .12025E-04   -.21061E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.59222
  Normalizat = 1.09254
  Prefactor  = 0.834906
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6484.524     FROM HESSE     STATUS=FAILED         9 CALLS      204 TOTAL
                     EDM=   .52E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.5915        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .23972        1.5242        .42939E-04   -.74989    
   3  Normalizat    1.0925        1.1607       -.15978E-04   -.89992    
   4  Prefactor     .83491        1.1825        .12025E-04   -.98454    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.23353e-11
Minuit parameter uncertainties:
  1  1.31489e-05
  2  1.16656
  3  1.18963
  4  1.22182
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/795489': 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) = 6484.52431475
delta logL = -2.91038304567e-11

Extracting fit parameters...

4FGL J1013.7+3444
   Spectrum: PowerLaw
278    Prefactor:  0.000e+00  1.315e-05  0.000e+00  1.000e+06 ( 1.000e-12)
279        Index:  1.592e+00  1.167e+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.349e-01  1.222e+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.093e+00  1.190e+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/795489/cmap_HighResolution_692150401_692409601_4FGL_J1013.7+3444_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.17e-03', job_status='DONE', photon_flux_upper_limit='5.33e-08', time_completed='2022-12-11 00:46:37.880401', job_id='795489', GAL2='0.83', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1670748397.88', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='-2.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1747' AND source_name='4FGL J1013.7+3444' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 00:46:37 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 795489: <4FGL_J1013.7+3444_daily_bin1747> in cluster <slac> Done

Job <4FGL_J1013.7+3444_daily_bin1747> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Dec 11 00:35:17 2022
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 00:35:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 00:35:18 2022
Terminated at Sun Dec 11 00:46:38 2022
Results reported at Sun Dec 11 00:46:38 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1013.7+3444_daily_bin1747 153.449 34.7384 692150401 692409601 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 :                                   644.10 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             354.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   680 sec.
    Turnaround time :                            681 sec.

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

