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


Performing analysis on: 4FGL_J1613.6+3411_daily_bin1755
RA = 243.421, Dec = 34.1982
tmin = 694224001, tmax = 694483201
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='828438', job_status='RUN', time_executed='2023-01-04 01:18:15.897941', time_epoch_executed='1672823895.9' WHERE source_name='4FGL J1613.6+3411' and cadence='daily' and bin_id='1755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/828438

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/828438/ft1_4FGL_J1613.6+3411_daily_bin1755.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/828438/ft2_4FGL_J1613.6+3411_daily_bin1755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/828438/ft1_4FGL_J1613.6+3411_daily_bin1755.fits outfile=/scratch/kocevski/828438/ft1_filteredMKT_4FGL_J1613.6+3411_daily_bin1755.fits ra=243.421 dec=34.1982 rad=12.0 tmin=694224001.0 tmax=694483201.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.03
user 2.79
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/828438/ft2_4FGL_J1613.6+3411_daily_bin1755.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/828438/ft1_filteredMKT_4FGL_J1613.6+3411_daily_bin1755.fits evtable="EVENTS" outfile="/scratch/kocevski/828438/ft1_filtered_4FGL_J1613.6+3411_daily_bin1755.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.54
user 0.36
sys 0.15

Number of photons that the gtmktime cut: 1073

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/828438/ft1_filtered_4FGL_J1613.6+3411_daily_bin1755.fits evtable="EVENTS" scfile=/scratch/kocevski/828438/ft2_4FGL_J1613.6+3411_daily_bin1755.fits sctable="SC_DATA" expcube=/scratch/kocevski/828438/ltcube_694224001_694483201_4FGL_J1613.6+3411_daily_bin1755.fits outfile=/scratch/kocevski/828438/expmap_694224001_694483201_4FGL_J1613.6+3411_daily_bin1755.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/828438/ltcube_694224001_694483201_4FGL_J1613.6+3411_daily_bin1755.fits
.....................!
real 193.35
user 186.37
sys 5.61

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/828438/ft1_filtered_4FGL_J1613.6+3411_daily_bin1755.fits scfile=/scratch/kocevski/828438/ft2_4FGL_J1613.6+3411_daily_bin1755.fits outfile=/scratch/kocevski/828438/cmap_694224001_694483201_4FGL_J1613.6+3411_daily_bin1755.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/828438/ft1_filtered_4FGL_J1613.6+3411_daily_bin1755.fits scfile=/scratch/kocevski/828438/ft2_4FGL_J1613.6+3411_daily_bin1755.fits outfile=/scratch/kocevski/828438/cmap_HighResolution_694224001_694483201_4FGL_J1613.6+3411_daily_bin1755.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.57
user 0.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .64045       1.0000          .0000       .10000E+07
     2 'norm      '    .26594       1.0000          .0000       .10000E+07
     3 'Prefactor '    .77108E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .18724E-02   1.0000          .0000       .10000E+07
     5 'norm      '    6.2948       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.9082       1.0000          .0000       .10000E+07
     7 'Prefactor '    .12383E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .47838E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .60377       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.5990       1.0000          .0000       .10000E+07
    11 'norm      '    .22583       1.0000          .0000       .10000E+07
    12 'norm      '    .72195E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    20.710       1.0000          .0000       .10000E+07
    14 'norm      '    .13605E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .16043E-07   1.0000          .0000       .10000E+07
    16 'Prefactor '    1.7286       1.0000          .0000       .10000E+07
    17 'Prefactor '    13.777       1.0000          .0000       .10000E+07
    18 'Prefactor '    2.7970       1.0000          .0000       .10000E+07
    19 'norm      '    1.6112       1.0000          .0000       .10000E+07
    20 'Normalizat'    .73134       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0598       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=   11561.81     FROM MIGRAD    STATUS=CONVERGED    133 CALLS     1627 TOTAL
                     EDM=   .33E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    161.58        .29521E-06** at limit **
   2  norm          .26597        .43564       -.11038E-07   -.22837E-03
   3  Prefactor      .0000        3.6166        .10338E-07** at limit **
   4  Prefactor     .16653E-09    10.367        .10016E-07** at limit **
   5  norm          6.3018        9.2060       -.30396E-08    .49873E-02
   6  Prefactor     3.9075        1.9950       -.86910E-08    .54909E-03
   7  Prefactor      .0000        5.1077       -.34562E-07** at limit **
   8  Prefactor     .23315E-08    9.8605       -.45487E-08** at limit **
   9  Prefactor     .60283        1.7736        .46703E-07    .32203E-04
  10  Prefactor     2.5974        2.0335        .25239E-07   -.16899E-03
  11  norm          .22592        .93094E-01    .42252E-08** at limit **
  12  norm           .0000        2.2581        .58182E-07** at limit **
  13  Prefactor     20.660        2.2370       -.27345E-09   -.96285E-02
  14  norm          .10547E-08    8.3831        .20140E-07** at limit **
  15  Prefactor      .0000        .38475       -.13321E-07** at limit **
  16  Prefactor     1.7286        .74653       -.11645E-07    .12160E-03
  17  Prefactor     13.802        3.3143       -.18553E-09    .27043E-01
  18  Prefactor     2.7966        1.8879        .22275E-07   -.86216E-04
  19  norm          1.6112        1.0502        .68903E-09    .40636E-05
  20  Normalizat    .73162        .15199       -.14950E-05   -.53394E-05
  21  Prefactor     1.0597        .11921        .25108E-06   -.19977E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  norm       = 0.265968
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  norm       = 6.30179
  Prefactor  = 3.9075
  Prefactor  = 0
  Prefactor  = 2.33147e-09
  Prefactor  = 0.60283
  Prefactor  = 2.59738
  norm       = 0.225918
  norm       = 0
  Prefactor  = 20.6605
  norm       = 1.05471e-09
  Prefactor  = 0
  Prefactor  = 1.72861
  Prefactor  = 13.8025
  Prefactor  = 2.79658
  norm       = 1.61119
  Normalizat = 0.73162
  Prefactor  = 1.05969
 **********
 **   18 **HESSE 
 **********

 FCN=   11561.81     FROM HESSE     STATUS=OK           361 CALLS     1988 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    163.22        .65680E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .26597        .51393        .22121E-02   -1.5698    
   3  Prefactor      .0000        3.6010        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .16653E-09    10.465        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.3018        9.5085        .39985E-03   -1.5658    
   6  Prefactor     3.9075        2.0089        .51010E-03   -1.5668    
   7  Prefactor      .0000        5.1122        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .23315E-08    10.073        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .60283        1.7875        .68891E-03   -1.5692    
  10  Prefactor     2.5974        2.0469        .63259E-03   -1.5676    
  11  norm          .22592        .10190        .44425E-03   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        2.2584        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     20.660        13.749        .21981E-03   -1.5617    
  14  norm          .10547E-08    8.5367        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        .38329        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.7286        .76009        .79826E-03   -1.5682    
  17  Prefactor     13.802        11.762        .26959E-03   -1.5634    
  18  Prefactor     2.7966        1.9050        .60807E-03   -1.5675    
  19  norm          1.6112        1.0531        .83412E-04   -1.5683    
  20  Normalizat    .73162        .13297        .64169E-01   -1.0266    
  21  Prefactor     1.0597        .10182        .39367E-01   -.90765    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56806e-08
Minuit parameter uncertainties:
  1  0.000204707
  2  0.513926
  3  1.71365e-06
  4  8.31872e-05
  5  9.50854
  6  2.00893
  7  7.94069e-06
  8  0.000307394
  9  1.78747
  10  2.04694
  11  0.101896
  12  4.6977e-07
  13  13.7494
  14  0.000187859
  15  2.85322e-09
  16  0.760094
  17  11.7622
  18  1.90503
  19  1.05312
  20  0.13303
  21  0.101839
Done.

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

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  6.028e-01  1.787e+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:  1.060e+00  1.018e-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:  7.316e-01  1.330e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/828438/likelihoodResults_694224001_694483201_4FGL_J1613.6+3411_daily_bin1755.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) = 11561.5234833
delta logL = 0.291310169609

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11561.4586637
delta logL = 0.356129854445

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25284       1.0000          .0000       .10000E+07
     2 'Index     '    3.8845       1.0000          .0000       10.000    
     3 'Normalizat'    .70291       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0738       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=   11561.46     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      220 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .25137        3.1561        .10902E-02    .39656E-01
   2  Index         3.8872        2.3931        .20688        .14785E-03
   3  Normalizat    .70318        .19834E-01    .65370E-01   -.99055E-05
   4  Prefactor     1.0736        .16183E-01    .38681E-01   -.84358E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.251367
  Index      = 3.88724
  Normalizat = 0.703185
  Prefactor  = 1.07356
 **********
 **   18 **HESSE 
 **********

 FCN=   11561.46     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      253 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .25137        16.167        .61296E-04   -1.5698    
   2  Index         3.8872        6.5100        .88527E-02   -.22443    
   3  Normalizat    .70318        .99747E-01    .28923E-03   -1.0377    
   4  Prefactor     1.0736        .80774E-01    .19350E-03   -.90316    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.01037e-08
Minuit parameter uncertainties:
  1  4.03175
  2  9.47736
  3  0.0997725
  4  0.080783
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/828438': 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) = 11561.4586605
delta logL = 0.356133016545

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  2.514e-01  4.032e+00  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  3.887e+00  9.477e+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:  1.074e+00  8.078e-02  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:  7.032e-01  9.977e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.13
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/828438/cmap_HighResolution_694224001_694483201_4FGL_J1613.6+3411_daily_bin1755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.04e-03', job_status='DONE', photon_flux_upper_limit='5.21e-08', time_completed='2023-01-04 01:31:51.283047', job_id='828438', GAL2='1.07', fit_tolerance='1e-08', EG2='0.70', EG='0.73', time_epoch_completed='1672824711.28', return_code2='102', ts='0.13', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='3.56e-01', ts2='0.89', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='1755' AND source_name='4FGL J1613.6+3411' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan  4 01:31:51 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0028>
Subject: Job 828438: <4FGL_J1613.6+3411_daily_bin1755> in cluster <slac> Done

Job <4FGL_J1613.6+3411_daily_bin1755> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Wed Jan  4 01:15:26 2023
Job was executed on host(s) <bullet0028>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan  4 01:17:50 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan  4 01:17:50 2023
Terminated at Wed Jan  4 01:31:51 2023
Results reported at Wed Jan  4 01:31:51 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1613.6+3411_daily_bin1755 243.421 34.1982 694224001 694483201 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 :                                   815.10 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             336.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   841 sec.
    Turnaround time :                            985 sec.

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

