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


Performing analysis on: 4FGL_J1613.6+3411_daily_bin1751
RA = 243.421, Dec = 34.1982
tmin = 693187201, tmax = 693446401
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='81620', job_status='RUN', time_executed='2022-12-23 00:56:37.073257', time_epoch_executed='1671785797.07' WHERE source_name='4FGL J1613.6+3411' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/81620

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/81620/ft1_4FGL_J1613.6+3411_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/81620/ft2_4FGL_J1613.6+3411_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/81620/ft1_4FGL_J1613.6+3411_daily_bin1751.fits outfile=/scratch/kocevski/81620/ft1_filteredMKT_4FGL_J1613.6+3411_daily_bin1751.fits ra=243.421 dec=34.1982 rad=12.0 tmin=693187201.0 tmax=693446401.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.66
user 3.46
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/81620/ft2_4FGL_J1613.6+3411_daily_bin1751.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/81620/ft1_filteredMKT_4FGL_J1613.6+3411_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/81620/ft1_filtered_4FGL_J1613.6+3411_daily_bin1751.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.33
sys 0.16

Number of photons that the gtmktime cut: 578

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/81620/ft1_filtered_4FGL_J1613.6+3411_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/81620/ft2_4FGL_J1613.6+3411_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/81620/ltcube_693187201_693446401_4FGL_J1613.6+3411_daily_bin1751.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/81620/ft2_4FGL_J1613.6+3411_daily_bin1751.fits
.....................!
real 11.97
user 11.61
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/81620/ft1_filtered_4FGL_J1613.6+3411_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/81620/ft2_4FGL_J1613.6+3411_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/81620/ltcube_693187201_693446401_4FGL_J1613.6+3411_daily_bin1751.fits outfile=/scratch/kocevski/81620/expmap_693187201_693446401_4FGL_J1613.6+3411_daily_bin1751.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/81620/ltcube_693187201_693446401_4FGL_J1613.6+3411_daily_bin1751.fits
.....................!
real 191.59
user 186.84
sys 4.43

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/81620/ft1_filtered_4FGL_J1613.6+3411_daily_bin1751.fits scfile=/scratch/kocevski/81620/ft2_4FGL_J1613.6+3411_daily_bin1751.fits outfile=/scratch/kocevski/81620/cmap_693187201_693446401_4FGL_J1613.6+3411_daily_bin1751.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.56
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/81620/ft1_filtered_4FGL_J1613.6+3411_daily_bin1751.fits scfile=/scratch/kocevski/81620/ft2_4FGL_J1613.6+3411_daily_bin1751.fits outfile=/scratch/kocevski/81620/cmap_HighResolution_693187201_693446401_4FGL_J1613.6+3411_daily_bin1751.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.54
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/81620/ft1_filtered_4FGL_J1613.6+3411_daily_bin1751.fits', '/scratch/kocevski/81620/ft2_4FGL_J1613.6+3411_daily_bin1751.fits', expMap='/scratch/kocevski/81620/expmap_693187201_693446401_4FGL_J1613.6+3411_daily_bin1751.fits', expCube='/scratch/kocevski/81620/ltcube_693187201_693446401_4FGL_J1613.6+3411_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/81620/Model_4FGL_J1613.6+3411_daily_bin1751.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/81620/ft1_filtered_4FGL_J1613.6+3411_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/81620/ft2_4FGL_J1613.6+3411_daily_bin1751.fits
Exposure map: /scratch/kocevski/81620/expmap_693187201_693446401_4FGL_J1613.6+3411_daily_bin1751.fits
Exposure cube: /scratch/kocevski/81620/ltcube_693187201_693446401_4FGL_J1613.6+3411_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/81620/Model_4FGL_J1613.6+3411_daily_bin1751.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) = 6170.01967658

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13409E-05   1.0000          .0000       .10000E+07
     2 'norm      '    1.5860       1.0000          .0000       .10000E+07
     3 'Prefactor '    .12103E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    19.806       1.0000          .0000       .10000E+07
     5 'norm      '    13.978       1.0000          .0000       .10000E+07
     6 'Prefactor '    .12469E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .26088E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    5.3458       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.4078       1.0000          .0000       .10000E+07
    10 'Prefactor '    .24294       1.0000          .0000       .10000E+07
    11 'norm      '    .62703       1.0000          .0000       .10000E+07
    12 'norm      '    .89606E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .21905E-03   1.0000          .0000       .10000E+07
    14 'norm      '    3.0859       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.0899       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.3055       1.0000          .0000       .10000E+07
    17 'Prefactor '    16.768       1.0000          .0000       .10000E+07
    18 'Prefactor '    .40468E-07   1.0000          .0000       .10000E+07
    19 'norm      '    1.8789       1.0000          .0000       .10000E+07
    20 'Normalizat'    .91687       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .89570       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=   6169.947     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     1574 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14668E-05    55.947       -.91335E-06** at limit **
   2  norm          1.5807        1.1191       -.45309E-07    .17121E-03
   3  Prefactor     .94369E-08    10.545       -.24739E-07** at limit **
   4  Prefactor     20.611        9.6270       -.23227E-06   -.65498E-01
   5  norm          14.047        1.3773        .52950E-07    .15613    
   6  Prefactor      .0000        .82621       -.70506E-08** at limit **
   7  Prefactor     .42744E-08    11.198        .64777E-06** at limit **
   8  Prefactor     5.1588        9.3022       -.27354E-06    .37266E-03
   9  Prefactor     2.4029        2.9040       -.29089E-06   -.20876E-02
  10  Prefactor     .25001        3.5938       -.35561E-06   -.13266E-02
  11  norm          .62683        .17839       -.68687E-08    .83922E-02
  12  norm          .16653E-09    6.6239       -.36225E-07** at limit **
  13  Prefactor     .13878E-08    7.7005       -.33101E-08** at limit **
  14  norm          .46741        510.35       -.18797E-04    .20124E-02
  15  Prefactor     1.1014        2.2846        .63065E-09   -.38204E-02
  16  Prefactor     3.3170        2.3769       -.73068E-08   -.43470E-02
  17  Prefactor     16.632        1.3272       -.11207E-07    .10780E-01
  18  Prefactor      .0000        1.0307        .33492E-07** at limit **
  19  norm          1.8758        1.5107        .26628E-07    .33491E-03
  20  Normalizat    .91646        .21650        .36282E-05    .15029E-03
  21  Prefactor     .89648        .16767        .10749E-05    .11427E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.46683e-06
  norm       = 1.58075
  Prefactor  = 9.4369e-09
  Prefactor  = 20.6107
  norm       = 14.047
  Prefactor  = 0
  Prefactor  = 4.27436e-09
  Prefactor  = 5.15879
  Prefactor  = 2.40286
  Prefactor  = 0.250008
  norm       = 0.626826
  norm       = 1.66533e-10
  Prefactor  = 1.38778e-09
  norm       = 0.467406
  Prefactor  = 1.10136
  Prefactor  = 3.317
  Prefactor  = 16.6323
  Prefactor  = 0
  norm       = 1.87579
  Normalizat = 0.91646
  Prefactor  = 0.896481
 **********
 **   18 **HESSE 
 **********

 FCN=   6169.947     FROM HESSE     STATUS=OK           365 CALLS     1939 TOTAL
                     EDM=   .62E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14668E-05    60.939        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.5807        1.1347        .84261E-03   -1.5683    
   3  Prefactor     .94369E-08    10.682        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     20.611        37.184        .22477E-03   -1.5617    
   5  norm          14.047        13.246        .26764E-03   -1.5633    
   6  Prefactor      .0000        .82433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .42744E-08    11.299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.1588        9.2857        .43443E-03   -1.5663    
   9  Prefactor     2.4029        2.9283        .65951E-03   -1.5677    
  10  Prefactor     .25001        1.8449        .35889E-02   -1.5698    
  11  norm          .62683        .18129        .36155E-03   -1.5692    
  12  norm          .16653E-09    6.6782        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .13878E-08    7.7017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .46741        531.00        .57710E-03   -1.5694    
  15  Prefactor     1.1014        2.5097        .11458E-02   -1.5687    
  16  Prefactor     3.3170        2.5136        .55658E-03   -1.5672    
  17  Prefactor     16.632        14.476        .24432E-03   -1.5626    
  18  Prefactor      .0000        1.0284        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.8758        1.4987        .75924E-03   -1.5681    
  20  Normalizat    .91646        .18499        .45117E-01   -.95884    
  21  Prefactor     .89648        .14238        .44950E-01   -.96264    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.19237e-07
Minuit parameter uncertainties:
  1  0.0189093
  2  1.13471
  3  0.000635366
  4  37.1848
  5  13.2458
  6  3.92312e-06
  7  0.000439237
  8  9.28573
  9  2.92833
  10  1.3583
  11  0.181293
  12  6.98431e-05
  13  0.000205697
  14  31.5111
  15  2.50973
  16  2.51362
  17  14.4759
  18  1.02946e-05
  19  1.49866
  20  0.185114
  21  0.142436
Done.

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

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  2.403e+00  2.928e+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:  8.965e-01  1.424e-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:  9.165e-01  1.851e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/81620/likelihoodResults_693187201_693446401_4FGL_J1613.6+3411_daily_bin1751.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) = 6169.94345951
delta logL = 0.00382126526893

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6169.9420761
delta logL = 0.00520467628667

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.2417       1.0000          .0000       .10000E+07
     2 'Index     '    2.5366       1.0000          .0000       10.000    
     3 'Normalizat'    .91365       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89801       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6169.942     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      233 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.2420        3.4242        .13524E-04   -.50943E-03
   2  Index         2.5366        1.0422        .97612E-02    .11465E-04
   3  Normalizat    .91368        .21204        .26495E-03    .26861E-03
   4  Prefactor     .89799        .16575        .21010E-03    .12142E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.242
  Index      = 2.53664
  Normalizat = 0.913679
  Prefactor  = 0.897986
 **********
 **   18 **HESSE 
 **********

 FCN=   6169.942     FROM HESSE     STATUS=OK            25 CALLS      258 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.2420        3.2336        .54095E-06   -1.5678    
   2  Index         2.5366        .98454        .39045E-03   -.51516    
   3  Normalizat    .91368        .21215        .10598E-04   -.95981    
   4  Prefactor     .89799        .16582        .84041E-05   -.96211    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.01592e-10
Minuit parameter uncertainties:
  1  3.23363
  2  0.993138
  3  0.212345
  4  0.165915
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/81620': 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) = 6169.94207607
delta logL = 0.00520470341326

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  2.242e+00  3.234e+00  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.537e+00  9.931e-01  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:  8.980e-01  1.659e-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:  9.137e-01  2.123e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/81620/cmap_HighResolution_693187201_693446401_4FGL_J1613.6+3411_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.43e-03', job_status='DONE', photon_flux_upper_limit='9.59e-08', time_completed='2022-12-23 01:06:10.923225', job_id='81620', GAL2='0.90', fit_tolerance='1e-08', EG2='0.91', EG='0.92', time_epoch_completed='1671786370.92', return_code2='0', ts='0.93', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='5.20e-03', ts2='0.94', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='1751' AND source_name='4FGL J1613.6+3411' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 01:06:10 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 81620: <4FGL_J1613.6+3411_daily_bin1751> in cluster <slac> Done

Job <4FGL_J1613.6+3411_daily_bin1751> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Dec 23 00:55:23 2022
Job was executed on host(s) <bullet0077>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:55:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:55:24 2022
Terminated at Fri Dec 23 01:06:11 2022
Results reported at Fri Dec 23 01:06:11 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1613.6+3411_daily_bin1751 243.421 34.1982 693187201 693446401 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 :                                   576.00 sec.
    Max Memory :                                 1113 MB
    Average Memory :                             309.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   647 sec.
    Turnaround time :                            648 sec.

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

