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 19 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_J1808.2+3500_daily_bin1748
RA = 272.066, Dec = 35.0104
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='892580', job_status='RUN', time_executed='2022-12-14 01:01:00.313122', time_epoch_executed='1671008460.31' WHERE source_name='4FGL J1808.2+3500' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/892580

Creating custom pfile directory:
/scratch/kocevski/892580/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/892580/ft1_4FGL_J1808.2+3500_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/892580/ft2_4FGL_J1808.2+3500_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/892580/ft1_4FGL_J1808.2+3500_daily_bin1748.fits outfile=/scratch/kocevski/892580/ft1_filteredMKT_4FGL_J1808.2+3500_daily_bin1748.fits ra=272.066 dec=35.0104 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.35
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/892580/ft2_4FGL_J1808.2+3500_daily_bin1748.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/892580/ft2_4FGL_J1808.2+3500_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/892580/ft1_filteredMKT_4FGL_J1808.2+3500_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/892580/ft1_filtered_4FGL_J1808.2+3500_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.50
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 897

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/892580/ft1_filtered_4FGL_J1808.2+3500_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/892580/ft2_4FGL_J1808.2+3500_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/892580/ltcube_692409601_692668801_4FGL_J1808.2+3500_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/892580/ft2_4FGL_J1808.2+3500_daily_bin1748.fits
.....................!
real 12.34
user 11.97
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/892580/ft1_filtered_4FGL_J1808.2+3500_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/892580/ft2_4FGL_J1808.2+3500_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/892580/ltcube_692409601_692668801_4FGL_J1808.2+3500_daily_bin1748.fits outfile=/scratch/kocevski/892580/expmap_692409601_692668801_4FGL_J1808.2+3500_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/892580/ltcube_692409601_692668801_4FGL_J1808.2+3500_daily_bin1748.fits
.....................!
real 191.66
user 185.83
sys 5.45

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

Setting source of interest to:
4FGL J1808.2+3500 @ 272.066 35.0104

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/892580/ft1_filtered_4FGL_J1808.2+3500_daily_bin1748.fits scfile=/scratch/kocevski/892580/ft2_4FGL_J1808.2+3500_daily_bin1748.fits outfile=/scratch/kocevski/892580/cmap_692409601_692668801_4FGL_J1808.2+3500_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=272.066 yref=35.0104 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.58
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/892580/ft1_filtered_4FGL_J1808.2+3500_daily_bin1748.fits scfile=/scratch/kocevski/892580/ft2_4FGL_J1808.2+3500_daily_bin1748.fits outfile=/scratch/kocevski/892580/cmap_HighResolution_692409601_692668801_4FGL_J1808.2+3500_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=272.066 yref=35.0104 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/892580/ft1_filtered_4FGL_J1808.2+3500_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/892580/ft2_4FGL_J1808.2+3500_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/892580/Model_4FGL_J1808.2+3500_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/892580/ft1_filtered_4FGL_J1808.2+3500_daily_bin1748.fits.....................!
real 81.17
user 79.72
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/892580/ft1_filtered_4FGL_J1808.2+3500_daily_bin1748.fits', '/scratch/kocevski/892580/ft2_4FGL_J1808.2+3500_daily_bin1748.fits', expMap='/scratch/kocevski/892580/expmap_692409601_692668801_4FGL_J1808.2+3500_daily_bin1748.fits', expCube='/scratch/kocevski/892580/ltcube_692409601_692668801_4FGL_J1808.2+3500_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/892580/Model_4FGL_J1808.2+3500_daily_bin1748.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1808.2+3500'

4FGL J1808.2+3500
   Spectrum: PowerLaw
358    Prefactor:  1.117e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
359        Index:  2.260e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
360        Scale:  1.888e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/892580/ft1_filtered_4FGL_J1808.2+3500_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/892580/ft2_4FGL_J1808.2+3500_daily_bin1748.fits
Exposure map: /scratch/kocevski/892580/expmap_692409601_692668801_4FGL_J1808.2+3500_daily_bin1748.fits
Exposure cube: /scratch/kocevski/892580/ltcube_692409601_692668801_4FGL_J1808.2+3500_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/892580/Model_4FGL_J1808.2+3500_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) = 9282.70927163

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.4886       1.0000          .0000       .10000E+07
     2 'norm      '    3.4867       1.0000          .0000       .10000E+07
     3 'Prefactor '    18.101       1.0000          .0000       .10000E+07
     4 'Prefactor '    .49024E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .49290E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    9.6978       1.0000          .0000       .10000E+07
     7 'Prefactor '    46.053       1.0000          .0000       .10000E+07
     8 'Prefactor '    .77889E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .47467E-03   1.0000          .0000       .10000E+07
    10 'norm      '    1.0662       1.0000          .0000       .10000E+07
    11 'norm      '    9.3548       1.0000          .0000       .10000E+07
    12 'norm      '    2.0781       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.3165       1.0000          .0000       .10000E+07
    14 'norm      '    13.679       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.3542       1.0000          .0000       .10000E+07
    16 'Prefactor '    .67861E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    17.049       1.0000          .0000       .10000E+07
    18 'norm      '    .15063E-01   1.0000          .0000       .10000E+07
    19 'norm      '    1.1443       1.0000          .0000       .10000E+07
    20 'norm      '    .55956E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    .58391E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    .18905E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.2541       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .91465       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6770E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9282.666     FROM MIGRAD    STATUS=CONVERGED    211 CALLS     2060 TOTAL
                     EDM=   .22E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4417        8.4335       -.12602E-06    .22928E-03
   2  norm          3.5018        3.5525        .44050E-07   -.31736E-03
   3  Prefactor     17.885        3.4005       -.58580E-07    .35121E-02
   4  Prefactor     .55511E-10    121.49       -.16957E-05** at limit **
   5  Prefactor     .55511E-10    13.180        .53062E-06** at limit **
   6  Prefactor     9.7290        11.078        .93765E-07   -.17032E-03
   7  Prefactor     45.321        29.585        .30855E-07   -.12048E-02
   8  Prefactor      .0000        57.886       -.40780E-06** at limit **
   9  Prefactor      .0000        3.7332        .24339E-06** at limit **
  10  norm          1.0663        1.2430        .56864E-07   -.32004E-03
  11  norm          9.8280        11.372        .69740E-08   -.15014E-02
  12  norm          2.2129        7.0159        .16665E-06   -.56457E-04
  13  Prefactor     2.4122        5.3893       -.31616E-06    .49651E-03
  14  norm          13.687        8.4666       -.17707E-07    .17272E-03
  15  Prefactor     2.3596        4.3957        .29785E-06    .19175E-03
  16  Prefactor      .0000        7.4955        .77346E-07** at limit **
  17  Prefactor     17.035        8.7355        .12464E-07    .61635E-04
  18  norm           .0000        18.729        .44047E-06** at limit **
  19  norm          1.1476        2.1833       -.16823E-06    .13005E-02
  20  norm          .55511E-10    7.0396       -.37405E-06** at limit **
  21  Prefactor      .0000        10.587        .11605E-06** at limit **
  22  Prefactor     .55511E-10    9.5669        .43363E-06** at limit **
  23  Normalizat    1.2536        .24267       -.28488E-07    .63248E-04
  24  Prefactor     .91473        .10707       -.13933E-05    .13852E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.44169
  norm       = 3.50181
  Prefactor  = 17.8851
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-11
  Prefactor  = 9.72896
  Prefactor  = 45.3209
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.06627
  norm       = 9.82804
  norm       = 2.21294
  Prefactor  = 2.41219
  norm       = 13.6875
  Prefactor  = 2.35961
  Prefactor  = 0
  Prefactor  = 17.0354
  norm       = 0
  norm       = 1.14765
  norm       = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Normalizat = 1.25358
  Prefactor  = 0.914726
 **********
 **   18 **HESSE 
 **********

 FCN=   9282.666     FROM HESSE     STATUS=OK           451 CALLS     2511 TOTAL
                     EDM=   .34E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4417        8.4962        .54110E-03   -1.5671    
   2  norm          3.5018        3.6735        .54125E-03   -1.5671    
   3  Prefactor     17.885        52.487        .23514E-03   -1.5623    
   4  Prefactor     .55511E-10    121.86        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .55511E-10    13.170        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.7290        11.098        .32155E-03   -1.5646    
   7  Prefactor     45.321        31.471        .14737E-03   -1.5573    
   8  Prefactor      .0000        58.140        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        3.7417        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.0663        1.2448        .11801E-03   -1.5687    
  11  norm          9.8280        32.777        .32742E-03   -1.5645    
  12  norm          2.2129        7.0608        .71614E-03   -1.5678    
  13  Prefactor     2.4122        5.4193        .67374E-03   -1.5677    
  14  norm          13.687        8.4642        .27056E-03   -1.5634    
  15  Prefactor     2.3596        4.4070        .66775E-03   -1.5677    
  16  Prefactor      .0000        7.5121        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     17.035        8.7977        .24230E-03   -1.5625    
  18  norm           .0000        18.718        .17386E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.1476        2.6046        .10845E-02   -1.5687    
  20  norm          .55511E-10    1.3736        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        10.562        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .55511E-10    9.5702        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2536        .20805        .75609E-01   -.84963    
  24  Prefactor     .91473        .90625E-01    .45191E-01   -.95628    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.35798e-07
Minuit parameter uncertainties:
  1  8.49621
  2  3.67347
  3  52.4884
  4  0.000126495
  5  5.98432e-05
  6  11.098
  7  31.4708
  8  3.90017e-06
  9  1.4243e-05
  10  1.24483
  11  32.7773
  12  7.06083
  13  5.41932
  14  8.46425
  15  4.40696
  16  1.21225e-06
  17  8.79768
  18  1.82339e-05
  19  2.60461
  20  1.37723e-05
  21  1.62714e-05
  22  3.30332e-05
  23  0.208188
  24  0.0906398
Done.

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

Extracting fit parameters...

4FGL J1808.2+3500
   Spectrum: PowerLaw
358    Prefactor:  2.412e+00  5.419e+00  0.000e+00  1.000e+06 ( 1.000e-13)
359        Index:  2.260e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
360        Scale:  1.888e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
674    Prefactor:  9.147e-01  9.064e-02  0.000e+00  1.000e+01 ( 1.000e+00)
675        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
676        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
673   Normalization:  1.254e+00  2.082e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.25
Ra Dec: 272.066 35.010
Photon Flux Upper Limit: 9.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.31e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/892580/likelihoodResults_692409601_692668801_4FGL_J1808.2+3500_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) = 9282.31747844
delta logL = 0.348490363465

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9282.31505539
delta logL = 0.350913413284

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9282.315     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      325 TOTAL
                     EDM=   .82E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40539        6.8370        .89215E-03    .23874E-01
   2  Index         3.5073        2.2435        .11189        .24083E-03
   3  Normalizat    1.2083        .42496E-01    .76800E-01    .29555E-04
   4  Prefactor     .92648        .19231E-01    .45339E-01    .25058E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.405391
  Index      = 3.50732
  Normalizat = 1.20835
  Prefactor  = 0.926482
 **********
 **   18 **HESSE 
 **********

 FCN=   9282.315     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      358 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40539        23.674        .65169E-05   -1.5695    
   2  Index         3.5073        6.7528        .60985E-02   -.30316    
   3  Normalizat    1.2083        .20107        .33992E-03   -.86345    
   4  Prefactor     .92648        .88574E-01    .17266E-03   -.95222    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.61436e-06
Minuit parameter uncertainties:
  1  6.19593
  2  6.17101
  3  0.201203
  4  0.0885878
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/892580': 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) = 9282.31505058
delta logL = 0.350918221977

Extracting fit parameters...

4FGL J1808.2+3500
   Spectrum: PowerLaw
358    Prefactor:  4.054e-01  6.196e+00  0.000e+00  1.000e+06 ( 1.000e-13)
359        Index:  3.507e+00  6.171e+00  0.000e+00  1.000e+01 (-1.000e+00)
360        Scale:  1.888e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
674    Prefactor:  9.265e-01  8.859e-02  0.000e+00  1.000e+01 ( 1.000e+00)
675        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
676        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
673   Normalization:  1.208e+00  2.012e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.25
Ra Dec: 272.066 35.010

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/892580/cmap_HighResolution_692409601_692668801_4FGL_J1808.2+3500_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.31e-03', job_status='DONE', photon_flux_upper_limit='9.55e-08', time_completed='2022-12-14 01:15:25.942129', job_id='892580', GAL2='0.93', fit_tolerance='1e-08', EG2='1.21', EG='1.25', time_epoch_completed='1671009325.94', return_code2='102', ts='0.25', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='3.51e-01', ts2='0.99', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='1748' AND source_name='4FGL J1808.2+3500' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:15:25 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 892580: <4FGL_J1808.2+3500_daily_bin1748> in cluster <slac> Done

Job <4FGL_J1808.2+3500_daily_bin1748> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Dec 14 01:00:22 2022
Job was executed on host(s) <bullet0249>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 01:00:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 01:00:23 2022
Terminated at Wed Dec 14 01:15:26 2022
Results reported at Wed Dec 14 01:15:26 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1808.2+3500_daily_bin1748 272.066 35.0104 692409601 692668801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1808.2+3500 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   866.39 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             335.59 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.

