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


Performing analysis on: 4FGL_J1608.7+1029_daily_bin1427
RA = 242.176, Dec = 10.4938
tmin = 609206401, tmax = 609465601
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='55265', job_status='RUN', time_executed='2021-09-13 09:47:53.697874', time_epoch_executed='1631551673.7' WHERE source_name='4FGL J1608.7+1029' and cadence='daily' and bin_id='1427'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/55265

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/55265/ft1_4FGL_J1608.7+1029_daily_bin1427.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/55265/ft2_4FGL_J1608.7+1029_daily_bin1427.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/55265/ft1_4FGL_J1608.7+1029_daily_bin1427.fits outfile=/scratch/kocevski/55265/ft1_filteredMKT_4FGL_J1608.7+1029_daily_bin1427.fits ra=242.176 dec=10.4938 rad=12.0 tmin=609206401.0 tmax=609465601.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.01
user 2.79
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/55265/ft2_4FGL_J1608.7+1029_daily_bin1427.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/55265/ft1_filteredMKT_4FGL_J1608.7+1029_daily_bin1427.fits evtable="EVENTS" outfile="/scratch/kocevski/55265/ft1_filtered_4FGL_J1608.7+1029_daily_bin1427.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.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/55265/ft1_filtered_4FGL_J1608.7+1029_daily_bin1427.fits" evtable="EVENTS" scfile=/scratch/kocevski/55265/ft2_4FGL_J1608.7+1029_daily_bin1427.fits sctable="SC_DATA" outfile=/scratch/kocevski/55265/ltcube_609206401_609465601_4FGL_J1608.7+1029_daily_bin1427.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/55265/ft2_4FGL_J1608.7+1029_daily_bin1427.fits
.....................!
real 15.35
user 14.97
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/55265/ft1_filtered_4FGL_J1608.7+1029_daily_bin1427.fits evtable="EVENTS" scfile=/scratch/kocevski/55265/ft2_4FGL_J1608.7+1029_daily_bin1427.fits sctable="SC_DATA" expcube=/scratch/kocevski/55265/ltcube_609206401_609465601_4FGL_J1608.7+1029_daily_bin1427.fits outfile=/scratch/kocevski/55265/expmap_609206401_609465601_4FGL_J1608.7+1029_daily_bin1427.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/55265/ltcube_609206401_609465601_4FGL_J1608.7+1029_daily_bin1427.fits
.....................!
real 192.26
user 187.06
sys 4.09

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/55265/ft1_filtered_4FGL_J1608.7+1029_daily_bin1427.fits scfile=/scratch/kocevski/55265/ft2_4FGL_J1608.7+1029_daily_bin1427.fits outfile=/scratch/kocevski/55265/cmap_609206401_609465601_4FGL_J1608.7+1029_daily_bin1427.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.56
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/55265/ft1_filtered_4FGL_J1608.7+1029_daily_bin1427.fits scfile=/scratch/kocevski/55265/ft2_4FGL_J1608.7+1029_daily_bin1427.fits outfile=/scratch/kocevski/55265/cmap_HighResolution_609206401_609465601_4FGL_J1608.7+1029_daily_bin1427.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/55265/ft1_filtered_4FGL_J1608.7+1029_daily_bin1427.fits evtable="EVENTS" scfile=/scratch/kocevski/55265/ft2_4FGL_J1608.7+1029_daily_bin1427.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/55265/Model_4FGL_J1608.7+1029_daily_bin1427.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/55265/ft1_filtered_4FGL_J1608.7+1029_daily_bin1427.fits.....................!
real 54.41
user 52.99
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.325       1.0000         .10000E-03   10000.    
     2 'Prefactor '    106.34       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.9132       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .79854E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    50.018       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    4.2794       1.0000         .10000E-03   10000.    
    11 'norm      '    71.731       1.0000         .10000E-03   10000.    
    12 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.767       1.0000         .10000E-03   10000.    
    14 'Prefactor '    128.97       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.8856       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .82027E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .46845       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1457       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=   6583.382     FROM MIGRAD    STATUS=CONVERGED    448 CALLS     2302 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.279        55.192       -.39740E-05   -.40602E-04
   2  Prefactor     106.36        46.371        .65440E-06    .34973E-05
   3  Prefactor     .10000E-03    18.471        .47302E-06** at limit **
   4  norm          3.9136        2.8846       -.78489E-07   -.82485E-04
   5  Prefactor     .10012E-03    10.401        .13858E-05** at limit **
   6  Prefactor     .10000E-03    13.579       -.29044E-07** at limit **
   7  norm          .10000E-03    4.3541        .24550E-06** at limit **
   8  Prefactor     50.031        89.271       -.24342E-06   -.18266E-04
   9  norm          .10000E-03    9.6255        .30392E-06** at limit **
  10  norm          4.2796        2.1494       -.61078E-07   -.11424E-03
  11  norm          71.742        28.015       -.13002E-06   -.10013E-03
  12  norm          .10000E-03    54.480        .15944E-06** at limit **
  13  Prefactor     12.770        11.468       -.74743E-07   -.12871E-03
  14  Prefactor     129.03        130.73       -.53698E-06   -.11368E-04
  15  Prefactor     .10000E-03    37.561        .18280E-05** at limit **
  16  Prefactor     .10000E-03    25.573        .65748E-06** at limit **
  17  Prefactor     3.8867        6.3419       -.40604E-06   -.73397E-04
  18  Prefactor     .10003E-03    127.86       -.42681E-05** at limit **
  19  Prefactor     .10000E-03    3.5558        .37876E-06** at limit **
  20  Normalizat    .46837        .34283       -.64935E-05   -.17181E-03
  21  Prefactor     1.1457        .13967        .12426E-05   -.41146E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.2792
  Prefactor  = 106.363
  Prefactor  = 0.0001
  norm       = 3.91359
  Prefactor  = 0.000100122
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 50.0307
  norm       = 0.0001
  norm       = 4.27964
  norm       = 71.7422
  norm       = 0.0001
  Prefactor  = 12.7697
  Prefactor  = 129.029
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.88672
  Prefactor  = 0.000100029
  Prefactor  = 0.0001
  Normalizat = 0.468368
  Prefactor  = 1.1457
 **********
 **   18 **HESSE 
 **********

 FCN=   6583.382     FROM HESSE     STATUS=OK           315 CALLS     2617 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.279        54.363        .10231E-03   -1.4926    
   2  Prefactor     106.36        46.266        .38997E-04   -1.3642    
   3  Prefactor     .10000E-03    18.477        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.9136        2.8758        .11408E-03   -1.5312    
   5  Prefactor     .10012E-03    35.383        .39707E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    13.592        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    4.4351        .16537E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     50.031        89.017        .56703E-04   -1.4292    
   9  norm          .10000E-03    9.7884        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.2796        2.1482        .81264E-04   -1.5294    
  11  norm          71.742        27.674        .47400E-04   -1.4012    
  12  norm          .10000E-03    54.482        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     12.770        11.408        .56052E-03   -1.4993    
  14  Prefactor     129.03        130.39        .17726E-03   -1.3431    
  15  Prefactor     .10000E-03    37.916        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    26.479        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.8867        6.3112        .20469E-03   -1.5314    
  18  Prefactor     .10003E-03    128.17        .39104E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.5859        .14966E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .46837        .33685        .56959E-03   -1.1390    
  21  Prefactor     1.1457        .13852        .16101E-03   -.88019    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.76326e-09
Minuit parameter uncertainties:
  1  54.5403
  2  46.2818
  3  2.36485e-05
  4  2.87586
  5  0.00416417
  6  1.53069e-06
  7  3.45353e-06
  8  89.2546
  9  4.03283e-05
  10  2.14823
  11  27.6793
  12  1.65754e-05
  13  11.4096
  14  130.683
  15  0.000209291
  16  0.000151295
  17  6.31225
  18  0.00387977
  19  1.65162e-05
  20  0.338324
  21  0.138566
Done.

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

Extracting fit parameters...

4FGL J1608.7+1029
   Spectrum: LogParabola
261         norm:  7.174e+01  2.768e+01  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.146e+00  1.386e-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:  4.684e-01  3.383e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.66
Ra Dec: 242.176 10.494
Photon Index (Fixed Index): 2.46 +/- 0.00
Photon Flux (Fixed Index): 2.29e-07 +/- 8.82e-08
Energy Flux (Fixed Index): 6.54e-05 +/- 2.52e-05

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) = 6582.41965655
delta logL = 0.962372105282

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6582.41925872
delta logL = 0.962769936767

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    53.763       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.1524       1.0000          .0000       5.0000    
     3 'Normalizat'    .32978       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1859       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=   6582.419     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      293 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          53.746        29.998        .54703E-04    .32837E-04
   2  alpha         3.1520        .55870        .10028E-01    .27659E-04
   3  Normalizat    .32979        .33155        .67197E-03    .76184E-04
   4  Prefactor     1.1860        .13948        .15851E-03    .11145E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 53.7464
  alpha      = 3.15204
  Normalizat = 0.329792
  Prefactor  = 1.18596
 **********
 **   18 **HESSE 
 **********

 FCN=   6582.419     FROM HESSE     STATUS=OK            25 CALLS      318 TOTAL
                     EDM=   .98E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          53.746        28.378        .21881E-05   -1.4240    
   2  alpha         3.1520        .52848        .40112E-03    .26387    
   3  Normalizat    .32979        .33060        .26879E-04   -1.2110    
   4  Prefactor     1.1860        .13905        .63405E-05   -.86764    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.84776e-11
Minuit parameter uncertainties:
  1  28.3848
  2  0.532796
  3  0.332578
  4  0.139095
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/55265': 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) = 6582.41925664
delta logL = 0.962772016911

Extracting fit parameters...

4FGL J1608.7+1029
   Spectrum: LogParabola
261         norm:  5.375e+01  2.838e+01  1.000e-04  1.000e+04 ( 1.000e-12)
262        alpha:  3.152e+00  5.328e-01  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.186e+00  1.391e-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:  3.298e-01  3.326e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.17
Ra Dec: 242.176 10.494
Photon Index (Free Index): 3.15 +/- 0.53
Photon Flux (Free Index): 3.51e-07 +/- 1.38e-07
Energy Flux (Free Index): 6.90e-05 +/- 2.35e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/55265/cmap_HighResolution_609206401_609465601_4FGL_J1608.7+1029_daily_bin1427.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.29e-07', energy_flux2='6.90e-05', photon_flux_error='8.82e-08', dlogl='9.63e-01', energy_flux='6.54e-05', photon_flux2='3.51e-07', job_status='DONE', time_completed='2021-09-13 09:57:06.402716', photon_index_error2='0.53', photon_index2='3.15', ts='11.66', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', energy_flux_error2='2.35e-05', EG='0.47', time_epoch_completed='1631552226.4', return_code='0', job_id='55265', GAL2='1.19', EG2='0.33', return_code2='0', energy_flux_error='2.52e-05', photon_flux_error2='1.38e-07', ts2='14.17', photon_index='2.46' WHERE bin_id='1427' AND source_name='4FGL J1608.7+1029' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 13 09:57:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0188>
Subject: Job 55265: <4FGL_J1608.7+1029_daily_bin1427> in cluster <slac> Done

Job <4FGL_J1608.7+1029_daily_bin1427> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Sep 13 09:40:44 2021
Job was executed on host(s) <bullet0188>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 13 09:46:20 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:46:20 2021
Terminated at Mon Sep 13 09:57:07 2021
Results reported at Mon Sep 13 09:57:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1608.7+1029_daily_bin1427 242.176 10.4938 609206401 609465601 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 :                                   550.50 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             340.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   646 sec.
    Turnaround time :                            983 sec.

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

