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


Performing analysis on: 4FGL_J1613.6+3411_daily_bin1746
RA = 243.421, Dec = 34.1982
tmin = 691891201, tmax = 692150401
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='731217', job_status='RUN', time_executed='2022-12-08 01:13:56.293479', time_epoch_executed='1670490836.29' WHERE source_name='4FGL J1613.6+3411' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/731217

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/731217/ft1_4FGL_J1613.6+3411_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/731217/ft2_4FGL_J1613.6+3411_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/731217/ft1_4FGL_J1613.6+3411_daily_bin1746.fits outfile=/scratch/kocevski/731217/ft1_filteredMKT_4FGL_J1613.6+3411_daily_bin1746.fits ra=243.421 dec=34.1982 rad=12.0 tmin=691891201.0 tmax=692150401.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.69
user 4.47
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/731217/ft1_filtered_4FGL_J1613.6+3411_daily_bin1746.fits" evtable="EVENTS" scfile=/scratch/kocevski/731217/ft2_4FGL_J1613.6+3411_daily_bin1746.fits sctable="SC_DATA" outfile=/scratch/kocevski/731217/ltcube_691891201_692150401_4FGL_J1613.6+3411_daily_bin1746.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/731217/ft2_4FGL_J1613.6+3411_daily_bin1746.fits
.....................!
real 11.82
user 11.49
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/731217/ft1_filtered_4FGL_J1613.6+3411_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/731217/ft2_4FGL_J1613.6+3411_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/731217/ltcube_691891201_692150401_4FGL_J1613.6+3411_daily_bin1746.fits outfile=/scratch/kocevski/731217/expmap_691891201_692150401_4FGL_J1613.6+3411_daily_bin1746.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/731217/ltcube_691891201_692150401_4FGL_J1613.6+3411_daily_bin1746.fits
.....................!
real 189.47
user 185.01
sys 4.14

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/731217/ft1_filtered_4FGL_J1613.6+3411_daily_bin1746.fits scfile=/scratch/kocevski/731217/ft2_4FGL_J1613.6+3411_daily_bin1746.fits outfile=/scratch/kocevski/731217/cmap_691891201_692150401_4FGL_J1613.6+3411_daily_bin1746.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/731217/ft1_filtered_4FGL_J1613.6+3411_daily_bin1746.fits scfile=/scratch/kocevski/731217/ft2_4FGL_J1613.6+3411_daily_bin1746.fits outfile=/scratch/kocevski/731217/cmap_HighResolution_691891201_692150401_4FGL_J1613.6+3411_daily_bin1746.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    62.680       1.0000          .0000       .10000E+07
     2 'norm      '    .73033       1.0000          .0000       .10000E+07
     3 'Prefactor '    .14379E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    11.117       1.0000          .0000       .10000E+07
     5 'norm      '    .48268E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    .27624E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    29.945       1.0000          .0000       .10000E+07
     8 'Prefactor '    .28169E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .19804E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .15129E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .24586       1.0000          .0000       .10000E+07
    12 'norm      '    12.747       1.0000          .0000       .10000E+07
    13 'Prefactor '    22.951       1.0000          .0000       .10000E+07
    14 'norm      '    73.329       1.0000          .0000       .10000E+07
    15 'Prefactor '    .87398       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.6299       1.0000          .0000       .10000E+07
    17 'Prefactor '    .20037E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .26986       1.0000          .0000       .10000E+07
    19 'norm      '    4.6323       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0368       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .82347       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=   7780.006     FROM MIGRAD    STATUS=CONVERGED    151 CALLS     1764 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     62.996        33.701       -.13859E-06   -.19052    
   2  norm          .73056        .70418       -.34961E-08   -.72995E-03
   3  Prefactor     .11102E-09    4.3522        .17459E-07** at limit **
   4  Prefactor     11.131        15.058       -.23339E-06    .15313E-01
   5  norm           .0000        22.369        .66409E-07** at limit **
   6  Prefactor     .13939E-06    25.753       -.60402E-07** at limit **
   7  Prefactor     30.010        6.7949       -.12648E-07    .65346E-02
   8  Prefactor     .44409E-09    7.8312        .58637E-07** at limit **
   9  Prefactor     .55511E-10    1.9890        .50047E-08** at limit **
  10  Prefactor     .55511E-10    2.8165        .24075E-07** at limit **
  11  norm          .24585        .13123       -.28730E-08** at limit **
  12  norm          12.758        11.189        .61569E-07   -.41407E-02
  13  Prefactor     22.938        6.3208        .65747E-07    .10542E-02
  14  norm          72.879        47.238        .15507E-06   -.14554    
  15  Prefactor     .87722        1.5567       -.33193E-07   -.20222E-02
  16  Prefactor     1.6309        1.4164       -.12971E-07   -.28494E-02
  17  Prefactor     .11102E-09    9.7825        .21123E-06** at limit **
  18  Prefactor     .26676        4.3936        .12535E-06    .13929E-02
  19  norm          4.6347        1.6400        .20599E-07    .44195E-02
  20  Normalizat    1.0370        .17990        .50129E-06    .83289E-04
  21  Prefactor     .82335        .13890        .10515E-06    .92326E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 62.9963
  norm       = 0.730565
  Prefactor  = 1.11022e-10
  Prefactor  = 11.1313
  norm       = 0
  Prefactor  = 1.39389e-07
  Prefactor  = 30.0098
  Prefactor  = 4.44089e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-11
  norm       = 0.245851
  norm       = 12.7582
  Prefactor  = 22.9382
  norm       = 72.879
  Prefactor  = 0.877225
  Prefactor  = 1.63094
  Prefactor  = 1.11022e-10
  Prefactor  = 0.266759
  norm       = 4.63473
  Normalizat = 1.03698
  Prefactor  = 0.823346
 **********
 **   18 **HESSE 
 **********

 FCN=   7780.006     FROM HESSE     STATUS=OK           373 CALLS     2137 TOTAL
                     EDM=   .44E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     62.996        78.497        .12632E-03   -1.5549    
   2  norm          .73056        .71042        .58279E-03   -1.5691    
   3  Prefactor     .11102E-09    4.3480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     11.131        16.333        .30023E-03   -1.5641    
   5  norm           .0000        9.2624        .87345E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .13939E-06    1.4920        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     30.010        23.110        .18277E-03   -1.5598    
   8  Prefactor     .44409E-09    7.8047        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    1.9809        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    2.8091        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .24585        .14211        .46892E-03   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          12.758        11.198        .28031E-03   -1.5637    
  13  Prefactor     22.938        16.707        .20879E-03   -1.5612    
  14  norm          72.879        53.349        .11679E-03   -1.5537    
  15  Prefactor     .87722        1.6355        .47576E-03   -1.5689    
  16  Prefactor     1.6309        1.4580        .82804E-03   -1.5682    
  17  Prefactor     .11102E-09    9.7625        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .26676        1.3715        .51353E-02   -1.5698    
  19  norm          4.6347        1.6443        .46739E-03   -1.5665    
  20  Normalizat    1.0370        .16150        .41539E-01   -.91802    
  21  Prefactor     .82335        .12024        .44022E-01   -.98873    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.41482e-06
Minuit parameter uncertainties:
  1  78.4986
  2  0.710422
  3  4.23388e-05
  4  16.333
  5  1.77684e-05
  6  0.000912039
  7  23.1098
  8  0.000120462
  9  1.97658e-05
  10  2.58748e-05
  11  0.142111
  12  11.1978
  13  16.7071
  14  53.3489
  15  1.63546
  16  1.45805
  17  6.56635e-05
  18  1.20971
  19  1.64425
  20  0.161581
  21  0.120277
Done.

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

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  5.551e-11  1.977e-05  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.233e-01  1.203e-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.037e+00  1.616e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/731217/likelihoodResults_691891201_692150401_4FGL_J1613.6+3411_daily_bin1746.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) = 7780.00960368
delta logL = -0.00369584207874

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7780.00590788
delta logL = -5.07607182954e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80491E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.6196       1.0000          .0000       10.000    
     3 'Normalizat'    1.0370       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82331       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=   7779.951     FROM MIGRAD    STATUS=CONVERGED    117 CALLS      316 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22223E-02    .48209E-01    .20644E-03** at limit **
   2  Index         6.1674        2.3274        .28574        .59702E-04
   3  Normalizat    1.0187        .15039E-01    .41523E-01   -.36391E-04
   4  Prefactor     .83220        .11815E-01    .44020E-01   -.50176E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00222229
  Index      = 6.16738
  Normalizat = 1.01872
  Prefactor  = 0.832196
 **********
 **   18 **HESSE 
 **********

 FCN=   7779.951     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      351 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22223E-02    .91955        .10066E-04   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.1674        6.4641        .11443E-01    .23565    
   3  Normalizat    1.0187        .94375E-01    .25247E-03   -.92406    
   4  Prefactor     .83220        .72780E-01    .21618E-03   -.98552    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.36231e-09
Minuit parameter uncertainties:
  1  0.0904102
  2  21.0862
  3  0.0943901
  4  0.0727879
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/731217': 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) = 7779.95144987
delta logL = 0.0544579617836

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  2.222e-03  9.041e-02  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  6.167e+00  2.109e+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.322e-01  7.279e-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:  1.019e+00  9.439e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/731217/cmap_HighResolution_691891201_692150401_4FGL_J1613.6+3411_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.67e-03', job_status='DONE', photon_flux_upper_limit='6.03e-08', time_completed='2022-12-08 01:25:04.599950', job_id='731217', GAL2='0.83', fit_tolerance='1e-08', EG2='1.02', EG='1.04', time_epoch_completed='1670491504.6', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='5.45e-02', ts2='0.12', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='1746' AND source_name='4FGL J1613.6+3411' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 01:25:04 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0164>
Subject: Job 731217: <4FGL_J1613.6+3411_daily_bin1746> in cluster <slac> Done

Job <4FGL_J1613.6+3411_daily_bin1746> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Dec  8 01:10:22 2022
Job was executed on host(s) <bullet0164>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 01:10:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 01:10:22 2022
Terminated at Thu Dec  8 01:25:05 2022
Results reported at Thu Dec  8 01:25:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1613.6+3411_daily_bin1746 243.421 34.1982 691891201 692150401 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 :                                   670.12 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             264.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   882 sec.
    Turnaround time :                            883 sec.

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

