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


Performing analysis on: 4FGL_J1613.6+3411_daily_bin1761
RA = 243.421, Dec = 34.1982
tmin = 695779201, tmax = 696038401
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='926336', job_status='RUN', time_executed='2023-01-22 01:11:41.201390', time_epoch_executed='1674378701.2' WHERE source_name='4FGL J1613.6+3411' and cadence='daily' and bin_id='1761'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/926336

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/926336/ft1_4FGL_J1613.6+3411_daily_bin1761.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/926336/ft2_4FGL_J1613.6+3411_daily_bin1761.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/926336/ft1_4FGL_J1613.6+3411_daily_bin1761.fits outfile=/scratch/kocevski/926336/ft1_filteredMKT_4FGL_J1613.6+3411_daily_bin1761.fits ra=243.421 dec=34.1982 rad=12.0 tmin=695779201.0 tmax=696038401.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 5.07
user 4.81
sys 0.24

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

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

Number of photons that the gtmktime cut: 547

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/926336/ft1_filtered_4FGL_J1613.6+3411_daily_bin1761.fits" evtable="EVENTS" scfile=/scratch/kocevski/926336/ft2_4FGL_J1613.6+3411_daily_bin1761.fits sctable="SC_DATA" outfile=/scratch/kocevski/926336/ltcube_695779201_696038401_4FGL_J1613.6+3411_daily_bin1761.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/926336/ft2_4FGL_J1613.6+3411_daily_bin1761.fits
.....................!
real 14.66
user 14.26
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/926336/ft1_filtered_4FGL_J1613.6+3411_daily_bin1761.fits evtable="EVENTS" scfile=/scratch/kocevski/926336/ft2_4FGL_J1613.6+3411_daily_bin1761.fits sctable="SC_DATA" expcube=/scratch/kocevski/926336/ltcube_695779201_696038401_4FGL_J1613.6+3411_daily_bin1761.fits outfile=/scratch/kocevski/926336/expmap_695779201_696038401_4FGL_J1613.6+3411_daily_bin1761.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/926336/ltcube_695779201_696038401_4FGL_J1613.6+3411_daily_bin1761.fits
.....................!
real 194.92
user 188.31
sys 5.97

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/926336/ft1_filtered_4FGL_J1613.6+3411_daily_bin1761.fits scfile=/scratch/kocevski/926336/ft2_4FGL_J1613.6+3411_daily_bin1761.fits outfile=/scratch/kocevski/926336/cmap_695779201_696038401_4FGL_J1613.6+3411_daily_bin1761.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.57
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/926336/ft1_filtered_4FGL_J1613.6+3411_daily_bin1761.fits scfile=/scratch/kocevski/926336/ft2_4FGL_J1613.6+3411_daily_bin1761.fits outfile=/scratch/kocevski/926336/cmap_HighResolution_695779201_696038401_4FGL_J1613.6+3411_daily_bin1761.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.60
user 0.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    60.174       1.0000          .0000       .10000E+07
     2 'norm      '    .30553E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    11.772       1.0000          .0000       .10000E+07
     4 'Prefactor '    .10726E-03   1.0000          .0000       .10000E+07
     5 'norm      '    8.6718       1.0000          .0000       .10000E+07
     6 'Prefactor '    .22009E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    19.700       1.0000          .0000       .10000E+07
     8 'Prefactor '    6.2046       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.1372       1.0000          .0000       .10000E+07
    10 'Prefactor '    5.9253       1.0000          .0000       .10000E+07
    11 'norm      '    .14025       1.0000          .0000       .10000E+07
    12 'norm      '    .75396E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.0229       1.0000          .0000       .10000E+07
    14 'norm      '    .20786E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .96155       1.0000          .0000       .10000E+07
    16 'Prefactor '    .30984E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    25.576       1.0000          .0000       .10000E+07
    18 'Prefactor '    .36911E-05   1.0000          .0000       .10000E+07
    19 'norm      '    3.5846       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.2729       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .83209       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=   6105.081     FROM MIGRAD    STATUS=CONVERGED    177 CALLS     2565 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     64.579        105.26        .24990E-06   -.15553E-03
   2  norm           .0000        .86541        .50451E-08** at limit **
   3  Prefactor     11.792        9.8276        .60019E-07   -.26583E-03
   4  Prefactor      .0000        17.583       -.68118E-07** at limit **
   5  norm          8.6409        13.384       -.38151E-07    .23199E-03
   6  Prefactor      .0000        .85830       -.69869E-07** at limit **
   7  Prefactor     19.523        1.8054       -.82995E-08    .27832E-02
   8  Prefactor     6.0971        12.783        .47470E-08    .21482E-03
   9  Prefactor     2.1412        4.0035        .69658E-07    .11372E-03
  10  Prefactor     6.0007        5.1131       -.13243E-06    .39076E-03
  11  norm          .13911        .17230       -.14000E-07** at limit **
  12  norm          .83344E-01    2.2381       -.12386E-06** at limit **
  13  Prefactor     6.4666        27.802       -.51315E-06    .28405E-03
  14  norm          .10547E-08    19.752       -.21645E-07** at limit **
  15  Prefactor     .95498        1.4549        .54301E-08   -.10040E-02
  16  Prefactor     .61062E-09    20.079       -.21165E-06** at limit **
  17  Prefactor     25.646        2.5546        .52895E-08    .14941E-01
  18  Prefactor      .0000        1.3772        .17298E-06** at limit **
  19  norm          3.5869        1.8092       -.33178E-07    .43355E-03
  20  Normalizat    1.2700        .25385        .15046E-05   -.39598E-04
  21  Prefactor     .83331        .17566        .17791E-05   -.56982E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 64.579
  norm       = 0
  Prefactor  = 11.7922
  Prefactor  = 0
  norm       = 8.64087
  Prefactor  = 0
  Prefactor  = 19.5229
  Prefactor  = 6.09709
  Prefactor  = 2.14121
  Prefactor  = 6.00073
  norm       = 0.139109
  norm       = 0.0833439
  Prefactor  = 6.46659
  norm       = 1.05471e-09
  Prefactor  = 0.954982
  Prefactor  = 6.10623e-10
  Prefactor  = 25.6458
  Prefactor  = 0
  norm       = 3.58694
  Normalizat = 1.27003
  Prefactor  = 0.833309
 **********
 **   18 **HESSE 
 **********

 FCN=   6105.081     FROM HESSE     STATUS=OK           377 CALLS     2942 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     64.579        104.10        .12892E-03   -1.5547    
   2  norm           .0000        .86426        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.792        9.8435        .29172E-03   -1.5639    
   4  Prefactor      .0000        17.705        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          8.6409        13.412        .34015E-03   -1.5649    
   6  Prefactor      .0000        .86029        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     19.523        19.618        .22538E-03   -1.5620    
   8  Prefactor     6.0971        12.771        .40278E-03   -1.5659    
   9  Prefactor     2.1412        4.0150        .70482E-03   -1.5679    
  10  Prefactor     6.0007        5.1314        .41230E-03   -1.5659    
  11  norm          .13911        .20349        .64897E-03   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .83344E-01    9.9137        .89519E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.4666        31.292        .40889E-03   -1.5657    
  14  norm          .10547E-08    19.934        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .95498        2.0314        .42399E-03   -1.5688    
  16  Prefactor     .61062E-09    1.4224        .37064E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     25.646        21.654        .19778E-03   -1.5607    
  18  Prefactor      .0000        1.3805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.5869        1.8152        .53350E-03   -1.5670    
  20  Normalizat    1.2700        .21366        .58965E-01   -.84465    
  21  Prefactor     .83331        .14952        .44133E-01   -.98512    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.84613e-09
Minuit parameter uncertainties:
  1  104.107
  2  6.76537e-07
  3  9.8435
  4  5.00428e-06
  5  13.4121
  6  7.98101e-07
  7  19.6179
  8  12.771
  9  4.01499
  10  5.13136
  11  0.203487
  12  1.81797
  13  28.4502
  14  0.000288316
  15  2.03135
  16  5.85679e-05
  17  21.654
  18  3.11534e-06
  19  1.81524
  20  0.213809
  21  0.149594
Done.

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

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  2.141e+00  4.015e+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.333e-01  1.496e-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.270e+00  2.138e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.35
Ra Dec: 243.421 34.198
Photon Flux Upper Limit: 1.19e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.21e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/926336/likelihoodResults_695779201_696038401_4FGL_J1613.6+3411_daily_bin1761.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) = 6104.55293348
delta logL = 0.528134387107

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6104.53648876
delta logL = 0.544579106561

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .65317       1.0000          .0000       .10000E+07
     2 'Index     '    3.9494       1.0000          .0000       10.000    
     3 'Normalizat'    1.2080       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86262       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=   6104.536     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      258 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .65306        12.157        .64594E-03    .29683E-01
   2  Index         3.9502        3.7002        .13010        .25759E-03
   3  Normalizat    1.2081        .55893E-01    .60227E-01    .30088E-04
   4  Prefactor     .86236        .41693E-01    .44527E-01   -.71459E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.653057
  Index      = 3.95022
  Normalizat = 1.20815
  Prefactor  = 0.862355
 **********
 **   18 **HESSE 
 **********

 FCN=   6104.536     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      291 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .65306        26.730        .55717E-05   -1.5692    
   2  Index         3.9502        6.9194        .68548E-02   -.21153    
   3  Normalizat    1.2081        .23321        .26637E-03   -.86351    
   4  Prefactor     .86236        .17304        .23360E-03   -.97469    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.12619e-09
Minuit parameter uncertainties:
  1  8.35615
  2  7.67843
  3  0.233411
  4  0.17315
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/926336': 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) = 6104.53648587
delta logL = 0.544582002579

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  6.531e-01  8.356e+00  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  3.950e+00  7.678e+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:  8.624e-01  1.732e-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.208e+00  2.334e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.53
Ra Dec: 243.421 34.198
Photon Index (Free Index): 3.95 +/- 7.68
Photon Flux (Free Index): 7.43e-08 +/- 7.64e-08
Energy Flux (Free Index): 1.12e-05 +/- 1.48e-05

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/926336/cmap_HighResolution_695779201_696038401_4FGL_J1613.6+3411_daily_bin1761.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.21e-03', comment='SUCCESS', energy_flux2='1.12e-05', dlogl='5.45e-01', photon_flux2='7.43e-08', job_status='DONE', time_completed='2023-01-22 01:22:48.739916', photon_index_error2='7.68', photon_index2='3.95', ts='0.35', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', photon_flux_upper_limit='1.19e-07', energy_flux_error2='1.48e-05', EG='1.27', time_epoch_completed='1674379368.74', return_code='0', job_id='926336', GAL2='0.86', EG2='1.21', return_code2='102', photon_flux_error2='7.64e-08', ts2='1.53', photon_index='2.44' WHERE bin_id='1761' AND source_name='4FGL J1613.6+3411' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan 22 01:22:48 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 926336: <4FGL_J1613.6+3411_daily_bin1761> in cluster <slac> Done

Job <4FGL_J1613.6+3411_daily_bin1761> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Jan 22 01:10:26 2023
Job was executed on host(s) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan 22 01:11:00 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan 22 01:11:00 2023
Terminated at Sun Jan 22 01:22:49 2023
Results reported at Sun Jan 22 01:22:49 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1613.6+3411_daily_bin1761 243.421 34.1982 695779201 696038401 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 :                                   668.21 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             355.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   709 sec.
    Turnaround time :                            743 sec.

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

