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


Performing analysis on: 4FGL_J1613.6+3411_daily_bin1076
RA = 243.421, Dec = 34.1982
tmin = 518227201, tmax = 518486401
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='191294', job_status='RUN', time_executed='2021-09-13 17:53:14.128119', time_epoch_executed='1631580794.13' WHERE source_name='4FGL J1613.6+3411' and cadence='daily' and bin_id='1076'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/191294

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/191294/ft1_4FGL_J1613.6+3411_daily_bin1076.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/191294/ft2_4FGL_J1613.6+3411_daily_bin1076.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/191294/ft1_4FGL_J1613.6+3411_daily_bin1076.fits outfile=/scratch/kocevski/191294/ft1_filteredMKT_4FGL_J1613.6+3411_daily_bin1076.fits ra=243.421 dec=34.1982 rad=12.0 tmin=518227201.0 tmax=518486401.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.64
user 3.41
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/191294/ft1_filtered_4FGL_J1613.6+3411_daily_bin1076.fits evtable="EVENTS" scfile=/scratch/kocevski/191294/ft2_4FGL_J1613.6+3411_daily_bin1076.fits sctable="SC_DATA" expcube=/scratch/kocevski/191294/ltcube_518227201_518486401_4FGL_J1613.6+3411_daily_bin1076.fits outfile=/scratch/kocevski/191294/expmap_518227201_518486401_4FGL_J1613.6+3411_daily_bin1076.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/191294/ltcube_518227201_518486401_4FGL_J1613.6+3411_daily_bin1076.fits
.....................!
real 191.02
user 186.30
sys 4.24

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/191294/ft1_filtered_4FGL_J1613.6+3411_daily_bin1076.fits scfile=/scratch/kocevski/191294/ft2_4FGL_J1613.6+3411_daily_bin1076.fits outfile=/scratch/kocevski/191294/cmap_518227201_518486401_4FGL_J1613.6+3411_daily_bin1076.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/191294/ft1_filtered_4FGL_J1613.6+3411_daily_bin1076.fits scfile=/scratch/kocevski/191294/ft2_4FGL_J1613.6+3411_daily_bin1076.fits outfile=/scratch/kocevski/191294/cmap_HighResolution_518227201_518486401_4FGL_J1613.6+3411_daily_bin1076.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.40
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29211E-02   1.0000         .10000E-03   10000.    
     2 'norm      '    3.6713       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .26061E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    33.259       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .84524E-02   1.0000         .10000E-03   10000.    
     6 'norm      '    8.9857       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .28561E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .14776E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.7547       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.8133       1.0000         .10000E-03   10000.    
    12 'norm      '    .55356       1.0000         .10000E-03   10000.    
    13 'norm      '    .12413E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .21600E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .39761E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.2029       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .37684       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.0699       1.0000         .10000E-03   10000.    
    20 'norm      '    .84644       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .80610       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0077       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=   6482.843     FROM MIGRAD    STATUS=CONVERGED    878 CALLS     2125 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    44.621        .19857E-02** at limit **
   2  norm          3.6670        1.4903        .60071E-04   -.10922E-02
   3  Prefactor     .10000E-03    9.7164        .42896E-03** at limit **
   4  Prefactor     34.082        27.016        .69483E-04    .12759E-03
   5  Prefactor     .10000E-03    17.478        .18381E-02** at limit **
   6  norm          8.9048        13.319        .13371E-03   -.25848E-04
   7  Prefactor     .10000E-03    1.5386        .19233E-03** at limit **
   8  Prefactor     .10000E-03    6.6089        .20210E-02** at limit **
   9  Prefactor     .10050E-03    14.410        .71577E-01** at limit **
  10  Prefactor     2.7502        3.6646        .16803E-03   -.62564E-03
  11  Prefactor     2.8127        2.3144        .10706E-03    .40702E-03
  12  norm          .55361        .16082        .16166E-04    .74208E-02
  13  norm          .10000E-03    8.9958        .20614E-02** at limit **
  14  Prefactor     .10000E-03    10.264        .18142E-02** at limit **
  15  norm          .10003E-03    102.50        .36880E-03** at limit **
  16  Prefactor     .10000E-03    .76228        .10236E-02** at limit **
  17  Prefactor     3.2031        1.2154        .50070E-04    .47424E-02
  18  Prefactor     .41664        160.84        .52463E-02   -.43825E-04
  19  Prefactor     2.0680        2.6149        .14035E-03    .25597E-04
  20  norm          .84613        1.1870        .50447E-04    .22310E-03
  21  Normalizat    .80622        .21696        .28768E-03    .67576E-05
  22  Prefactor     1.0075        .16782        .20501E-03   -.82694E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 3.66704
  Prefactor  = 0.000100001
  Prefactor  = 34.0817
  Prefactor  = 0.000100001
  norm       = 8.90476
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100499
  Prefactor  = 2.75023
  Prefactor  = 2.81271
  norm       = 0.553612
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100035
  Prefactor  = 0.000100001
  Prefactor  = 3.20314
  Prefactor  = 0.416638
  Prefactor  = 2.06797
  norm       = 0.846132
  Normalizat = 0.806216
  Prefactor  = 1.00751
 **********
 **   18 **HESSE 
 **********

 FCN=   6482.843     FROM HESSE     STATUS=OK           332 CALLS     2457 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    44.622        .39714E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.6670        1.4899        .24028E-05   -1.5325    
   3  Prefactor     .10000E-03    9.7166        .85793E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     34.082        27.015        .13897E-04   -1.4540    
   5  Prefactor     .10000E-03    17.479        .36762E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.9048        13.314        .53483E-05   -1.5111    
   7  Prefactor     .10000E-03    1.5386        .38467E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.6091        .40421E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10050E-03    12.654        .77656E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.7502        3.6624        .67212E-05   -1.5376    
  11  Prefactor     2.8127        2.3141        .42825E-05   -1.5373    
  12  norm          .55361        .16079        .32332E-05   -1.5559    
  13  norm          .10000E-03    8.9965        .41227E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.265        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10003E-03    102.50        .73760E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    .76255        .20472E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.2031        1.2149        .10014E-04   -1.5350    
  18  Prefactor     .41664        162.28        .20985E-03   -1.5579    
  19  Prefactor     2.0680        2.6142        .56140E-05   -1.5420    
  20  norm          .84613        1.1869        .20179E-05   -1.5524    
  21  Normalizat    .80622        .21703        .11507E-04   -.99839    
  22  Prefactor     1.0075        .16761        .41002E-04   -.92479    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.23817e-09
Minuit parameter uncertainties:
  1  7.77214e-05
  2  1.4899
  3  0.000193204
  4  27.0246
  5  0.000200388
  6  13.318
  7  3.74273e-07
  8  2.57771e-06
  9  0.00502542
  10  3.66269
  11  2.31414
  12  0.160787
  13  1.46689e-05
  14  7.12193e-05
  15  0.00378955
  16  5.11687e-05
  17  1.21492
  18  16.4887
  19  2.61432
  20  1.18691
  21  0.21726
  22  0.1677
Done.

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

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  2.750e+00  3.663e+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

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  1.008e+00  1.677e-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:  8.062e-01  2.173e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/191294/likelihoodResults_518227201_518486401_4FGL_J1613.6+3411_daily_bin1076.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) = 6482.84273982
delta logL = 0.000509474529281

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6482.84255383
delta logL = 0.000695460339557

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8258       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4059       1.0000          .0000       10.000    
     3 'Normalizat'    .80651       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0074       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=   6482.843     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      206 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8281        112.86        .60484E-02    .67433E-03
   2  Index         2.4051        6.1667        .23881        .57024E-04
   3  Normalizat    .80704        .50092E-01    .65000E-01    .44315E-04
   4  Prefactor     1.0070        .40179E-01    .43735E-01   -.57218E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.82809
  Index      = 2.40507
  Normalizat = 0.807043
  Prefactor  = 1.00699
 **********
 **   18 **HESSE 
 **********

 FCN=   6482.843     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8281        4.4346        .17045E-03   -1.5372    
   2  Index         2.4051        .89345        .95651E-02   -.54566    
   3  Normalizat    .80704        .20928        .28755E-03   -.99808    
   4  Prefactor     1.0070        .16449        .20505E-03   -.92497    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30584e-11
Minuit parameter uncertainties:
  1  4.4351
  2  0.900084
  3  0.209487
  4  0.164568
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/191294': 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) = 6482.84255012
delta logL = 0.000699174038346

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  2.828e+00  4.435e+00  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  2.405e+00  9.001e-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:  1.007e+00  1.646e-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:  8.070e-01  2.095e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.69
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/191294/cmap_HighResolution_518227201_518486401_4FGL_J1613.6+3411_daily_bin1076.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.58e-03', job_status='DONE', photon_flux_upper_limit='1.11e-07', time_completed='2021-09-13 18:04:23.343362', job_id='191294', GAL2='1.01', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1631581463.34', return_code2='0', ts='0.69', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='6.99e-04', ts2='0.68', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='1076' AND source_name='4FGL J1613.6+3411' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 13 18:04:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0114>
Subject: Job 191294: <4FGL_J1613.6+3411_daily_bin1076> in cluster <slac> Done

Job <4FGL_J1613.6+3411_daily_bin1076> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Sep 13 17:50:27 2021
Job was executed on host(s) <bullet0114>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 13 17:50:41 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:41 2021
Terminated at Mon Sep 13 18:04:24 2021
Results reported at Mon Sep 13 18:04:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1613.6+3411_daily_bin1076 243.421 34.1982 518227201 518486401 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 :                                   665.06 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             287.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   822 sec.
    Turnaround time :                            837 sec.

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

