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


Performing analysis on: 4FGL_J1209.8+1810_daily_bin1711
RA = 182.466, Dec = 18.1776
tmin = 682819201, tmax = 683078401
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='115723', job_status='RUN', time_executed='2022-09-16 16:36:18.412533', time_epoch_executed='1663371378.41' WHERE source_name='4FGL J1209.8+1810' and cadence='daily' and bin_id='1711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/115723

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/115723/ft1_4FGL_J1209.8+1810_daily_bin1711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/115723/ft2_4FGL_J1209.8+1810_daily_bin1711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/115723/ft1_4FGL_J1209.8+1810_daily_bin1711.fits outfile=/scratch/kocevski/115723/ft1_filteredMKT_4FGL_J1209.8+1810_daily_bin1711.fits ra=182.466 dec=18.1776 rad=12.0 tmin=682819201.0 tmax=683078401.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.60
user 4.33
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/115723/ft2_4FGL_J1209.8+1810_daily_bin1711.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/115723/ft1_filteredMKT_4FGL_J1209.8+1810_daily_bin1711.fits evtable="EVENTS" outfile="/scratch/kocevski/115723/ft1_filtered_4FGL_J1209.8+1810_daily_bin1711.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.54
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 527

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/115723/ft1_filtered_4FGL_J1209.8+1810_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/115723/ft2_4FGL_J1209.8+1810_daily_bin1711.fits sctable="SC_DATA" expcube=/scratch/kocevski/115723/ltcube_682819201_683078401_4FGL_J1209.8+1810_daily_bin1711.fits outfile=/scratch/kocevski/115723/expmap_682819201_683078401_4FGL_J1209.8+1810_daily_bin1711.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/115723/ltcube_682819201_683078401_4FGL_J1209.8+1810_daily_bin1711.fits
.....................!
real 191.32
user 186.12
sys 4.80

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/115723/ft1_filtered_4FGL_J1209.8+1810_daily_bin1711.fits scfile=/scratch/kocevski/115723/ft2_4FGL_J1209.8+1810_daily_bin1711.fits outfile=/scratch/kocevski/115723/cmap_682819201_683078401_4FGL_J1209.8+1810_daily_bin1711.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.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/115723/ft1_filtered_4FGL_J1209.8+1810_daily_bin1711.fits scfile=/scratch/kocevski/115723/ft2_4FGL_J1209.8+1810_daily_bin1711.fits outfile=/scratch/kocevski/115723/cmap_HighResolution_682819201_683078401_4FGL_J1209.8+1810_daily_bin1711.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.56
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.4057       1.0000          .0000       .10000E+07
     2 'Prefactor '    .47582E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .70469E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .14836       1.0000          .0000       .10000E+07
     5 'Prefactor '    .54020E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.2230       1.0000          .0000       .10000E+07
     7 'norm      '    26.337       1.0000          .0000       .10000E+07
     8 'Prefactor '    9.4782       1.0000          .0000       .10000E+07
     9 'Prefactor '    .72332E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .41844E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.5214       1.0000          .0000       .10000E+07
    12 'Prefactor '    .18319E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.1800       1.0000          .0000       .10000E+07
    14 'Prefactor '    14.706       1.0000          .0000       .10000E+07
    15 'Prefactor '    .82508E-03   1.0000          .0000       .10000E+07
    16 'norm      '    .15880       1.0000          .0000       .10000E+07
    17 'norm      '    1.4415       1.0000          .0000       .10000E+07
    18 'Prefactor '    .17904E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    .10075E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .34130E-02   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.2646       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .78611       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=   5987.268     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1808 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.4089        1.9326       -.42078E-06    .11598E-01
   2  Prefactor     .22204E-09    11.170       -.64287E-06** at limit **
   3  Prefactor     .10658E-07    3.5513        .93544E-06** at limit **
   4  Prefactor     .14596        8.4777       -.60679E-06** at limit **
   5  Prefactor     .51070E-08    1.4295        .10363E-05** at limit **
   6  Prefactor     3.1097        7.2406       -.19061E-06    .13140E-02
   7  norm          26.336        3.5325       -.15869E-07    .17465E-02
   8  Prefactor     9.5024        1.1174        .25330E-07    .33453E-03
   9  Prefactor     .11102E-09    3.2348       -.16963E-06** at limit **
  10  Prefactor      .0000        30.332       -.57207E-06** at limit **
  11  Prefactor     1.5198        3.1695       -.29479E-07    .56613E-03
  12  Prefactor      .0000        1.8299       -.28283E-06** at limit **
  13  Prefactor     1.1799        1.4905        .99044E-07    .17642E-02
  14  Prefactor     14.717        1.0040       -.16409E-08    .50206E-03
  15  Prefactor     .37192E-08    3.5246        .12792E-05** at limit **
  16  norm          .15883        .21738        .47715E-07** at limit **
  17  norm          1.4366        3.7909        .28383E-06   -.12457E-02
  18  Prefactor     .10341E-05    39.889        .92000E-05** at limit **
  19  Prefactor     .27311E-07    2.9029       -.16173E-05** at limit **
  20  Prefactor     .94369E-09    14.301        .70348E-06** at limit **
  21  Normalizat    1.2646        .23879       -.18734E-05   -.34853E-05
  22  Prefactor     .78633        .21962        .31643E-06    .23533E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.40886
  Prefactor  = 2.22045e-10
  Prefactor  = 1.06581e-08
  Prefactor  = 0.145962
  Prefactor  = 5.10703e-09
  Prefactor  = 3.10973
  norm       = 26.3363
  Prefactor  = 9.50239
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 1.51979
  Prefactor  = 0
  Prefactor  = 1.17989
  Prefactor  = 14.7174
  Prefactor  = 3.71925e-09
  norm       = 0.158829
  norm       = 1.43658
  Prefactor  = 1.03406e-06
  Prefactor  = 2.73115e-08
  Prefactor  = 9.4369e-10
  Normalizat = 1.26456
  Prefactor  = 0.786333
 **********
 **   18 **HESSE 
 **********

 FCN=   5987.268     FROM HESSE     STATUS=OK           402 CALLS     2210 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.4089        12.532        .36831E-03   -1.5654    
   2  Prefactor     .22204E-09    11.180        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10658E-07    4.1344        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .14596        1.1885        .51676E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .51070E-08    56.557        .15384E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.1097        7.3163        .56402E-03   -1.5673    
   7  norm          26.336        3.5387        .19490E-03   -1.5605    
   8  Prefactor     9.5024        17.478        .32527E-03   -1.5646    
   9  Prefactor     .11102E-09    3.2380        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        30.310        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.5198        3.2006        .86583E-03   -1.5683    
  12  Prefactor      .0000        1.8296        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.1799        1.5173        .10523E-02   -1.5686    
  14  Prefactor     14.717        27.465        .26092E-03   -1.5631    
  15  Prefactor     .37192E-08    3.7178        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .15883        .23611        .91158E-03   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.4366        3.8395        .89807E-03   -1.5684    
  18  Prefactor     .10341E-05    6.8809        .12643E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .27311E-07    3.9099        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .94369E-09    14.179        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2646        .20073        .56718E-01   -.84631    
  22  Prefactor     .78633        .18325        .66158E-01   -1.0023    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6361e-08
Minuit parameter uncertainties:
  1  12.5323
  2  9.52221e-05
  3  0.000419592
  4  0.832998
  5  0.00107391
  6  7.31635
  7  3.5387
  8  17.4778
  9  4.21687e-05
  10  9.85826e-06
  11  3.20059
  12  7.5234e-06
  13  1.51725
  14  27.465
  15  0.000234428
  16  0.236113
  17  3.83955
  18  0.00533487
  19  0.000653603
  20  0.00023141
  21  0.200849
  22  0.183396
Done.

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

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  1.520e+00  3.201e+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:  7.863e-01  1.834e-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.265e+00  2.008e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.27
Ra Dec: 182.466 18.178
Photon Flux Upper Limit: 1.21e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.34e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/115723/likelihoodResults_682819201_683078401_4FGL_J1209.8+1810_daily_bin1711.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) = 5986.95356816
delta logL = 0.314752674089

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5986.93818612
delta logL = 0.330134711994

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1293       1.0000          .0000       .10000E+07
     2 'Index     '    3.2526       1.0000          .0000       10.000    
     3 'Normalizat'    1.2221       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80773       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=   5986.938     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      223 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1274        26.761        .10996E-02    .93689E-02
   2  Index         3.2529        3.7984        .13774        .11685E-03
   3  Normalizat    1.2221        .50015E-01    .57549E-01    .11177E-04
   4  Prefactor     .80778        .47364E-01    .65338E-01    .36707E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.12738
  Index      = 3.25295
  Normalizat = 1.2221
  Prefactor  = 0.807776
 **********
 **   18 **HESSE 
 **********

 FCN=   5986.938     FROM HESSE     STATUS=OK            33 CALLS      256 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1274        2.5394        .86311E-05   -1.5687    
   2  Index         3.2529        1.2723        .78866E-02   -.35694    
   3  Normalizat    1.2221        .24071        .25449E-03   -.85923    
   4  Prefactor     .80778        .22152        .28904E-03   -.99442    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69069e-08
Minuit parameter uncertainties:
  1  2.53937
  2  1.28847
  3  0.240924
  4  0.221761
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/115723': 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) = 5986.93818541
delta logL = 0.33013542248

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  1.127e+00  2.539e+00  0.000e+00  1.000e+06 ( 1.000e-12)
285        Index:  3.253e+00  1.288e+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:  8.078e-01  2.218e-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.222e+00  2.409e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.27
Ra Dec: 182.466 18.178

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/115723/cmap_HighResolution_682819201_683078401_4FGL_J1209.8+1810_daily_bin1711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.34e-03', job_status='DONE', photon_flux_upper_limit='1.21e-07', time_completed='2022-09-16 16:46:26.274876', job_id='115723', GAL2='0.81', fit_tolerance='1e-08', EG2='1.22', EG='1.26', time_epoch_completed='1663371986.27', return_code2='0', ts='0.27', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='3.30e-01', ts2='0.96', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1711' AND source_name='4FGL J1209.8+1810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 16:46:26 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0226>
Subject: Job 115723: <4FGL_J1209.8+1810_daily_bin1711> in cluster <slac> Done

Job <4FGL_J1209.8+1810_daily_bin1711> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 16 16:35:17 2022
Job was executed on host(s) <bullet0226>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 16:35:32 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 16:35:32 2022
Terminated at Fri Sep 16 16:46:27 2022
Results reported at Fri Sep 16 16:46:27 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1209.8+1810_daily_bin1711 182.466 18.1776 682819201 683078401 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 :                                   608.53 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             312.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   654 sec.
    Turnaround time :                            670 sec.

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

