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


Performing analysis on: 4FGL_J1013.7+3444_daily_bin1748
RA = 153.449, Dec = 34.7384
tmin = 692409601, tmax = 692668801
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='881886', job_status='RUN', time_executed='2022-12-14 00:27:35.135621', time_epoch_executed='1671006455.14' WHERE source_name='4FGL J1013.7+3444' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/881886

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/881886/ft1_4FGL_J1013.7+3444_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/881886/ft2_4FGL_J1013.7+3444_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/881886/ft1_4FGL_J1013.7+3444_daily_bin1748.fits outfile=/scratch/kocevski/881886/ft1_filteredMKT_4FGL_J1013.7+3444_daily_bin1748.fits ra=153.449 dec=34.7384 rad=12.0 tmin=692409601.0 tmax=692668801.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.57
user 3.33
sys 0.21

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

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

Number of photons that the gtmktime cut: 608

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/881886/ft1_filtered_4FGL_J1013.7+3444_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/881886/ft2_4FGL_J1013.7+3444_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/881886/ltcube_692409601_692668801_4FGL_J1013.7+3444_daily_bin1748.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/881886/ft2_4FGL_J1013.7+3444_daily_bin1748.fits
.....................!
real 12.48
user 12.09
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/881886/ft1_filtered_4FGL_J1013.7+3444_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/881886/ft2_4FGL_J1013.7+3444_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/881886/ltcube_692409601_692668801_4FGL_J1013.7+3444_daily_bin1748.fits outfile=/scratch/kocevski/881886/expmap_692409601_692668801_4FGL_J1013.7+3444_daily_bin1748.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/881886/ltcube_692409601_692668801_4FGL_J1013.7+3444_daily_bin1748.fits
.....................!
real 194.28
user 185.80
sys 6.27

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/881886/ft1_filtered_4FGL_J1013.7+3444_daily_bin1748.fits scfile=/scratch/kocevski/881886/ft2_4FGL_J1013.7+3444_daily_bin1748.fits outfile=/scratch/kocevski/881886/cmap_692409601_692668801_4FGL_J1013.7+3444_daily_bin1748.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/881886/ft1_filtered_4FGL_J1013.7+3444_daily_bin1748.fits scfile=/scratch/kocevski/881886/ft2_4FGL_J1013.7+3444_daily_bin1748.fits outfile=/scratch/kocevski/881886/cmap_HighResolution_692409601_692668801_4FGL_J1013.7+3444_daily_bin1748.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=153.449 yref=34.7384 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/881886/ft1_filtered_4FGL_J1013.7+3444_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/881886/ft2_4FGL_J1013.7+3444_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/881886/Model_4FGL_J1013.7+3444_daily_bin1748.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/881886/ft1_filtered_4FGL_J1013.7+3444_daily_bin1748.fits.....................!
real 58.31
user 56.79
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .53831E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .87150E-01   1.0000          .0000       .10000E+07
     3 'norm      '    .13775E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .27406E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .18914E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .66543       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.2429       1.0000          .0000       .10000E+07
     8 'Prefactor '    .11652E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.8788       1.0000          .0000       .10000E+07
    10 'norm      '    6.5263       1.0000          .0000       .10000E+07
    11 'Prefactor '    .16266E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    5.8649       1.0000          .0000       .10000E+07
    13 'norm      '    10.794       1.0000          .0000       .10000E+07
    14 'Prefactor '    1.4085       1.0000          .0000       .10000E+07
    15 'Prefactor '    53.051       1.0000          .0000       .10000E+07
    16 'Prefactor '    2.1692       1.0000          .0000       .10000E+07
    17 'Prefactor '    54.367       1.0000          .0000       .10000E+07
    18 'Prefactor '    .47689       1.0000          .0000       .10000E+07
    19 'Prefactor '    .17333E-03   1.0000          .0000       .10000E+07
    20 'norm      '    2.7352       1.0000          .0000       .10000E+07
    21 'Prefactor '    .32151E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    2.9773       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0388       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .87580       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=   6818.256     FROM MIGRAD    STATUS=CONVERGED    188 CALLS     2100 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    5.5570       -.69431E-06** at limit **
   2  Prefactor     .88113E-01    18.175       -.25364E-05** at limit **
   3  norm          .24425E-08    7.4005        .92101E-06** at limit **
   4  Prefactor      .0000        5.0156       -.68286E-06** at limit **
   5  Prefactor     .28810E-07    9.8869       -.50263E-06** at limit **
   6  Prefactor     .39128E-05    172.95       -.10342E-05** at limit **
   7  Prefactor     3.2389        3.5705        .95219E-06    .11254E-03
   8  Prefactor     .16653E-09    3.3795       -.55149E-06** at limit **
   9  Prefactor     3.8748        2.2753       -.20543E-06   -.32469E-02
  10  norm          6.5365        5.8348       -.19410E-06   -.19161E-02
  11  Prefactor      .0000        2.6089        .13794E-05** at limit **
  12  Prefactor     5.8321        5.6389        .27353E-06    .36546E-02
  13  norm          10.791        1.7584       -.23915E-06   -.54209E-01
  14  Prefactor     .94165        606.12       -.25908E-04    .95300E-02
  15  Prefactor     52.964        2.9757       -.12954E-06   -.63726E-02
  16  Prefactor     2.1231        4.9663       -.21583E-08    .39766E-02
  17  Prefactor     54.153        15.914        .10145E-05    .12998    
  18  Prefactor     .34661E-06    60.498        .22017E-06** at limit **
  19  Prefactor     .11102E-09    4.1767        .19319E-05** at limit **
  20  norm          2.7347        .42830        .43902E-07    .31334E-02
  21  Prefactor     .25369E-07    9.0399       -.21167E-05** at limit **
  22  Prefactor     2.9956        6.9242       -.15585E-05   -.48373E-01
  23  Normalizat    1.0406        .19306        .14335E-04    .19340E-03
  24  Prefactor     .87523        .21834       -.10005E-04    .14742E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  Prefactor  = 0.0881131
  norm       = 2.44249e-09
  Prefactor  = 0
  Prefactor  = 2.88103e-08
  Prefactor  = 3.91276e-06
  Prefactor  = 3.23886
  Prefactor  = 1.66533e-10
  Prefactor  = 3.87483
  norm       = 6.53645
  Prefactor  = 0
  Prefactor  = 5.83208
  norm       = 10.7914
  Prefactor  = 0.941655
  Prefactor  = 52.964
  Prefactor  = 2.12305
  Prefactor  = 54.1531
  Prefactor  = 3.46612e-07
  Prefactor  = 1.11022e-10
  norm       = 2.73475
  Prefactor  = 2.53686e-08
  Prefactor  = 2.99563
  Normalizat = 1.04055
  Prefactor  = 0.875227
 **********
 **   18 **HESSE 
 **********

 FCN=   6818.256     FROM HESSE     STATUS=OK           455 CALLS     2555 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    5.5588        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .88113E-01    1.5136        .61072E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .24425E-08    7.4258        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        5.0190        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .28810E-07    10.052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .39128E-05    174.37        .63560E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.2389        3.5836        .56220E-03   -1.5672    
   8  Prefactor     .16653E-09    3.3889        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.8748        2.2751        .51210E-03   -1.5669    
  10  norm          6.5365        5.8219        .39260E-03   -1.5657    
  11  Prefactor      .0000        2.6086        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.8321        5.7173        .41444E-03   -1.5660    
  13  norm          10.791        10.138        .30470E-03   -1.5642    
  14  Prefactor     .94165        845.55        .91277E-03   -1.5689    
  15  Prefactor     52.964        39.040        .13730E-03   -1.5562    
  16  Prefactor     2.1231        5.3298        .69893E-03   -1.5679    
  17  Prefactor     54.153        34.836        .13563E-03   -1.5561    
  18  Prefactor     .34661E-06    61.694        .81069E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .11102E-09    4.1954        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.7347        .46133        .46548E-03   -1.5675    
  21  Prefactor     .25369E-07    9.1893        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2.9956        36.710        .58815E-03   -1.5673    
  23  Normalizat    1.0406        .16576        .41381E-01   -.91684    
  24  Prefactor     .87523        .18668        .67096E-01   -.97012    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06543e-06
Minuit parameter uncertainties:
  1  2.60644e-05
  2  0.730403
  3  0.000269725
  4  1.26693e-05
  5  0.00107657
  6  0.0522413
  7  3.58356
  8  4.58445e-05
  9  2.27506
  10  5.82194
  11  6.90544e-06
  12  5.71734
  13  10.1379
  14  56.4427
  15  39.0404
  16  5.32977
  17  34.8366
  18  0.00924838
  19  4.72839e-05
  20  0.461329
  21  0.000966055
  22  20.9734
  23  0.165847
  24  0.18682
Done.

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

Extracting fit parameters...

4FGL J1013.7+3444
   Spectrum: PowerLaw
278    Prefactor:  0.000e+00  6.905e-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.752e-01  1.868e-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.041e+00  1.658e-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: 7.79e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.10e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/881886/likelihoodResults_692409601_692668801_4FGL_J1013.7+3444_daily_bin1748.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) = 6818.26008819
delta logL = -0.00368212254216

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6818.25641076
delta logL = -4.69089172839e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .59303E-06   1.0000          .0000       .10000E+07
     2 'Index     '    3.1133       1.0000          .0000       10.000    
     3 'Normalizat'    1.0411       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87463       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=   6818.256     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      234 TOTAL
                     EDM=   .31E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.2820        .42118E-03** at limit **
   2  Index         2.9973        .99350       -.15574E-04     .0000    
   3  Normalizat    1.0406        1.2166        .12461E-04   -.77806E-04
   4  Prefactor     .87523        1.2211       -.57080E-05   -.12342E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.99727
  Normalizat = 1.04056
  Prefactor  = 0.875226
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6818.256     FROM HESSE     STATUS=FAILED         9 CALLS      243 TOTAL
                     EDM=   .31E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.2820        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0156        2.0293       -.15574E-04   -.41211    
   3  Normalizat    1.0406        1.2166        .12461E-04   -.91684    
   4  Prefactor     .87523        1.2211       -.57080E-05   -.97012    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.11553e-11
Minuit parameter uncertainties:
  1  1.74912e-05
  2  1.00146
  3  1.25174
  4  1.26268
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/881886': 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) = 6818.25640607
delta logL = -9.09494701773e-13

Extracting fit parameters...

4FGL J1013.7+3444
   Spectrum: PowerLaw
278    Prefactor:  0.000e+00  1.749e-05  0.000e+00  1.000e+06 ( 1.000e-12)
279        Index:  2.997e+00  1.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.752e-01  1.263e+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.041e+00  1.252e+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/881886/cmap_HighResolution_692409601_692668801_4FGL_J1013.7+3444_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.10e-03', job_status='DONE', photon_flux_upper_limit='7.79e-08', time_completed='2022-12-14 00:38:46.491435', job_id='881886', GAL2='0.88', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1671007126.49', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='-9.09e-13', ts2='0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1748' AND source_name='4FGL J1013.7+3444' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 00:38:46 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 881886: <4FGL_J1013.7+3444_daily_bin1748> in cluster <slac> Done

Job <4FGL_J1013.7+3444_daily_bin1748> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec 14 00:25:33 2022
Job was executed on host(s) <bullet0032>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:25:34 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:25:34 2022
Terminated at Wed Dec 14 00:38:46 2022
Results reported at Wed Dec 14 00:38:46 2022

Your job looked like:

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

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

