/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 144 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7451
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0608.0+6721_daily_bin1229
RA = 92.0057, Dec = 67.3512
tmin = 557884801, tmax = 558144001
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='20478', job_status='RUN', time_executed='2021-08-24 08:00:16.195701', time_epoch_executed='1629817216.2' WHERE source_name='4FGL J0608.0+6721' and cadence='daily' and bin_id='1229'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/20478

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/20478/ft1_4FGL_J0608.0+6721_daily_bin1229.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/20478/ft2_4FGL_J0608.0+6721_daily_bin1229.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/20478/ft1_4FGL_J0608.0+6721_daily_bin1229.fits outfile=/scratch/kocevski/20478/ft1_filteredMKT_4FGL_J0608.0+6721_daily_bin1229.fits ra=92.0057 dec=67.3512 rad=12.0 tmin=557884801.0 tmax=558144001.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 12.14
user 3.79
sys 8.32

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/20478/ft2_4FGL_J0608.0+6721_daily_bin1229.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/20478/ft2_4FGL_J0608.0+6721_daily_bin1229.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/20478/ft1_filteredMKT_4FGL_J0608.0+6721_daily_bin1229.fits evtable="EVENTS" outfile="/scratch/kocevski/20478/ft1_filtered_4FGL_J0608.0+6721_daily_bin1229.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 8.66
user 0.33
sys 8.27

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/20478/ft1_filtered_4FGL_J0608.0+6721_daily_bin1229.fits" evtable="EVENTS" scfile=/scratch/kocevski/20478/ft2_4FGL_J0608.0+6721_daily_bin1229.fits sctable="SC_DATA" outfile=/scratch/kocevski/20478/ltcube_557884801_558144001_4FGL_J0608.0+6721_daily_bin1229.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/20478/ft2_4FGL_J0608.0+6721_daily_bin1229.fits
.....................!
real 21.35
user 11.71
sys 9.42

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/20478/ft1_filtered_4FGL_J0608.0+6721_daily_bin1229.fits evtable="EVENTS" scfile=/scratch/kocevski/20478/ft2_4FGL_J0608.0+6721_daily_bin1229.fits sctable="SC_DATA" expcube=/scratch/kocevski/20478/ltcube_557884801_558144001_4FGL_J0608.0+6721_daily_bin1229.fits outfile=/scratch/kocevski/20478/expmap_557884801_558144001_4FGL_J0608.0+6721_daily_bin1229.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/20478/ltcube_557884801_558144001_4FGL_J0608.0+6721_daily_bin1229.fits
.....................!
real 200.53
user 185.37
sys 14.81

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 G150.3+4.5 in ROI with RadialDisk spatial model.
Added 198 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.0+6721 @ 92.0057 67.3512

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/20478/ft1_filtered_4FGL_J0608.0+6721_daily_bin1229.fits scfile=/scratch/kocevski/20478/ft2_4FGL_J0608.0+6721_daily_bin1229.fits outfile=/scratch/kocevski/20478/cmap_557884801_558144001_4FGL_J0608.0+6721_daily_bin1229.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.0057 yref=67.3512 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 8.52
user 0.36
sys 8.06

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/20478/ft1_filtered_4FGL_J0608.0+6721_daily_bin1229.fits scfile=/scratch/kocevski/20478/ft2_4FGL_J0608.0+6721_daily_bin1229.fits outfile=/scratch/kocevski/20478/cmap_HighResolution_557884801_558144001_4FGL_J0608.0+6721_daily_bin1229.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.0057 yref=67.3512 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 8.48
user 0.37
sys 8.07

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/20478/ft1_filtered_4FGL_J0608.0+6721_daily_bin1229.fits evtable="EVENTS" scfile=/scratch/kocevski/20478/ft2_4FGL_J0608.0+6721_daily_bin1229.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/20478/Model_4FGL_J0608.0+6721_daily_bin1229.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 G150.3+4.5
adding source GAL_V02
Working on...
/scratch/kocevski/20478/ft1_filtered_4FGL_J0608.0+6721_daily_bin1229.fits....................!
real 28.74
user 16.99
sys 11.64

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/20478/ft1_filtered_4FGL_J0608.0+6721_daily_bin1229.fits', '/scratch/kocevski/20478/ft2_4FGL_J0608.0+6721_daily_bin1229.fits', expMap='/scratch/kocevski/20478/expmap_557884801_558144001_4FGL_J0608.0+6721_daily_bin1229.fits', expCube='/scratch/kocevski/20478/ltcube_557884801_558144001_4FGL_J0608.0+6721_daily_bin1229.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/20478/Model_4FGL_J0608.0+6721_daily_bin1229.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0608.0+6721'

4FGL J0608.0+6721
   Spectrum: PowerLaw
285    Prefactor:  8.452e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
286        Index:  2.490e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  8.187e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/20478/ft1_filtered_4FGL_J0608.0+6721_daily_bin1229.fits
Spacecraft file(s): /scratch/kocevski/20478/ft2_4FGL_J0608.0+6721_daily_bin1229.fits
Exposure map: /scratch/kocevski/20478/expmap_557884801_558144001_4FGL_J0608.0+6721_daily_bin1229.fits
Exposure cube: /scratch/kocevski/20478/ltcube_557884801_558144001_4FGL_J0608.0+6721_daily_bin1229.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/20478/Model_4FGL_J0608.0+6721_daily_bin1229.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) = 395.027263434

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    95.700       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10261E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10574E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    186.57       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10143E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    202.76       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .80291E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11604E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .77793E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    18.339       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11137E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .12830E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .10021E-01   1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1937       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   392.0119     FROM MIGRAD    STATUS=CONVERGED    454 CALLS     2682 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     95.709        72.719       -.22121E-06   -.14547E-03
   2  Prefactor     .10000E-03    156.47        .14428E-06** at limit **
   3  norm          .10000E-03    44.678       -.48670E-07** at limit **
   4  norm          .10000E-03    184.07       -.67240E-06** at limit **
   5  Prefactor     .10000E-03    71.426        .22469E-07** at limit **
   6  Prefactor     .10000E-03    163.37        .15572E-06** at limit **
   7  norm          .10000E-03    835.47        .12401E-05** at limit **
   8  Prefactor     .10000E-03    426.47        .25019E-05** at limit **
   9  Prefactor     186.91        318.58       -.34241E-04    .98559E-04
  10  Prefactor     .10000E-03    128.78        .16096E-05** at limit **
  11  Prefactor     .10000E-03    145.32       -.68741E-06** at limit **
  12  Prefactor     202.53        234.62       -.24385E-05   -.10002E-03
  13  Prefactor     .10166E-03    6485.2        .49109E-04** at limit **
  14  Prefactor     .10000E-03    280.58        .19688E-06** at limit **
  15  norm          .10000E-03    286.04       -.10591E-05** at limit **
  16  Prefactor     .10000E-03    119.79       -.38142E-06** at limit **
  17  norm          18.336        10.393       -.10277E-06   -.20964E-03
  18  Prefactor     .10001E-03    533.43        .16606E-05** at limit **
  19  Prefactor     .10000E-03    316.98       -.10394E-05** at limit **
  20  Prefactor    10000.0        6170.8        .51558E-06** at limit **
  21  Normalizat    .10000E-01    .91150        .81807E-04** at limit **
  22  Prefactor     1.1937        .27150       -.61757E-05   -.32302E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 95.7087
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100004
  Prefactor  = 0.000100002
  Prefactor  = 186.913
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 202.533
  Prefactor  = 0.000101662
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 18.3357
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  Prefactor  = 10000
  Normalizat = 0.01
  Prefactor  = 1.19368
 **********
 **   18 **HESSE 
 **********

 FCN=   392.0119     FROM HESSE     STATUS=OK           322 CALLS     3004 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     95.709        72.809        .41086E-04   -1.3748    
   2  Prefactor     .10000E-03    156.46        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    44.688        .12942E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    184.01        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    71.427        .16371E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    163.38        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    834.88        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    426.11        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     186.91        321.85        .14781E-03   -1.2965    
  10  Prefactor     .10000E-03    128.86        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    145.34        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     202.53        234.65        .14190E-03   -1.2852    
  13  Prefactor     .10166E-03    6470.7        .18834E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    280.30        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    286.07        .20919E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    119.73        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          18.336        10.394        .46668E-04   -1.4851    
  18  Prefactor     .10001E-03    532.33        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    316.97        .20590E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor    10000.0        6170.9        .21002E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .10000E-01    1.4191        .11666E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.1937        .27795        .14948E-03   -.86526    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.97311e-09
Minuit parameter uncertainties:
  1  72.8769
  2  0.000288683
  3  4.51861e-05
  4  0.000568243
  5  1.35449e-05
  6  3.77116e-05
  7  0.00370106
  8  0.00177308
  9  324.956
  10  0.000219416
  11  0.00133903
  12  235.751
  13  0.147783
  14  0.00138816
  15  0.00010689
  16  0.000437855
  17  10.3952
  18  0.00386173
  19  7.06224e-05
  20  0.00264524
  21  5.68537e-05
  22  0.278294
Done.

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

Extracting fit parameters...

4FGL J0608.0+6721
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  1.773e-03  1.000e-04  1.000e+04 ( 1.000e-13)
286        Index:  2.490e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  8.187e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
646    Prefactor:  1.194e+00  2.783e-01  0.000e+00  1.000e+01 ( 1.000e+00)
647        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
648        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  1.000e-02  5.685e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 92.006 67.351
Photon Flux Upper Limit: 1.04e-06 ph cm-2 s-1
Energy Flux Upper Limit: 8.10e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/20478/likelihoodResults_557884801_558144001_4FGL_J0608.0+6721_daily_bin1229.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) = 392.011881512
delta logL = -1.12430186618e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 392.011873436
delta logL = -3.16645628118e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4687       1.0000          .0000       10.000    
     3 'Normalizat'    .10009E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1937       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   392.0119     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      238 TOTAL
                     EDM=   .12E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5085.6        .90712E-02** at limit **
   2  Index         2.4710        7.5093        .50000       -.52037E-07
   3  Normalizat    .10000E-01    .73290        .32095    ** at limit **
   4  Prefactor     1.1937        .26544        .34782E-01   -.24305E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.47103
  Normalizat = 0.01
  Prefactor  = 1.19369
 **********
 **   18 **HESSE 
 **********

 FCN=   392.0119     FROM HESSE     STATUS=OK            33 CALLS      271 TOTAL
                     EDM=   .80E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    382.38        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4710        6.2353        .50000       -.53030    
   3  Normalizat    .10000E-01    .90512        .11663E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.1937        .24957        .14948E-03   -.86526    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.95683e-14
Minuit parameter uncertainties:
  1  4.96659e-05
  2  4.42581
  3  7.16553e-07
  4  0.249816
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/20478': 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) = 392.011870269
delta logL = 2.54317455983e-10

Extracting fit parameters...

4FGL J0608.0+6721
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  4.967e-05  1.000e-04  1.000e+04 ( 1.000e-13)
286        Index:  2.471e+00  4.426e+00  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  8.187e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
646    Prefactor:  1.194e+00  2.498e-01  0.000e+00  1.000e+01 ( 1.000e+00)
647        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
648        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  1.000e-02  7.166e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 92.006 67.351

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/20478/cmap_HighResolution_557884801_558144001_4FGL_J0608.0+6721_daily_bin1229.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.10e-02', job_status='DONE', photon_flux_upper_limit='1.04e-06', time_completed='2021-08-24 08:08:14.333751', job_id='20478', GAL2='1.19', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1629817694.33', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='2.54e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='1229' AND source_name='4FGL J0608.0+6721' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 08:08:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0143>
Subject: Job 20478: <4FGL_J0608.0+6721_daily_bin1229> in cluster <slac> Done

Job <4FGL_J0608.0+6721_daily_bin1229> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Aug 24 07:55:34 2021
Job was executed on host(s) <bullet0143>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 24 07:55:35 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 24 07:55:35 2021
Terminated at Tue Aug 24 08:08:16 2021
Results reported at Tue Aug 24 08:08:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0608.0+6721_daily_bin1229 92.0057 67.3512 557884801 558144001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0608.0+6721 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   600.31 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             203.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   760 sec.
    Turnaround time :                            762 sec.

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

