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


Performing analysis on: 4FGL_J0834.6+4402_daily_bin1770
RA = 128.667, Dec = 44.05
tmin = 698112001, tmax = 698371201
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='481699', job_status='RUN', time_executed='2023-02-18 00:32:12.456779', time_epoch_executed='1676709132.46' WHERE source_name='4FGL J0834.6+4402' and cadence='daily' and bin_id='1770'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/481699

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/481699/ft1_4FGL_J0834.6+4402_daily_bin1770.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/481699/ft2_4FGL_J0834.6+4402_daily_bin1770.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/481699/ft1_4FGL_J0834.6+4402_daily_bin1770.fits outfile=/scratch/kocevski/481699/ft1_filteredMKT_4FGL_J0834.6+4402_daily_bin1770.fits ra=128.667 dec=44.05 rad=12.0 tmin=698112001.0 tmax=698371201.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.30
user 4.12
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/481699/ft2_4FGL_J0834.6+4402_daily_bin1770.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/481699/ft2_4FGL_J0834.6+4402_daily_bin1770.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/481699/ft1_filteredMKT_4FGL_J0834.6+4402_daily_bin1770.fits evtable="EVENTS" outfile="/scratch/kocevski/481699/ft1_filtered_4FGL_J0834.6+4402_daily_bin1770.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.32
sys 0.15

Number of photons that the gtmktime cut: 466

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/481699/ft1_filtered_4FGL_J0834.6+4402_daily_bin1770.fits" evtable="EVENTS" scfile=/scratch/kocevski/481699/ft2_4FGL_J0834.6+4402_daily_bin1770.fits sctable="SC_DATA" outfile=/scratch/kocevski/481699/ltcube_698112001_698371201_4FGL_J0834.6+4402_daily_bin1770.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/481699/ft2_4FGL_J0834.6+4402_daily_bin1770.fits
.....................!
real 11.80
user 11.46
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/481699/ft1_filtered_4FGL_J0834.6+4402_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/481699/ft2_4FGL_J0834.6+4402_daily_bin1770.fits sctable="SC_DATA" expcube=/scratch/kocevski/481699/ltcube_698112001_698371201_4FGL_J0834.6+4402_daily_bin1770.fits outfile=/scratch/kocevski/481699/expmap_698112001_698371201_4FGL_J0834.6+4402_daily_bin1770.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/481699/ltcube_698112001_698371201_4FGL_J0834.6+4402_daily_bin1770.fits
.....................!
real 190.45
user 185.91
sys 4.22

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 208 point sources and 0 extended sources

Setting source of interest to:
4FGL J0834.6+4402 @ 128.667 44.05

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/481699/ft1_filtered_4FGL_J0834.6+4402_daily_bin1770.fits scfile=/scratch/kocevski/481699/ft2_4FGL_J0834.6+4402_daily_bin1770.fits outfile=/scratch/kocevski/481699/cmap_698112001_698371201_4FGL_J0834.6+4402_daily_bin1770.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=128.667 yref=44.05 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.53
user 0.40
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/481699/ft1_filtered_4FGL_J0834.6+4402_daily_bin1770.fits scfile=/scratch/kocevski/481699/ft2_4FGL_J0834.6+4402_daily_bin1770.fits outfile=/scratch/kocevski/481699/cmap_HighResolution_698112001_698371201_4FGL_J0834.6+4402_daily_bin1770.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=128.667 yref=44.05 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.53
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/481699/ft1_filtered_4FGL_J0834.6+4402_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/481699/ft2_4FGL_J0834.6+4402_daily_bin1770.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/481699/Model_4FGL_J0834.6+4402_daily_bin1770.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/481699/ft1_filtered_4FGL_J0834.6+4402_daily_bin1770.fits.....................!
real 51.16
user 50.02
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/481699/ft1_filtered_4FGL_J0834.6+4402_daily_bin1770.fits', '/scratch/kocevski/481699/ft2_4FGL_J0834.6+4402_daily_bin1770.fits', expMap='/scratch/kocevski/481699/expmap_698112001_698371201_4FGL_J0834.6+4402_daily_bin1770.fits', expCube='/scratch/kocevski/481699/ltcube_698112001_698371201_4FGL_J0834.6+4402_daily_bin1770.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/481699/Model_4FGL_J0834.6+4402_daily_bin1770.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0834.6+4402'

4FGL J0834.6+4402
   Spectrum: PowerLaw
340    Prefactor:  1.700e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
341        Index:  2.246e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
342        Scale:  1.361e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/481699/ft1_filtered_4FGL_J0834.6+4402_daily_bin1770.fits
Spacecraft file(s): /scratch/kocevski/481699/ft2_4FGL_J0834.6+4402_daily_bin1770.fits
Exposure map: /scratch/kocevski/481699/expmap_698112001_698371201_4FGL_J0834.6+4402_daily_bin1770.fits
Exposure cube: /scratch/kocevski/481699/ltcube_698112001_698371201_4FGL_J0834.6+4402_daily_bin1770.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/481699/Model_4FGL_J0834.6+4402_daily_bin1770.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) = 5042.01445104

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.914       1.0000          .0000       .10000E+07
     2 'Prefactor '    11.787       1.0000          .0000       .10000E+07
     3 'norm      '    .26684E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    6.6517       1.0000          .0000       .10000E+07
     5 'Prefactor '    .12830E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    20.973       1.0000          .0000       .10000E+07
     7 'norm      '    .44269E-04   1.0000          .0000       .10000E+07
     8 'norm      '    .27478E-07   1.0000          .0000       .10000E+07
     9 'norm      '    .23455       1.0000          .0000       .10000E+07
    10 'Prefactor '    .60644E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.6567       1.0000          .0000       .10000E+07
    12 'Prefactor '    5.7086       1.0000          .0000       .10000E+07
    13 'Prefactor '    .10642E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .26270E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    5.6873       1.0000          .0000       .10000E+07
    16 'norm      '    .72419E-05   1.0000          .0000       .10000E+07
    17 'norm      '    4.5173       1.0000          .0000       .10000E+07
    18 'Prefactor '    .19205E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .28205E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    31.655       1.0000          .0000       .10000E+07
    21 'Prefactor '    12.151       1.0000          .0000       .10000E+07
    22 'Prefactor '    .64237E-04   1.0000          .0000       .10000E+07
    23 'norm      '    .16637E-06   1.0000          .0000       .10000E+07
    24 'Prefactor '    .12754E-03   1.0000          .0000       .10000E+07
    25 'norm      '    .28881       1.0000          .0000       .10000E+07
    26 'Prefactor '    .87097E-06   1.0000          .0000       .10000E+07
    27 'Prefactor '    7.8126       1.0000          .0000       .10000E+07
    28 'Normalizat'    1.0005       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .96482       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5042.014     FROM MIGRAD    STATUS=CONVERGED    174 CALLS     2830 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.899        1.0467       -.74631E-09    .68017E-02
   2  Prefactor     11.793        1.1540        .31704E-08    .16170E-02
   3  norm          .55511E-10    1.3938       -.25680E-06** at limit **
   4  Prefactor     6.6570        6.0374       -.55632E-07   -.16917E-02
   5  Prefactor     .19407E-06    9.5513        .51493E-06** at limit **
   6  Prefactor     20.979        2.2030        .14543E-06   -.33492E-02
   7  norm          .12873E-05    41.425       -.36714E-05** at limit **
   8  norm           .0000        .73132        .18083E-06** at limit **
   9  norm          .23433        .44289        .91572E-07** at limit **
  10  Prefactor     .22204E-09    4.0364       -.30392E-06** at limit **
  11  Prefactor     1.6530        2.7119        .52786E-06   -.20151E-01
  12  Prefactor     5.7062        3.1366        .62431E-07   -.13015E-02
  13  Prefactor     .20278E-06    21.161       -.72135E-06** at limit **
  14  Prefactor     .18402E-06    32.833        .97197E-06** at limit **
  15  Prefactor     5.6862        6.1662       -.99630E-06   -.87549E-01
  16  norm          .11102E-09    2.2621       -.42590E-06** at limit **
  17  norm          4.4953        4.9853       -.17506E-06    .52245E-02
  18  Prefactor     .47184E-08    5.1434       -.58586E-06** at limit **
  19  Prefactor     .34028E-07    11.300       -.53091E-07** at limit **
  20  Prefactor     31.629        4.0596       -.19012E-06    .16210E-01
  21  Prefactor     12.125        5.7257       -.22327E-06   -.41239E-02
  22  Prefactor     .61617E-08    8.2307       -.19875E-06** at limit **
  23  norm           .0000        .71969        .14241E-06** at limit **
  24  Prefactor     .12904E-05    4.0138        .36160E-06** at limit **
  25  norm          .29299        8.4794        .13599E-05   -.32031E-01
  26  Prefactor      .0000        .98650       -.13970E-06** at limit **
  27  Prefactor     7.8119        1.7519       -.99295E-07    .29221E-01
  28  Normalizat    1.0009        .23356        .26890E-05    .97380E-04
  29  Prefactor     .96475        .19656        .37826E-05    .12460E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.8992
  Prefactor  = 11.7928
  norm       = 5.55112e-11
  Prefactor  = 6.65704
  Prefactor  = 1.94067e-07
  Prefactor  = 20.9788
  norm       = 1.2873e-06
  norm       = 0
  norm       = 0.234334
  Prefactor  = 2.22045e-10
  Prefactor  = 1.65297
  Prefactor  = 5.70617
  Prefactor  = 2.02782e-07
  Prefactor  = 1.84019e-07
  Prefactor  = 5.68617
  norm       = 1.11022e-10
  norm       = 4.49533
  Prefactor  = 4.71845e-09
  Prefactor  = 3.40283e-08
  Prefactor  = 31.6285
  Prefactor  = 12.1249
  Prefactor  = 6.16174e-09
  norm       = 0
  Prefactor  = 1.29041e-06
  norm       = 0.292995
  Prefactor  = 0
  Prefactor  = 7.8119
  Normalizat = 1.00086
  Prefactor  = 0.964746
 **********
 **   18 **HESSE 
 **********

 FCN=   5042.014     FROM HESSE     STATUS=OK           631 CALLS     3461 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.899        18.334        .23002E-03   -1.5621    
   2  Prefactor     11.793        15.110        .29154E-03   -1.5639    
   3  norm          .55511E-10    1.3918        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.6570        6.0862        .38884E-03   -1.5656    
   5  Prefactor     .19407E-06    10.504        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     20.979        8.2879        .21842E-03   -1.5616    
   7  norm          .12873E-05    3.5328        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        .73059        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .23433        .49256        .11191E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .22204E-09    4.0520        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.6530        10.357        .81956E-03   -1.5682    
  12  Prefactor     5.7062        3.1642        .42017E-03   -1.5660    
  13  Prefactor     .20278E-06    22.283        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .18402E-06    8.0790        .11362E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.6862        7.6838        .42097E-03   -1.5660    
  16  norm          .11102E-09    2.2676        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.4953        4.9999        .47345E-03   -1.5666    
  18  Prefactor     .47184E-08    5.1675        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .34028E-07    12.459        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     31.629        36.908        .17776E-03   -1.5595    
  21  Prefactor     12.125        5.9001        .28712E-03   -1.5638    
  22  Prefactor     .61617E-08    8.3822        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm           .0000        .46368        .15540E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .12904E-05    2.9556        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .29299        5.4133        .56855E-02   -1.5697    
  26  Prefactor      .0000        .98666        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     7.8119        8.8641        .35851E-03   -1.5652    
  28  Normalizat    1.0009        .21782        .46173E-01   -.93002    
  29  Prefactor     .96475        .17538        .45826E-01   -.93914    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.64122e-07
Minuit parameter uncertainties:
  1  18.3341
  2  15.1099
  3  1.86685e-05
  4  6.08619
  5  0.0028553
  6  8.28793
  7  0.00426511
  8  2.53008e-06
  9  0.492557
  10  5.77302e-05
  11  8.27538
  12  3.16421
  13  0.00425115
  14  0.00243872
  15  7.68385
  16  3.23921e-05
  17  4.99993
  18  0.000312039
  19  0.00130204
  20  36.9086
  21  5.90008
  22  0.000453981
  23  3.8549e-06
  24  0.00390587
  25  2.51879
  26  9.32688e-06
  27  8.86412
  28  0.21801
  29  0.175484
Done.

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

Extracting fit parameters...

4FGL J0834.6+4402
   Spectrum: PowerLaw
340    Prefactor:  1.840e-07  2.439e-03  0.000e+00  1.000e+06 ( 1.000e-13)
341        Index:  2.246e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
342        Scale:  1.361e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
658    Prefactor:  9.647e-01  1.755e-01  0.000e+00  1.000e+01 ( 1.000e+00)
659        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
660        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
657   Normalization:  1.001e+00  2.180e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 128.667 44.050
Photon Flux Upper Limit: 9.49e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.26e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/481699/likelihoodResults_698112001_698371201_4FGL_J0834.6+4402_daily_bin1770.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) = 5042.02993366
delta logL = -0.0159560649727

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 5040.46017645
delta logL = 1.55380114585

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5042.014     FROM MIGRAD    STATUS=CONVERGED    137 CALLS      639 TOTAL
                     EDM=   .49E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .10079        .42118E-03** at limit **
   2  Index         1.2856        9.1794        .50000       -.27285E-10
   3  Normalizat    1.0009        .69380E-03    .45138E-01   -.18139E-04
   4  Prefactor     .96475        .59732E-03    .43074E-01    .76482E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 1.28556
  Normalizat = 1.00086
  Prefactor  = 0.964746
 **********
 **   18 **HESSE 
 **********

 FCN=   5042.014     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      668 TOTAL
                     EDM=   .96E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .19862        .21010E-03   -881.22    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2856        6.6038        .50000        .16864E+06
   3  Normalizat    1.0009        .97319E-03    .27122E-03   -101.46    
   4  Prefactor     .96475        .83798E-03    .23617E-03    136.03    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.59531e-13
Minuit parameter uncertainties:
  1  7.37001e-06
  2  40932.4
  3  0.000973186
  4  0.000837976
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/481699': 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) = 5042.0139776
delta logL = 2.73394107353e-09

Extracting fit parameters...

4FGL J0834.6+4402
   Spectrum: PowerLaw
340    Prefactor:  5.551e-11  7.370e-06  0.000e+00  1.000e+06 ( 1.000e-13)
341        Index:  1.286e+00  4.093e+04  0.000e+00  1.000e+01 (-1.000e+00)
342        Scale:  1.361e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
658    Prefactor:  9.647e-01  8.380e-04  0.000e+00  1.000e+01 ( 1.000e+00)
659        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
660        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
657   Normalization:  1.001e+00  9.732e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 128.667 44.050

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/481699/cmap_HighResolution_698112001_698371201_4FGL_J0834.6+4402_daily_bin1770.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.26e-03', job_status='DONE', photon_flux_upper_limit='9.49e-08', time_completed='2023-02-18 00:44:18.814242', job_id='481699', GAL2='0.96', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1676709858.81', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='2.73e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='1770' AND source_name='4FGL J0834.6+4402' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Feb 18 00:44:18 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0172>
Subject: Job 481699: <4FGL_J0834.6+4402_daily_bin1770> in cluster <slac> Done

Job <4FGL_J0834.6+4402_daily_bin1770> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Sat Feb 18 00:30:31 2023
Job was executed on host(s) <bullet0172>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 18 00:30:32 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb 18 00:30:32 2023
Terminated at Sat Feb 18 00:44:19 2023
Results reported at Sat Feb 18 00:44:19 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0834.6+4402_daily_bin1770 128.667 44.05 698112001 698371201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0834.6+4402 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   728.18 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             303.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   827 sec.
    Turnaround time :                            828 sec.

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

