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 52 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_J0834.6+4402_daily_bin1748
RA = 128.667, Dec = 44.05
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='881672', job_status='RUN', time_executed='2022-12-14 00:26:21.674220', time_epoch_executed='1671006381.67' WHERE source_name='4FGL J0834.6+4402' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/881672

Creating custom pfile directory:
/scratch/kocevski/881672/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/881672/ft1_4FGL_J0834.6+4402_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/881672/ft2_4FGL_J0834.6+4402_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/881672/ft1_4FGL_J0834.6+4402_daily_bin1748.fits outfile=/scratch/kocevski/881672/ft1_filteredMKT_4FGL_J0834.6+4402_daily_bin1748.fits ra=128.667 dec=44.05 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.56
user 3.32
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/881672/ft2_4FGL_J0834.6+4402_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/881672/ft1_filteredMKT_4FGL_J0834.6+4402_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/881672/ft1_filtered_4FGL_J0834.6+4402_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.49
user 0.34
sys 0.14

Number of photons that the gtmktime cut: 665

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/881672/ft1_filtered_4FGL_J0834.6+4402_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/881672/ft2_4FGL_J0834.6+4402_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/881672/ltcube_692409601_692668801_4FGL_J0834.6+4402_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/881672/ft2_4FGL_J0834.6+4402_daily_bin1748.fits
.....................!
real 12.13
user 11.71
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/881672/ft1_filtered_4FGL_J0834.6+4402_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/881672/ft2_4FGL_J0834.6+4402_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/881672/ltcube_692409601_692668801_4FGL_J0834.6+4402_daily_bin1748.fits outfile=/scratch/kocevski/881672/expmap_692409601_692668801_4FGL_J0834.6+4402_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/881672/ltcube_692409601_692668801_4FGL_J0834.6+4402_daily_bin1748.fits
.....................!
real 192.03
user 187.18
sys 4.43

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/881672/ft1_filtered_4FGL_J0834.6+4402_daily_bin1748.fits scfile=/scratch/kocevski/881672/ft2_4FGL_J0834.6+4402_daily_bin1748.fits outfile=/scratch/kocevski/881672/cmap_692409601_692668801_4FGL_J0834.6+4402_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=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.54
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/881672/ft1_filtered_4FGL_J0834.6+4402_daily_bin1748.fits scfile=/scratch/kocevski/881672/ft2_4FGL_J0834.6+4402_daily_bin1748.fits outfile=/scratch/kocevski/881672/cmap_HighResolution_692409601_692668801_4FGL_J0834.6+4402_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=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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/881672/ft1_filtered_4FGL_J0834.6+4402_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/881672/ft2_4FGL_J0834.6+4402_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/881672/Model_4FGL_J0834.6+4402_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/881672/ft1_filtered_4FGL_J0834.6+4402_daily_bin1748.fits.....................!
real 66.44
user 65.00
sys 1.32

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25577       1.0000          .0000       .10000E+07
     2 'Prefactor '    .12185E-04   1.0000          .0000       .10000E+07
     3 'norm      '    4.3168       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.3331       1.0000          .0000       .10000E+07
     5 'Prefactor '    .12917E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    26.365       1.0000          .0000       .10000E+07
     7 'norm      '    .64639E-05   1.0000          .0000       .10000E+07
     8 'norm      '    6.6541       1.0000          .0000       .10000E+07
     9 'norm      '    .77402       1.0000          .0000       .10000E+07
    10 'Prefactor '    .17870       1.0000          .0000       .10000E+07
    11 'Prefactor '    5.0577       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.1428       1.0000          .0000       .10000E+07
    13 'Prefactor '    .88474E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .15524E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .40665       1.0000          .0000       .10000E+07
    16 'norm      '    .32692E-03   1.0000          .0000       .10000E+07
    17 'norm      '    4.5466       1.0000          .0000       .10000E+07
    18 'Prefactor '    14.289       1.0000          .0000       .10000E+07
    19 'Prefactor '    33.776       1.0000          .0000       .10000E+07
    20 'Prefactor '    13.356       1.0000          .0000       .10000E+07
    21 'Prefactor '    3.7050       1.0000          .0000       .10000E+07
    22 'Prefactor '    .52571E-03   1.0000          .0000       .10000E+07
    23 'norm      '    .31619       1.0000          .0000       .10000E+07
    24 'Prefactor '    .71343E-04   1.0000          .0000       .10000E+07
    25 'norm      '    .23289E-03   1.0000          .0000       .10000E+07
    26 'Prefactor '    1.9260       1.0000          .0000       .10000E+07
    27 'Prefactor '    10.576       1.0000          .0000       .10000E+07
    28 'Normalizat'    .93399       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .98155       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=   7429.544     FROM MIGRAD    STATUS=CONVERGED    159 CALLS     2682 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .25975        .56394        .80071E-08    .38710E-03
   2  Prefactor     .17097E-07    8.6685       -.87352E-06** at limit **
   3  norm          4.3149        2.2709        .20326E-07   -.45978E-03
   4  Prefactor     6.3343        7.0057        .26946E-06   -.53193E-02
   5  Prefactor     .74385E-08    26.995       -.95124E-06** at limit **
   6  Prefactor     26.394        6.9614       -.16205E-06   -.35896E-01
   7  norm           .0000        1.9220        .23405E-07** at limit **
   8  norm          6.6522        2.6382       -.37021E-07   -.20240E-02
   9  norm          .77480        .51281        .27092E-07   -.41608E-02
  10  Prefactor     .98974E-05    10.973       -.19647E-05** at limit **
  11  Prefactor     4.9870        5.2411        .24958E-06    .29280E-03
  12  Prefactor     1.1562        3.3133        .18018E-06    .21885E-03
  13  Prefactor     .12768E-08    4.9945        .57238E-06** at limit **
  14  Prefactor     .26423E-07    4.3483       -.73963E-06** at limit **
  15  Prefactor     .39746        3.7673       -.14902E-06   -.12413E-01
  16  norm           .0000        3.5850       -.77269E-07** at limit **
  17  norm          4.4244        5.7502        .21151E-06    .29359E-02
  18  Prefactor     14.281        1.4818       -.78488E-07    .11072E-01
  19  Prefactor     33.918        1.3745        .21697E-07    .20323E-02
  20  Prefactor     13.321        1.0049        .20133E-08   -.28108E-04
  21  Prefactor     3.6659        4.2047        .12605E-06   -.10884E-02
  22  Prefactor     .27478E-07    2.2563       -.18355E-06** at limit **
  23  norm          .31647        .42749        .16196E-06   -.43132E-02
  24  Prefactor     .11374E-06    23.243       -.13594E-05** at limit **
  25  norm          .94369E-09    4.2351        .18535E-06** at limit **
  26  Prefactor     1.9395        2.8599       -.18147E-06   -.20905E-02
  27  Prefactor     10.563        1.4599        .52719E-07    .96858E-03
  28  Normalizat    .93456        .20472       -.29018E-05   -.12612E-03
  29  Prefactor     .98158        .17098        .75709E-06   -.11958E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.259754
  Prefactor  = 1.70974e-08
  norm       = 4.31493
  Prefactor  = 6.33431
  Prefactor  = 7.43849e-09
  Prefactor  = 26.3935
  norm       = 0
  norm       = 6.65219
  norm       = 0.774804
  Prefactor  = 9.89742e-06
  Prefactor  = 4.98705
  Prefactor  = 1.1562
  Prefactor  = 1.27676e-09
  Prefactor  = 2.64233e-08
  Prefactor  = 0.397463
  norm       = 0
  norm       = 4.42436
  Prefactor  = 14.2806
  Prefactor  = 33.9178
  Prefactor  = 13.3213
  Prefactor  = 3.66594
  Prefactor  = 2.7478e-08
  norm       = 0.316472
  Prefactor  = 1.13742e-07
  norm       = 9.4369e-10
  Prefactor  = 1.93947
  Prefactor  = 10.5633
  Normalizat = 0.934563
  Prefactor  = 0.981582
 **********
 **   18 **HESSE 
 **********

 FCN=   7429.544     FROM HESSE     STATUS=OK           631 CALLS     3313 TOTAL
                     EDM=   .26E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .25975        5.5414        .74860E-02   -1.5698    
   2  Prefactor     .17097E-07    8.8392        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.3149        2.2880        .48461E-03   -1.5666    
   4  Prefactor     6.3343        8.1612        .39862E-03   -1.5658    
   5  Prefactor     .74385E-08    26.990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     26.394        7.3152        .19479E-03   -1.5605    
   7  norm           .0000        1.9253        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.6522        2.6432        .38877E-03   -1.5656    
   9  norm          .77480        .51956        .54892E-03   -1.5690    
  10  Prefactor     .98974E-05    9.7879        .87941E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.9870        5.2490        .44687E-03   -1.5663    
  12  Prefactor     1.1562        3.6280        .10859E-02   -1.5686    
  13  Prefactor     .12768E-08    6.3700        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .26423E-07    5.4714        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .39746        10.576        .88721E-03   -1.5695    
  16  norm           .0000        3.5828        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.4244        5.8968        .47188E-03   -1.5666    
  18  Prefactor     14.281        16.054        .26471E-03   -1.5632    
  19  Prefactor     33.918        22.582        .17209E-03   -1.5591    
  20  Prefactor     13.321        20.128        .27382E-03   -1.5635    
  21  Prefactor     3.6659        4.3280        .52441E-03   -1.5670    
  22  Prefactor     .27478E-07    5.8718        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .31647        .58258        .14350E-02   -1.5697    
  24  Prefactor     .11374E-06    2.7127        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .94369E-09    4.2524        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     1.9395        2.9523        .74826E-03   -1.5680    
  27  Prefactor     10.563        11.828        .30784E-03   -1.5643    
  28  Normalizat    .93456        .18797        .45335E-01   -.95256    
  29  Prefactor     .98158        .15078        .46036E-01   -.93346    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.61613e-06
Minuit parameter uncertainties:
  1  2.3995
  2  0.000777549
  3  2.28796
  4  8.16123
  5  0.000897533
  6  7.31518
  7  9.43037e-06
  8  2.64316
  9  0.519562
  10  0.0196851
  11  5.24896
  12  3.62803
  13  0.000180917
  14  0.000760274
  15  4.10048
  16  3.74705e-07
  17  5.89684
  18  16.0543
  19  22.5817
  20  20.1282
  21  4.32802
  22  0.000803484
  23  0.582582
  24  0.00111105
  25  0.000128261
  26  2.9523
  27  11.8284
  28  0.188101
  29  0.150842
Done.

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

Extracting fit parameters...

4FGL J0834.6+4402
   Spectrum: PowerLaw
340    Prefactor:  2.642e-08  7.603e-04  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.816e-01  1.508e-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:  9.346e-01  1.881e-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: 5.22e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.99e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/881672/likelihoodResults_692409601_692668801_4FGL_J0834.6+4402_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) = 7429.55301481
delta logL = -0.00881647323695

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7429.54419834
delta logL = -7.23048287909e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31031E-07   1.0000          .0000       .10000E+07
     2 'Index     '    2.4006       1.0000          .0000       10.000    
     3 'Normalizat'    .93456       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98158       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7429.544     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      218 TOTAL
                     EDM=   .72E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.4494        .42118E-03** at limit **
   2  Index         .53119        .53095       -.41811E-04     .0000    
   3  Normalizat    .93456        1.2682       -.13551E-04   -.44122E-04
   4  Prefactor     .98158        1.3218        .15424E-04   -.19425E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.531191
  Normalizat = 0.934564
  Prefactor  = 0.981581
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7429.544     FROM HESSE     STATUS=FAILED         9 CALLS      227 TOTAL
                     EDM=   .72E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.4494        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .50317E-02    .65320       -.41811E-04   -1.1057    
   3  Normalizat    .93456        1.2682       -.13551E-04   -.95256    
   4  Prefactor     .98158        1.3218        .15424E-04   -.93346    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.1787e-11
Minuit parameter uncertainties:
  1  4.9351e-06
  2  0.536042
  3  1.31269
  4  1.36972
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/881672': 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): 101
logL (Free Index) = 7429.54419834
delta logL = 2.38378561335e-09

Extracting fit parameters...

4FGL J0834.6+4402
   Spectrum: PowerLaw
340    Prefactor:  0.000e+00  4.935e-06  0.000e+00  1.000e+06 ( 1.000e-13)
341        Index:  5.312e-01  5.360e-01  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.816e-01  1.370e+00  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:  9.346e-01  1.313e+00  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/881672/cmap_HighResolution_692409601_692668801_4FGL_J0834.6+4402_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.99e-03', job_status='DONE', photon_flux_upper_limit='5.22e-08', time_completed='2022-12-14 00:40:23.469075', job_id='881672', GAL2='0.98', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1671007223.47', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='2.38e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='1748' AND source_name='4FGL J0834.6+4402' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 00:40:23 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 881672: <4FGL_J0834.6+4402_daily_bin1748> in cluster <slac> Done

Job <4FGL_J0834.6+4402_daily_bin1748> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec 14 00:25:20 2022
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:25:20 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:20 2022
Terminated at Wed Dec 14 00:40:24 2022
Results reported at Wed Dec 14 00:40:24 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0834.6+4402_daily_bin1748 128.667 44.05 692409601 692668801 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 :                                   843.30 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             298.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   903 sec.
    Turnaround time :                            904 sec.

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

