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


Performing analysis on: 4FGL_J1842.3+6810_daily_bin1743
RA = 280.585, Dec = 68.1686
tmin = 691113601, tmax = 691372801
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='462506', job_status='RUN', time_executed='2022-11-29 01:09:34.253713', time_epoch_executed='1669712974.25' WHERE source_name='4FGL J1842.3+6810' and cadence='daily' and bin_id='1743'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/462506

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/462506/ft1_4FGL_J1842.3+6810_daily_bin1743.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/462506/ft2_4FGL_J1842.3+6810_daily_bin1743.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/462506/ft1_4FGL_J1842.3+6810_daily_bin1743.fits outfile=/scratch/kocevski/462506/ft1_filteredMKT_4FGL_J1842.3+6810_daily_bin1743.fits ra=280.585 dec=68.1686 rad=12.0 tmin=691113601.0 tmax=691372801.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.74
user 2.53
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/462506/ft2_4FGL_J1842.3+6810_daily_bin1743.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/462506/ft2_4FGL_J1842.3+6810_daily_bin1743.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/462506/ft1_filteredMKT_4FGL_J1842.3+6810_daily_bin1743.fits evtable="EVENTS" outfile="/scratch/kocevski/462506/ft1_filtered_4FGL_J1842.3+6810_daily_bin1743.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.34
sys 0.15

Number of photons that the gtmktime cut: 2100

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/462506/ft1_filtered_4FGL_J1842.3+6810_daily_bin1743.fits" evtable="EVENTS" scfile=/scratch/kocevski/462506/ft2_4FGL_J1842.3+6810_daily_bin1743.fits sctable="SC_DATA" outfile=/scratch/kocevski/462506/ltcube_691113601_691372801_4FGL_J1842.3+6810_daily_bin1743.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/462506/ft2_4FGL_J1842.3+6810_daily_bin1743.fits
.....................!
real 14.45
user 14.09
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/462506/ft1_filtered_4FGL_J1842.3+6810_daily_bin1743.fits evtable="EVENTS" scfile=/scratch/kocevski/462506/ft2_4FGL_J1842.3+6810_daily_bin1743.fits sctable="SC_DATA" expcube=/scratch/kocevski/462506/ltcube_691113601_691372801_4FGL_J1842.3+6810_daily_bin1743.fits outfile=/scratch/kocevski/462506/expmap_691113601_691372801_4FGL_J1842.3+6810_daily_bin1743.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/462506/ltcube_691113601_691372801_4FGL_J1842.3+6810_daily_bin1743.fits
.....................!
real 191.16
user 186.37
sys 4.42

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
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Extended source FHES J2208.4+6443 in ROI with RadialGaussian spatial model.
Added 187 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1842.3+6810 @ 280.585 68.1686

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/462506/ft1_filtered_4FGL_J1842.3+6810_daily_bin1743.fits scfile=/scratch/kocevski/462506/ft2_4FGL_J1842.3+6810_daily_bin1743.fits outfile=/scratch/kocevski/462506/cmap_691113601_691372801_4FGL_J1842.3+6810_daily_bin1743.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=280.585 yref=68.1686 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/462506/ft1_filtered_4FGL_J1842.3+6810_daily_bin1743.fits scfile=/scratch/kocevski/462506/ft2_4FGL_J1842.3+6810_daily_bin1743.fits outfile=/scratch/kocevski/462506/cmap_HighResolution_691113601_691372801_4FGL_J1842.3+6810_daily_bin1743.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=280.585 yref=68.1686 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/462506/ft1_filtered_4FGL_J1842.3+6810_daily_bin1743.fits evtable="EVENTS" scfile=/scratch/kocevski/462506/ft2_4FGL_J1842.3+6810_daily_bin1743.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/462506/Model_4FGL_J1842.3+6810_daily_bin1743.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 FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source GAL_V02
Working on...
/scratch/kocevski/462506/ft1_filtered_4FGL_J1842.3+6810_daily_bin1743.fits....................!
real 232.53
user 230.91
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/462506/ft1_filtered_4FGL_J1842.3+6810_daily_bin1743.fits', '/scratch/kocevski/462506/ft2_4FGL_J1842.3+6810_daily_bin1743.fits', expMap='/scratch/kocevski/462506/expmap_691113601_691372801_4FGL_J1842.3+6810_daily_bin1743.fits', expCube='/scratch/kocevski/462506/ltcube_691113601_691372801_4FGL_J1842.3+6810_daily_bin1743.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/462506/Model_4FGL_J1842.3+6810_daily_bin1743.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1842.3+6810'

4FGL J1842.3+6810
   Spectrum: PowerLaw
344    Prefactor:  4.191e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
345        Index:  2.567e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
346        Scale:  9.868e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/462506/ft1_filtered_4FGL_J1842.3+6810_daily_bin1743.fits
Spacecraft file(s): /scratch/kocevski/462506/ft2_4FGL_J1842.3+6810_daily_bin1743.fits
Exposure map: /scratch/kocevski/462506/expmap_691113601_691372801_4FGL_J1842.3+6810_daily_bin1743.fits
Exposure cube: /scratch/kocevski/462506/ltcube_691113601_691372801_4FGL_J1842.3+6810_daily_bin1743.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/462506/Model_4FGL_J1842.3+6810_daily_bin1743.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) = 21369.6131548

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .67671E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    72.006       1.0000          .0000       .10000E+07
     3 'norm      '    .90458       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.8333       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.1636       1.0000          .0000       .10000E+07
     6 'Prefactor '    12.930       1.0000          .0000       .10000E+07
     7 'Prefactor '    .63838E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    .14655E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .63366E-02   1.0000          .0000       .10000E+07
    10 'norm      '    5.3461       1.0000          .0000       .10000E+07
    11 'norm      '    2.0018       1.0000          .0000       .10000E+07
    12 'norm      '    16.529       1.0000          .0000       .10000E+07
    13 'Prefactor '    8.5245       1.0000          .0000       .10000E+07
    14 'Prefactor '    .28261E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .45967E-05   1.0000          .0000       .10000E+07
    16 'norm      '    .76866E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    30.761       1.0000          .0000       .10000E+07
    18 'Prefactor '    .39629E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .45697E-06   1.0000          .0000       .10000E+07
    20 'norm      '    1.9380       1.0000          .0000       .10000E+07
    21 'norm      '    6.4555       1.0000          .0000       .10000E+07
    22 'norm      '    7.4691       1.0000          .0000       .10000E+07
    23 'Prefactor '    .13792E-05   1.0000          .0000       .10000E+07
    24 'Prefactor '    7.1330       1.0000          .0000       .10000E+07
    25 'norm      '    3.4578       1.0000          .0000       .10000E+07
    26 'norm      '    .29808E-01   1.0000          .0000       .10000E+07
    27 'norm      '    2.2979       1.0000          .0000       .10000E+07
    28 'norm      '    .71992E-03   1.0000          .0000       .10000E+07
    29 'Prefactor '    13.178       1.0000          .0000       .10000E+07
    30 'norm      '    .27582E-05   1.0000          .0000       .10000E+07
    31 'Prefactor '    12.569       1.0000          .0000       .10000E+07
    32 'norm      '    4.8896       1.0000          .0000       .10000E+07
    33 'Normalizat'    .90695       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .95267       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6220E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   21369.60     FROM MIGRAD    STATUS=CONVERGED    183 CALLS     3462 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .53635E-06    20.512        .14788E-05** at limit **
   2  Prefactor     72.098        1.4786       -.55017E-07    .28299E-02
   3  norm          .90579        .57731       -.77412E-07   -.93965E-02
   4  Prefactor     1.7851        6.5275       -.15500E-06   -.18678E-02
   5  Prefactor     4.1641        2.4100        .11367E-06    .11457E-02
   6  Prefactor     12.917        1.8850        .21547E-06    .22931E-01
   7  Prefactor      .0000        1.3021       -.19357E-06** at limit **
   8  Prefactor     .31108E-06    21.292        .33735E-05** at limit **
   9  Prefactor     .38858E-09    10.962       -.38462E-08** at limit **
  10  norm          5.3458        2.0492        .59904E-07    .15524E-02
  11  norm          2.0018        .57179        .15039E-09    .27387E-02
  12  norm          16.530        4.1789       -.12174E-07   -.18760E-02
  13  Prefactor     8.5201        1.5561       -.21693E-06   -.12036E-01
  14  Prefactor     .10212E-05    38.157       -.64069E-05** at limit **
  15  Prefactor      .0000        2.3811       -.42206E-07** at limit **
  16  norm          .55511E-10    5.1571        .43969E-06** at limit **
  17  Prefactor     30.785        2.4576       -.18459E-06    .53914E-03
  18  Prefactor     .11102E-09    6.1307        .12381E-06** at limit **
  19  Prefactor     .13378E-07    26.805        .37784E-06** at limit **
  20  norm          1.9383        1.6044       -.84504E-07   -.12902E-02
  21  norm          6.4517        3.2196        .60601E-07    .24085E-03
  22  norm          7.4901        5.4156       -.65362E-07    .58440E-04
  23  Prefactor     .31453E-06    49.308       -.46635E-05** at limit **
  24  Prefactor     7.1349        3.7982        .87364E-07    .22775E-02
  25  norm          3.4578        1.0686       -.14844E-06   -.16323E-03
  26  norm          .58553E-06    3.6656       -.66322E-06** at limit **
  27  norm          2.2984        2.0581        .21012E-06   -.44144E-02
  28  norm          .11102E-09    4.6621        .71806E-06** at limit **
  29  Prefactor     13.190        10.640       -.12717E-05    .22873E-01
  30  norm           .0000        2.6086       -.93165E-07** at limit **
  31  Prefactor     12.563        1.3533        .11865E-06    .21439E-01
  32  norm          4.9056        3.9999        .72889E-07   -.22079E-03
  33  Normalizat    .90710        .14374        .40091E-05   -.18497E-03
  34  Prefactor     .95262        .63729E-01   -.80369E-06   -.24819E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.36349e-07
  Prefactor  = 72.0985
  norm       = 0.905786
  Prefactor  = 1.78514
  Prefactor  = 4.16407
  Prefactor  = 12.9172
  Prefactor  = 0
  Prefactor  = 3.11084e-07
  Prefactor  = 3.88578e-10
  norm       = 5.34579
  norm       = 2.00183
  norm       = 16.5302
  Prefactor  = 8.52015
  Prefactor  = 1.02124e-06
  Prefactor  = 0
  norm       = 5.55112e-11
  Prefactor  = 30.7848
  Prefactor  = 1.11022e-10
  Prefactor  = 1.33782e-08
  norm       = 1.93832
  norm       = 6.45174
  norm       = 7.49006
  Prefactor  = 3.14526e-07
  Prefactor  = 7.13487
  norm       = 3.45778
  norm       = 5.85532e-07
  norm       = 2.29836
  norm       = 1.11022e-10
  Prefactor  = 13.1897
  norm       = 0
  Prefactor  = 12.5634
  norm       = 4.90561
  Normalizat = 0.907097
  Prefactor  = 0.952619
 **********
 **   18 **HESSE 
 **********

 FCN=   21369.60     FROM HESSE     STATUS=OK           812 CALLS     4274 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .53635E-06    37.369        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     72.098        39.273        .11785E-03   -1.5538    
   3  norm          .90579        .63439        .45444E-03   -1.5689    
   4  Prefactor     1.7851        6.8526        .77039E-03   -1.5681    
   5  Prefactor     4.1641        2.4134        .49371E-03   -1.5667    
   6  Prefactor     12.917        10.740        .27831E-03   -1.5636    
   7  Prefactor      .0000        1.3002        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .31108E-06    36.277        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .38858E-09    10.974        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.3458        2.0537        .43442E-03   -1.5662    
  11  norm          2.0018        .57344        .73168E-03   -1.5680    
  12  norm          16.530        4.1832        .24608E-03   -1.5627    
  13  Prefactor     8.5201        10.345        .34310E-03   -1.5650    
  14  Prefactor     .10212E-05    104.56        .16544E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        2.3599        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .55511E-10    5.1308        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     30.785        12.712        .18033E-03   -1.5597    
  18  Prefactor     .11102E-09    6.1472        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .13378E-07    27.665        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.9383        1.6137        .74556E-03   -1.5680    
  21  norm          6.4517        3.2203        .39478E-03   -1.5657    
  22  norm          7.4901        5.4140        .36673E-03   -1.5653    
  23  Prefactor     .31453E-06    54.587        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     7.1349        3.8129        .37535E-03   -1.5655    
  25  norm          3.4578        1.0794        .54361E-03   -1.5671    
  26  norm          .58553E-06    10.135        .16461E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          2.2984        2.0914        .67675E-03   -1.5678    
  28  norm          .11102E-09    4.6765        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     13.190        13.716        .27568E-03   -1.5635    
  30  norm           .0000        2.5684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     12.563        10.646        .28229E-03   -1.5637    
  32  norm          4.9056        3.9976        .45464E-03   -1.5664    
  33  Normalizat    .90710        .13595        .89774E-01   -.96211    
  34  Prefactor     .95262        .58541E-01    .45673E-01   -.94326    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12095e-06
Minuit parameter uncertainties:
  1  0.00895401
  2  39.2729
  3  0.634393
  4  6.85266
  5  2.41343
  6  10.7397
  7  2.84225e-06
  8  0.00671853
  9  0.000129317
  10  2.05366
  11  0.57344
  12  4.1832
  13  10.3449
  14  0.0206672
  15  7.45084e-06
  16  2.81379e-05
  17  12.7121
  18  4.70635e-05
  19  0.00121568
  20  1.61369
  21  3.22031
  22  5.41405
  23  0.00828704
  24  3.81292
  25  1.07941
  26  0.00487222
  27  2.09137
  28  4.56501e-05
  29  13.7156
  30  5.49059e-06
  31  10.6456
  32  3.99762
  33  0.135999
  34  0.0585448
Done.

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

Extracting fit parameters...

4FGL J1842.3+6810
   Spectrum: PowerLaw
344    Prefactor:  1.110e-10  4.706e-05  0.000e+00  1.000e+06 ( 1.000e-13)
345        Index:  2.567e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
346        Scale:  9.868e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
619    Prefactor:  9.526e-01  5.854e-02  0.000e+00  1.000e+01 ( 1.000e+00)
620        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
621        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
611   Normalization:  9.071e-01  1.360e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 280.585 68.169
Photon Flux Upper Limit: 4.38e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.42e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/462506/likelihoodResults_691113601_691372801_4FGL_J1842.3+6810_daily_bin1743.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) = 21369.6752851
delta logL = -0.0802409287026

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 21369.5950442
delta logL = -5.15792635269e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   21369.60     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      202 TOTAL
                     EDM=   .61E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.0876        .42118E-03** at limit **
   2  Index         2.5802        1.1354       -.11442E-04     .0000    
   3  Normalizat    .90710        1.2421        .56105E-06    .11193E-04
   4  Prefactor     .95262        1.2947       -.79258E-06    .65001E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.58025
  Normalizat = 0.907098
  Prefactor  = 0.952619
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   21369.60     FROM HESSE     STATUS=FAILED         9 CALLS      211 TOTAL
                     EDM=   .61E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.0876        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .75217        1.9110       -.11442E-04   -.50516    
   3  Normalizat    .90710        1.2421        .56105E-06   -.96211    
   4  Prefactor     .95262        1.2947       -.79258E-06   -.94326    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.07754e-13
Minuit parameter uncertainties:
  1  1.05482e-05
  2  1.14854
  3  1.28501
  4  1.34083
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/462506': 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) = 21369.5950441
delta logL = 2.18278728426e-11

Extracting fit parameters...

4FGL J1842.3+6810
   Spectrum: PowerLaw
344    Prefactor:  0.000e+00  1.055e-05  0.000e+00  1.000e+06 ( 1.000e-13)
345        Index:  2.580e+00  1.149e+00  0.000e+00  1.000e+01 (-1.000e+00)
346        Scale:  9.868e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
619    Prefactor:  9.526e-01  1.341e+00  0.000e+00  1.000e+01 ( 1.000e+00)
620        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
621        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
611   Normalization:  9.071e-01  1.285e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 280.585 68.169

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/462506/cmap_HighResolution_691113601_691372801_4FGL_J1842.3+6810_daily_bin1743.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.42e-03', job_status='DONE', photon_flux_upper_limit='4.38e-08', time_completed='2022-11-29 01:47:44.698833', job_id='462506', GAL2='0.95', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1669715264.7', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='2.18e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1743' AND source_name='4FGL J1842.3+6810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Nov 29 01:47:44 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0113>
Subject: Job 462506: <4FGL_J1842.3+6810_daily_bin1743> in cluster <slac> Done

Job <4FGL_J1842.3+6810_daily_bin1743> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Nov 29 01:05:16 2022
Job was executed on host(s) <bullet0113>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov 29 01:06:03 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov 29 01:06:03 2022
Terminated at Tue Nov 29 01:47:45 2022
Results reported at Tue Nov 29 01:47:45 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1842.3+6810_daily_bin1743 280.585 68.1686 691113601 691372801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1842.3+6810 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   2290.76 sec.
    Max Memory :                                 1262 MB
    Average Memory :                             341.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   3406 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   2502 sec.
    Turnaround time :                            2549 sec.

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

