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


Performing analysis on: 4FGL_J0834.6+4402_daily_bin1760
RA = 128.667, Dec = 44.05
tmin = 695520001, tmax = 695779201
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='733416', job_status='RUN', time_executed='2023-01-19 00:42:31.069889', time_epoch_executed='1674117751.07' WHERE source_name='4FGL J0834.6+4402' and cadence='daily' and bin_id='1760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/733416

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/733416/ft1_4FGL_J0834.6+4402_daily_bin1760.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/733416/ft2_4FGL_J0834.6+4402_daily_bin1760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/733416/ft1_4FGL_J0834.6+4402_daily_bin1760.fits outfile=/scratch/kocevski/733416/ft1_filteredMKT_4FGL_J0834.6+4402_daily_bin1760.fits ra=128.667 dec=44.05 rad=12.0 tmin=695520001.0 tmax=695779201.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 2.43
user 2.22
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/733416/ft2_4FGL_J0834.6+4402_daily_bin1760.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/733416/ft1_filteredMKT_4FGL_J0834.6+4402_daily_bin1760.fits evtable="EVENTS" outfile="/scratch/kocevski/733416/ft1_filtered_4FGL_J0834.6+4402_daily_bin1760.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.53
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 31

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/733416/ft1_filtered_4FGL_J0834.6+4402_daily_bin1760.fits" evtable="EVENTS" scfile=/scratch/kocevski/733416/ft2_4FGL_J0834.6+4402_daily_bin1760.fits sctable="SC_DATA" outfile=/scratch/kocevski/733416/ltcube_695520001_695779201_4FGL_J0834.6+4402_daily_bin1760.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/733416/ft2_4FGL_J0834.6+4402_daily_bin1760.fits
.....................!
real 17.04
user 16.42
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/733416/ft1_filtered_4FGL_J0834.6+4402_daily_bin1760.fits evtable="EVENTS" scfile=/scratch/kocevski/733416/ft2_4FGL_J0834.6+4402_daily_bin1760.fits sctable="SC_DATA" expcube=/scratch/kocevski/733416/ltcube_695520001_695779201_4FGL_J0834.6+4402_daily_bin1760.fits outfile=/scratch/kocevski/733416/expmap_695520001_695779201_4FGL_J0834.6+4402_daily_bin1760.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/733416/ltcube_695520001_695779201_4FGL_J0834.6+4402_daily_bin1760.fits
.....................!
real 195.80
user 187.94
sys 5.54

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/733416/ft1_filtered_4FGL_J0834.6+4402_daily_bin1760.fits scfile=/scratch/kocevski/733416/ft2_4FGL_J0834.6+4402_daily_bin1760.fits outfile=/scratch/kocevski/733416/cmap_695520001_695779201_4FGL_J0834.6+4402_daily_bin1760.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.62
user 0.42
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/733416/ft1_filtered_4FGL_J0834.6+4402_daily_bin1760.fits scfile=/scratch/kocevski/733416/ft2_4FGL_J0834.6+4402_daily_bin1760.fits outfile=/scratch/kocevski/733416/cmap_HighResolution_695520001_695779201_4FGL_J0834.6+4402_daily_bin1760.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.63
user 0.41
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/733416/ft1_filtered_4FGL_J0834.6+4402_daily_bin1760.fits', '/scratch/kocevski/733416/ft2_4FGL_J0834.6+4402_daily_bin1760.fits', expMap='/scratch/kocevski/733416/expmap_695520001_695779201_4FGL_J0834.6+4402_daily_bin1760.fits', expCube='/scratch/kocevski/733416/ltcube_695520001_695779201_4FGL_J0834.6+4402_daily_bin1760.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/733416/Model_4FGL_J0834.6+4402_daily_bin1760.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/733416/ft1_filtered_4FGL_J0834.6+4402_daily_bin1760.fits
Spacecraft file(s): /scratch/kocevski/733416/ft2_4FGL_J0834.6+4402_daily_bin1760.fits
Exposure map: /scratch/kocevski/733416/expmap_695520001_695779201_4FGL_J0834.6+4402_daily_bin1760.fits
Exposure cube: /scratch/kocevski/733416/ltcube_695520001_695779201_4FGL_J0834.6+4402_daily_bin1760.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/733416/Model_4FGL_J0834.6+4402_daily_bin1760.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) = 391.809108441

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .32670E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    2.2397       1.0000          .0000       .10000E+07
     3 'norm      '    .19914E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .32676       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.3077       1.0000          .0000       .10000E+07
     6 'Prefactor '    .11753E-01   1.0000          .0000       .10000E+07
     7 'norm      '    .12604E-01   1.0000          .0000       .10000E+07
     8 'norm      '    14.863       1.0000          .0000       .10000E+07
     9 'norm      '    5.8545       1.0000          .0000       .10000E+07
    10 'Prefactor '    .31451       1.0000          .0000       .10000E+07
    11 'Prefactor '    .47392E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    36.371       1.0000          .0000       .10000E+07
    13 'Prefactor '    1.8349       1.0000          .0000       .10000E+07
    14 'Prefactor '    .11020E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .35077E-05   1.0000          .0000       .10000E+07
    16 'norm      '    48.054       1.0000          .0000       .10000E+07
    17 'norm      '    13.092       1.0000          .0000       .10000E+07
    18 'Prefactor '    .31837E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    .14204E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .50276E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    21.705       1.0000          .0000       .10000E+07
    22 'Prefactor '    .71317E-02   1.0000          .0000       .10000E+07
    23 'norm      '    .15615E-06   1.0000          .0000       .10000E+07
    24 'Prefactor '    .12572E-01   1.0000          .0000       .10000E+07
    25 'norm      '    .63974E-05   1.0000          .0000       .10000E+07
    26 'Prefactor '    .67685E-02   1.0000          .0000       .10000E+07
    27 'Prefactor '    58.026       1.0000          .0000       .10000E+07
    28 'Normalizat'    1.0459       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .15570       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=   391.1864     FROM MIGRAD    STATUS=CONVERGED    274 CALLS     2754 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11415E-04    75.864       -.58355E-07** at limit **
   2  Prefactor     .12097E-03    705.47       -.74553E-05** at limit **
   3  norm           .0000        29.182        .26531E-06** at limit **
   4  Prefactor     .15099E-03    136.85       -.30488E-05** at limit **
   5  Prefactor     .68146E-04    2229.2        .31914E-05** at limit **
   6  Prefactor     .66879E-04    75.132       -.29870E-06** at limit **
   7  norm          .25627E-05    49.312        .86776E-06** at limit **
   8  norm          14.465        13.815        .62302E-07    .32551E-02
   9  norm          5.8697        10.243        .11169E-05    .12085E-02
  10  Prefactor     .86145E-04    134.47       -.30639E-05** at limit **
  11  Prefactor      .0000        13.296        .43130E-06** at limit **
  12  Prefactor     35.824        11.215       -.26646E-06    .10479E-02
  13  Prefactor     .28194E-03    113.93       -.20312E-05** at limit **
  14  Prefactor     .41287E-05    39.897        .67812E-06** at limit **
  15  Prefactor     .33307E-09    11.323        .82384E-07** at limit **
  16  norm          49.186        13.919       -.31625E-06    .16812    
  17  norm          12.917        20.119       -.19153E-06    .19132E-01
  18  Prefactor     .34972E-08    230.07        .30908E-06** at limit **
  19  Prefactor     .73275E-08    41.346        .14038E-05** at limit **
  20  Prefactor     .13448E-05    38.710        .58111E-06** at limit **
  21  Prefactor     22.052        15.131        .91487E-07    .99624E-01
  22  Prefactor     .36210E-06    40.315       -.51151E-06** at limit **
  23  norm           .0000        1.0313        .21853E-07** at limit **
  24  Prefactor     .73275E-08    25.539       -.65237E-06** at limit **
  25  norm          .38858E-09    16.686       -.88164E-06** at limit **
  26  Prefactor     .18350E-03    23.886        .91556E-06** at limit **
  27  Prefactor     58.856        5.7681        .47455E-07   -.58067E-01
  28  Normalizat    1.0312        .79923        .20482E-04   -.13488E-04
  29  Prefactor     .16522        .83417        .67366E-04    .10309E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.14152e-05
  Prefactor  = 0.000120974
  norm       = 0
  Prefactor  = 0.000150992
  Prefactor  = 6.81465e-05
  Prefactor  = 6.68789e-05
  norm       = 2.56267e-06
  norm       = 14.4646
  norm       = 5.86967
  Prefactor  = 8.61451e-05
  Prefactor  = 0
  Prefactor  = 35.8244
  Prefactor  = 0.000281935
  Prefactor  = 4.1287e-06
  Prefactor  = 3.33067e-10
  norm       = 49.1856
  norm       = 12.9171
  Prefactor  = 3.4972e-09
  Prefactor  = 7.32747e-09
  Prefactor  = 1.34481e-06
  Prefactor  = 22.0524
  Prefactor  = 3.62099e-07
  norm       = 0
  Prefactor  = 7.32747e-09
  norm       = 3.88578e-10
  Prefactor  = 0.000183498
  Prefactor  = 58.8564
  Normalizat = 1.03122
  Prefactor  = 0.165221
 **********
 **   18 **HESSE 
 **********

 FCN=   391.1864     FROM HESSE     STATUS=OK           603 CALLS     3357 TOTAL
                     EDM=   .44E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11415E-04    168.26        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .12097E-03    745.85        .68649E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        29.185        .17042E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .15099E-03    360.76        .98516E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .68146E-04    2240.4        .43601E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .66879E-04    170.92        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .25627E-05    50.145        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          14.465        13.688        .25954E-03   -1.5632    
   9  norm          5.8697        10.061        .41482E-03   -1.5660    
  10  Prefactor     .86145E-04    383.11        .10015E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        13.298        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     35.824        75.354        .16583E-03   -1.5588    
  13  Prefactor     .28194E-03    289.91        .76998E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .41287E-05    94.864        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .33307E-09    11.283        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          49.186        51.640        .14427E-03   -1.5568    
  17  norm          12.917        30.748        .27658E-03   -1.5636    
  18  Prefactor     .34972E-08    119.27        .63618E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .73275E-08    43.610        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .13448E-05    94.550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     22.052        27.447        .21471E-03   -1.5614    
  22  Prefactor     .36210E-06    40.541        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm           .0000        1.0279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .73275E-08    25.506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .38858E-09    16.706        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .18350E-03    32.728        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     58.856        45.748        .13129E-03   -1.5555    
  28  Normalizat    1.0312        .63458        .40840E-01   -.91992    
  29  Prefactor     .16522        .50400        .12406       -1.8286    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.44408e-06
Minuit parameter uncertainties:
  1  0.0876546
  2  0.600835
  3  2.73665e-05
  4  0.466814
  5  0.781766
  6  0.213839
  7  0.0226724
  8  13.6884
  9  10.0607
  10  0.363358
  11  2.96739e-05
  12  75.3556
  13  0.571816
  14  0.0395816
  15  0.000126443
  16  51.6408
  17  30.7483
  18  0.00129267
  19  0.00113244
  20  0.0225525
  21  27.4475
  22  0.00766282
  23  9.21652e-07
  24  0.000864947
  25  0.000166366
  26  0.154992
  27  45.7483
  28  0.639328
  29  0.518148
Done.

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

Extracting fit parameters...

4FGL J0834.6+4402
   Spectrum: PowerLaw
340    Prefactor:  4.129e-06  3.958e-02  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:  1.652e-01  5.181e-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.031e+00  6.393e-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.63e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.36e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/733416/likelihoodResults_695520001_695779201_4FGL_J0834.6+4402_daily_bin1760.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) = 391.191402202
delta logL = -0.00503574198916

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 391.186366778
delta logL = -3.18651871112e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25039E-05   1.0000          .0000       .10000E+07
     2 'Index     '    2.1889       1.0000          .0000       10.000    
     3 'Normalizat'    1.0306       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .16576       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=   391.1864     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      266 TOTAL
                     EDM=   .47E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14433E-08    6.5722        .42118E-03** at limit **
   2  Index         .56760        9.1686        .50000       -.20179E-09
   3  Normalizat    1.0312        .99729E-02    .42105E-01    .39041E-04
   4  Prefactor     .16524        .90131E-02    .12405        .63202E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.44329e-09
  Index      = 0.567605
  Normalizat = 1.0312
  Prefactor  = 0.165239
 **********
 **   18 **HESSE 
 **********

 FCN=   391.1864     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      297 TOTAL
                     EDM=   .22E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14433E-08    32.731        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .56760        5.2701        .50000       -1.0897    
   3  Normalizat    1.0312        .22271E-01    .25518E-03   -.91992    
   4  Prefactor     .16524        .20168E-01    .54749E-03   -1.3130    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.15958e-12
Minuit parameter uncertainties:
  1  0.0004322
  2  129145
  3  0.0222715
  4  0.0201685
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/733416': 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) = 391.186366438
delta logL = 2.14466808757e-08

Extracting fit parameters...

4FGL J0834.6+4402
   Spectrum: PowerLaw
340    Prefactor:  1.443e-09  4.322e-04  0.000e+00  1.000e+06 ( 1.000e-13)
341        Index:  5.676e-01  1.291e+05  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:  1.652e-01  2.017e-02  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.031e+00  2.227e-02  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/733416/cmap_HighResolution_695520001_695779201_4FGL_J0834.6+4402_daily_bin1760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.36e-02', job_status='DONE', photon_flux_upper_limit='9.63e-07', time_completed='2023-01-19 00:48:38.306032', job_id='733416', GAL2='0.17', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1674118118.31', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.17', dlogl='2.14e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='1760' AND source_name='4FGL J0834.6+4402' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jan 19 00:48:38 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0170>
Subject: Job 733416: <4FGL_J0834.6+4402_daily_bin1760> in cluster <slac> Done

Job <4FGL_J0834.6+4402_daily_bin1760> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Jan 19 00:40:14 2023
Job was executed on host(s) <bullet0170>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jan 19 00:40:51 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jan 19 00:40:51 2023
Terminated at Thu Jan 19 00:48:39 2023
Results reported at Thu Jan 19 00:48:39 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0834.6+4402_daily_bin1760 128.667 44.05 695520001 695779201 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 :                                   366.27 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             282.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   467 sec.
    Turnaround time :                            505 sec.

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

