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


Performing analysis on: 4FGL_J0608.0+6721_daily_bin1568
RA = 92.0057, Dec = 67.3512
tmin = 645753601, tmax = 646012801
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='23285', job_status='RUN', time_executed='2021-08-24 08:06:07.413832', time_epoch_executed='1629817567.41' WHERE source_name='4FGL J0608.0+6721' and cadence='daily' and bin_id='1568'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/23285

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/23285/ft1_4FGL_J0608.0+6721_daily_bin1568.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/23285/ft2_4FGL_J0608.0+6721_daily_bin1568.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/23285/ft1_4FGL_J0608.0+6721_daily_bin1568.fits outfile=/scratch/kocevski/23285/ft1_filteredMKT_4FGL_J0608.0+6721_daily_bin1568.fits ra=92.0057 dec=67.3512 rad=12.0 tmin=645753601.0 tmax=646012801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.24
user 2.13
sys 2.08

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/23285/ft2_4FGL_J0608.0+6721_daily_bin1568.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/23285/ft1_filteredMKT_4FGL_J0608.0+6721_daily_bin1568.fits evtable="EVENTS" outfile="/scratch/kocevski/23285/ft1_filtered_4FGL_J0608.0+6721_daily_bin1568.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 2.50
user 0.36
sys 2.09

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/23285/ft1_filtered_4FGL_J0608.0+6721_daily_bin1568.fits" evtable="EVENTS" scfile=/scratch/kocevski/23285/ft2_4FGL_J0608.0+6721_daily_bin1568.fits sctable="SC_DATA" outfile=/scratch/kocevski/23285/ltcube_645753601_646012801_4FGL_J0608.0+6721_daily_bin1568.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/23285/ft2_4FGL_J0608.0+6721_daily_bin1568.fits
.....................!
real 19.55
user 16.76
sys 2.48

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/23285/ft1_filtered_4FGL_J0608.0+6721_daily_bin1568.fits evtable="EVENTS" scfile=/scratch/kocevski/23285/ft2_4FGL_J0608.0+6721_daily_bin1568.fits sctable="SC_DATA" expcube=/scratch/kocevski/23285/ltcube_645753601_646012801_4FGL_J0608.0+6721_daily_bin1568.fits outfile=/scratch/kocevski/23285/expmap_645753601_646012801_4FGL_J0608.0+6721_daily_bin1568.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/23285/ltcube_645753601_646012801_4FGL_J0608.0+6721_daily_bin1568.fits
.....................!
real 196.92
user 189.36
sys 6.89

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/23285/ft1_filtered_4FGL_J0608.0+6721_daily_bin1568.fits scfile=/scratch/kocevski/23285/ft2_4FGL_J0608.0+6721_daily_bin1568.fits outfile=/scratch/kocevski/23285/cmap_645753601_646012801_4FGL_J0608.0+6721_daily_bin1568.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 2.40
user 0.38
sys 2.00

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/23285/ft1_filtered_4FGL_J0608.0+6721_daily_bin1568.fits scfile=/scratch/kocevski/23285/ft2_4FGL_J0608.0+6721_daily_bin1568.fits outfile=/scratch/kocevski/23285/cmap_HighResolution_645753601_646012801_4FGL_J0608.0+6721_daily_bin1568.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 2.46
user 0.41
sys 2.03

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/23285/ft1_filtered_4FGL_J0608.0+6721_daily_bin1568.fits evtable="EVENTS" scfile=/scratch/kocevski/23285/ft2_4FGL_J0608.0+6721_daily_bin1568.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/23285/Model_4FGL_J0608.0+6721_daily_bin1568.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/23285/ft1_filtered_4FGL_J0608.0+6721_daily_bin1568.fits.....................!
real 86.10
user 81.95
sys 3.80

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/23285/ft1_filtered_4FGL_J0608.0+6721_daily_bin1568.fits', '/scratch/kocevski/23285/ft2_4FGL_J0608.0+6721_daily_bin1568.fits', expMap='/scratch/kocevski/23285/expmap_645753601_646012801_4FGL_J0608.0+6721_daily_bin1568.fits', expCube='/scratch/kocevski/23285/ltcube_645753601_646012801_4FGL_J0608.0+6721_daily_bin1568.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/23285/Model_4FGL_J0608.0+6721_daily_bin1568.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/23285/ft1_filtered_4FGL_J0608.0+6721_daily_bin1568.fits
Spacecraft file(s): /scratch/kocevski/23285/ft2_4FGL_J0608.0+6721_daily_bin1568.fits
Exposure map: /scratch/kocevski/23285/expmap_645753601_646012801_4FGL_J0608.0+6721_daily_bin1568.fits
Exposure cube: /scratch/kocevski/23285/ltcube_645753601_646012801_4FGL_J0608.0+6721_daily_bin1568.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/23285/Model_4FGL_J0608.0+6721_daily_bin1568.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) = 6684.98425379

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    24.030       1.0000         .10000E-03   10000.    
     3 'norm      '    .12029E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    117.10       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    65.810       1.0000         .10000E-03   10000.    
    10 'Prefactor '    36.396       1.0000         .10000E-03   10000.    
    11 'Prefactor '    35.726       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12792E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    70.445       1.0000         .10000E-03   10000.    
    14 'Prefactor '    40.030       1.0000         .10000E-03   10000.    
    15 'norm      '    23.295       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.1122       1.0000         .10000E-03   10000.    
    18 'Prefactor '    31.224       1.0000         .10000E-03   10000.    
    19 'Prefactor '    11.258       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1871       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .98610       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=   6684.960     FROM MIGRAD    STATUS=CONVERGED    481 CALLS     2710 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.485       -.57602E-06** at limit **
   2  Prefactor     24.030        21.984       -.31077E-06    .76400E-06
   3  norm          .10015E-03    30.177       -.13283E-05** at limit **
   4  norm          .10000E-03    27.593       -.31862E-06** at limit **
   5  Prefactor     .10000E-03    17.822       -.57241E-06** at limit **
   6  Prefactor     .10000E-03    50.145        .10890E-05** at limit **
   7  norm          117.11        154.76        .73172E-05   -.78903E-06
   8  Prefactor     .10000E-03    39.902       -.27673E-06** at limit **
   9  Prefactor     65.803        58.248       -.51368E-05    .22686E-04
  10  Prefactor     36.396        24.929       -.15746E-06    .44088E-05
  11  Prefactor     35.727        32.514       -.39829E-05    .68655E-04
  12  Prefactor     .10000E-03    106.02       -.27990E-05** at limit **
  13  Prefactor     70.442        65.512       -.20110E-05    .61819E-05
  14  Prefactor     40.026        43.615       -.51668E-06    .11270E-04
  15  norm          23.294        21.782       -.12434E-05    .15108E-04
  16  Prefactor     .10000E-03    8.8802       -.43382E-06** at limit **
  17  norm          4.1122        1.0211       -.62474E-07    .63044E-03
  18  Prefactor     31.066        222.01       -.25072E-03    .14454E-04
  19  Prefactor     11.239        37.036        .57592E-06    .28426E-04
  20  Prefactor     .10000E-03    24.135        .11351E-06** at limit **
  21  Normalizat    1.1873        .26068        .12968E-04   -.19651E-03
  22  Prefactor     .98604        .99458E-01   -.18697E-05    .67526E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 24.03
  norm       = 0.000100147
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 117.105
  Prefactor  = 0.0001
  Prefactor  = 65.8027
  Prefactor  = 36.3962
  Prefactor  = 35.7275
  Prefactor  = 0.000100001
  Prefactor  = 70.4421
  Prefactor  = 40.0256
  norm       = 23.2942
  Prefactor  = 0.0001
  norm       = 4.11225
  Prefactor  = 31.0661
  Prefactor  = 11.239
  Prefactor  = 0.000100001
  Normalizat = 1.1873
  Prefactor  = 0.986044
 **********
 **   18 **HESSE 
 **********

 FCN=   6684.960     FROM HESSE     STATUS=OK           342 CALLS     3052 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.599        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     24.030        21.991        .81715E-04   -1.4727    
   3  norm          .10015E-03    31.579        .12314       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    27.607        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    17.859        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    50.217        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          117.11        154.78        .18592E-03   -1.3539    
   8  Prefactor     .10000E-03    39.994        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     65.803        58.386        .49472E-04   -1.4084    
  10  Prefactor     36.396        24.928        .66430E-04   -1.4501    
  11  Prefactor     35.727        32.615        .67049E-04   -1.4512    
  12  Prefactor     .10000E-03    107.28        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     70.442        65.522        .47828E-04   -1.4027    
  14  Prefactor     40.026        43.628        .63354E-04   -1.4442    
  15  norm          23.294        21.800        .82991E-04   -1.4742    
  16  Prefactor     .10000E-03    8.8845        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.1122        1.0219        .38468E-04   -1.5302    
  18  Prefactor     31.066        222.80        .71705E-04   -1.4593    
  19  Prefactor     11.239        37.546        .11940E-03   -1.5037    
  20  Prefactor     .10000E-03    24.232        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1873        .29272        .37915E-03   -.86996    
  22  Prefactor     .98604        .11190        .17353E-03   -.93196    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.07859e-09
Minuit parameter uncertainties:
  1  6.42172e-05
  2  21.9986
  3  0.0043095
  4  3.3864e-05
  5  3.6524e-05
  6  6.59362e-05
  7  155.316
  8  0.000135913
  9  58.4365
  10  24.9354
  11  32.631
  12  0.000476393
  13  65.5892
  14  43.6631
  15  21.8076
  16  4.12949e-06
  17  1.0219
  18  167.279
  19  37.6251
  20  0.00028965
  21  0.293121
  22  0.111928
Done.

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

Extracting fit parameters...

4FGL J0608.0+6721
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  1.359e-04  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:  9.860e-01  1.119e-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.187e+00  2.931e-01  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.26e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.79e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/23285/likelihoodResults_645753601_646012801_4FGL_J0608.0+6721_daily_bin1568.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6684.95990832
delta logL = -0.00011906499094

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6684.95978939
delta logL = -1.31416527438e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4234       1.0000          .0000       10.000    
     3 'Normalizat'    1.1873       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98605       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=   6684.960     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      239 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6363.8        .90712E-02** at limit **
   2  Index         2.4561        6.5247        .50000       -.83354E-05
   3  Normalizat    1.1873        .67808E-01    .85625E-01   -.15489E-04
   4  Prefactor     .98604        .28729E-01    .46092E-01   -.69170E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.45609
  Normalizat = 1.18731
  Prefactor  = 0.98604
 **********
 **   18 **HESSE 
 **********

 FCN=   6684.960     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      270 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8233.5        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4561        6.5174        .50000       -.53377    
   3  Normalizat    1.1873        .19587        .37915E-03   -.86996    
   4  Prefactor     .98604        .83211E-01    .17353E-03   -.93196    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.30341e-08
Minuit parameter uncertainties:
  1  0.00414722
  2  65.7402
  3  0.195995
  4  0.0832215
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/23285': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6684.95978932
delta logL = -6.68605935061e-08

Extracting fit parameters...

4FGL J0608.0+6721
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  4.147e-03  1.000e-04  1.000e+04 ( 1.000e-13)
286        Index:  2.456e+00  6.574e+01  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:  9.860e-01  8.322e-02  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.187e+00  1.960e-01  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/23285/cmap_HighResolution_645753601_646012801_4FGL_J0608.0+6721_daily_bin1568.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.79e-03', job_status='DONE', photon_flux_upper_limit='1.26e-07', time_completed='2021-08-24 08:19:53.188942', job_id='23285', GAL2='0.99', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1629818393.19', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='-6.69e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='1568' AND source_name='4FGL J0608.0+6721' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 08:19:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 23285: <4FGL_J0608.0+6721_daily_bin1568> in cluster <slac> Done

Job <4FGL_J0608.0+6721_daily_bin1568> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Tue Aug 24 08:05:22 2021
Job was executed on host(s) <bullet0283>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 24 08:05:23 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 24 08:05:23 2021
Terminated at Tue Aug 24 08:19:54 2021
Results reported at Tue Aug 24 08:19:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0608.0+6721_daily_bin1568 92.0057 67.3512 645753601 646012801 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 :                                   849.42 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             328.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   870 sec.
    Turnaround time :                            872 sec.

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

