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


Performing analysis on: 4FGL_J0608.1-1521_daily_bin1533
RA = 92.0302, Dec = -15.3639
tmin = 636681601, tmax = 636940801
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='42804', job_status='RUN', time_executed='2021-08-24 09:08:32.229866', time_epoch_executed='1629821312.23' WHERE source_name='4FGL J0608.1-1521' and cadence='daily' and bin_id='1533'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/42804

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/42804/ft1_4FGL_J0608.1-1521_daily_bin1533.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/42804/ft2_4FGL_J0608.1-1521_daily_bin1533.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/42804/ft1_4FGL_J0608.1-1521_daily_bin1533.fits outfile=/scratch/kocevski/42804/ft1_filteredMKT_4FGL_J0608.1-1521_daily_bin1533.fits ra=92.0302 dec=-15.3639 rad=12.0 tmin=636681601.0 tmax=636940801.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 6.74
user 4.89
sys 0.85

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/42804/ft2_4FGL_J0608.1-1521_daily_bin1533.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/42804/ft2_4FGL_J0608.1-1521_daily_bin1533.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/42804/ft1_filteredMKT_4FGL_J0608.1-1521_daily_bin1533.fits evtable="EVENTS" outfile="/scratch/kocevski/42804/ft1_filtered_4FGL_J0608.1-1521_daily_bin1533.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 1.13
user 0.35
sys 0.76

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/42804/ft1_filtered_4FGL_J0608.1-1521_daily_bin1533.fits" evtable="EVENTS" scfile=/scratch/kocevski/42804/ft2_4FGL_J0608.1-1521_daily_bin1533.fits sctable="SC_DATA" outfile=/scratch/kocevski/42804/ltcube_636681601_636940801_4FGL_J0608.1-1521_daily_bin1533.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/42804/ft2_4FGL_J0608.1-1521_daily_bin1533.fits
.....................!
real 12.83
user 11.76
sys 1.01

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/42804/ft1_filtered_4FGL_J0608.1-1521_daily_bin1533.fits evtable="EVENTS" scfile=/scratch/kocevski/42804/ft2_4FGL_J0608.1-1521_daily_bin1533.fits sctable="SC_DATA" expcube=/scratch/kocevski/42804/ltcube_636681601_636940801_4FGL_J0608.1-1521_daily_bin1533.fits outfile=/scratch/kocevski/42804/expmap_636681601_636940801_4FGL_J0608.1-1521_daily_bin1533.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/42804/ltcube_636681601_636940801_4FGL_J0608.1-1521_daily_bin1533.fits
.....................!
real 193.41
user 186.50
sys 6.35

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
Extended source Rosette in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/Rosette.fits is the correct path to the extended template.
Added 147 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0608.1-1521 @ 92.0302 -15.3639

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/42804/ft1_filtered_4FGL_J0608.1-1521_daily_bin1533.fits scfile=/scratch/kocevski/42804/ft2_4FGL_J0608.1-1521_daily_bin1533.fits outfile=/scratch/kocevski/42804/cmap_636681601_636940801_4FGL_J0608.1-1521_daily_bin1533.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=92.0302 yref=-15.3639 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 1.23
user 0.37
sys 0.76

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/42804/ft1_filtered_4FGL_J0608.1-1521_daily_bin1533.fits scfile=/scratch/kocevski/42804/ft2_4FGL_J0608.1-1521_daily_bin1533.fits outfile=/scratch/kocevski/42804/cmap_HighResolution_636681601_636940801_4FGL_J0608.1-1521_daily_bin1533.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=92.0302 yref=-15.3639 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 1.17
user 0.41
sys 0.75

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/42804/ft1_filtered_4FGL_J0608.1-1521_daily_bin1533.fits evtable="EVENTS" scfile=/scratch/kocevski/42804/ft2_4FGL_J0608.1-1521_daily_bin1533.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/42804/Model_4FGL_J0608.1-1521_daily_bin1533.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
adding source Rosette
Working on...
/scratch/kocevski/42804/ft1_filtered_4FGL_J0608.1-1521_daily_bin1533.fits.....................!
real 175.94
user 173.41
sys 2.01

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/42804/ft1_filtered_4FGL_J0608.1-1521_daily_bin1533.fits', '/scratch/kocevski/42804/ft2_4FGL_J0608.1-1521_daily_bin1533.fits', expMap='/scratch/kocevski/42804/expmap_636681601_636940801_4FGL_J0608.1-1521_daily_bin1533.fits', expCube='/scratch/kocevski/42804/ltcube_636681601_636940801_4FGL_J0608.1-1521_daily_bin1533.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/42804/Model_4FGL_J0608.1-1521_daily_bin1533.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0608.1-1521'

4FGL J0608.1-1521
   Spectrum: PowerLaw
254    Prefactor:  4.661e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
255        Index:  2.583e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
256        Scale:  6.117e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/42804/ft1_filtered_4FGL_J0608.1-1521_daily_bin1533.fits
Spacecraft file(s): /scratch/kocevski/42804/ft2_4FGL_J0608.1-1521_daily_bin1533.fits
Exposure map: /scratch/kocevski/42804/expmap_636681601_636940801_4FGL_J0608.1-1521_daily_bin1533.fits
Exposure cube: /scratch/kocevski/42804/ltcube_636681601_636940801_4FGL_J0608.1-1521_daily_bin1533.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/42804/Model_4FGL_J0608.1-1521_daily_bin1533.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) = 10106.0165536

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.1013       1.0000         .10000E-03   10000.    
     2 'norm      '    4.1156       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10036E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    31.219       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.6271       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .17909E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.9515       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.1502       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    22.972       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .78380       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0632       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10105.94     FROM MIGRAD    STATUS=CONVERGED    492 CALLS     1945 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.1020        6.0181        .33213E-02    .92559E-03
   2  norm          4.1114        24.265        .49677E-02   -.75108E-03
   3  norm          .10000E-03    3.3601        .90712E-02** at limit **
   4  Prefactor     .10000E-03    3.9308        .90712E-02** at limit **
   5  norm          .10000E-03    10.323        .10544    ** at limit **
   6  Prefactor     .10000E-03    4.8084        .90712E-02** at limit **
   7  Prefactor     .10000E-03    189.97        .90712E-02** at limit **
   8  Prefactor     .10000E-03    8.4937        .90712E-02** at limit **
   9  Prefactor     31.217        33.928        .17928E-02   -.10103E-03
  10  Prefactor     .10000E-03    11.472        .90712E-02** at limit **
  11  norm          3.6271        3.7671        .53034E-02   -.31435E-03
  12  Prefactor     .10000E-03    9.4333        .11185    ** at limit **
  13  Prefactor     9.9514        6.2566        .31756E-02    .17084E-03
  14  norm          .10000E-03    1.6134        .90712E-02** at limit **
  15  norm          2.1503        1.5161        .70250E-02   -.37709E-03
  16  norm          .10000E-03    3.5725        .90712E-02** at limit **
  17  Prefactor     .10000E-03    5.4590        .90712E-02** at limit **
  18  norm          22.973        10.079        .20893E-02   -.30298E-04
  19  Prefactor     .10000E-03    1.0420        .90712E-02** at limit **
  20  Normalizat    .78401        .23690        .13825       -.35622E-04
  21  Prefactor     1.0632        .60898E-01    .39191E-01   -.47460E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.10195
  norm       = 4.11141
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 31.2167
  Prefactor  = 0.0001
  norm       = 3.62708
  Prefactor  = 0.000100004
  Prefactor  = 9.95141
  norm       = 0.0001
  norm       = 2.15026
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 22.9729
  Prefactor  = 0.0001
  Normalizat = 0.784011
  Prefactor  = 1.06317
 **********
 **   18 **HESSE 
 **********

 FCN=   10105.94     FROM HESSE     STATUS=OK           323 CALLS     2268 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.1020        6.0325        .13285E-03   -1.5104    
   2  norm          4.1114        24.236        .19871E-03   -1.5302    
   3  norm          .10000E-03    3.3606        .17997E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.9585        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    100.14        .60897E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.8303        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    191.65        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    8.5110        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     31.217        33.953        .71711E-04   -1.4590    
  10  Prefactor     .10000E-03    11.485        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.6271        3.7685        .19220E-03   -1.5327    
  12  Prefactor     .10000E-03    11.463        .96247E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     9.9514        6.2550        .12702E-03   -1.5077    
  14  norm          .10000E-03    1.6167        .12469E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.1503        1.5167        .10106E-03   -1.5415    
  16  norm          .10000E-03    3.5792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    5.6398        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          22.973        10.072        .83572E-04   -1.4749    
  19  Prefactor     .10000E-03    1.0467        .10009E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .78401        .24276        .61435E-03   -1.0066    
  21  Prefactor     1.0632        .62684E-01    .13524E-03   -.90652    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.28857e-09
Minuit parameter uncertainties:
  1  6.0329
  2  19.9761
  3  2.48085e-06
  4  4.3409e-06
  5  0.00016312
  6  1.97122e-06
  7  0.0015089
  8  8.96268e-06
  9  33.9745
  10  1.91461e-05
  11  3.76878
  12  0.000413773
  13  6.25542
  14  4.93786e-06
  15  1.51668
  16  7.21818e-07
  17  4.98216e-06
  18  10.0727
  19  2.00248e-06
  20  0.243092
  21  0.0626882
Done.

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

Extracting fit parameters...

4FGL J0608.1-1521
   Spectrum: PowerLaw
254    Prefactor:  1.000e-04  1.971e-06  1.000e-04  1.000e+04 ( 1.000e-12)
255        Index:  2.583e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
256        Scale:  6.117e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  1.063e+00  6.269e-02  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  7.840e-01  2.431e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 92.030 -15.364
Photon Flux Upper Limit: 1.25e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.76e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/42804/likelihoodResults_636681601_636940801_4FGL_J0608.1-1521_daily_bin1533.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) = 10105.9364276
delta logL = -0.000986759485386

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10105.9354408
delta logL = 7.77072273195e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5892       1.0000          .0000       10.000    
     3 'Normalizat'    .78403       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0632       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5070E+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=   10105.94     FROM MIGRAD    STATUS=CONVERGED    108 CALLS      266 TOTAL
                     EDM=   .82E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.5908        .66409E-01** at limit **
   2  Index         3.0285        6.2853        .50000       -.22874E-07
   3  Normalizat    .78401        .11865E-01    .61435E-03    .26721E-04
   4  Prefactor     1.0632        .30377E-02    .13524E-03    .71792E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 3.02849
  Normalizat = 0.784012
  Prefactor  = 1.06317
 **********
 **   18 **HESSE 
 **********

 FCN=   10105.94     FROM HESSE     STATUS=OK            31 CALLS      297 TOTAL
                     EDM=   .88E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.3562        .33903E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.0285        6.4898        .50000       -.40531    
   3  Normalizat    .78401        .23635        .24574E-04   -1.0066    
   4  Prefactor     1.0632        .60593E-01    .54094E-05   -.90652    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.84833e-12
Minuit parameter uncertainties:
  1  2.47911e-05
  2  4.71193
  3  0.236663
  4  0.0605973
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/42804': 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) = 10105.9354403
delta logL = 5.7285069488e-07

Extracting fit parameters...

4FGL J0608.1-1521
   Spectrum: PowerLaw
254    Prefactor:  1.000e-04  2.479e-05  1.000e-04  1.000e+04 ( 1.000e-12)
255        Index:  3.028e+00  4.712e+00  0.000e+00  1.000e+01 (-1.000e+00)
256        Scale:  6.117e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  1.063e+00  6.060e-02  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  7.840e-01  2.367e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 92.030 -15.364

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/42804/cmap_HighResolution_636681601_636940801_4FGL_J0608.1-1521_daily_bin1533.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.76e-03', job_status='DONE', photon_flux_upper_limit='1.25e-07', time_completed='2021-08-24 09:22:24.375613', job_id='42804', GAL2='1.06', fit_tolerance='1e-08', EG2='0.78', EG='0.78', time_epoch_completed='1629822144.38', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='5.73e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='1533' AND source_name='4FGL J0608.1-1521' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 09:22:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 42804: <4FGL_J0608.1-1521_daily_bin1533> in cluster <slac> Done

Job <4FGL_J0608.1-1521_daily_bin1533> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 24 09:06:48 2021
Job was executed on host(s) <bullet0078>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 24 09:06:49 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 24 09:06:49 2021
Terminated at Tue Aug 24 09:22:24 2021
Results reported at Tue Aug 24 09:22:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0608.1-1521_daily_bin1533 92.0302 -15.3639 636681601 636940801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0608.1-1521 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   828.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             327.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   961 sec.
    Turnaround time :                            936 sec.

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

