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


Performing analysis on: 4FGL_J0849.1+6607_daily_bin1771
RA = 132.275, Dec = 66.1204
tmin = 698371201, tmax = 698630401
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='542104', job_status='RUN', time_executed='2023-02-21 00:32:42.162794', time_epoch_executed='1676968362.16' WHERE source_name='4FGL J0849.1+6607' and cadence='daily' and bin_id='1771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/542104

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/542104/ft1_4FGL_J0849.1+6607_daily_bin1771.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/542104/ft2_4FGL_J0849.1+6607_daily_bin1771.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/542104/ft1_4FGL_J0849.1+6607_daily_bin1771.fits outfile=/scratch/kocevski/542104/ft1_filteredMKT_4FGL_J0849.1+6607_daily_bin1771.fits ra=132.275 dec=66.1204 rad=12.0 tmin=698371201.0 tmax=698630401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.10
user 2.86
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/542104/ft2_4FGL_J0849.1+6607_daily_bin1771.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/542104/ft2_4FGL_J0849.1+6607_daily_bin1771.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/542104/ft1_filteredMKT_4FGL_J0849.1+6607_daily_bin1771.fits evtable="EVENTS" outfile="/scratch/kocevski/542104/ft1_filtered_4FGL_J0849.1+6607_daily_bin1771.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.14

Number of photons that the gtmktime cut: 549

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/542104/ft1_filtered_4FGL_J0849.1+6607_daily_bin1771.fits" evtable="EVENTS" scfile=/scratch/kocevski/542104/ft2_4FGL_J0849.1+6607_daily_bin1771.fits sctable="SC_DATA" outfile=/scratch/kocevski/542104/ltcube_698371201_698630401_4FGL_J0849.1+6607_daily_bin1771.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/542104/ft2_4FGL_J0849.1+6607_daily_bin1771.fits
.....................!
real 12.30
user 11.91
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/542104/ft1_filtered_4FGL_J0849.1+6607_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/542104/ft2_4FGL_J0849.1+6607_daily_bin1771.fits sctable="SC_DATA" expcube=/scratch/kocevski/542104/ltcube_698371201_698630401_4FGL_J0849.1+6607_daily_bin1771.fits outfile=/scratch/kocevski/542104/expmap_698371201_698630401_4FGL_J0849.1+6607_daily_bin1771.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/542104/ltcube_698371201_698630401_4FGL_J0849.1+6607_daily_bin1771.fits
.....................!
real 191.26
user 186.55
sys 4.36

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 236 point sources and 0 extended sources

Setting source of interest to:
4FGL J0849.1+6607 @ 132.275 66.1204

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/542104/ft1_filtered_4FGL_J0849.1+6607_daily_bin1771.fits scfile=/scratch/kocevski/542104/ft2_4FGL_J0849.1+6607_daily_bin1771.fits outfile=/scratch/kocevski/542104/cmap_698371201_698630401_4FGL_J0849.1+6607_daily_bin1771.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=132.275 yref=66.1204 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/542104/ft1_filtered_4FGL_J0849.1+6607_daily_bin1771.fits scfile=/scratch/kocevski/542104/ft2_4FGL_J0849.1+6607_daily_bin1771.fits outfile=/scratch/kocevski/542104/cmap_HighResolution_698371201_698630401_4FGL_J0849.1+6607_daily_bin1771.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=132.275 yref=66.1204 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/542104/ft1_filtered_4FGL_J0849.1+6607_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/542104/ft2_4FGL_J0849.1+6607_daily_bin1771.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/542104/Model_4FGL_J0849.1+6607_daily_bin1771.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/542104/ft1_filtered_4FGL_J0849.1+6607_daily_bin1771.fits.....................!
real 71.75
user 70.27
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/542104/ft1_filtered_4FGL_J0849.1+6607_daily_bin1771.fits', '/scratch/kocevski/542104/ft2_4FGL_J0849.1+6607_daily_bin1771.fits', expMap='/scratch/kocevski/542104/expmap_698371201_698630401_4FGL_J0849.1+6607_daily_bin1771.fits', expCube='/scratch/kocevski/542104/ltcube_698371201_698630401_4FGL_J0849.1+6607_daily_bin1771.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/542104/Model_4FGL_J0849.1+6607_daily_bin1771.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0849.1+6607'

4FGL J0849.1+6607
   Spectrum: PowerLaw
320    Prefactor:  7.311e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
321        Index:  1.974e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
322        Scale:  2.593e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/542104/ft1_filtered_4FGL_J0849.1+6607_daily_bin1771.fits
Spacecraft file(s): /scratch/kocevski/542104/ft2_4FGL_J0849.1+6607_daily_bin1771.fits
Exposure map: /scratch/kocevski/542104/expmap_698371201_698630401_4FGL_J0849.1+6607_daily_bin1771.fits
Exposure cube: /scratch/kocevski/542104/ltcube_698371201_698630401_4FGL_J0849.1+6607_daily_bin1771.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/542104/Model_4FGL_J0849.1+6607_daily_bin1771.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) = 5965.15041023

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .99143E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .43512E-05   1.0000          .0000       .10000E+07
     3 'norm      '    7.2810       1.0000          .0000       .10000E+07
     4 'Prefactor '    .37585E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .44286E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    9.9290       1.0000          .0000       .10000E+07
     7 'Prefactor '    .17789E-02   1.0000          .0000       .10000E+07
     8 'norm      '    12.671       1.0000          .0000       .10000E+07
     9 'Prefactor '    .36593E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    4.1007       1.0000          .0000       .10000E+07
    11 'Prefactor '    .68942E-02   1.0000          .0000       .10000E+07
    12 'norm      '    3.6357       1.0000          .0000       .10000E+07
    13 'Prefactor '    .33037E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .68258E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .91492E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    4.6765       1.0000          .0000       .10000E+07
    17 'norm      '    3.2156       1.0000          .0000       .10000E+07
    18 'norm      '    .28810E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    12.045       1.0000          .0000       .10000E+07
    20 'Prefactor '    .24904E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .52435       1.0000          .0000       .10000E+07
    22 'norm      '    2.9118       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0220       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1101       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5965.128     FROM MIGRAD    STATUS=CONVERGED    182 CALLS     1580 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .29193        .49003E-07** at limit **
   2  Prefactor     .34056E-05    11.398       -.10829E-06** at limit **
   3  norm          7.3370        4.9653       -.29535E-08   -.12217E-02
   4  Prefactor      .0000        1.3476        .18485E-07** at limit **
   5  Prefactor      .0000        1.4799        .11651E-06** at limit **
   6  Prefactor     9.9889        14.730        .30408E-07    .21172E-01
   7  Prefactor      .0000        10.847       -.97177E-07** at limit **
   8  norm          12.671        3.6004        .36159E-07    .24582E-02
   9  Prefactor     .22430E-05    14.505       -.92580E-07** at limit **
  10  Prefactor     3.7574        12.593        .63660E-07   -.37915E-01
  11  Prefactor     .10336E-06    45.303        .54905E-06** at limit **
  12  norm          3.6382        1.8970        .14571E-07    .69441E-03
  13  Prefactor     .33307E-09    8.3148        .12660E-06** at limit **
  14  Prefactor     .16409E-06    7.8776       -.95503E-07** at limit **
  15  norm          .61062E-09    12.600       -.40166E-07** at limit **
  16  Prefactor     2.2352        628.76       -.16922E-05    .13343E-02
  17  norm          3.2169        1.5030       -.39098E-09   -.23206E-03
  18  norm          .27756E-09    29.224       -.37462E-06** at limit **
  19  Prefactor     12.074        13.628       -.56923E-07   -.26016E-03
  20  Prefactor     .10119E-05    25.061       -.18066E-06** at limit **
  21  Prefactor     .13117E-05    79.125        .81546E-07** at limit **
  22  norm          2.9108        1.1700        .13622E-07    .18954E-02
  23  Normalizat    1.0222        .27696       -.22957E-05   -.14050E-04
  24  Prefactor     1.1100        .19493        .11874E-05    .71885E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 3.40555e-06
  norm       = 7.33704
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 9.98893
  Prefactor  = 0
  norm       = 12.6707
  Prefactor  = 2.24304e-06
  Prefactor  = 3.75741
  Prefactor  = 1.03362e-07
  norm       = 3.6382
  Prefactor  = 3.33067e-10
  Prefactor  = 1.64091e-07
  norm       = 6.10623e-10
  Prefactor  = 2.23524
  norm       = 3.21689
  norm       = 2.77556e-10
  Prefactor  = 12.0742
  Prefactor  = 1.01191e-06
  Prefactor  = 1.31167e-06
  norm       = 2.91079
  Normalizat = 1.02221
  Prefactor  = 1.11001
 **********
 **   18 **HESSE 
 **********

 FCN=   5965.128     FROM HESSE     STATUS=OK           441 CALLS     2021 TOTAL
                     EDM=   .90E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .28564        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .34056E-05    24.044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          7.3370        4.9646        .37148E-03   -1.5654    
   4  Prefactor      .0000        1.3469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        1.4682        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.9889        14.889        .31776E-03   -1.5645    
   7  Prefactor      .0000        10.851        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          12.671        3.5866        .28115E-03   -1.5637    
   9  Prefactor     .22430E-05    22.708        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.7574        101.37        .49760E-03   -1.5669    
  11  Prefactor     .10336E-06    46.732        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.6382        1.9071        .52959E-03   -1.5670    
  13  Prefactor     .33307E-09    8.3452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .16409E-06    23.904        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .61062E-09    12.710        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.2352        648.50        .46512E-03   -1.5678    
  17  norm          3.2169        1.5058        .56471E-03   -1.5672    
  18  norm          .27756E-09    29.185        .16514E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     12.074        13.635        .28838E-03   -1.5638    
  20  Prefactor     .10119E-05    28.478        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .13117E-05    126.84        .76297E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.9108        1.1710        .59515E-03   -1.5674    
  23  Normalizat    1.0222        .24052        .72314E-01   -.92290    
  24  Prefactor     1.1100        .16912        .37215E-01   -.89147    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.02449e-07
Minuit parameter uncertainties:
  1  2.10568e-06
  2  0.0180978
  3  4.9646
  4  1.15587e-06
  5  1.056e-05
  6  14.8886
  7  2.99293e-05
  8  3.58664
  9  0.0142739
  10  39.0338
  11  0.0043957
  12  1.90711
  13  0.000107834
  14  0.00396097
  15  0.000174352
  16  76.1543
  17  1.50576
  18  0.000174777
  19  13.6352
  20  0.0107365
  21  0.0257971
  22  1.17096
  23  0.240779
  24  0.169199
Done.

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

Extracting fit parameters...

4FGL J0849.1+6607
   Spectrum: PowerLaw
320    Prefactor:  2.243e-06  1.427e-02  0.000e+00  1.000e+06 ( 1.000e-14)
321        Index:  1.974e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
322        Scale:  2.593e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
758    Prefactor:  1.110e+00  1.692e-01  0.000e+00  1.000e+01 ( 1.000e+00)
759        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
760        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
757   Normalization:  1.022e+00  2.408e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 132.275 66.120
Photon Flux Upper Limit: 6.29e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/542104/likelihoodResults_698371201_698630401_4FGL_J0849.1+6607_daily_bin1771.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) = 5965.14929072
delta logL = -0.0210575902165

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5965.12823318
delta logL = -5.38375388714e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19229E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .66882       1.0000          .0000       10.000    
     3 'Normalizat'    1.0222       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1100       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5964.694     FROM MIGRAD    STATUS=CONVERGED    149 CALLS      316 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .37517E-02    .66321E-02    .11710E-03** at limit **
   2  Index         5.6217        .47196        .82830E-01    .16567E-03
   3  Normalizat    .94402        .24165        .74837E-01    .47535E-05
   4  Prefactor     1.1458        .17313        .37218E-01   -.95090E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00375171
  Index      = 5.62168
  Normalizat = 0.944021
  Prefactor  = 1.14579
 **********
 **   18 **HESSE 
 **********

 FCN=   5964.694     FROM HESSE     STATUS=OK            35 CALLS      351 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .37517E-02    .49529E-01    .53200E-05   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.6217        2.3238        .44269E-02    .12466    
   3  Normalizat    .94402        .27157        .33120E-03   -.94930    
   4  Prefactor     1.1458        .19837        .22716E-03   -.88016    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.72029e-07
Minuit parameter uncertainties:
  1  0.027263
  2  2.41845
  3  0.271971
  4  0.198494
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/542104': 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) = 5964.69351015
delta logL = 0.434722978293

Extracting fit parameters...

4FGL J0849.1+6607
   Spectrum: PowerLaw
320    Prefactor:  3.752e-03  2.726e-02  0.000e+00  1.000e+06 ( 1.000e-14)
321        Index:  5.622e+00  2.418e+00  0.000e+00  1.000e+01 (-1.000e+00)
322        Scale:  2.593e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
758    Prefactor:  1.146e+00  1.985e-01  0.000e+00  1.000e+01 ( 1.000e+00)
759        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
760        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
757   Normalization:  9.440e-01  2.720e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 132.275 66.120

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/542104/cmap_HighResolution_698371201_698630401_4FGL_J0849.1+6607_daily_bin1771.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.70e-03', job_status='DONE', photon_flux_upper_limit='6.29e-08', time_completed='2023-02-21 00:43:59.542253', job_id='542104', GAL2='1.15', fit_tolerance='1e-08', EG2='0.94', EG='1.02', time_epoch_completed='1676969039.54', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='4.35e-01', ts2='0.94', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='1771' AND source_name='4FGL J0849.1+6607' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Feb 21 00:43:59 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 542104: <4FGL_J0849.1+6607_daily_bin1771> in cluster <slac> Done

Job <4FGL_J0849.1+6607_daily_bin1771> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Feb 21 00:30:23 2023
Job was executed on host(s) <bullet0263>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 00:30:24 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 00:30:24 2023
Terminated at Tue Feb 21 00:44:00 2023
Results reported at Tue Feb 21 00:44:00 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0849.1+6607_daily_bin1771 132.275 66.1204 698371201 698630401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0849.1+6607 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   679.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             303.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   816 sec.
    Turnaround time :                            817 sec.

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

