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


Performing analysis on: 4FGL_J1608.7+1029_daily_bin779
RA = 242.176, Dec = 10.4938
tmin = 441244801, tmax = 441504001
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='51744', job_status='RUN', time_executed='2021-09-13 09:32:21.726812', time_epoch_executed='1631550741.73' WHERE source_name='4FGL J1608.7+1029' and cadence='daily' and bin_id='779'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/51744

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/51744/ft1_4FGL_J1608.7+1029_daily_bin779.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/51744/ft2_4FGL_J1608.7+1029_daily_bin779.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/51744/ft1_4FGL_J1608.7+1029_daily_bin779.fits outfile=/scratch/kocevski/51744/ft1_filteredMKT_4FGL_J1608.7+1029_daily_bin779.fits ra=242.176 dec=10.4938 rad=12.0 tmin=441244801.0 tmax=441504001.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.45
user 3.20
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/51744/ft1_filtered_4FGL_J1608.7+1029_daily_bin779.fits" evtable="EVENTS" scfile=/scratch/kocevski/51744/ft2_4FGL_J1608.7+1029_daily_bin779.fits sctable="SC_DATA" outfile=/scratch/kocevski/51744/ltcube_441244801_441504001_4FGL_J1608.7+1029_daily_bin779.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/51744/ft2_4FGL_J1608.7+1029_daily_bin779.fits
.....................!
real 14.12
user 13.66
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/51744/ft1_filtered_4FGL_J1608.7+1029_daily_bin779.fits evtable="EVENTS" scfile=/scratch/kocevski/51744/ft2_4FGL_J1608.7+1029_daily_bin779.fits sctable="SC_DATA" expcube=/scratch/kocevski/51744/ltcube_441244801_441504001_4FGL_J1608.7+1029_daily_bin779.fits outfile=/scratch/kocevski/51744/expmap_441244801_441504001_4FGL_J1608.7+1029_daily_bin779.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/51744/ltcube_441244801_441504001_4FGL_J1608.7+1029_daily_bin779.fits
.....................!
real 193.10
user 187.24
sys 5.01

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/51744/ft1_filtered_4FGL_J1608.7+1029_daily_bin779.fits scfile=/scratch/kocevski/51744/ft2_4FGL_J1608.7+1029_daily_bin779.fits outfile=/scratch/kocevski/51744/cmap_441244801_441504001_4FGL_J1608.7+1029_daily_bin779.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/51744/ft1_filtered_4FGL_J1608.7+1029_daily_bin779.fits scfile=/scratch/kocevski/51744/ft2_4FGL_J1608.7+1029_daily_bin779.fits outfile=/scratch/kocevski/51744/cmap_HighResolution_441244801_441504001_4FGL_J1608.7+1029_daily_bin779.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.56
user 0.40
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/51744/ft1_filtered_4FGL_J1608.7+1029_daily_bin779.fits', '/scratch/kocevski/51744/ft2_4FGL_J1608.7+1029_daily_bin779.fits', expMap='/scratch/kocevski/51744/expmap_441244801_441504001_4FGL_J1608.7+1029_daily_bin779.fits', expCube='/scratch/kocevski/51744/ltcube_441244801_441504001_4FGL_J1608.7+1029_daily_bin779.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/51744/Model_4FGL_J1608.7+1029_daily_bin779.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/51744/ft1_filtered_4FGL_J1608.7+1029_daily_bin779.fits
Spacecraft file(s): /scratch/kocevski/51744/ft2_4FGL_J1608.7+1029_daily_bin779.fits
Exposure map: /scratch/kocevski/51744/expmap_441244801_441504001_4FGL_J1608.7+1029_daily_bin779.fits
Exposure cube: /scratch/kocevski/51744/ltcube_441244801_441504001_4FGL_J1608.7+1029_daily_bin779.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/51744/Model_4FGL_J1608.7+1029_daily_bin779.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) = 8640.44870047

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10615E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.7682       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10094E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .69040       1.0000         .10000E-03   10000.    
     8 'Prefactor '    20.756       1.0000         .10000E-03   10000.    
     9 'norm      '    16.068       1.0000         .10000E-03   10000.    
    10 'norm      '    6.5985       1.0000         .10000E-03   10000.    
    11 'norm      '    .10101E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .11936E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .34585       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10779E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.1944       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .85499       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0491       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.

 FCN=   8640.428     FROM MIGRAD    STATUS=CONVERGED    492 CALLS     2252 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    102.39       -.32657E-05** at limit **
   2  Prefactor     9.7253        33.224        .52795E-04   -.25913E-05
   3  Prefactor     .10000E-03    9.1138        .82016E-07** at limit **
   4  norm          .10000E-03    1.5715       -.22780E-06** at limit **
   5  Prefactor     .10000E-03    1.2855        .70114E-07** at limit **
   6  Prefactor     .10000E-03    27.107       -.15015E-05** at limit **
   7  norm          .68892        2.5294       -.74005E-06   -.16748E-02
   8  Prefactor     20.802        61.526       -.20016E-04    .69919E-06
   9  norm          16.060        9.1362        .55525E-06   -.60879E-04
  10  norm          6.5983        2.1421        .19121E-06    .16450E-03
  11  norm          .10000E-03    7.2927        .13948E-06** at limit **
  12  norm          .10000E-03    39.196        .69109E-05** at limit **
  13  Prefactor     .10000E-03    5.4554        .71439E-07** at limit **
  14  Prefactor     .10000E-03    39.384       -.63403E-05** at limit **
  15  Prefactor     .85029E-01    24.448       -.29934E-07    .15327E-03
  16  Prefactor     .10000E-03    7.1863        .15265E-06** at limit **
  17  Prefactor     .10000E-03    2.7454        .45789E-07** at limit **
  18  Prefactor     5.1936        7.6757        .20405E-05   -.18483E-03
  19  Prefactor     .10000E-03    2.6543        .48370E-07** at limit **
  20  Normalizat    .85493        .22669       -.82111E-05    .10643E-03
  21  Prefactor     1.0493        .96162E-01    .12522E-05   -.38974E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Prefactor  = 9.72529
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  norm       = 0.688921
  Prefactor  = 20.8015
  norm       = 16.0599
  norm       = 6.5983
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0850292
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.19357
  Prefactor  = 0.0001
  Normalizat = 0.854932
  Prefactor  = 1.04928
 **********
 **   18 **HESSE 
 **********

 FCN=   8640.428     FROM HESSE     STATUS=OK           319 CALLS     2571 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    104.37        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.7253        32.963        .12821E-03   -1.5084    
   3  Prefactor     .10000E-03    9.1187        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.6425        .22741E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    1.2985        .10289E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    27.231        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .68892        2.5221        .27434E-03   -1.5542    
   8  Prefactor     20.802        61.393        .87915E-04   -1.4795    
   9  norm          16.060        9.1412        .99918E-04   -1.4906    
  10  norm          6.5983        2.1418        .74149E-04   -1.5194    
  11  norm          .10000E-03    7.3186        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    39.195        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.4823        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    39.452        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .85029E-01    28.280        .12225       -1.5650    
  16  Prefactor     .10000E-03    7.2620        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    2.7593        .15039E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.1936        7.6576        .17638E-03   -1.5252    
  19  Prefactor     .10000E-03    2.6765        .14786E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .85493        .26310        .39293E-03   -.98062    
  21  Prefactor     1.0493        .11319        .15943E-03   -.91105    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.0237e-09
Minuit parameter uncertainties:
  1  0.000906792
  2  33.0251
  3  2.29573e-05
  4  3.02914e-05
  5  9.43368e-06
  6  0.000624881
  7  2.52245
  8  61.5802
  9  9.14198
  10  2.14178
  11  4.5097e-05
  12  4.74249e-06
  13  1.04227e-05
  14  4.12395e-05
  15  3.10101
  16  3.81547e-05
  17  6.32335e-06
  18  7.65908
  19  6.60609e-06
  20  0.263489
  21  0.113217
Done.

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

Extracting fit parameters...

4FGL J1608.7+1029
   Spectrum: LogParabola
261         norm:  1.000e-04  4.510e-05  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:  1.049e+00  1.132e-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:  8.549e-01  2.635e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 242.176 10.494
Photon Flux Upper Limit: 8.36e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.39e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/51744/likelihoodResults_441244801_441504001_4FGL_J1608.7+1029_daily_bin779.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) = 8640.42818684
delta logL = -0.000651234049656

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8640.42754123
delta logL = -5.62355126021e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10261E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4801       1.0000          .0000       5.0000    
     3 'Normalizat'    .85481       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0491       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.

 FCN=   8640.428     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      200 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    9.0294        .90712E-02** at limit **
   2  alpha         2.5036        3.6093        .41153       -.16518E-04
   3  Normalizat    .85493        .21198        .88722E-01   -.34243E-04
   4  Prefactor     1.0493        .94958E-01    .39960E-01   -.17748E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.5036
  Normalizat = 0.854926
  Prefactor  = 1.04928
 **********
 **   18 **HESSE 
 **********

 FCN=   8640.428     FROM HESSE     STATUS=OK            29 CALLS      229 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.6495        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.5036        3.5536        .16461        .14390E-02
   3  Normalizat    .85493        .24719        .39293E-03   -.98063    
   4  Prefactor     1.0493        .11106        .15943E-03   -.91104    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.44329e-10
Minuit parameter uncertainties:
  1  0.000107693
  2  2.5034
  3  0.247513
  4  0.111088
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/51744': 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) = 8640.42753531
delta logL = 2.98065060633e-07

Extracting fit parameters...

4FGL J1608.7+1029
   Spectrum: LogParabola
261         norm:  1.000e-04  1.077e-04  1.000e-04  1.000e+04 ( 1.000e-12)
262        alpha:  2.504e+00  2.503e+00  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:  1.049e+00  1.111e-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:  8.549e-01  2.475e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/51744/cmap_HighResolution_441244801_441504001_4FGL_J1608.7+1029_daily_bin779.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.39e-05', job_status='DONE', photon_flux_upper_limit='8.36e-08', time_completed='2021-09-13 09:44:02.926497', job_id='51744', GAL2='1.05', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1631551442.93', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='2.98e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='779' AND source_name='4FGL J1608.7+1029' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 13 09:44:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 51744: <4FGL_J1608.7+1029_daily_bin779> in cluster <slac> Done

Job <4FGL_J1608.7+1029_daily_bin779> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Mon Sep 13 09:30:39 2021
Job was executed on host(s) <bullet0234>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 13 09:32:08 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:32:08 2021
Terminated at Mon Sep 13 09:44:03 2021
Results reported at Mon Sep 13 09:44:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1608.7+1029_daily_bin779 242.176 10.4938 441244801 441504001 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 :                                   699.16 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             332.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   715 sec.
    Turnaround time :                            804 sec.

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

