/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 182 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1613.6+3411_daily_bin1009
RA = 243.421, Dec = 34.1982
tmin = 500860801, tmax = 501120001
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='191185', job_status='RUN', time_executed='2021-09-13 17:53:35.347816', time_epoch_executed='1631580815.35' WHERE source_name='4FGL J1613.6+3411' and cadence='daily' and bin_id='1009'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/191185

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/191185/ft1_4FGL_J1613.6+3411_daily_bin1009.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/191185/ft2_4FGL_J1613.6+3411_daily_bin1009.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/191185/ft1_4FGL_J1613.6+3411_daily_bin1009.fits outfile=/scratch/kocevski/191185/ft1_filteredMKT_4FGL_J1613.6+3411_daily_bin1009.fits ra=243.421 dec=34.1982 rad=12.0 tmin=500860801.0 tmax=501120001.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.58
user 4.31
sys 0.24

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/191185/ft1_filtered_4FGL_J1613.6+3411_daily_bin1009.fits evtable="EVENTS" scfile=/scratch/kocevski/191185/ft2_4FGL_J1613.6+3411_daily_bin1009.fits sctable="SC_DATA" expcube=/scratch/kocevski/191185/ltcube_500860801_501120001_4FGL_J1613.6+3411_daily_bin1009.fits outfile=/scratch/kocevski/191185/expmap_500860801_501120001_4FGL_J1613.6+3411_daily_bin1009.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/191185/ltcube_500860801_501120001_4FGL_J1613.6+3411_daily_bin1009.fits
.....................!
real 193.49
user 187.79
sys 4.83

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/191185/ft1_filtered_4FGL_J1613.6+3411_daily_bin1009.fits scfile=/scratch/kocevski/191185/ft2_4FGL_J1613.6+3411_daily_bin1009.fits outfile=/scratch/kocevski/191185/cmap_500860801_501120001_4FGL_J1613.6+3411_daily_bin1009.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/191185/ft1_filtered_4FGL_J1613.6+3411_daily_bin1009.fits scfile=/scratch/kocevski/191185/ft2_4FGL_J1613.6+3411_daily_bin1009.fits outfile=/scratch/kocevski/191185/cmap_HighResolution_500860801_501120001_4FGL_J1613.6+3411_daily_bin1009.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.55
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/191185/ft1_filtered_4FGL_J1613.6+3411_daily_bin1009.fits', '/scratch/kocevski/191185/ft2_4FGL_J1613.6+3411_daily_bin1009.fits', expMap='/scratch/kocevski/191185/expmap_500860801_501120001_4FGL_J1613.6+3411_daily_bin1009.fits', expCube='/scratch/kocevski/191185/ltcube_500860801_501120001_4FGL_J1613.6+3411_daily_bin1009.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/191185/Model_4FGL_J1613.6+3411_daily_bin1009.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  1.000e-04  1.000e+04 ( 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/191185/ft1_filtered_4FGL_J1613.6+3411_daily_bin1009.fits
Spacecraft file(s): /scratch/kocevski/191185/ft2_4FGL_J1613.6+3411_daily_bin1009.fits
Exposure map: /scratch/kocevski/191185/expmap_500860801_501120001_4FGL_J1613.6+3411_daily_bin1009.fits
Exposure cube: /scratch/kocevski/191185/ltcube_500860801_501120001_4FGL_J1613.6+3411_daily_bin1009.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/191185/Model_4FGL_J1613.6+3411_daily_bin1009.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) = 6587.26335215

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .60129E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.1239       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10360E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    47.951       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.6571       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10258E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .31636       1.0000         .10000E-03   10000.    
    12 'norm      '    .28067       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.6270       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .15676E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.3559       1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.841       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .74832E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    5.3698       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .96841       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .97283       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.

 FCN=   6587.099     FROM MIGRAD    STATUS=CONVERGED    501 CALLS     2151 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10012E-03    182.57        .73284E-05** at limit **
   2  norm          1.1239        1.0649        .10000E-07   -.26518E-03
   3  Prefactor     .10000E-03    6.8709       -.12756E-06** at limit **
   4  Prefactor     47.949        37.035        .29187E-06   -.13909E-04
   5  Prefactor     .10000E-03    8.5643       -.74321E-07** at limit **
   6  norm          .10000E-03    5.4350        .16775E-06** at limit **
   7  Prefactor     .10000E-03    1.2267       -.38602E-07** at limit **
   8  Prefactor     .10000E-03    38.861       -.45617E-06** at limit **
   9  Prefactor     1.6570        10.890        .14463E-04    .60588E-04
  10  Prefactor     .10000E-03    2.6007        .43988E-06** at limit **
  11  Prefactor     .31252        2.0722        .72146E-06   -.23668E-03
  12  norm          .28063        .19951        .19908E-07    .78877E-03
  13  norm          .10000E-03    5.5684       -.18746E-06** at limit **
  14  Prefactor     6.6257        19.763        .70215E-06    .26256E-04
  15  norm          .10000E-03    24.151        .58731E-06** at limit **
  16  Prefactor     .10001E-03    .68008        .78402E-07** at limit **
  17  Prefactor     4.3564        1.7755        .52276E-07    .44893E-03
  18  Prefactor     13.839        16.765        .54241E-06   -.36938E-05
  19  Prefactor     .10000E-03    1.3994       -.27290E-06** at limit **
  20  norm          5.3699        2.0145        .18447E-07    .80628E-04
  21  Normalizat    .96852        .19037        .67265E-07   -.75797E-04
  22  Prefactor     .97278        .14049       -.13337E-05   -.52366E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100119
  norm       = 1.12394
  Prefactor  = 0.0001
  Prefactor  = 47.9494
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 1.65695
  Prefactor  = 0.0001
  Prefactor  = 0.312516
  norm       = 0.28063
  norm       = 0.0001
  Prefactor  = 6.62575
  norm       = 0.0001
  Prefactor  = 0.000100015
  Prefactor  = 4.35638
  Prefactor  = 13.8392
  Prefactor  = 0.0001
  norm       = 5.36989
  Normalizat = 0.968523
  Prefactor  = 0.972784
 **********
 **   18 **HESSE 
 **********

 FCN=   6587.099     FROM HESSE     STATUS=OK           350 CALLS     2501 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10012E-03    186.19        .21063E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.1239        1.0448        .77747E-04   -1.5496    
   3  Prefactor     .10000E-03    6.9248        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     47.949        36.908        .57907E-04   -1.4322    
   5  Prefactor     .10000E-03    8.5939        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    5.4604        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.2544        .87700E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    39.730        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.6570        10.927        .16391E-02   -1.5451    
  10  Prefactor     .10000E-03    5.2059        .24919E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .31252        8.5815        .21390E-02   -1.5596    
  12  norm          .28063        .18809        .24064E-04   -1.5602    
  13  norm          .10000E-03    5.5707        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.6257        19.631        .15588E-03   -1.5193    
  15  norm          .10000E-03    24.169        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10001E-03    16.505        .10669E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.3564        1.6105        .55434E-04   -1.5290    
  18  Prefactor     13.839        16.768        .10766E-03   -1.4964    
  19  Prefactor     .10000E-03    11.069        .18444E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          5.3699        2.0150        .68035E-04   -1.5244    
  21  Normalizat    .96852        .22076        .27389E-03   -.94093    
  22  Prefactor     .97278        .16556        .20860E-03   -.93642    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75132e-09
Minuit parameter uncertainties:
  1  0.00945597
  2  1.04477
  3  2.20072e-05
  4  36.9253
  5  1.08149e-05
  6  2.47495e-05
  7  2.65153e-06
  8  0.000404265
  9  8.51223
  10  3.81007e-05
  11  3.27527
  12  0.188091
  13  1.41285e-05
  14  19.6506
  15  0.000103686
  16  0.000983345
  17  1.61048
  18  16.7733
  19  0.000141286
  20  2.01498
  21  0.220965
  22  0.165646
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  9.728e-01  1.656e-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.685e-01  2.210e-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: 8.60e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.66e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/191185/likelihoodResults_500860801_501120001_4FGL_J1613.6+3411_daily_bin1009.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): 102
logL (Free Index) = 6587.09954686
delta logL = -0.000914139777706

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6587.09863297
delta logL = -2.54542101175e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4514       1.0000          .0000       10.000    
     3 'Normalizat'    .96863       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97275       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=   6587.099     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      239 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    5.3145        .24914E-02** at limit **
   2  Index         2.4663        6.2315        .94841E-02   -.25539E-04
   3  Normalizat    .96853        .20958        .27389E-03    .29368E-03
   4  Prefactor     .97278        .16087        .20860E-03    .29256E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100007
  Index      = 2.46625
  Normalizat = 0.968525
  Prefactor  = 0.972783
 **********
 **   18 **HESSE 
 **********

 FCN=   6587.099     FROM HESSE     STATUS=OK            23 CALLS      262 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    5.3096        .49827E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4663        6.2312        .18968E-02   -.53141    
   3  Normalizat    .96853        .20974        .54778E-04   -.94092    
   4  Prefactor     .97278        .16100        .41720E-04   -.93642    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.19253e-09
Minuit parameter uncertainties:
  1  0.00039829
  2  4.31093
  3  0.209913
  4  0.161081
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/191185': 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) = 6587.09863255
delta logL = 1.64315679285e-07

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  9.728e-01  1.611e-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.685e-01  2.099e-01  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/191185/cmap_HighResolution_500860801_501120001_4FGL_J1613.6+3411_daily_bin1009.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.66e-03', job_status='DONE', photon_flux_upper_limit='8.60e-08', time_completed='2021-09-13 18:05:10.143858', job_id='191185', GAL2='0.97', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1631581510.14', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.64e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='1009' AND source_name='4FGL J1613.6+3411' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 13 18:05:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 191185: <4FGL_J1613.6+3411_daily_bin1009> in cluster <slac> Done

Job <4FGL_J1613.6+3411_daily_bin1009> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Sep 13 17:50:19 2021
Job was executed on host(s) <bullet0251>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 13 17:50:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Sep 13 17:50:24 2021
Terminated at Mon Sep 13 18:05:10 2021
Results reported at Mon Sep 13 18:05:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1613.6+3411_daily_bin1009 243.421 34.1982 500860801 501120001 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 :                                   691.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             271.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   886 sec.
    Turnaround time :                            891 sec.

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

