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


Performing analysis on: 4FGL_J0849.1+6607_daily_bin1748
RA = 132.275, Dec = 66.1204
tmin = 692409601, tmax = 692668801
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='881702', job_status='RUN', time_executed='2022-12-14 00:25:53.217488', time_epoch_executed='1671006353.22' WHERE source_name='4FGL J0849.1+6607' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/881702

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/881702/ft1_4FGL_J0849.1+6607_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/881702/ft2_4FGL_J0849.1+6607_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/881702/ft1_4FGL_J0849.1+6607_daily_bin1748.fits outfile=/scratch/kocevski/881702/ft1_filteredMKT_4FGL_J0849.1+6607_daily_bin1748.fits ra=132.275 dec=66.1204 rad=12.0 tmin=692409601.0 tmax=692668801.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.58
user 3.36
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/881702/ft2_4FGL_J0849.1+6607_daily_bin1748.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/881702/ft1_filteredMKT_4FGL_J0849.1+6607_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/881702/ft1_filtered_4FGL_J0849.1+6607_daily_bin1748.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.50
user 0.31
sys 0.18

Number of photons that the gtmktime cut: 854

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/881702/ft1_filtered_4FGL_J0849.1+6607_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/881702/ft2_4FGL_J0849.1+6607_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/881702/ltcube_692409601_692668801_4FGL_J0849.1+6607_daily_bin1748.fits outfile=/scratch/kocevski/881702/expmap_692409601_692668801_4FGL_J0849.1+6607_daily_bin1748.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/881702/ltcube_692409601_692668801_4FGL_J0849.1+6607_daily_bin1748.fits
.....................!
real 190.68
user 185.20
sys 5.16

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/881702/ft1_filtered_4FGL_J0849.1+6607_daily_bin1748.fits scfile=/scratch/kocevski/881702/ft2_4FGL_J0849.1+6607_daily_bin1748.fits outfile=/scratch/kocevski/881702/cmap_692409601_692668801_4FGL_J0849.1+6607_daily_bin1748.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/881702/ft1_filtered_4FGL_J0849.1+6607_daily_bin1748.fits scfile=/scratch/kocevski/881702/ft2_4FGL_J0849.1+6607_daily_bin1748.fits outfile=/scratch/kocevski/881702/cmap_HighResolution_692409601_692668801_4FGL_J0849.1+6607_daily_bin1748.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/881702/ft1_filtered_4FGL_J0849.1+6607_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/881702/ft2_4FGL_J0849.1+6607_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/881702/Model_4FGL_J0849.1+6607_daily_bin1748.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/881702/ft1_filtered_4FGL_J0849.1+6607_daily_bin1748.fits.....................!
real 97.67
user 96.25
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/881702/ft1_filtered_4FGL_J0849.1+6607_daily_bin1748.fits', '/scratch/kocevski/881702/ft2_4FGL_J0849.1+6607_daily_bin1748.fits', expMap='/scratch/kocevski/881702/expmap_692409601_692668801_4FGL_J0849.1+6607_daily_bin1748.fits', expCube='/scratch/kocevski/881702/ltcube_692409601_692668801_4FGL_J0849.1+6607_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/881702/Model_4FGL_J0849.1+6607_daily_bin1748.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/881702/ft1_filtered_4FGL_J0849.1+6607_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/881702/ft2_4FGL_J0849.1+6607_daily_bin1748.fits
Exposure map: /scratch/kocevski/881702/expmap_692409601_692668801_4FGL_J0849.1+6607_daily_bin1748.fits
Exposure cube: /scratch/kocevski/881702/ltcube_692409601_692668801_4FGL_J0849.1+6607_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/881702/Model_4FGL_J0849.1+6607_daily_bin1748.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) = 9030.11945377

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8123       1.0000          .0000       .10000E+07
     2 'Prefactor '    .80019E-01   1.0000          .0000       .10000E+07
     3 'norm      '    .45895E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .11161E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    3.3785       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.8329       1.0000          .0000       .10000E+07
     7 'Prefactor '    5.1646       1.0000          .0000       .10000E+07
     8 'norm      '    2.8377       1.0000          .0000       .10000E+07
     9 'Prefactor '    57.131       1.0000          .0000       .10000E+07
    10 'Prefactor '    5.8949       1.0000          .0000       .10000E+07
    11 'Prefactor '    20.612       1.0000          .0000       .10000E+07
    12 'norm      '    2.7973       1.0000          .0000       .10000E+07
    13 'Prefactor '    6.6651       1.0000          .0000       .10000E+07
    14 'Prefactor '    .12928E-01   1.0000          .0000       .10000E+07
    15 'norm      '    .49522E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .47466E-02   1.0000          .0000       .10000E+07
    17 'norm      '    1.3845       1.0000          .0000       .10000E+07
    18 'norm      '    4.2718       1.0000          .0000       .10000E+07
    19 'Prefactor '    .35922E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .23392       1.0000          .0000       .10000E+07
    21 'Prefactor '    .67989       1.0000          .0000       .10000E+07
    22 'norm      '    5.5907       1.0000          .0000       .10000E+07
    23 'Normalizat'    .92622       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0126       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=   9030.116     FROM MIGRAD    STATUS=CONVERGED    138 CALLS     1978 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8117        .66202       -.67152E-08    .27239E-03
   2  Prefactor     .41078E-08    24.303       -.70112E-07** at limit **
   3  norm          .85487E-08    24.274       -.12113E-06** at limit **
   4  Prefactor      .0000        2.1013       -.10936E-06** at limit **
   5  Prefactor     3.3806        1.9283        .97294E-07   -.19427E-02
   6  Prefactor     1.8379        1.6563        .25283E-07   -.63683E-02
   7  Prefactor     5.1672        4.1476        .69926E-07   -.31447E-03
   8  norm          2.8411        2.2055        .28376E-07   -.63998E-03
   9  Prefactor     56.892        7.6166        .23999E-07    .11387    
  10  Prefactor     5.8337        6.8629        .39151E-07    .48298E-01
  11  Prefactor     20.540        4.1163       -.82999E-08    .13978E-01
  12  norm          2.7974        .92016       -.41694E-08   -.11438E-02
  13  Prefactor     6.6632        6.7446       -.94979E-07   -.26729E-02
  14  Prefactor     .16376E-07    13.191        .36577E-06** at limit **
  15  norm           .0000        2.2891        .20737E-06** at limit **
  16  Prefactor     .43354E-07    5.3623        .89392E-07** at limit **
  17  norm          1.3839        .58993        .18680E-07   -.30292E-02
  18  norm          4.2288        9.0757       -.29042E-07    .31426E-01
  19  Prefactor     .19984E-07    12.343       -.17586E-06** at limit **
  20  Prefactor     .11269E-07    39.840       -.25153E-06** at limit **
  21  Prefactor     .68046E-06    124.22        .17460E-05** at limit **
  22  norm          5.5921        1.3181        .29703E-07   -.21374E-02
  23  Normalizat    .92630        .19165        .54836E-05   -.74978E-04
  24  Prefactor     1.0127        .14863       -.37853E-05   -.52178E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.81167
  Prefactor  = 4.10783e-09
  norm       = 8.54872e-09
  Prefactor  = 0
  Prefactor  = 3.38059
  Prefactor  = 1.83792
  Prefactor  = 5.16721
  norm       = 2.84111
  Prefactor  = 56.8922
  Prefactor  = 5.83369
  Prefactor  = 20.5396
  norm       = 2.79735
  Prefactor  = 6.66323
  Prefactor  = 1.63758e-08
  norm       = 0
  Prefactor  = 4.33542e-08
  norm       = 1.38394
  norm       = 4.22878
  Prefactor  = 1.9984e-08
  Prefactor  = 1.12688e-08
  Prefactor  = 6.80456e-07
  norm       = 5.5921
  Normalizat = 0.926297
  Prefactor  = 1.01272
 **********
 **   18 **HESSE 
 **********

 FCN=   9030.116     FROM HESSE     STATUS=OK           451 CALLS     2429 TOTAL
                     EDM=   .93E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8117        .66458        .77572E-03   -1.5681    
   2  Prefactor     .41078E-08    23.986        .14501E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .85487E-08    1.6933        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        2.0949        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.3806        1.9764        .55025E-03   -1.5671    
   6  Prefactor     1.8379        7.6474        .77050E-03   -1.5681    
   7  Prefactor     5.1672        4.2036        .44213E-03   -1.5663    
   8  norm          2.8411        2.4205        .60338E-03   -1.5674    
   9  Prefactor     56.892        40.914        .13231E-03   -1.5557    
  10  Prefactor     5.8337        11.622        .41337E-03   -1.5660    
  11  Prefactor     20.540        20.476        .22033E-03   -1.5617    
  12  norm          2.7974        .92162        .60804E-03   -1.5675    
  13  Prefactor     6.6632        6.8459        .38845E-03   -1.5656    
  14  Prefactor     .16376E-07    16.551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        2.2954        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .43354E-07    13.422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.3839        .59852        .92412E-03   -1.5684    
  18  norm          4.2288        10.887        .48723E-03   -1.5667    
  19  Prefactor     .19984E-07    15.596        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .11269E-07    39.656        .11201E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .68046E-06    126.25        .62356E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          5.5921        1.3213        .42464E-03   -1.5661    
  23  Normalizat    .92630        .16914        .66865E-01   -.95542    
  24  Prefactor     1.0127        .12998        .42974E-01   -.92307    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.25511e-07
Minuit parameter uncertainties:
  1  0.66458
  2  0.000629031
  3  0.000240245
  4  9.94991e-06
  5  1.97641
  6  7.49808
  7  4.20362
  8  2.4205
  9  40.9139
  10  11.6223
  11  20.4759
  12  0.921621
  13  6.8459
  14  0.00104117
  15  1.43759e-05
  16  0.00152604
  17  0.59852
  18  10.8874
  19  0.00111712
  20  0.00133809
  21  0.0185377
  22  1.32133
  23  0.169236
  24  0.130024
Done.

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

Extracting fit parameters...

4FGL J0849.1+6607
   Spectrum: PowerLaw
320    Prefactor:  5.689e+01  4.091e+01  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.013e+00  1.300e-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.263e-01  1.692e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.85
Ra Dec: 132.275 66.120
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 3.61e-08 +/- 2.59e-08
Energy Flux (Fixed Index): 2.66e-05 +/- 1.91e-05

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

Saving results to:
/scratch/kocevski/881702/likelihoodResults_692409601_692668801_4FGL_J0849.1+6607_daily_bin1748.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) = 9027.78030654
delta logL = 2.33598204259

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9027.49206974
delta logL = 2.62421884159

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .63892E-01   1.0000          .0000       .10000E+07
     2 'Index     '    4.9444       1.0000          .0000       10.000    
     3 'Normalizat'    .74136       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1173       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=   9027.492     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      361 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .63892E-01    .28194        .15025E-03** at limit **
   2  Index         4.9446        1.2644        .50628E-01    .40048E-03
   3  Normalizat    .74141        .57806E-01    .73652E-01    .36395E-04
   4  Prefactor     1.1172        .46058E-01    .36963E-01    .38073E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0638918
  Index      = 4.9446
  Normalizat = 0.741409
  Prefactor  = 1.11722
 **********
 **   18 **HESSE 
 **********

 FCN=   9027.492     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      394 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .63892E-01    .44909        .87553E-06   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.9446        1.7106        .21059E-02   -.11080E-01
   3  Normalizat    .74141        .16976        .32599E-03   -1.0228    
   4  Prefactor     1.1172        .13453        .21786E-03   -.88918    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.10093e-07
Minuit parameter uncertainties:
  1  0.338782
  2  1.74586
  3  0.169877
  4  0.134567
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/881702': 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) = 9027.49206777
delta logL = 2.62422081477

Extracting fit parameters...

4FGL J0849.1+6607
   Spectrum: PowerLaw
320    Prefactor:  6.389e-02  3.388e-01  0.000e+00  1.000e+06 ( 1.000e-14)
321        Index:  4.945e+00  1.746e+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.117e+00  1.346e-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:  7.414e-01  1.699e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.94
Ra Dec: 132.275 66.120
Photon Index (Free Index): 4.94 +/- 1.75
Photon Flux (Free Index): 1.60e-07 +/- 6.12e-08
Energy Flux (Free Index): 2.13e-05 +/- 9.16e-06

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/881702/cmap_HighResolution_692409601_692668801_4FGL_J0849.1+6607_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.09e-03', comment='SUCCESS', photon_flux='3.61e-08', energy_flux2='2.13e-05', photon_flux_error='2.59e-08', dlogl='2.62e+00', energy_flux='2.66e-05', photon_flux2='1.60e-07', job_status='DONE', time_completed='2022-12-14 00:41:50.377261', photon_index_error2='1.75', photon_index2='4.94', ts='3.85', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='9.47e-08', energy_flux_error2='9.16e-06', EG='0.93', time_epoch_completed='1671007310.38', return_code='0', job_id='881702', GAL2='1.12', EG2='0.74', return_code2='102', energy_flux_error='1.91e-05', photon_flux_error2='6.12e-08', ts2='9.94', photon_index='1.97' WHERE bin_id='1748' AND source_name='4FGL J0849.1+6607' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 00:41:50 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0254>
Subject: Job 881702: <4FGL_J0849.1+6607_daily_bin1748> in cluster <slac> Done

Job <4FGL_J0849.1+6607_daily_bin1748> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec 14 00:25:21 2022
Job was executed on host(s) <bullet0254>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:25:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:25:23 2022
Terminated at Wed Dec 14 00:41:51 2022
Results reported at Wed Dec 14 00:41:51 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0849.1+6607_daily_bin1748 132.275 66.1204 692409601 692668801 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 :                                   958.28 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             329.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   987 sec.
    Turnaround time :                            990 sec.

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

