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


Performing analysis on: 4FGL_J1608.7+1029_daily_bin1185
RA = 242.176, Dec = 10.4938
tmin = 546480001, tmax = 546739201
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='54902', job_status='RUN', time_executed='2021-09-13 09:41:50.783794', time_epoch_executed='1631551310.78' WHERE source_name='4FGL J1608.7+1029' and cadence='daily' and bin_id='1185'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/54902

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/54902/ft1_4FGL_J1608.7+1029_daily_bin1185.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/54902/ft2_4FGL_J1608.7+1029_daily_bin1185.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/54902/ft1_4FGL_J1608.7+1029_daily_bin1185.fits outfile=/scratch/kocevski/54902/ft1_filteredMKT_4FGL_J1608.7+1029_daily_bin1185.fits ra=242.176 dec=10.4938 rad=12.0 tmin=546480001.0 tmax=546739201.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.59
user 3.66
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/54902/ft2_4FGL_J1608.7+1029_daily_bin1185.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/54902/ft2_4FGL_J1608.7+1029_daily_bin1185.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/54902/ft1_filteredMKT_4FGL_J1608.7+1029_daily_bin1185.fits evtable="EVENTS" outfile="/scratch/kocevski/54902/ft1_filtered_4FGL_J1608.7+1029_daily_bin1185.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.53
user 0.36
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/54902/ft1_filtered_4FGL_J1608.7+1029_daily_bin1185.fits" evtable="EVENTS" scfile=/scratch/kocevski/54902/ft2_4FGL_J1608.7+1029_daily_bin1185.fits sctable="SC_DATA" outfile=/scratch/kocevski/54902/ltcube_546480001_546739201_4FGL_J1608.7+1029_daily_bin1185.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/54902/ft2_4FGL_J1608.7+1029_daily_bin1185.fits
.....................!
real 14.37
user 13.79
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/54902/ft1_filtered_4FGL_J1608.7+1029_daily_bin1185.fits evtable="EVENTS" scfile=/scratch/kocevski/54902/ft2_4FGL_J1608.7+1029_daily_bin1185.fits sctable="SC_DATA" expcube=/scratch/kocevski/54902/ltcube_546480001_546739201_4FGL_J1608.7+1029_daily_bin1185.fits outfile=/scratch/kocevski/54902/expmap_546480001_546739201_4FGL_J1608.7+1029_daily_bin1185.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/54902/ltcube_546480001_546739201_4FGL_J1608.7+1029_daily_bin1185.fits
.....................!
real 193.96
user 188.38
sys 5.03

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 158 point sources and 0 extended sources

Setting source of interest to:
4FGL J1608.7+1029 @ 242.176 10.4938

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/54902/ft1_filtered_4FGL_J1608.7+1029_daily_bin1185.fits scfile=/scratch/kocevski/54902/ft2_4FGL_J1608.7+1029_daily_bin1185.fits outfile=/scratch/kocevski/54902/cmap_546480001_546739201_4FGL_J1608.7+1029_daily_bin1185.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=242.176 yref=10.4938 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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/54902/ft1_filtered_4FGL_J1608.7+1029_daily_bin1185.fits scfile=/scratch/kocevski/54902/ft2_4FGL_J1608.7+1029_daily_bin1185.fits outfile=/scratch/kocevski/54902/cmap_HighResolution_546480001_546739201_4FGL_J1608.7+1029_daily_bin1185.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=242.176 yref=10.4938 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.57
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/54902/ft1_filtered_4FGL_J1608.7+1029_daily_bin1185.fits evtable="EVENTS" scfile=/scratch/kocevski/54902/ft2_4FGL_J1608.7+1029_daily_bin1185.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/54902/Model_4FGL_J1608.7+1029_daily_bin1185.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/54902/ft1_filtered_4FGL_J1608.7+1029_daily_bin1185.fits.........................!
real 16.12
user 14.85
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/54902/ft1_filtered_4FGL_J1608.7+1029_daily_bin1185.fits', '/scratch/kocevski/54902/ft2_4FGL_J1608.7+1029_daily_bin1185.fits', expMap='/scratch/kocevski/54902/expmap_546480001_546739201_4FGL_J1608.7+1029_daily_bin1185.fits', expCube='/scratch/kocevski/54902/ltcube_546480001_546739201_4FGL_J1608.7+1029_daily_bin1185.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/54902/Model_4FGL_J1608.7+1029_daily_bin1185.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1608.7+1029'

4FGL J1608.7+1029
   Spectrum: LogParabola
261         norm:  8.130e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
262        alpha:  2.458e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
263         beta:  1.591e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
264           Eb:  5.195e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/54902/ft1_filtered_4FGL_J1608.7+1029_daily_bin1185.fits
Spacecraft file(s): /scratch/kocevski/54902/ft2_4FGL_J1608.7+1029_daily_bin1185.fits
Exposure map: /scratch/kocevski/54902/expmap_546480001_546739201_4FGL_J1608.7+1029_daily_bin1185.fits
Exposure cube: /scratch/kocevski/54902/ltcube_546480001_546739201_4FGL_J1608.7+1029_daily_bin1185.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/54902/Model_4FGL_J1608.7+1029_daily_bin1185.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 319.992698495

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 316.927052717

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2374       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.9340       1.0000         .10000E-03   10000.    
     3 'Prefactor '    130.74       1.0000         .10000E-03   10000.    
     4 'norm      '    .92403E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.9697       1.0000         .10000E-03   10000.    
     7 'norm      '    29.312       1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.917       1.0000         .10000E-03   10000.    
     9 'norm      '    .54902E-01   1.0000         .10000E-03   10000.    
    10 'norm      '    .39133E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .21414E-01   1.0000         .10000E-03   10000.    
    12 'norm      '    1.6997       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.5324       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.3650       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.4002       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .43768       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .16408E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .28197E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .19078       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .90256       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .33338       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   316.8606     FROM MIGRAD    STATUS=CONVERGED    176 CALLS      462 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .93028E-03    440.94       -.49786E-04** at limit **
   2  Prefactor     1.9946        4.0896        .14791E-04    .40362E-02
   3  Prefactor     130.53        14.957       -.30435E-05    .35203E-02
   4  norm          .10000E-03    53.176        .35955E-04** at limit **
   5  Prefactor     .10000E-03    6.0102       -.19210E-05** at limit **
   6  Prefactor     .45972        2.9400        .17729E-04    .17834E-02
   7  norm          27.076        26.486       -.20143E-05   -.87154E-03
   8  Prefactor     154.72        478.45       -.22363E-03    .34680E-03
   9  norm          .10000E-03    118.34        .15650E-04** at limit **
  10  norm          .10000E-03    12.202       -.92092E-05** at limit **
  11  norm          .10000E-03    90.174        .28197E-04** at limit **
  12  norm          .10001E-03    244.79        .69558E-04** at limit **
  13  Prefactor     3.5324        1.0104         .0000         .0000    
  14  Prefactor     .10000E-03    248.74        .80400E-04** at limit **
  15  Prefactor     .37805E-03    632.30       -.56732E-04** at limit **
  16  Prefactor     .10000E-03    100.73       -.39807E-04** at limit **
  17  Prefactor     .10000E-03    45.906       -.47450E-04** at limit **
  18  Prefactor     .10000E-03    37.721        .23728E-04** at limit **
  19  Prefactor     .10000E-03    147.46        .95154E-04** at limit **
  20  Normalizat    .90352        .98585       -.11341E-03   -.98896E-05
  21  Prefactor     .32713        .30439        .10509E-03    .63910E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000930277
  Prefactor  = 1.99464
  Prefactor  = 130.533
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.459719
  norm       = 27.0761
  Prefactor  = 154.717
  norm       = 0.000100002
  norm       = 0.0001
  norm       = 0.000100002
  norm       = 0.000100012
  Prefactor  = 3.53238
  Prefactor  = 0.000100003
  Prefactor  = 0.000378046
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Normalizat = 0.903522
  Prefactor  = 0.327131
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   316.8606     FROM HESSE     STATUS=FAILED        57 CALLS      519 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .93028E-03    1356.4        .48936E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.9946        9663.5        .50847E-02   -1.5425    
   3  Prefactor     130.53        131.29        .88036E-03   -1.3418    
   4  norm          .10000E-03    53.124        .91102E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.1009        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .45972        9804.6        .73864E-02   -1.5572    
   7  norm          27.076        23.802        .18500E-02   -1.4667    
   8  Prefactor     154.72        456.58        .29010E-02   -1.3214    
   9  norm          .10000E-03    118.18        .92940E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    12.207        .10637E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    89.984        .91296E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10001E-03    243.00        .80669E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     547.63        544.02         .0000       -1.5332    
  14  Prefactor     .10000E-03    .21800        .80400E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .37805E-03    .39328E-01   -.56732E-04   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    .30325       -.39807E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    .26007       -.47450E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    .24737        .23728E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    .24678        .95154E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .90352        1.2384       -.11341E-03   -.96336    
  21  Prefactor     .32713        .64794        .10509E-03   -1.2071    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.39781e-10
Minuit parameter uncertainties:
  1  2.17359
  2  373.624
  3  131.587
  4  0.000138119
  5  1.70651e-05
  6  186.935
  7  23.8101
  8  467.688
  9  0.000921734
  10  5.05196e-05
  11  0.000759075
  12  0.00344828
  13  1.01038
  14  5.30881e-05
  15  0.00661363
  16  1.95126e-05
  17  2.99558e-05
  18  6.99892e-06
  19  4.87789e-05
  20  1.28105
  21  0.663194
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 316.860630819

Extracting fit parameters...

4FGL J1608.7+1029
   Spectrum: LogParabola
261         norm:  1.000e-04  7.591e-04  1.000e-04  1.000e+04 ( 1.000e-12)
262        alpha:  2.458e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
263         beta:  1.591e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
264           Eb:  5.195e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  3.271e-01  6.632e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  9.035e-01  1.281e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 242.176 10.494
Photon Flux Upper Limit: 1.72e-06 ph cm-2 s-1
Energy Flux Upper Limit: 4.91e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/54902/likelihoodResults_546480001_546739201_4FGL_J1608.7+1029_daily_bin1185.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) = 316.860646624
delta logL = -1.58057209774e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 316.860632488
delta logL = -1.6692510485e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10991E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.7656       1.0000          .0000       5.0000    
     3 'Normalizat'    .90486       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .32677       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+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=   316.8606     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      267 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2082.5        .11490E-01** at limit **
   2  alpha         2.0659        3.0895        .50000       -.99618E-09
   3  Normalizat    .90353        .11729        .32203E-03    .33185E-05
   4  Prefactor     .32713        .36728E-01    .16141E-03    .68232E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  alpha      = 2.0659
  Normalizat = 0.903526
  Prefactor  = 0.32713
 **********
 **   18 **HESSE 
 **********

 FCN=   316.8606     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      294 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    9947.9        .16956E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0659        3.4126        .20000       -.17452    
   3  Normalizat    .90353        .66262        .12881E-04   -.96336    
   4  Prefactor     .32713        .20888        .64565E-05   -1.2071    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.16967e-09
Minuit parameter uncertainties:
  1  0.0105723
  2  24196.4
  3  0.668736
  4  0.209364
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/54902': 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) = 316.860630791
delta logL = 2.76613150163e-08

Extracting fit parameters...

4FGL J1608.7+1029
   Spectrum: LogParabola
261         norm:  1.000e-04  1.057e-02  1.000e-04  1.000e+04 ( 1.000e-12)
262        alpha:  2.066e+00  2.420e+04  0.000e+00  5.000e+00 ( 1.000e+00)
263         beta:  1.591e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
264           Eb:  5.195e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  3.271e-01  2.094e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  9.035e-01  6.687e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 242.176 10.494

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/54902/cmap_HighResolution_546480001_546739201_4FGL_J1608.7+1029_daily_bin1185.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.91e-04', job_status='DONE', photon_flux_upper_limit='1.72e-06', time_completed='2021-09-13 09:47:20.697519', job_id='54902', GAL2='0.33', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1631551640.7', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.33', dlogl='2.77e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='1185' AND source_name='4FGL J1608.7+1029' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 13 09:47:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0286>
Subject: Job 54902: <4FGL_J1608.7+1029_daily_bin1185> in cluster <slac> Done

Job <4FGL_J1608.7+1029_daily_bin1185> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Sep 13 09:40:19 2021
Job was executed on host(s) <bullet0286>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 13 09:41:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Sep 13 09:41:37 2021
Terminated at Mon Sep 13 09:47:21 2021
Results reported at Mon Sep 13 09:47:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1608.7+1029_daily_bin1185 242.176 10.4938 546480001 546739201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1608.7+1029 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   327.56 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             485.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   344 sec.
    Turnaround time :                            422 sec.

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

