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


Performing analysis on: 4FGL_J1209.8+1810_daily_bin1747
RA = 182.466, Dec = 18.1776
tmin = 692150401, tmax = 692409601
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='800812', job_status='RUN', time_executed='2022-12-11 00:51:19.997943', time_epoch_executed='1670748680.0' WHERE source_name='4FGL J1209.8+1810' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/800812

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/800812/ft1_4FGL_J1209.8+1810_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/800812/ft2_4FGL_J1209.8+1810_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/800812/ft1_4FGL_J1209.8+1810_daily_bin1747.fits outfile=/scratch/kocevski/800812/ft1_filteredMKT_4FGL_J1209.8+1810_daily_bin1747.fits ra=182.466 dec=18.1776 rad=12.0 tmin=692150401.0 tmax=692409601.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.02
user 3.77
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/800812/ft2_4FGL_J1209.8+1810_daily_bin1747.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/800812/ft2_4FGL_J1209.8+1810_daily_bin1747.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/800812/ft1_filteredMKT_4FGL_J1209.8+1810_daily_bin1747.fits evtable="EVENTS" outfile="/scratch/kocevski/800812/ft1_filtered_4FGL_J1209.8+1810_daily_bin1747.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.51
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 749

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/800812/ft1_filtered_4FGL_J1209.8+1810_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/800812/ft2_4FGL_J1209.8+1810_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/800812/ltcube_692150401_692409601_4FGL_J1209.8+1810_daily_bin1747.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/800812/ft2_4FGL_J1209.8+1810_daily_bin1747.fits
.....................!
real 12.23
user 11.81
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/800812/ft1_filtered_4FGL_J1209.8+1810_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/800812/ft2_4FGL_J1209.8+1810_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/800812/ltcube_692150401_692409601_4FGL_J1209.8+1810_daily_bin1747.fits outfile=/scratch/kocevski/800812/expmap_692150401_692409601_4FGL_J1209.8+1810_daily_bin1747.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/800812/ltcube_692150401_692409601_4FGL_J1209.8+1810_daily_bin1747.fits
.....................!
real 191.26
user 185.89
sys 5.01

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

Setting source of interest to:
4FGL J1209.8+1810 @ 182.466 18.1776

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/800812/ft1_filtered_4FGL_J1209.8+1810_daily_bin1747.fits scfile=/scratch/kocevski/800812/ft2_4FGL_J1209.8+1810_daily_bin1747.fits outfile=/scratch/kocevski/800812/cmap_692150401_692409601_4FGL_J1209.8+1810_daily_bin1747.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=182.466 yref=18.1776 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/800812/ft1_filtered_4FGL_J1209.8+1810_daily_bin1747.fits scfile=/scratch/kocevski/800812/ft2_4FGL_J1209.8+1810_daily_bin1747.fits outfile=/scratch/kocevski/800812/cmap_HighResolution_692150401_692409601_4FGL_J1209.8+1810_daily_bin1747.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=182.466 yref=18.1776 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.60
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/800812/ft1_filtered_4FGL_J1209.8+1810_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/800812/ft2_4FGL_J1209.8+1810_daily_bin1747.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/800812/Model_4FGL_J1209.8+1810_daily_bin1747.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/800812/ft1_filtered_4FGL_J1209.8+1810_daily_bin1747.fits.....................!
real 72.65
user 71.28
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/800812/ft1_filtered_4FGL_J1209.8+1810_daily_bin1747.fits', '/scratch/kocevski/800812/ft2_4FGL_J1209.8+1810_daily_bin1747.fits', expMap='/scratch/kocevski/800812/expmap_692150401_692409601_4FGL_J1209.8+1810_daily_bin1747.fits', expCube='/scratch/kocevski/800812/ltcube_692150401_692409601_4FGL_J1209.8+1810_daily_bin1747.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/800812/Model_4FGL_J1209.8+1810_daily_bin1747.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1209.8+1810'

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  1.095e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
285        Index:  2.411e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  8.871e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/800812/ft1_filtered_4FGL_J1209.8+1810_daily_bin1747.fits
Spacecraft file(s): /scratch/kocevski/800812/ft2_4FGL_J1209.8+1810_daily_bin1747.fits
Exposure map: /scratch/kocevski/800812/expmap_692150401_692409601_4FGL_J1209.8+1810_daily_bin1747.fits
Exposure cube: /scratch/kocevski/800812/ltcube_692150401_692409601_4FGL_J1209.8+1810_daily_bin1747.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/800812/Model_4FGL_J1209.8+1810_daily_bin1747.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) = 8072.72725388

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15253E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    4.7666       1.0000          .0000       .10000E+07
     3 'Prefactor '    .12049E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .13189E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .34925       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.3390       1.0000          .0000       .10000E+07
     7 'norm      '    41.194       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.4917       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.2604       1.0000          .0000       .10000E+07
    10 'Prefactor '    .25080       1.0000          .0000       .10000E+07
    11 'Prefactor '    .22740E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .79701E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .15931       1.0000          .0000       .10000E+07
    14 'Prefactor '    .42747E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .61395E-07   1.0000          .0000       .10000E+07
    16 'norm      '    .66037E-01   1.0000          .0000       .10000E+07
    17 'norm      '    10.640       1.0000          .0000       .10000E+07
    18 'Prefactor '    .47472E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    3.5187       1.0000          .0000       .10000E+07
    20 'Prefactor '    .26191E-05   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.0648       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0459       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8072.724     FROM MIGRAD    STATUS=CONVERGED    143 CALLS     1927 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .98810E-08    2.6391       -.90815E-07** at limit **
   2  Prefactor     4.8754        25.557        .95741E-05   -.14727E-01
   3  Prefactor     .27756E-09    6.3656        .12326E-05** at limit **
   4  Prefactor     .65503E-08    4.2897       -.22690E-06** at limit **
   5  Prefactor     .78038E-06    8.4707       -.12886E-05** at limit **
   6  Prefactor     5.3398        4.0843        .67775E-06    .35178E-01
   7  norm          41.165        3.8488       -.33638E-07   -.17400E-01
   8  Prefactor     3.4942        1.4872        .55657E-06    .14173E-01
   9  Prefactor     1.2558        3.4945        .30271E-06   -.23331E-02
  10  Prefactor     .29535E-05    7.8024       -.41982E-05** at limit **
  11  Prefactor     .88818E-09    2.3980       -.25293E-06** at limit **
  12  Prefactor     .59452E-07    1.3384        .14361E-05** at limit **
  13  Prefactor     .16174        7.1790        .22397E-05** at limit **
  14  Prefactor     .55511E-10    11.770        .24485E-05** at limit **
  15  Prefactor     .55511E-10    1.4482        .51803E-06** at limit **
  16  norm          .65800E-01    .18579        .26990E-07** at limit **
  17  norm          10.613        4.6402        .19234E-06    .76774E-02
  18  Prefactor     .55456E-07    9.2750       -.18608E-07** at limit **
  19  Prefactor     3.5161        3.2836       -.71095E-06   -.38064E-01
  20  Prefactor     .19429E-08    2.6025       -.57823E-06** at limit **
  21  Normalizat    1.0651        .20688       -.17020E-04   -.54094E-03
  22  Prefactor     1.0458        .19931        .56178E-05   -.61931E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.88098e-09
  Prefactor  = 4.87536
  Prefactor  = 2.77556e-10
  Prefactor  = 6.55032e-09
  Prefactor  = 7.80376e-07
  Prefactor  = 5.33981
  norm       = 41.1655
  Prefactor  = 3.49423
  Prefactor  = 1.25583
  Prefactor  = 2.95353e-06
  Prefactor  = 8.88178e-10
  Prefactor  = 5.94524e-08
  Prefactor  = 0.161742
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-11
  norm       = 0.0657995
  norm       = 10.6126
  Prefactor  = 5.54556e-08
  Prefactor  = 3.51611
  Prefactor  = 1.94289e-09
  Normalizat = 1.06506
  Prefactor  = 1.04584
 **********
 **   18 **HESSE 
 **********

 FCN=   8072.724     FROM HESSE     STATUS=OK           400 CALLS     2327 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .98810E-08    3.0114        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.8754        32.363        .46060E-03   -1.5664    
   3  Prefactor     .27756E-09    6.3871        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .65503E-08    .98400        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .78038E-06    73.073        .95619E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.3398        8.1329        .43471E-03   -1.5662    
   7  norm          41.165        3.8783        .15582E-03   -1.5580    
   8  Prefactor     3.4942        10.560        .54085E-03   -1.5671    
   9  Prefactor     1.2558        3.5373        .99317E-03   -1.5686    
  10  Prefactor     .29535E-05    56.778        .10934E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .88818E-09    2.4050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .59452E-07    2.1531        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .16174        1.0682        .55727E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .55511E-10    13.477        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    1.4564        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .65800E-01    .14679        .13962E-02   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          10.613        4.6485        .30691E-03   -1.5643    
  18  Prefactor     .55456E-07    10.009        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.5161        9.8244        .53869E-03   -1.5670    
  20  Prefactor     .19429E-08    2.8988        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0651        .17238        .62499E-01   -.90882    
  22  Prefactor     1.0458        .16484        .62116E-01   -.91217    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.62982e-07
Minuit parameter uncertainties:
  1  0.0003451
  2  25.1224
  3  8.02879e-05
  4  0.00016045
  5  0.0151032
  6  8.13295
  7  3.87835
  8  10.5604
  9  3.53732
  10  0.0258997
  11  9.2453e-05
  12  0.0007154
  13  0.831302
  14  4.97265e-05
  15  1.84168e-05
  16  0.146787
  17  4.64847
  18  0.00149037
  19  9.82442
  20  0.000150557
  21  0.172473
  22  0.164916
Done.

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

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  8.882e-10  9.245e-05  0.000e+00  1.000e+06 ( 1.000e-12)
285        Index:  2.411e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  8.871e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  1.046e+00  1.649e-01  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.065e+00  1.725e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 182.466 18.178
Photon Flux Upper Limit: 8.03e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.21e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/800812/likelihoodResults_692150401_692409601_4FGL_J1209.8+1810_daily_bin1747.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) = 8072.73554252
delta logL = -0.0115408544316

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8072.72399941
delta logL = 2.2579833967e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96328E-03   1.0000          .0000       .10000E+07
     2 'Index     '    2.8342       1.0000          .0000       10.000    
     3 'Normalizat'    1.0652       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0457       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8072.461     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      302 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .64227E-01    1.6090        .42118E-03** at limit **
   2  Index         4.5443        3.2520        .14851        .16889E-03
   3  Normalizat    1.0172        .32568E-01    .63798E-01   -.50546E-04
   4  Prefactor     1.0738        .32262E-01    .61412E-01   -.47285E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0642265
  Index      = 4.54432
  Normalizat = 1.01722
  Prefactor  = 1.07378
 **********
 **   18 **HESSE 
 **********

 FCN=   8072.461     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      335 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .64227E-01    6.3679        .31394E-05   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.5443        6.9586        .88083E-02   -.91262E-01
   3  Normalizat    1.0172        .16189        .28221E-03   -.92456    
   4  Prefactor     1.0738        .15638        .27159E-03   -.90309    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.15528e-09
Minuit parameter uncertainties:
  1  1.27904
  2  9.88735
  3  0.161971
  4  0.156443
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/800812': 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) = 8072.46069257
delta logL = 0.263309097337

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  6.423e-02  1.279e+00  0.000e+00  1.000e+06 ( 1.000e-12)
285        Index:  4.544e+00  9.887e+00  0.000e+00  1.000e+01 (-1.000e+00)
286        Scale:  8.871e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  1.074e+00  1.564e-01  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.017e+00  1.620e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 182.466 18.178

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/800812/cmap_HighResolution_692150401_692409601_4FGL_J1209.8+1810_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.21e-03', job_status='DONE', photon_flux_upper_limit='8.03e-08', time_completed='2022-12-11 01:03:35.445411', job_id='800812', GAL2='1.07', fit_tolerance='1e-08', EG2='1.02', EG='1.07', time_epoch_completed='1670749415.45', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='2.63e-01', ts2='0.58', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1747' AND source_name='4FGL J1209.8+1810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 01:03:35 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0193>
Subject: Job 800812: <4FGL_J1209.8+1810_daily_bin1747> in cluster <slac> Done

Job <4FGL_J1209.8+1810_daily_bin1747> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Dec 11 00:50:19 2022
Job was executed on host(s) <bullet0193>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 00:50:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 00:50:21 2022
Terminated at Sun Dec 11 01:03:36 2022
Results reported at Sun Dec 11 01:03:36 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1209.8+1810_daily_bin1747 182.466 18.1776 692150401 692409601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1209.8+1810 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   737.24 sec.
    Max Memory :                                 1106 MB
    Average Memory :                             292.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   794 sec.
    Turnaround time :                            797 sec.

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

