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


Performing analysis on: 4FGL_J1613.6+3411_daily_bin1780
RA = 243.421, Dec = 34.1982
tmin = 700704001, tmax = 700963201
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='69524', job_status='RUN', time_executed='2023-03-20 01:17:45.802271', time_epoch_executed='1679300265.8' WHERE source_name='4FGL J1613.6+3411' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/69524

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/69524/ft1_4FGL_J1613.6+3411_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/69524/ft2_4FGL_J1613.6+3411_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/69524/ft1_4FGL_J1613.6+3411_daily_bin1780.fits outfile=/scratch/kocevski/69524/ft1_filteredMKT_4FGL_J1613.6+3411_daily_bin1780.fits ra=243.421 dec=34.1982 rad=12.0 tmin=700704001.0 tmax=700963201.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 4.09
user 3.86
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/69524/ft2_4FGL_J1613.6+3411_daily_bin1780.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/69524/ft2_4FGL_J1613.6+3411_daily_bin1780.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/69524/ft1_filteredMKT_4FGL_J1613.6+3411_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/69524/ft1_filtered_4FGL_J1613.6+3411_daily_bin1780.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.51
user 0.34
sys 0.14

Number of photons that the gtmktime cut: 819

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/69524/ft1_filtered_4FGL_J1613.6+3411_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/69524/ft2_4FGL_J1613.6+3411_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/69524/ltcube_700704001_700963201_4FGL_J1613.6+3411_daily_bin1780.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/69524/ft2_4FGL_J1613.6+3411_daily_bin1780.fits
.....................!
real 13.36
user 12.93
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/69524/ft1_filtered_4FGL_J1613.6+3411_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/69524/ft2_4FGL_J1613.6+3411_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/69524/ltcube_700704001_700963201_4FGL_J1613.6+3411_daily_bin1780.fits outfile=/scratch/kocevski/69524/expmap_700704001_700963201_4FGL_J1613.6+3411_daily_bin1780.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/69524/ltcube_700704001_700963201_4FGL_J1613.6+3411_daily_bin1780.fits
.....................!
real 191.19
user 186.18
sys 4.47

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 190 point sources and 0 extended sources

Setting source of interest to:
4FGL J1613.6+3411 @ 243.421 34.1982

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/69524/ft1_filtered_4FGL_J1613.6+3411_daily_bin1780.fits scfile=/scratch/kocevski/69524/ft2_4FGL_J1613.6+3411_daily_bin1780.fits outfile=/scratch/kocevski/69524/cmap_700704001_700963201_4FGL_J1613.6+3411_daily_bin1780.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=243.421 yref=34.1982 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.58
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/69524/ft1_filtered_4FGL_J1613.6+3411_daily_bin1780.fits scfile=/scratch/kocevski/69524/ft2_4FGL_J1613.6+3411_daily_bin1780.fits outfile=/scratch/kocevski/69524/cmap_HighResolution_700704001_700963201_4FGL_J1613.6+3411_daily_bin1780.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=243.421 yref=34.1982 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.61
user 0.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/69524/ft1_filtered_4FGL_J1613.6+3411_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/69524/ft2_4FGL_J1613.6+3411_daily_bin1780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/69524/Model_4FGL_J1613.6+3411_daily_bin1780.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/69524/ft1_filtered_4FGL_J1613.6+3411_daily_bin1780.fits.....................!
real 65.28
user 63.91
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/69524/ft1_filtered_4FGL_J1613.6+3411_daily_bin1780.fits', '/scratch/kocevski/69524/ft2_4FGL_J1613.6+3411_daily_bin1780.fits', expMap='/scratch/kocevski/69524/expmap_700704001_700963201_4FGL_J1613.6+3411_daily_bin1780.fits', expCube='/scratch/kocevski/69524/ltcube_700704001_700963201_4FGL_J1613.6+3411_daily_bin1780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/69524/Model_4FGL_J1613.6+3411_daily_bin1780.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1613.6+3411'

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  2.261e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/69524/ft1_filtered_4FGL_J1613.6+3411_daily_bin1780.fits
Spacecraft file(s): /scratch/kocevski/69524/ft2_4FGL_J1613.6+3411_daily_bin1780.fits
Exposure map: /scratch/kocevski/69524/expmap_700704001_700963201_4FGL_J1613.6+3411_daily_bin1780.fits
Exposure cube: /scratch/kocevski/69524/ltcube_700704001_700963201_4FGL_J1613.6+3411_daily_bin1780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/69524/Model_4FGL_J1613.6+3411_daily_bin1780.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) = 8966.44326455

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10654E-01   1.0000          .0000       .10000E+07
     2 'norm      '    1.2515       1.0000          .0000       .10000E+07
     3 'Prefactor '    .55676E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .13317E-06   1.0000          .0000       .10000E+07
     5 'norm      '    4.8611       1.0000          .0000       .10000E+07
     6 'Prefactor '    .32752E-08   1.0000          .0000       .10000E+07
     7 'Prefactor '    .20022E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .30771E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .28382       1.0000          .0000       .10000E+07
    10 'Prefactor '    .22600E-05   1.0000          .0000       .10000E+07
    11 'norm      '    .61003E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .26284E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .86842E-03   1.0000          .0000       .10000E+07
    14 'norm      '    18.813       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.8869       1.0000          .0000       .10000E+07
    16 'Prefactor '    .12107E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    21.359       1.0000          .0000       .10000E+07
    18 'Prefactor '    .31573E-04   1.0000          .0000       .10000E+07
    19 'norm      '    4.8987       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0142       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .92533       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8966.407     FROM MIGRAD    STATUS=CONVERGED    201 CALLS     1432 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .89928E-08    42.541       -.16867E-05** at limit **
   2  norm          1.2506        .95095        .39388E-07    .44142E-02
   3  Prefactor     .98810E-08    16.548        .56535E-05** at limit **
   4  Prefactor     .29421E-08    6.8351       -.15503E-05** at limit **
   5  norm          4.8673        6.6477       -.11194E-05    .15668E-02
   6  Prefactor     .11102E-09    1.9392        .44566E-06** at limit **
   7  Prefactor     .55511E-10    4.5233       -.11001E-05** at limit **
   8  Prefactor     .66613E-09    13.452       -.79699E-05** at limit **
   9  Prefactor     .26932        6.3298        .26898E-05    .32885E-02
  10  Prefactor      .0000        .73921       -.70380E-07** at limit **
  11  norm          .63392E-02    .28983        .39715E-06** at limit **
  12  norm          .66613E-09    2.7663       -.14098E-06** at limit **
  13  Prefactor     .99920E-09    8.6880        .25221E-05** at limit **
  14  norm          18.822        1.0858       -.78346E-07    .48764E-03
  15  Prefactor     2.8851        .96423        .14750E-06   -.23213E-02
  16  Prefactor      .0000        .60873       -.78640E-06** at limit **
  17  Prefactor     20.962        2.9659       -.49763E-06   -.40619E-01
  18  Prefactor     .55511E-09    2.2069        .41800E-06** at limit **
  19  norm          4.8973        1.6011       -.14417E-06    .12086E-01
  20  Normalizat    1.0145        .17390       -.26114E-04    .69010E-03
  21  Prefactor     .92564        .13510        .13479E-04    .28976E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.99281e-09
  norm       = 1.2506
  Prefactor  = 9.88098e-09
  Prefactor  = 2.94209e-09
  norm       = 4.86727
  Prefactor  = 1.11022e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 6.66134e-10
  Prefactor  = 0.269321
  Prefactor  = 0
  norm       = 0.00633925
  norm       = 6.66134e-10
  Prefactor  = 9.99201e-10
  norm       = 18.8216
  Prefactor  = 2.8851
  Prefactor  = 0
  Prefactor  = 20.9615
  Prefactor  = 5.55112e-10
  norm       = 4.89731
  Normalizat = 1.01446
  Prefactor  = 0.92564
 **********
 **   18 **HESSE 
 **********

 FCN=   8966.407     FROM HESSE     STATUS=OK           369 CALLS     1801 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .89928E-08    42.521        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.2506        .96543        .99902E-03   -1.5686    
   3  Prefactor     .98810E-08    16.448        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .29421E-08    6.8521        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.8673        6.6539        .45601E-03   -1.5664    
   6  Prefactor     .11102E-09    1.8859        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .55511E-10    4.5247        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .66613E-09    13.619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .26932        1.3268        .61778E-02   -1.5698    
  10  Prefactor      .0000        .74345        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .63392E-02    .38780E-01    .10451E-02   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .66613E-09    2.7643        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .99920E-09    8.7443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          18.822        18.826        .23063E-03   -1.5621    
  15  Prefactor     2.8851        .94849        .59788E-03   -1.5674    
  16  Prefactor      .0000        .60050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     20.962        14.444        .21644E-03   -1.5616    
  18  Prefactor     .55511E-09    2.1677        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          4.8973        1.5940        .45421E-03   -1.5664    
  20  Normalizat    1.0145        .15023        .44383E-01   -.92547    
  21  Prefactor     .92564        .11570        .45327E-01   -.95251    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.00095e-08
Minuit parameter uncertainties:
  1  0.0012367
  2  0.965431
  3  0.000807407
  4  0.000284558
  5  6.65392
  6  3.14776e-05
  7  3.01891e-05
  8  0.000194286
  9  1.19557
  10  1.404e-06
  11  0.0313583
  12  8.51966e-05
  13  0.000188941
  14  18.8258
  15  0.948494
  16  3.29108e-06
  17  14.4436
  18  6.93815e-05
  19  1.59398
  20  0.150291
  21  0.115732
Done.

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

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  2.693e-01  1.196e+00  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  9.256e-01  1.157e-01  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.014e+00  1.503e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 243.421 34.198
Photon Flux Upper Limit: 7.27e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.63e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/69524/likelihoodResults_700704001_700963201_4FGL_J1613.6+3411_daily_bin1780.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) = 8966.40635199
delta logL = 0.000871804661074

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8966.40625151
delta logL = 0.00097228431332

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29603       1.0000          .0000       .10000E+07
     2 'Index     '    2.3190       1.0000          .0000       10.000    
     3 'Normalizat'    1.0148       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92549       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8966.406     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      256 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31219        6.4108        .63109E-02    .88015E-02
   2  Index         2.3324        1.8455        .50000        .29835E-04
   3  Normalizat    1.0146        .81723E-02    .44248E-01    .11021E-03
   4  Prefactor     .92545        .64945E-02    .45329E-01    .10950E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.31219
  Index      = 2.33241
  Normalizat = 1.01463
  Prefactor  = 0.925446
 **********
 **   18 **HESSE 
 **********

 FCN=   8966.406     FROM HESSE     STATUS=OK            35 CALLS      291 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31219        7.5277        .21374E-03   -1.5697    
   2  Index         2.3324        2.2938        .19061E-01   -.56275    
   3  Normalizat    1.0146        .17028        .25566E-03   -.92542    
   4  Prefactor     .92545        .13478        .21062E-03   -.95258    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.95137e-10
Minuit parameter uncertainties:
  1  3.06599
  2  2.42443
  3  0.170369
  4  0.134824
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/69524': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8966.40621129
delta logL = 0.00101250815896

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  3.122e-01  3.066e+00  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.332e+00  2.424e+00  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  9.254e-01  1.348e-01  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.015e+00  1.704e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 243.421 34.198

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/69524/cmap_HighResolution_700704001_700963201_4FGL_J1613.6+3411_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.63e-03', job_status='DONE', photon_flux_upper_limit='7.27e-08', time_completed='2023-03-20 01:29:06.553270', job_id='69524', GAL2='0.93', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1679300946.55', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='1.01e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='1780' AND source_name='4FGL J1613.6+3411' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 01:29:06 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 69524: <4FGL_J1613.6+3411_daily_bin1780> in cluster <slac> Done

Job <4FGL_J1613.6+3411_daily_bin1780> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Mar 20 01:15:43 2023
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 01:15:45 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 01:15:45 2023
Terminated at Mon Mar 20 01:29:07 2023
Results reported at Mon Mar 20 01:29:07 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1613.6+3411_daily_bin1780 243.421 34.1982 700704001 700963201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1613.6+3411 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   682.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             269.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   801 sec.
    Turnaround time :                            804 sec.

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

