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 88 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1013.7+3444_daily_bin1674
RA = 153.449, Dec = 34.7384
tmin = 673228801, tmax = 673488001
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='669786', job_status='RUN', time_executed='2022-05-06 02:49:17.641373', time_epoch_executed='1651830557.64' WHERE source_name='4FGL J1013.7+3444' and cadence='daily' and bin_id='1674'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/669786

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/669786/ft1_4FGL_J1013.7+3444_daily_bin1674.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/669786/ft2_4FGL_J1013.7+3444_daily_bin1674.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/669786/ft1_4FGL_J1013.7+3444_daily_bin1674.fits outfile=/scratch/kocevski/669786/ft1_filteredMKT_4FGL_J1013.7+3444_daily_bin1674.fits ra=153.449 dec=34.7384 rad=12.0 tmin=673228801.0 tmax=673488001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.75
user 2.53
sys 0.19

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

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

Number of photons that the gtmktime cut: 822

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/669786/ft1_filtered_4FGL_J1013.7+3444_daily_bin1674.fits" evtable="EVENTS" scfile=/scratch/kocevski/669786/ft2_4FGL_J1013.7+3444_daily_bin1674.fits sctable="SC_DATA" outfile=/scratch/kocevski/669786/ltcube_673228801_673488001_4FGL_J1013.7+3444_daily_bin1674.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/669786/ft2_4FGL_J1013.7+3444_daily_bin1674.fits
.....................!
real 14.91
user 14.51
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/669786/ft1_filtered_4FGL_J1013.7+3444_daily_bin1674.fits evtable="EVENTS" scfile=/scratch/kocevski/669786/ft2_4FGL_J1013.7+3444_daily_bin1674.fits sctable="SC_DATA" expcube=/scratch/kocevski/669786/ltcube_673228801_673488001_4FGL_J1013.7+3444_daily_bin1674.fits outfile=/scratch/kocevski/669786/expmap_673228801_673488001_4FGL_J1013.7+3444_daily_bin1674.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/669786/ltcube_673228801_673488001_4FGL_J1013.7+3444_daily_bin1674.fits
.....................!
real 191.98
user 186.10
sys 5.53

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/669786/ft1_filtered_4FGL_J1013.7+3444_daily_bin1674.fits scfile=/scratch/kocevski/669786/ft2_4FGL_J1013.7+3444_daily_bin1674.fits outfile=/scratch/kocevski/669786/cmap_673228801_673488001_4FGL_J1013.7+3444_daily_bin1674.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.59
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/669786/ft1_filtered_4FGL_J1013.7+3444_daily_bin1674.fits scfile=/scratch/kocevski/669786/ft2_4FGL_J1013.7+3444_daily_bin1674.fits outfile=/scratch/kocevski/669786/cmap_HighResolution_673228801_673488001_4FGL_J1013.7+3444_daily_bin1674.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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/669786/ft1_filtered_4FGL_J1013.7+3444_daily_bin1674.fits evtable="EVENTS" scfile=/scratch/kocevski/669786/ft2_4FGL_J1013.7+3444_daily_bin1674.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/669786/Model_4FGL_J1013.7+3444_daily_bin1674.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/669786/ft1_filtered_4FGL_J1013.7+3444_daily_bin1674.fits.....................!
real 71.10
user 69.62
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/669786/ft1_filtered_4FGL_J1013.7+3444_daily_bin1674.fits', '/scratch/kocevski/669786/ft2_4FGL_J1013.7+3444_daily_bin1674.fits', expMap='/scratch/kocevski/669786/expmap_673228801_673488001_4FGL_J1013.7+3444_daily_bin1674.fits', expCube='/scratch/kocevski/669786/ltcube_673228801_673488001_4FGL_J1013.7+3444_daily_bin1674.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/669786/Model_4FGL_J1013.7+3444_daily_bin1674.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  1.000e-04  1.000e+04 ( 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/669786/ft1_filtered_4FGL_J1013.7+3444_daily_bin1674.fits
Spacecraft file(s): /scratch/kocevski/669786/ft2_4FGL_J1013.7+3444_daily_bin1674.fits
Exposure map: /scratch/kocevski/669786/expmap_673228801_673488001_4FGL_J1013.7+3444_daily_bin1674.fits
Exposure cube: /scratch/kocevski/669786/ltcube_673228801_673488001_4FGL_J1013.7+3444_daily_bin1674.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/669786/Model_4FGL_J1013.7+3444_daily_bin1674.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) = 8948.69278738

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.3520       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.176       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.1449       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.2039       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.097       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.9339       1.0000         .10000E-03   10000.    
    14 'norm      '    .11240E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    19.347       1.0000         .10000E-03   10000.    
    16 'Prefactor '    42.532       1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.1330       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .34647E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    16.137       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.5993       1.0000         .10000E-03   10000.    
    23 'norm      '    1.3418       1.0000         .10000E-03   10000.    
    24 'Prefactor '    40.650       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.1704       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .74468       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.

 FCN=   8948.631     FROM MIGRAD    STATUS=CONVERGED    704 CALLS     3468 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.5668        .90916E-07** at limit **
   2  Prefactor     2.3516        2.7252        .23706E-06    .56248E-04
   3  norm          .10000E-03    7.1963        .54705E-07** at limit **
   4  Prefactor     .10000E-03    11.376        .88483E-07** at limit **
   5  Prefactor     .10000E-03    6.5048        .67147E-07** at limit **
   6  Prefactor     .10000E-03    6.8927        .40811E-06** at limit **
   7  Prefactor     14.175        6.7489       -.10377E-06   -.17109E-04
   8  Prefactor     7.1446        6.3161       -.29680E-06    .19769E-04
   9  Prefactor     1.2035        2.1395        .51953E-06    .40671E-03
  10  norm          .10000E-03    2.5122        .70742E-07** at limit **
  11  Prefactor     .10000E-03    1.9605        .65082E-06** at limit **
  12  Prefactor     13.098        20.049       -.14203E-05   -.29520E-03
  13  Prefactor     2.9352        3.6734       -.29284E-06    .12477E-04
  14  norm          .10358E-03    10.490        .83791E-05** at limit **
  15  Prefactor     19.345        19.297       -.27353E-07    .79620E-05
  16  Prefactor     42.712        33.509       -.10353E-05    .31511E-03
  17  Prefactor     9.1336        4.8210       -.53229E-06   -.13470E-02
  18  Prefactor     .14344E-03    4.0979       -.27899E-05** at limit **
  19  Prefactor     16.132        36.690        .41169E-05   -.66642E-04
  20  Prefactor     .10000E-03    14.256        .91475E-07** at limit **
  21  Prefactor     .10000E-03    139.43        .87799E-05** at limit **
  22  Prefactor     1.5994        11.828        .11316E-04    .65530E-03
  23  norm          1.3418        .29621       -.52548E-08    .60214E-03
  24  Prefactor     40.650        16.625        .41959E-06   -.74596E-06
  25  Prefactor     .10000E-03    6.9055       -.36887E-06** at limit **
  26  Normalizat    1.1705        .14698       -.97252E-06   -.40129E-03
  27  Prefactor     .74462        .16223       -.77711E-06   -.34817E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 2.3516
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.1749
  Prefactor  = 7.14464
  Prefactor  = 1.20352
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 13.0978
  Prefactor  = 2.93515
  norm       = 0.000103579
  Prefactor  = 19.3455
  Prefactor  = 42.7125
  Prefactor  = 9.13359
  Prefactor  = 0.000143443
  Prefactor  = 16.1325
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 1.59943
  norm       = 1.34176
  Prefactor  = 40.6505
  Prefactor  = 0.0001
  Normalizat = 1.17052
  Prefactor  = 0.744619
 **********
 **   18 **HESSE 
 **********

 FCN=   8948.631     FROM HESSE     STATUS=OK           504 CALLS     3972 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.6585        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.3516        2.7156        .16093E-03   -1.5401    
   3  norm          .10000E-03    7.3494        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    11.415        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.5158        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.9013        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     14.175        6.7439        .10638E-03   -1.4955    
   8  Prefactor     7.1446        6.3100        .15007E-03   -1.5173    
   9  Prefactor     1.2035        2.1177        .17174E-03   -1.5489    
  10  norm          .10000E-03    2.5320        .14641E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.0155        .25826E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.098        20.149        .11068E-03   -1.4984    
  13  Prefactor     2.9352        3.6736        .18669E-03   -1.5365    
  14  norm          .10358E-03    7.9230        .62299E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     19.345        19.300        .91059E-04   -1.4828    
  16  Prefactor     42.712        44.991        .61469E-04   -1.4400    
  17  Prefactor     9.1336        4.8717        .13044E-03   -1.5103    
  18  Prefactor     .14344E-03    11.206        .42341E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     16.132        36.476        .99702E-04   -1.4904    
  20  Prefactor     .10000E-03    14.340        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    138.90        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.5994        12.346        .16764E-02   -1.5455    
  23  norm          1.3418        .29720        .22611E-04   -1.5476    
  24  Prefactor     40.650        16.690        .62871E-04   -1.4432    
  25  Prefactor     .10000E-03    6.9161        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.1705        .17194        .21872E-03   -.87519    
  27  Prefactor     .74462        .18791        .31402E-03   -1.0180    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.80631e-09
Minuit parameter uncertainties:
  1  1.66989e-05
  2  2.71573
  3  1.4059e-05
  4  3.82807e-05
  5  1.84374e-05
  6  1.16431e-05
  7  6.74423
  8  6.31062
  9  2.11783
  10  1.01325e-05
  11  6.95339e-05
  12  20.1598
  13  3.67389
  14  0.0106512
  15  19.3063
  16  45.0269
  17  4.87188
  18  0.0441371
  19  36.5263
  20  2.16342e-05
  21  0.000780501
  22  8.88977
  23  0.297197
  24  16.6923
  25  1.1497e-05
  26  0.172028
  27  0.188072
Done.

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

Extracting fit parameters...

4FGL J1013.7+3444
   Spectrum: PowerLaw
278    Prefactor:  1.000e-04  6.953e-05  1.000e-04  1.000e+04 ( 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:  7.446e-01  1.881e-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.171e+00  1.720e-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.61e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.39e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/669786/likelihoodResults_673228801_673488001_4FGL_J1013.7+3444_daily_bin1674.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) = 8948.63370702
delta logL = -0.00236566022795

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8948.63134185
delta logL = -4.93662810186e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6049       1.0000          .0000       10.000    
     3 'Normalizat'    1.1704       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74477       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=   8948.631     FROM MIGRAD    STATUS=FAILED        89 CALLS      244 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10207E-03    24.805        .25980E-02** at limit **
   2  Index         2.7026        8.3073        .50000       -.50271E-04
   3  Normalizat    1.1705        .11706E-01    .21872E-03    .22952E-03
   4  Prefactor     .74462        .13759E-01    .31402E-03    .13938E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8948.631     FROM SIMPLEX   STATUS=PROGRESS     126 CALLS      370 TOTAL
                     EDM=   .55E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10191E-03    24.805        .17866E-03** at limit **
   2  Index         2.7012        8.3073        .44909E-03   -.50271E-04
   3  Normalizat    1.1705        .11706E-01    .26101E-05    .22952E-03
   4  Prefactor     .74461        .13759E-01    .33403E-05    .13938E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8948.631     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      424 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.0282        .51959E-02** at limit **
   2  Index         3.0885        8.1588        .50000        .44397E-06
   3  Normalizat    1.1705        .45196E-02    .43744E-04   -.14211E-03
   4  Prefactor     .74462        .53123E-02    .12561E-04   -.16400E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 3.08847
  Normalizat = 1.17052
  Prefactor  = 0.74462
 **********
 **   18 **HESSE 
 **********

 FCN=   8948.631     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      453 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    177.60        .20784E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.0885        5.3767        .50000       -.39229    
   3  Normalizat    1.1705        .32341E-01    .87488E-05   -.87519    
   4  Prefactor     .74462        .37979E-01    .25122E-05   -1.0180    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.40903e-08
Minuit parameter uncertainties:
  1  0.000323544
  2  523.315
  3  0.0323414
  4  0.0379801
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/669786': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8948.63133766
delta logL = 3.69675763068e-06

Extracting fit parameters...

4FGL J1013.7+3444
   Spectrum: PowerLaw
278    Prefactor:  1.000e-04  3.235e-04  1.000e-04  1.000e+04 ( 1.000e-12)
279        Index:  3.088e+00  5.233e+02  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:  7.446e-01  3.798e-02  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.171e+00  3.234e-02  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/669786/cmap_HighResolution_673228801_673488001_4FGL_J1013.7+3444_daily_bin1674.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.39e-03', job_status='DONE', photon_flux_upper_limit='5.61e-08', time_completed='2022-05-06 03:07:09.332652', job_id='669786', GAL2='0.74', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1651831629.33', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='3.70e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1674' AND source_name='4FGL J1013.7+3444' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri May  6 03:07:09 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0009>
Subject: Job 669731: <4FGL_J1013.7+3444_daily_bin1674> in cluster <slac> Done

Job <4FGL_J1013.7+3444_daily_bin1674> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri May  6 00:06:57 2022
Job was executed on host(s) <bullet0009>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May  6 02:47:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May  6 02:47:18 2022
Terminated at Fri May  6 03:06:20 2022
Results reported at Fri May  6 03:06:20 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1013.7+3444_daily_bin1674 153.449 34.7384 673228801 673488001 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 :                                   1063.33 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             298.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1142 sec.
    Turnaround time :                            10763 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0170>
Subject: Job 669786: <4FGL_J1013.7+3444_daily_bin1674> in cluster <slac> Done

Job <4FGL_J1013.7+3444_daily_bin1674> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri May  6 00:07:00 2022
Job was executed on host(s) <bullet0170>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May  6 02:47:40 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May  6 02:47:40 2022
Terminated at Fri May  6 03:07:10 2022
Results reported at Fri May  6 03:07:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1013.7+3444_daily_bin1674 153.449 34.7384 673228801 673488001 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 :                                   1061.27 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             325.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1169 sec.
    Turnaround time :                            10810 sec.

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

