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 228 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_J1209.8+1810_daily_bin1748
RA = 182.466, Dec = 18.1776
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='884828', job_status='RUN', time_executed='2022-12-14 00:39:14.321663', time_epoch_executed='1671007154.32' WHERE source_name='4FGL J1209.8+1810' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/884828

Creating custom pfile directory:
/scratch/kocevski/884828/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/884828/ft1_4FGL_J1209.8+1810_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/884828/ft2_4FGL_J1209.8+1810_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/884828/ft1_4FGL_J1209.8+1810_daily_bin1748.fits outfile=/scratch/kocevski/884828/ft1_filteredMKT_4FGL_J1209.8+1810_daily_bin1748.fits ra=182.466 dec=18.1776 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.54
user 3.33
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/884828/ft2_4FGL_J1209.8+1810_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/884828/ft1_filteredMKT_4FGL_J1209.8+1810_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/884828/ft1_filtered_4FGL_J1209.8+1810_daily_bin1748.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 831

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/884828/ft1_filtered_4FGL_J1209.8+1810_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/884828/ft2_4FGL_J1209.8+1810_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/884828/ltcube_692409601_692668801_4FGL_J1209.8+1810_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/884828/ft2_4FGL_J1209.8+1810_daily_bin1748.fits
.....................!
real 12.14
user 11.77
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/884828/ft1_filtered_4FGL_J1209.8+1810_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/884828/ft2_4FGL_J1209.8+1810_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/884828/ltcube_692409601_692668801_4FGL_J1209.8+1810_daily_bin1748.fits outfile=/scratch/kocevski/884828/expmap_692409601_692668801_4FGL_J1209.8+1810_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/884828/ltcube_692409601_692668801_4FGL_J1209.8+1810_daily_bin1748.fits
.....................!
real 190.57
user 185.73
sys 4.48

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/884828/ft1_filtered_4FGL_J1209.8+1810_daily_bin1748.fits scfile=/scratch/kocevski/884828/ft2_4FGL_J1209.8+1810_daily_bin1748.fits outfile=/scratch/kocevski/884828/cmap_692409601_692668801_4FGL_J1209.8+1810_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=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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/884828/ft1_filtered_4FGL_J1209.8+1810_daily_bin1748.fits scfile=/scratch/kocevski/884828/ft2_4FGL_J1209.8+1810_daily_bin1748.fits outfile=/scratch/kocevski/884828/cmap_HighResolution_692409601_692668801_4FGL_J1209.8+1810_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=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.54
user 0.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/884828/ft1_filtered_4FGL_J1209.8+1810_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/884828/ft2_4FGL_J1209.8+1810_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/884828/Model_4FGL_J1209.8+1810_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/884828/ft1_filtered_4FGL_J1209.8+1810_daily_bin1748.fits.....................!
real 78.34
user 76.92
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/884828/ft1_filtered_4FGL_J1209.8+1810_daily_bin1748.fits', '/scratch/kocevski/884828/ft2_4FGL_J1209.8+1810_daily_bin1748.fits', expMap='/scratch/kocevski/884828/expmap_692409601_692668801_4FGL_J1209.8+1810_daily_bin1748.fits', expCube='/scratch/kocevski/884828/ltcube_692409601_692668801_4FGL_J1209.8+1810_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/884828/Model_4FGL_J1209.8+1810_daily_bin1748.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/884828/ft1_filtered_4FGL_J1209.8+1810_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/884828/ft2_4FGL_J1209.8+1810_daily_bin1748.fits
Exposure map: /scratch/kocevski/884828/expmap_692409601_692668801_4FGL_J1209.8+1810_daily_bin1748.fits
Exposure cube: /scratch/kocevski/884828/ltcube_692409601_692668801_4FGL_J1209.8+1810_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/884828/Model_4FGL_J1209.8+1810_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) = 8833.07676752

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .65605E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    22.921       1.0000          .0000       .10000E+07
     3 'Prefactor '    .71898E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    2.6381       1.0000          .0000       .10000E+07
     5 'Prefactor '    .97318E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .60336E-03   1.0000          .0000       .10000E+07
     7 'norm      '    34.774       1.0000          .0000       .10000E+07
     8 'Prefactor '    .75990E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .59941       1.0000          .0000       .10000E+07
    10 'Prefactor '    .19716E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.5102       1.0000          .0000       .10000E+07
    12 'Prefactor '    .10719E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .78602       1.0000          .0000       .10000E+07
    14 'Prefactor '    26.848       1.0000          .0000       .10000E+07
    15 'Prefactor '    .15576E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .76377E-01   1.0000          .0000       .10000E+07
    17 'norm      '    7.1010       1.0000          .0000       .10000E+07
    18 'Prefactor '    18.097       1.0000          .0000       .10000E+07
    19 'Prefactor '    15.102       1.0000          .0000       .10000E+07
    20 'Prefactor '    .31831E-04   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.2353       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0723       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=   8833.040     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     1436 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .25202E-07    5.8715        .51596E-06** at limit **
   2  Prefactor     23.324        17.980       -.23687E-06   -.96154E-01
   3  Prefactor     .33307E-09    3.4180       -.27510E-06** at limit **
   4  Prefactor     2.6301        1.8210        .18499E-06   -.34928E-02
   5  Prefactor     .92981E-06    105.20        .27510E-06** at limit **
   6  Prefactor     .11824E-07    5.4776       -.23533E-06** at limit **
   7  norm          34.764        3.4349       -.73190E-07    .54317E-02
   8  Prefactor     .74440E-06    23.229       -.43888E-06** at limit **
   9  Prefactor     .59673        5.8715        .10213E-05   -.19510E-02
  10  Prefactor     .98027E-05    28.411       -.35219E-06** at limit **
  11  Prefactor     1.5138        2.0787       -.16945E-06   -.30176E-03
  12  Prefactor     .55511E-10    1.4485       -.52045E-06** at limit **
  13  Prefactor     .78531        1.4215        .21467E-06   -.24027E-02
  14  Prefactor     26.054        7.7910        .58252E-07   -.45357E-01
  15  Prefactor     .17579E-03    9.9283        .47859E-07** at limit **
  16  norm          .76436E-01    .13807        .10161E-08** at limit **
  17  norm          7.1193        4.3535       -.16803E-07    .43489E-02
  18  Prefactor     18.096        13.127       -.52919E-07   -.24683E-01
  19  Prefactor     15.106        10.273       -.47655E-07   -.14013E-01
  20  Prefactor      .0000        2.2091        .89589E-07** at limit **
  21  Normalizat    1.2350        .21108        .12682E-04   -.12071E-03
  22  Prefactor     1.0726        .20271       -.13419E-04   -.52773E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.52021e-08
  Prefactor  = 23.3235
  Prefactor  = 3.33067e-10
  Prefactor  = 2.6301
  Prefactor  = 9.29812e-07
  Prefactor  = 1.18239e-08
  norm       = 34.7644
  Prefactor  = 7.44405e-07
  Prefactor  = 0.59673
  Prefactor  = 9.80271e-06
  Prefactor  = 1.51377
  Prefactor  = 5.55112e-11
  Prefactor  = 0.785306
  Prefactor  = 26.0544
  Prefactor  = 0.000175791
  norm       = 0.076436
  norm       = 7.1193
  Prefactor  = 18.0957
  Prefactor  = 15.1056
  Prefactor  = 0
  Normalizat = 1.23502
  Prefactor  = 1.07256
 **********
 **   18 **HESSE 
 **********

 FCN=   8833.040     FROM HESSE     STATUS=OK           398 CALLS     1834 TOTAL
                     EDM=   .23E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .25202E-07    5.8925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     23.324        19.323        .20893E-03   -1.5611    
   3  Prefactor     .33307E-09    3.4248        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.6301        1.8370        .62750E-03   -1.5676    
   5  Prefactor     .92981E-06    105.68        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11824E-07    5.5037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          34.764        3.4369        .16960E-03   -1.5590    
   8  Prefactor     .74440E-06    24.040        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .59673        5.9003        .69281E-03   -1.5693    
  10  Prefactor     .98027E-05    31.835        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.5138        2.1141        .87007E-03   -1.5683    
  12  Prefactor     .55511E-10    1.4384        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .78531        1.4381        .53983E-03   -1.5690    
  14  Prefactor     26.054        21.105        .19303E-03   -1.5606    
  15  Prefactor     .17579E-03    3.8181        .59499E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .76436E-01    .15182        .10286E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          7.1193        4.4693        .37621E-03   -1.5655    
  18  Prefactor     18.096        13.139        .23516E-03   -1.5623    
  19  Prefactor     15.106        10.279        .25747E-03   -1.5630    
  20  Prefactor      .0000        2.2103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2350        .17687        .63387E-01   -.85527    
  22  Prefactor     1.0726        .16853        .66158E-01   -.90349    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30003e-06
Minuit parameter uncertainties:
  1  0.0007707
  2  19.3231
  3  6.95712e-05
  4  1.83704
  5  0.019826
  6  0.00051055
  7  3.43693
  8  0.00846052
  9  3.7528
  10  0.0353311
  11  2.11411
  12  1.49532e-05
  13  1.43812
  14  21.1055
  15  0.0518145
  16  0.151823
  17  4.46932
  18  13.1394
  19  10.2785
  20  1.8321e-06
  21  0.176954
  22  0.168612
Done.

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

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  1.514e+00  2.114e+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

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  1.073e+00  1.686e-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.235e+00  1.770e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/884828/likelihoodResults_692409601_692668801_4FGL_J1209.8+1810_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) = 8833.02297416
delta logL = 0.0170274156862

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8833.01511218
delta logL = 0.0248893946609

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2202       1.0000          .0000       .10000E+07
     2 'Index     '    2.7094       1.0000          .0000       10.000    
     3 'Normalizat'    1.2265       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0783       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=   8833.015     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      214 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2192        32.235        .10208E-02    .11778E-01
   2  Index         2.7098        6.3494        .22862        .67552E-04
   3  Normalizat    1.2265        .40815E-01    .63580E-01    .96759E-05
   4  Prefactor     1.0783        .38189E-01    .66007E-01    .12743E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.21918
  Index      = 2.70983
  Normalizat = 1.22648
  Prefactor  = 1.07827
 **********
 **   18 **HESSE 
 **********

 FCN=   8833.015     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2192        2.8993        .13032E-04   -1.5686    
   2  Index         2.7098        1.7758        .11800E-01   -.47578    
   3  Normalizat    1.2265        .21200        .28123E-03   -.85788    
   4  Prefactor     1.0783        .20516        .29198E-03   -.90164    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39916e-08
Minuit parameter uncertainties:
  1  2.89926
  2  1.82675
  3  0.212152
  4  0.205312
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/884828': 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): 0
logL (Free Index) = 8833.01511209
delta logL = 0.024889483615

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  1.219e+00  2.899e+00  0.000e+00  1.000e+06 ( 1.000e-12)
285        Index:  2.710e+00  1.827e+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.078e+00  2.053e-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.226e+00  2.122e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.73
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/884828/cmap_HighResolution_692409601_692668801_4FGL_J1209.8+1810_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.84e-03', job_status='DONE', photon_flux_upper_limit='8.84e-08', time_completed='2022-12-14 00:50:54.182919', job_id='884828', GAL2='1.08', fit_tolerance='1e-08', EG2='1.23', EG='1.24', time_epoch_completed='1671007854.18', return_code2='0', ts='0.73', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='2.49e-02', ts2='0.77', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1748' AND source_name='4FGL J1209.8+1810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 00:50:54 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 884828: <4FGL_J1209.8+1810_daily_bin1748> in cluster <slac> Done

Job <4FGL_J1209.8+1810_daily_bin1748> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Dec 14 00:35:17 2022
Job was executed on host(s) <bullet0082>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:35:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:35:17 2022
Terminated at Wed Dec 14 00:50:55 2022
Results reported at Wed Dec 14 00:50:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1209.8+1810_daily_bin1748 182.466 18.1776 692409601 692668801 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 :                                   702.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             236.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   937 sec.
    Turnaround time :                            938 sec.

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

