aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache us/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 190 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J0608.0+6721_daily_bin1779
RA = 92.0057, Dec = 67.3512
tDone.


Performing analysis on: 4FGL_J0608.0+6721_daily_bin1779
RA = 92.0057, Dec = 67.3512
tmin = 700444801, tmax = 700704001
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='3747', job_status='RUN', time_executed='2023-03-17 00:19:12.498023', time_epoch_executed='1679037552.5' WHERE source_name='4FGL J0608.0+6721' and cadence='daily' and bin_id='1779'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/3747

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/3747/ft1_4FGL_J0608.0+6721_daily_bin1779.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/3747/ft2_4FGL_J0608.0+6721_daily_bin1779.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/3747/ft1_4FGL_J0608.0+6721_daily_bin1779.fits outfile=/scratch/kocevski/3747/ft1_filteredMKT_4FGL_J0608.0+6721_daily_bin1779.fits ra=92.0057 dec=67.3512 rad=12.0 tmin=700444801.0 tmax=700704001.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 54.91
user 5.10
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/3747/ft2_4FGL_J0608.0+6721_daily_bin1779.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/3747/ft1_filteredMKT_4FGL_J0608.0+6721_daily_bin1779.fits evtable="EVENTS" outfile="/scratch/kocevski/3747/ft1_filtered_4FGL_J0608.0+6721_daily_bin1779.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 3.75
user 0.32
sys 0.09

Number of photons that the gtmktime cut: 1366

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/3747/ft1_filtered_4FGL_J0608.0+6721_daily_bin1779.fits" evtable="EVENTS" scfile=/scratch/kocevski/3747/ft2_4FGL_J0608.0+6721_daily_bin1779.fits sctable="SC_DATA" outfile=/scratch/kocevski/3747/ltcube_700444801_700704001_4FGL_J0608.0+6721_daily_bin1779.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/3747/ft2_4FGL_J0608.0+6721_daily_bin1779.fits
.....................!
real 130.43
user 12.39
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/3747/ft1_filtered_4FGL_J0608.0+6721_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/3747/ft2_4FGL_J0608.0+6721_daily_bin1779.fits sctable="SC_DATA" expcube=/scratch/kocevski/3747/ltcube_700444801_700704001_4FGL_J0608.0+6721_daily_bin1779.fits outfile=/scratch/kocevski/3747/expmap_700444801_700704001_4FGL_J0608.0+6721_daily_bin1779.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/3747/ltcube_700444801_700704001_4FGL_J0608.0+6721_daily_bin1779.fits
.....................!
real 1980.62
user 186.44
sys 5.21

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/3747/ft1_filtered_4FGL_J0608.0+6721_daily_bin1779.fits scfile=/scratch/kocevski/3747/ft2_4FGL_J0608.0+6721_daily_bin1779.fits outfile=/scratch/kocevski/3747/cmap_700444801_700704001_4FGL_J0608.0+6721_daily_bin1779.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 4.69
user 0.36
sys 0.09

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/3747/ft1_filtered_4FGL_J0608.0+6721_daily_bin1779.fits scfile=/scratch/kocevski/3747/ft2_4FGL_J0608.0+6721_daily_bin1779.fits outfile=/scratch/kocevski/3747/cmap_HighResolution_700444801_700704001_4FGL_J0608.0+6721_daily_bin1779.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 4.22
user 0.37
sys 0.10

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/3747/ft1_filtered_4FGL_J0608.0+6721_daily_bin1779.fits', '/scratch/kocevski/3747/ft2_4FGL_J0608.0+6721_daily_bin1779.fits', expMap='/scratch/kocevski/3747/expmap_700444801_700704001_4FGL_J0608.0+6721_daily_bin1779.fits', expCube='/scratch/kocevski/3747/ltcube_700444801_700704001_4FGL_J0608.0+6721_daily_bin1779.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/3747/Model_4FGL_J0608.0+6721_daily_bin1779.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  0.000e+00  1.000e+06 ( 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/3747/ft1_filtered_4FGL_J0608.0+6721_daily_bin1779.fits
Spacecraft file(s): /scratch/kocevski/3747/ft2_4FGL_J0608.0+6721_daily_bin1779.fits
Exposure map: /scratch/kocevski/3747/expmap_700444801_700704001_4FGL_J0608.0+6721_daily_bin1779.fits
Exposure cube: /scratch/kocevski/3747/ltcube_700444801_700704001_4FGL_J0608.0+6721_daily_bin1779.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/3747/Model_4FGL_J0608.0+6721_daily_bin1779.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) = 13895.555701

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3911       1.0000          .0000       .10000E+07
     2 'norm      '    .32191E-05   1.0000          .0000       .10000E+07
     3 'norm      '    .15011E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    9.8649       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.2676       1.0000          .0000       .10000E+07
     6 'Prefactor '    .12073E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .37381E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    29.275       1.0000          .0000       .10000E+07
     9 'Prefactor '    5.5374       1.0000          .0000       .10000E+07
    10 'Prefactor '    13.894       1.0000          .0000       .10000E+07
    11 'Prefactor '    .49142E-03   1.0000          .0000       .10000E+07
    12 'norm      '    8.9703       1.0000          .0000       .10000E+07
    13 'Prefactor '    .32709E-04   1.0000          .0000       .10000E+07
    14 'norm      '    2.2367       1.0000          .0000       .10000E+07
    15 'Prefactor '    .79059E-02   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.0606       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .97796       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=   13895.50     FROM MIGRAD    STATUS=CONVERGED    404 CALLS     1441 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3793        11.060       -.99897E-06   -.12307E-02
   2  norm           .0000        4.8008       -.18610E-07** at limit **
   3  norm           .0000        14.979       -.19172E-06** at limit **
   4  Prefactor     9.9848        7.0621       -.46143E-08    .10661E-02
   5  Prefactor     .83236E-04    20.450       -.84229E-06** at limit **
   6  Prefactor      .0000        46.732        .32698E-05** at limit **
   7  Prefactor     .77716E-09    8.8117        .32059E-08** at limit **
   8  Prefactor     28.900        21.100        .20602E-05    .43808E-02
   9  Prefactor     5.7058        16.911       -.38834E-05   -.91619E-03
  10  Prefactor     12.897        27.630       -.80387E-05    .22442E-03
  11  Prefactor      .0000        6.6020        .21738E-07** at limit **
  12  norm          8.9627        8.7709       -.90370E-08    .57309E-03
  13  Prefactor      .0000        2.6334        .26026E-08** at limit **
  14  norm          2.2352        .67374       -.24438E-07    .73390E-02
  15  Prefactor      .0000        10.927        .12706E-06** at limit **
  16  Normalizat    1.0634        .15611        .87540E-05    .38183E-03
  17  Prefactor     .97767        .55969E-01   -.85604E-06    .20037E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.37928
  norm       = 0
  norm       = 0
  Prefactor  = 9.98484
  Prefactor  = 8.32363e-05
  Prefactor  = 0
  Prefactor  = 7.77156e-10
  Prefactor  = 28.8998
  Prefactor  = 5.70581
  Prefactor  = 12.8974
  Prefactor  = 0
  norm       = 8.96271
  Prefactor  = 0
  norm       = 2.23519
  Prefactor  = 0
  Normalizat = 1.06339
  Prefactor  = 0.977675
 **********
 **   18 **HESSE 
 **********

 FCN=   13895.50     FROM HESSE     STATUS=OK           229 CALLS     1670 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3793        11.052        .21967E-04   -1.5671    
   2  norm           .0000        4.8053        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        15.011        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.9848        7.0641        .12752E-04   -1.5645    
   5  Prefactor     .83236E-04    20.180        .13538E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        46.918        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .77716E-09    8.8428        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     28.900        21.135        .73941E-05   -1.5600    
   9  Prefactor     5.7058        16.911        .17069E-04   -1.5660    
  10  Prefactor     12.897        27.642        .10738E-04   -1.5636    
  11  Prefactor      .0000        6.6027        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          8.9627        8.7740        .13376E-04   -1.5648    
  13  Prefactor      .0000        2.6335        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.2352        .67456        .50580E-05   -1.5678    
  15  Prefactor      .0000        10.934        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.0634        .16899        .37674E-03   -.90936    
  17  Prefactor     .97767        .60564E-01    .14802E-03   -.93477    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.15746e-09
Minuit parameter uncertainties:
  1  11.0518
  2  7.07671e-06
  3  1.93759e-05
  4  7.06409
  5  0.081968
  6  6.00576e-05
  7  0.000167213
  8  21.1348
  9  16.9116
  10  27.6425
  11  1.59603e-05
  12  8.77402
  13  1.08007e-06
  14  0.674564
  15  1.65773e-05
  16  0.169073
  17  0.0605682
Done.

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

Extracting fit parameters...

4FGL J0608.0+6721
   Spectrum: PowerLaw
285    Prefactor:  8.324e-05  8.197e-02  0.000e+00  1.000e+06 ( 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.777e-01  6.057e-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.063e+00  1.691e-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: 7.88e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.12e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/3747/likelihoodResults_700444801_700704001_4FGL_J0608.0+6721_daily_bin1779.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) = 13895.5007098
delta logL = -0.00099947126364

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13895.4990546
delta logL = 0.000655760990412

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .65972       1.0000          .0000       .10000E+07
     2 'Index     '    2.8563       1.0000          .0000       10.000    
     3 'Normalizat'    1.0618       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97778       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=   13895.50     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      257 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .62803        486.75        .64040E-03    .11107E-02
   2  Index         2.8967        3.0028        .50000        .50555E-05
   3  Normalizat    1.0620        .97711E-02    .85132E-01    .66336E-04
   4  Prefactor     .97779        .37159E-02    .33497E-01    .38643E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.628032
  Index      = 2.8967
  Normalizat = 1.06203
  Prefactor  = 0.977791
 **********
 **   18 **HESSE 
 **********

 FCN=   13895.50     FROM HESSE     STATUS=OK            33 CALLS      290 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .62803        603.49        .25616E-04   -1.5692    
   2  Index         2.8967        8.5516        .38433E-01   -.43417    
   3  Normalizat    1.0620        .16259        .37695E-03   -.90980    
   4  Prefactor     .97779        .60075E-01    .14802E-03   -.93474    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99509e-10
Minuit parameter uncertainties:
  1  38.9403
  2  19.4471
  3  0.162664
  4  0.0600788
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/3747': 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) = 13895.4990418
delta logL = 0.000668533319185

Extracting fit parameters...

4FGL J0608.0+6721
   Spectrum: PowerLaw
285    Prefactor:  6.280e-01  3.894e+01  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  2.897e+00  1.945e+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.778e-01  6.008e-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.062e+00  1.627e-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/3747/cmap_HighResolution_700444801_700704001_4FGL_J0608.0+6721_daily_bin1779.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.12e-03', job_status='DONE', photon_flux_upper_limit='7.88e-08', time_completed='2023-03-17 03:12:04.642533', job_id='3747', GAL2='0.98', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1679047924.64', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='6.69e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='1779' AND source_name='4FGL J0608.0+6721' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Mar 17 03:12:04 PDT 2023

-----------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 3746: <4FGL_J0608.0+6721_daily_bin1779> in cluster <slac> Done

Job <4FGL_J0608.0+6721_daily_bin1779> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Mar 17 00:11:34 2023
Job was executed on host(s) <bullet0279>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 17 00:12:03 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar 17 00:12:03 2023
Terminated at Fri Mar 17 00:36:12 2023
Results reported at Fri Mar 17 00:36:12 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0608.0+6721_daily_bin1779 92.0057 67.3512 700444801 700704001 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 :                                   986.42 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             279.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1448 sec.
    Turnaround time :                            1478 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0139>
Subject: Job 3792: <4FGL_J0608.0+6721_daily_bin1779> in cluster <slac> Done

Job <4FGL_J0608.0+6721_daily_bin1779> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Mar 17 00:11:35 2023
Job was executed on host(s) <bullet0139>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 17 00:12:04 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar 17 00:12:04 2023
Terminated at Fri Mar 17 00:36:56 2023
Results reported at Fri Mar 17 00:36:56 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0608.0+6721_daily_bin1779 92.0057 67.3512 700444801 700704001 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 :                                   988.00 sec.
    Max Memory :                                 618 MB
    Average Memory :                             248.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1492 sec.
    Turnaround time :                            1521 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0101>
Subject: Job 3747: <4FGL_J0608.0+6721_daily_bin1779> in cluster <slac> Done

Job <4FGL_J0608.0+6721_daily_bin1779> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Mar 17 00:11:34 2023
Job was executed on host(s) <bullet0101>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 17 00:12:03 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar 17 00:12:03 2023
Terminated at Fri Mar 17 03:12:08 2023
Results reported at Fri Mar 17 03:12:08 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0608.0+6721_daily_bin1779 92.0057 67.3512 700444801 700704001 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 :                                   1012.34 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             358.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   10805 sec.
    Turnaround time :                            10834 sec.

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

