/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 57 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7358
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1209.8+1810_daily_bin1450
RA = 182.466, Dec = 18.1776
tmin = 615168001, tmax = 615427201
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='382684', job_status='RUN', time_executed='2021-09-05 02:41:49.199547', time_epoch_executed='1630834909.2' WHERE source_name='4FGL J1209.8+1810' and cadence='daily' and bin_id='1450'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/382684

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/382684/ft1_4FGL_J1209.8+1810_daily_bin1450.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/382684/ft2_4FGL_J1209.8+1810_daily_bin1450.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/382684/ft1_4FGL_J1209.8+1810_daily_bin1450.fits outfile=/scratch/kocevski/382684/ft1_filteredMKT_4FGL_J1209.8+1810_daily_bin1450.fits ra=182.466 dec=18.1776 rad=12.0 tmin=615168001.0 tmax=615427201.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.28
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/382684/ft2_4FGL_J1209.8+1810_daily_bin1450.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/382684/ft1_filteredMKT_4FGL_J1209.8+1810_daily_bin1450.fits evtable="EVENTS" outfile="/scratch/kocevski/382684/ft1_filtered_4FGL_J1209.8+1810_daily_bin1450.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/382684/ft1_filtered_4FGL_J1209.8+1810_daily_bin1450.fits" evtable="EVENTS" scfile=/scratch/kocevski/382684/ft2_4FGL_J1209.8+1810_daily_bin1450.fits sctable="SC_DATA" outfile=/scratch/kocevski/382684/ltcube_615168001_615427201_4FGL_J1209.8+1810_daily_bin1450.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/382684/ft2_4FGL_J1209.8+1810_daily_bin1450.fits
.....................!
real 13.00
user 12.56
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/382684/ft1_filtered_4FGL_J1209.8+1810_daily_bin1450.fits evtable="EVENTS" scfile=/scratch/kocevski/382684/ft2_4FGL_J1209.8+1810_daily_bin1450.fits sctable="SC_DATA" expcube=/scratch/kocevski/382684/ltcube_615168001_615427201_4FGL_J1209.8+1810_daily_bin1450.fits outfile=/scratch/kocevski/382684/expmap_615168001_615427201_4FGL_J1209.8+1810_daily_bin1450.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/382684/ltcube_615168001_615427201_4FGL_J1209.8+1810_daily_bin1450.fits
.....................!
real 191.26
user 185.64
sys 5.08

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/382684/ft1_filtered_4FGL_J1209.8+1810_daily_bin1450.fits scfile=/scratch/kocevski/382684/ft2_4FGL_J1209.8+1810_daily_bin1450.fits outfile=/scratch/kocevski/382684/cmap_615168001_615427201_4FGL_J1209.8+1810_daily_bin1450.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/382684/ft1_filtered_4FGL_J1209.8+1810_daily_bin1450.fits scfile=/scratch/kocevski/382684/ft2_4FGL_J1209.8+1810_daily_bin1450.fits outfile=/scratch/kocevski/382684/cmap_HighResolution_615168001_615427201_4FGL_J1209.8+1810_daily_bin1450.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.55
user 0.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/382684/ft1_filtered_4FGL_J1209.8+1810_daily_bin1450.fits', '/scratch/kocevski/382684/ft2_4FGL_J1209.8+1810_daily_bin1450.fits', expMap='/scratch/kocevski/382684/expmap_615168001_615427201_4FGL_J1209.8+1810_daily_bin1450.fits', expCube='/scratch/kocevski/382684/ltcube_615168001_615427201_4FGL_J1209.8+1810_daily_bin1450.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/382684/Model_4FGL_J1209.8+1810_daily_bin1450.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  1.000e-04  1.000e+04 ( 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/382684/ft1_filtered_4FGL_J1209.8+1810_daily_bin1450.fits
Spacecraft file(s): /scratch/kocevski/382684/ft2_4FGL_J1209.8+1810_daily_bin1450.fits
Exposure map: /scratch/kocevski/382684/expmap_615168001_615427201_4FGL_J1209.8+1810_daily_bin1450.fits
Exposure cube: /scratch/kocevski/382684/ltcube_615168001_615427201_4FGL_J1209.8+1810_daily_bin1450.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/382684/Model_4FGL_J1209.8+1810_daily_bin1450.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) = 5590.83002897

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.7697       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.7266       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.3425       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.4475       1.0000         .10000E-03   10000.    
     8 'norm      '    .25229       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10519E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.5828       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.1590       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.3964       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .23035       1.0000         .10000E-03   10000.    
    18 'norm      '    8.0090       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10344E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    22.047       1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.4778       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0858       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0044       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=   5590.678     FROM MIGRAD    STATUS=CONVERGED    551 CALLS     2375 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.7698        10.997        .32051E-02    .16142E-03
   2  Prefactor     .10004E-03    14.829        .90712E-02** at limit **
   3  Prefactor     .10008E-03    19.519        .90712E-02** at limit **
   4  Prefactor     5.7265        6.7651        .41962E-02   -.64174E-03
   5  Prefactor     3.3420        2.1714        .55344E-02    .21748E-03
   6  Prefactor     .10001E-03    111.10        .90712E-02** at limit **
   7  Prefactor     1.4479        18.811        .89560E-02    .33675E-03
   8  norm          .25220        .68325        .21104E-01    .17022E-02
   9  Prefactor     .10000E-03    6.8560        .90712E-02** at limit **
  10  Prefactor     .10015E-03    2.6697        .68151E-01** at limit **
  11  Prefactor     .10000E-03    55.602        .90712E-02** at limit **
  12  Prefactor     3.5830        3.1636        .53374E-02    .29347E-03
  13  Prefactor     .10000E-03    1.9895        .90712E-02** at limit **
  14  Prefactor     1.1589        1.1843        .10707E-02   -.13488E-03
  15  Prefactor     1.3944        216.09        .91854E-02    .10507E-03
  16  Prefactor     .10000E-03    3.2434        .90712E-02** at limit **
  17  norm          .23034        .18166        .62791E-02    .33542E-03
  18  norm          8.0094        4.7505        .35419E-02    .10124E-02
  19  Prefactor     .10000E-03    13.148        .90712E-02** at limit **
  20  Prefactor     .10000E-03    6.1611        .90712E-02** at limit **
  21  Prefactor     22.051        24.398        .21326E-02   -.71684E-04
  22  Prefactor     1.4780        9.0048        .88295E-02    .72930E-03
  23  Normalizat    1.0858        .19131        .56183E-01    .24072E-04
  24  Prefactor     1.0044        .18183        .44315E-01    .36334E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.76984
  Prefactor  = 0.000100036
  Prefactor  = 0.000100079
  Prefactor  = 5.72654
  Prefactor  = 3.34196
  Prefactor  = 0.000100007
  Prefactor  = 1.44793
  norm       = 0.252202
  Prefactor  = 0.0001
  Prefactor  = 0.000100153
  Prefactor  = 0.000100004
  Prefactor  = 3.58298
  Prefactor  = 0.0001
  Prefactor  = 1.15893
  Prefactor  = 1.39437
  Prefactor  = 0.0001
  norm       = 0.23034
  norm       = 8.00937
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  Prefactor  = 22.0509
  Prefactor  = 1.47805
  Normalizat = 1.08579
  Prefactor  = 1.00439
 **********
 **   18 **HESSE 
 **********

 FCN=   5590.678     FROM HESSE     STATUS=OK           405 CALLS     2780 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.7698        10.994        .12820E-03   -1.5083    
   2  Prefactor     .10004E-03    14.840        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10008E-03    19.651        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.7265        6.7422        .16785E-03   -1.5229    
   5  Prefactor     3.3420        2.1650        .84600E-04   -1.5342    
   6  Prefactor     .10001E-03    111.14        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.4479        18.891        .35824E-03   -1.5467    
   8  norm          .25220        .58556        .98653E-03   -1.5608    
   9  Prefactor     .10000E-03    6.8665        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10015E-03    17.892        .22363E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    55.639        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.5830        3.0771        .11507E-03   -1.5329    
  13  Prefactor     .10000E-03    2.0227        .10273E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.1589        1.1846        .42829E-04   -1.5493    
  15  Prefactor     1.3944        220.39        .36742E-03   -1.5472    
  16  Prefactor     .10000E-03    3.2691        .13138E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .23034        .18610        .27041E-03   -1.5612    
  18  norm          8.0094        4.7495        .60356E-03   -1.5142    
  19  Prefactor     .10000E-03    13.402        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    6.1921        .18125E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     22.051        24.377        .85305E-04   -1.4768    
  22  Prefactor     1.4780        9.0223        .35318E-03   -1.5465    
  23  Normalizat    1.0858        .22071        .24844E-03   -.90209    
  24  Prefactor     1.0044        .21135        .25407E-03   -.92583    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.24887e-08
Minuit parameter uncertainties:
  1  10.9967
  2  0.00145566
  3  0.00249524
  4  6.74312
  5  2.16507
  6  0.00176411
  7  10.4637
  8  0.585576
  9  7.61507e-06
  10  0.00330859
  11  0.000955251
  12  3.07723
  13  6.84004e-06
  14  1.18464
  15  35.1914
  16  1.08796e-06
  17  0.186097
  18  4.7497
  19  0.000499911
  20  1.70239e-05
  21  24.3883
  22  7.30493
  23  0.220896
  24  0.211522
Done.

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

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  3.583e+00  3.077e+00  1.000e-04  1.000e+04 ( 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.004e+00  2.115e-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.086e+00  2.209e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.29
Ra Dec: 182.466 18.178
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 4.91e-08 +/- 4.21e-08
Energy Flux (Fixed Index): 1.58e-05 +/- 1.36e-05

TS (Fixed Index): 2.29
Ra Dec: 182.466 18.178
Photon Flux Upper Limit: 1.42e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.10e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/382684/likelihoodResults_615168001_615427201_4FGL_J1209.8+1810_daily_bin1450.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) = 5590.36007039
delta logL = 0.318420310287

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5590.34220982
delta logL = 0.336280883048

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6095       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2670       1.0000          .0000       10.000    
     3 'Normalizat'    1.0374       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0358       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=   5590.342     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      237 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6095        20.994        .83478E-03    .10190E-02
   2  Index         3.2670        3.2465        .14962        .86784E-04
   3  Normalizat    1.0373        .70222E-01    .41495E-01    .11062E-04
   4  Prefactor     1.0358        .61860E-01    .40820E-01    .65161E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.60951
  Index      = 3.26703
  Normalizat = 1.03734
  Prefactor  = 1.03584
 **********
 **   18 **HESSE 
 **********

 FCN=   5590.342     FROM HESSE     STATUS=OK            33 CALLS      270 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6095        3.4727        .33391E-04   -1.5454    
   2  Index         3.2670        1.3948        .51123E-02   -.35394    
   3  Normalizat    1.0373        .22529        .25320E-03   -.91790    
   4  Prefactor     1.0358        .21640        .25061E-03   -.91544    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05407e-08
Minuit parameter uncertainties:
  1  3.47311
  2  1.41621
  3  0.225494
  4  0.216585
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/382684': 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) = 5590.34220979
delta logL = 0.336280906121

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  1.610e+00  3.473e+00  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  3.267e+00  1.416e+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.036e+00  2.166e-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.037e+00  2.255e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.03
Ra Dec: 182.466 18.178
Photon Index (Free Index): 3.27 +/- 1.42
Photon Flux (Free Index): 8.90e-08 +/- 7.25e-08
Energy Flux (Free Index): 1.59e-05 +/- 1.11e-05

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/382684/cmap_HighResolution_615168001_615427201_4FGL_J1209.8+1810_daily_bin1450.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.10e-02', comment='SUCCESS', photon_flux='4.91e-08', energy_flux2='1.59e-05', photon_flux_error='4.21e-08', dlogl='3.36e-01', energy_flux='1.58e-05', photon_flux2='8.90e-08', job_status='DONE', time_completed='2021-09-05 02:53:50.067444', photon_index_error2='1.42', photon_index2='3.27', ts='2.29', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='1.42e-07', energy_flux_error2='1.11e-05', EG='1.09', time_epoch_completed='1630835630.07', return_code='0', job_id='382684', GAL2='1.04', EG2='1.04', return_code2='0', energy_flux_error='1.36e-05', photon_flux_error2='7.25e-08', ts2='3.03', photon_index='2.41' WHERE bin_id='1450' AND source_name='4FGL J1209.8+1810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 02:53:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 382684: <4FGL_J1209.8+1810_daily_bin1450> in cluster <slac> Done

Job <4FGL_J1209.8+1810_daily_bin1450> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Sep  5 02:40:33 2021
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 02:40:35 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep  5 02:40:35 2021
Terminated at Sun Sep  5 02:53:50 2021
Results reported at Sun Sep  5 02:53:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1209.8+1810_daily_bin1450 182.466 18.1776 615168001 615427201 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 :                                   646.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             293.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   795 sec.
    Turnaround time :                            797 sec.

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

