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 59 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1842.3+6810_daily_bin1693
RA = 280.585, Dec = 68.1686
tmin = 678153601, tmax = 678412801
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='541775', job_status='RUN', time_executed='2022-07-02 02:41:30.743313', time_epoch_executed='1656754890.74' WHERE source_name='4FGL J1842.3+6810' and cadence='daily' and bin_id='1693'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/541775

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/541775/ft1_4FGL_J1842.3+6810_daily_bin1693.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/541775/ft2_4FGL_J1842.3+6810_daily_bin1693.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/541775/ft1_4FGL_J1842.3+6810_daily_bin1693.fits outfile=/scratch/kocevski/541775/ft1_filteredMKT_4FGL_J1842.3+6810_daily_bin1693.fits ra=280.585 dec=68.1686 rad=12.0 tmin=678153601.0 tmax=678412801.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.19
user 3.91
sys 0.25

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

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

Number of photons that the gtmktime cut: 1377

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/541775/ft1_filtered_4FGL_J1842.3+6810_daily_bin1693.fits" evtable="EVENTS" scfile=/scratch/kocevski/541775/ft2_4FGL_J1842.3+6810_daily_bin1693.fits sctable="SC_DATA" outfile=/scratch/kocevski/541775/ltcube_678153601_678412801_4FGL_J1842.3+6810_daily_bin1693.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/541775/ft2_4FGL_J1842.3+6810_daily_bin1693.fits
.....................!
real 13.31
user 12.95
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/541775/ft1_filtered_4FGL_J1842.3+6810_daily_bin1693.fits evtable="EVENTS" scfile=/scratch/kocevski/541775/ft2_4FGL_J1842.3+6810_daily_bin1693.fits sctable="SC_DATA" expcube=/scratch/kocevski/541775/ltcube_678153601_678412801_4FGL_J1842.3+6810_daily_bin1693.fits outfile=/scratch/kocevski/541775/expmap_678153601_678412801_4FGL_J1842.3+6810_daily_bin1693.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/541775/ltcube_678153601_678412801_4FGL_J1842.3+6810_daily_bin1693.fits
.....................!
real 192.11
user 185.85
sys 5.81

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/541775/ft1_filtered_4FGL_J1842.3+6810_daily_bin1693.fits scfile=/scratch/kocevski/541775/ft2_4FGL_J1842.3+6810_daily_bin1693.fits outfile=/scratch/kocevski/541775/cmap_678153601_678412801_4FGL_J1842.3+6810_daily_bin1693.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.72
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/541775/ft1_filtered_4FGL_J1842.3+6810_daily_bin1693.fits scfile=/scratch/kocevski/541775/ft2_4FGL_J1842.3+6810_daily_bin1693.fits outfile=/scratch/kocevski/541775/cmap_HighResolution_678153601_678412801_4FGL_J1842.3+6810_daily_bin1693.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.55
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/541775/ft1_filtered_4FGL_J1842.3+6810_daily_bin1693.fits evtable="EVENTS" scfile=/scratch/kocevski/541775/ft2_4FGL_J1842.3+6810_daily_bin1693.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/541775/Model_4FGL_J1842.3+6810_daily_bin1693.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/541775/ft1_filtered_4FGL_J1842.3+6810_daily_bin1693.fits.....................!
real 154.46
user 152.81
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/541775/ft1_filtered_4FGL_J1842.3+6810_daily_bin1693.fits', '/scratch/kocevski/541775/ft2_4FGL_J1842.3+6810_daily_bin1693.fits', expMap='/scratch/kocevski/541775/expmap_678153601_678412801_4FGL_J1842.3+6810_daily_bin1693.fits', expCube='/scratch/kocevski/541775/ltcube_678153601_678412801_4FGL_J1842.3+6810_daily_bin1693.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/541775/Model_4FGL_J1842.3+6810_daily_bin1693.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  1.000e-04  1.000e+04 ( 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/541775/ft1_filtered_4FGL_J1842.3+6810_daily_bin1693.fits
Spacecraft file(s): /scratch/kocevski/541775/ft2_4FGL_J1842.3+6810_daily_bin1693.fits
Exposure map: /scratch/kocevski/541775/expmap_678153601_678412801_4FGL_J1842.3+6810_daily_bin1693.fits
Exposure cube: /scratch/kocevski/541775/ltcube_678153601_678412801_4FGL_J1842.3+6810_daily_bin1693.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/541775/Model_4FGL_J1842.3+6810_daily_bin1693.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) = 13773.2758839

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.948       1.0000         .10000E-03   10000.    
     3 'norm      '    .56828       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10421E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.3115       1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.4338       1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.939       1.0000         .10000E-03   10000.    
    10 'norm      '    5.0746       1.0000         .10000E-03   10000.    
    11 'norm      '    2.7950       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    4.3375       1.0000         .10000E-03   10000.    
    14 'Prefactor '    28.209       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.5282       1.0000         .10000E-03   10000.    
    17 'norm      '    7.0687       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    2.8663       1.0000         .10000E-03   10000.    
    23 'norm      '    .11266E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .80493       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    1.9320       1.0000         .10000E-03   10000.    
    28 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    1.2692       1.0000         .10000E-03   10000.    
    30 'norm      '    .18447E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    41.751       1.0000         .10000E-03   10000.    
    32 'norm      '    2.1874       1.0000         .10000E-03   10000.    
    33 'Prefactor '    18.315       1.0000         .10000E-03   10000.    
    34 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    35 'Normalizat'    1.2549       1.0000         .10000E-01   10.000    
    36 'Prefactor '    .87871       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13773.25     FROM MIGRAD    STATUS=CONVERGED   1023 CALLS     5348 TOTAL
                     EDM=   .92E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    32.342        .15431E-04** at limit **
   2  Prefactor     12.945        30.457       -.20268E-05    .15165E-04
   3  norm          .56828        .66619        .95807E-07    .54949E-03
   4  Prefactor     .10000E-03    2.8311        .53670E-09** at limit **
   5  Prefactor     .10000E-03    1.7139        .11335E-06** at limit **
   6  Prefactor     .10000E-03    5.1439        .14060E-07** at limit **
   7  Prefactor     2.3088        6.5704       -.14008E-04   -.65340E-03
   8  Prefactor     9.4406        14.326       -.12233E-05    .30601E-04
   9  Prefactor     11.979        76.585        .83173E-04   -.60207E-04
  10  norm          5.0746        2.5225       -.97226E-07   -.24333E-04
  11  norm          2.7951        .75921        .26544E-07   -.68561E-04
  12  Prefactor     .10000E-03    7.3625       -.24793E-06** at limit **
  13  norm          4.3373        3.9844        .54882E-06   -.15232E-03
  14  Prefactor     28.208        16.046        .97943E-07   -.35160E-05
  15  Prefactor     .10000E-03    107.94       -.14870E-05** at limit **
  16  Prefactor     3.5281        5.7196       -.25223E-06   -.88509E-03
  17  norm          7.0684        7.2996        .77734E-08   -.16313E-03
  18  Prefactor     .10000E-03    8.8782        .53845E-06** at limit **
  19  Prefactor     .10000E-03    21.280        .64362E-05** at limit **
  20  Prefactor     .10000E-03    29.137       -.33138E-05** at limit **
  21  Prefactor     .10000E-03    27.279       -.98962E-05** at limit **
  22  norm          2.8664        2.4066       -.13847E-07   -.20583E-03
  23  norm          .10000E-03    1.8763       -.27747E-06** at limit **
  24  norm          .80253        1.8605        .79866E-06   -.14488E-02
  25  Prefactor     .10000E-03    21.961       -.80319E-06** at limit **
  26  Prefactor     .10000E-03    3.0316       -.79917E-09** at limit **
  27  norm          1.9322        1.2683        .21564E-07    .53932E-03
  28  norm          .10000E-03    11.190       -.80705E-06** at limit **
  29  norm          1.2692        2.2247        .48030E-07   -.62351E-04
  30  norm          .10008E-03    5.4425       -.11515E-05** at limit **
  31  Prefactor     41.754        23.904        .45611E-06    .14866E-03
  32  norm          2.1874        2.2100        .37632E-07   -.33751E-04
  33  Prefactor     18.315        12.295        .11251E-06   -.38199E-04
  34  norm          .10000E-03    4.6186       -.27093E-07** at limit **
  35  Normalizat    1.2550        .16076       -.35881E-06    .11385E-03
  36  Prefactor     .87871        .70838E-01   -.24252E-06    .24552E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Prefactor  = 12.9446
  norm       = 0.56828
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.30884
  Prefactor  = 9.44058
  Prefactor  = 11.9789
  norm       = 5.07458
  norm       = 2.79507
  Prefactor  = 0.0001
  norm       = 4.33734
  Prefactor  = 28.2081
  Prefactor  = 0.0001
  Prefactor  = 3.52808
  norm       = 7.06836
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 2.8664
  norm       = 0.000100001
  norm       = 0.802529
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.93219
  norm       = 0.0001
  norm       = 1.26916
  norm       = 0.000100078
  Prefactor  = 41.7535
  norm       = 2.18744
  Prefactor  = 18.3146
  norm       = 0.0001
  Normalizat = 1.25496
  Prefactor  = 0.878711
 **********
 **   18 **HESSE 
 **********

 FCN=   13773.25     FROM HESSE     STATUS=OK           819 CALLS     6167 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    32.181        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.945        29.910        .11132E-03   -1.4988    
   3  norm          .56828        .57636        .94119E-03   -1.5557    
   4  Prefactor     .10000E-03    2.8570        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    1.7769        .29914E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.1529        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.3088        6.5795        .26986E-03   -1.5404    
   8  Prefactor     9.4406        14.301        .13048E-03   -1.5093    
   9  Prefactor     11.979        76.673        .11594E-03   -1.5016    
  10  norm          5.0746        2.5184        .12348E-03   -1.5257    
  11  norm          2.7951        .75964        .51196E-04   -1.5374    
  12  Prefactor     .10000E-03    7.4555        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.3373        3.9558        .19341E-03   -1.5291    
  14  Prefactor     28.208        16.051        .75431E-04   -1.4645    
  15  Prefactor     .10000E-03    108.09        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.5281        5.8045        .10761E-02   -1.5332    
  17  norm          7.0684        7.3100        .75441E-03   -1.5176    
  18  Prefactor     .10000E-03    8.9509        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    21.409        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    29.135        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    27.214        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.8664        2.3984        .15834E-03   -1.5369    
  23  norm          .10000E-03    8.8690        .31086E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .80253        11.996        .24916E-02   -1.5529    
  25  Prefactor     .10000E-03    22.498        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    3.0979        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          1.9322        1.2539        .97669E-04   -1.5430    
  28  norm          .10000E-03    11.193        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          1.2692        2.1815        .22296E-03   -1.5483    
  30  norm          .10008E-03    27.991        .51762E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     41.754        23.619        .62039E-04   -1.4415    
  32  norm          2.1874        2.2016        .16889E-03   -1.5412    
  33  Prefactor     18.315        12.282        .46794E-03   -1.4852    
  34  norm          .10000E-03    4.6604        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  35  Normalizat    1.2550        .17714        .34678E-03   -.84921    
  36  Prefactor     .87871        .78382E-01    .18789E-03   -.96889    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42687e-08
Minuit parameter uncertainties:
  1  0.000617643
  2  29.9443
  3  0.576366
  4  4.11107e-06
  5  7.69306e-06
  6  1.49031e-06
  7  6.58158
  8  14.3058
  9  60.7261
  10  2.51841
  11  0.759648
  12  1.63877e-05
  13  3.95607
  14  16.0535
  15  0.000126368
  16  5.80545
  17  7.31089
  18  8.49437e-06
  19  0.000213125
  20  0.000130287
  21  0.000368008
  22  2.39846
  23  0.00022521
  24  6.20665
  25  6.18338e-05
  26  4.87086e-06
  27  1.25394
  28  2.01282e-05
  29  2.18168
  30  0.00296569
  31  23.6243
  32  2.20166
  33  12.2837
  34  2.90008e-06
  35  0.177227
  36  0.0783922
Done.

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

Extracting fit parameters...

4FGL J1842.3+6810
   Spectrum: PowerLaw
344    Prefactor:  1.000e-04  2.131e-04  1.000e-04  1.000e+04 ( 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:  8.787e-01  7.839e-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:  1.255e+00  1.772e-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: 7.87e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.15e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/541775/likelihoodResults_678153601_678412801_4FGL_J1842.3+6810_daily_bin1693.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) = 13773.2494368
delta logL = -0.000222634198508

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13773.2492137
delta logL = 4.44904799224e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10426E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6418       1.0000          .0000       10.000    
     3 'Normalizat'    1.2550       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87869       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.

 FCN=   13773.25     FROM MIGRAD    STATUS=CONVERGED     74 CALLS      232 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10188E-03    2.7593        .10591    ** at limit **
   2  Index         2.7662        2.6365        .50000       -.53768E-04
   3  Normalizat    1.2550        .28119E-02    .78346E-01    .30809E-03
   4  Prefactor     .87871        .13076E-02    .44733E-01    .60005E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101883
  Index      = 2.76623
  Normalizat = 1.25496
  Prefactor  = 0.87871
 **********
 **   18 **HESSE 
 **********

 FCN=   13773.25     FROM HESSE     STATUS=NOT POSDEF    43 CALLS      275 TOTAL
                     EDM=   .99E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10188E-03    4.1109        .87939E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7662        2.7779        .50000       -.46313    
   3  Normalizat    1.2550        .29836E-02    .34678E-03   -.84921    
   4  Prefactor     .87871        .13894E-02    .18789E-03   -.96889    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.9491e-11
Minuit parameter uncertainties:
  1  0.00556488
  2  2.99721
  3  0.00298363
  4  0.00138937
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/541775': 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) = 13773.2492123
delta logL = 1.85514363693e-06

Extracting fit parameters...

4FGL J1842.3+6810
   Spectrum: PowerLaw
344    Prefactor:  1.019e-04  5.565e-03  1.000e-04  1.000e+04 ( 1.000e-13)
345        Index:  2.766e+00  2.997e+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:  8.787e-01  1.389e-03  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:  1.255e+00  2.984e-03  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/541775/cmap_HighResolution_678153601_678412801_4FGL_J1842.3+6810_daily_bin1693.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.15e-03', job_status='DONE', photon_flux_upper_limit='7.87e-08', time_completed='2022-07-02 03:18:16.431137', job_id='541775', GAL2='0.88', fit_tolerance='1e-08', EG2='1.25', EG='1.25', time_epoch_completed='1656757096.43', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='1.86e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1693' AND source_name='4FGL J1842.3+6810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul  2 03:18:16 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0109>
Subject: Job 541775: <4FGL_J1842.3+6810_daily_bin1693> in cluster <slac> Done

Job <4FGL_J1842.3+6810_daily_bin1693> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Jul  2 00:07:08 2022
Job was executed on host(s) <bullet0109>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  2 02:40:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul  2 02:40:21 2022
Terminated at Sat Jul  2 03:18:17 2022
Results reported at Sat Jul  2 03:18:17 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1842.3+6810_daily_bin1693 280.585 68.1686 678153601 678412801 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 :                                   2204.21 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             338.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   2275 sec.
    Turnaround time :                            11469 sec.

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

