/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 104 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 = 7477
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1209.8+1810_daily_bin4
RA = 182.466, Dec = 18.1776
tmin = 240364801, tmax = 240624001
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='373617', job_status='RUN', time_executed='2021-09-05 02:17:20.680662', time_epoch_executed='1630833440.68' WHERE source_name='4FGL J1209.8+1810' and cadence='daily' and bin_id='4'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/373617

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/373617/ft1_4FGL_J1209.8+1810_daily_bin4.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/373617/ft2_4FGL_J1209.8+1810_daily_bin4.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/373617/ft1_4FGL_J1209.8+1810_daily_bin4.fits outfile=/scratch/kocevski/373617/ft1_filteredMKT_4FGL_J1209.8+1810_daily_bin4.fits ra=182.466 dec=18.1776 rad=12.0 tmin=240364801.0 tmax=240624001.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 1.52
user 1.28
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/373617/ft1_filtered_4FGL_J1209.8+1810_daily_bin4.fits" evtable="EVENTS" scfile=/scratch/kocevski/373617/ft2_4FGL_J1209.8+1810_daily_bin4.fits sctable="SC_DATA" outfile=/scratch/kocevski/373617/ltcube_240364801_240624001_4FGL_J1209.8+1810_daily_bin4.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/373617/ft2_4FGL_J1209.8+1810_daily_bin4.fits
.....................!
real 14.88
user 12.39
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/373617/ft1_filtered_4FGL_J1209.8+1810_daily_bin4.fits evtable="EVENTS" scfile=/scratch/kocevski/373617/ft2_4FGL_J1209.8+1810_daily_bin4.fits sctable="SC_DATA" expcube=/scratch/kocevski/373617/ltcube_240364801_240624001_4FGL_J1209.8+1810_daily_bin4.fits outfile=/scratch/kocevski/373617/expmap_240364801_240624001_4FGL_J1209.8+1810_daily_bin4.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/373617/ltcube_240364801_240624001_4FGL_J1209.8+1810_daily_bin4.fits
.....................!
real 190.94
user 184.63
sys 4.77

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/373617/ft1_filtered_4FGL_J1209.8+1810_daily_bin4.fits scfile=/scratch/kocevski/373617/ft2_4FGL_J1209.8+1810_daily_bin4.fits outfile=/scratch/kocevski/373617/cmap_240364801_240624001_4FGL_J1209.8+1810_daily_bin4.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/373617/ft1_filtered_4FGL_J1209.8+1810_daily_bin4.fits scfile=/scratch/kocevski/373617/ft2_4FGL_J1209.8+1810_daily_bin4.fits outfile=/scratch/kocevski/373617/cmap_HighResolution_240364801_240624001_4FGL_J1209.8+1810_daily_bin4.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.988       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.3899       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.5309       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.8867       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.2886       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.5962       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.5278       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .36258       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.6826       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.1225       1.0000         .10000E-03   10000.    
    17 'norm      '    .15487       1.0000         .10000E-03   10000.    
    18 'norm      '    5.4755       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    14.777       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0127       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1266       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5678.374     FROM MIGRAD    STATUS=CONVERGED    516 CALLS     2663 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.986        14.381       -.12157E-05   -.44646E-04
   2  Prefactor     .10000E-03    14.986        .25366E-05** at limit **
   3  Prefactor     .10000E-03    17.246       -.28259E-05** at limit **
   4  Prefactor     .10000E-03    10.692       -.53352E-06** at limit **
   5  Prefactor     5.3898        2.3892       -.85310E-07    .92162E-04
   6  Prefactor     5.5250        313.04       -.16157E-04   -.91947E-05
   7  Prefactor     .10000E-03    11.571       -.14983E-05** at limit **
   8  norm          1.8866        1.3891       -.25715E-07    .26361E-04
   9  Prefactor     .10000E-03    11.347       -.13872E-05** at limit **
  10  Prefactor     3.2887        3.5431       -.32825E-06   -.91212E-04
  11  Prefactor     7.5758        220.15       -.47476E-04   -.35267E-04
  12  Prefactor     3.5276        2.4892       -.49284E-07    .17356E-04
  13  Prefactor     .36351        2.5658        .30660E-06   -.39116E-03
  14  Prefactor     9.6825        3.2890       -.39203E-06   -.22367E-03
  15  Prefactor     .10000E-03    14.493        .23529E-05** at limit **
  16  Prefactor     3.1220        3.3189        .11104E-05   -.24796E-02
  17  norm          .15490        .20981       -.67974E-07   -.98165E-03
  18  norm          5.4755        4.2290       -.46426E-08    .52206E-04
  19  Prefactor     .10000E-03    3.4989        .38517E-07** at limit **
  20  Prefactor     14.777        12.076       -.16030E-06   -.14593E-04
  21  Prefactor     .10000E-03    10.381        .20388E-05** at limit **
  22  Prefactor     .10000E-03    2.3574       -.23061E-06** at limit **
  23  Normalizat    1.0128        .20002        .16199E-05    .20021E-04
  24  Prefactor     1.1266        .19342        .58194E-07    .73353E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.986
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.38979
  Prefactor  = 5.52497
  Prefactor  = 0.000100001
  norm       = 1.88663
  Prefactor  = 0.0001
  Prefactor  = 3.28871
  Prefactor  = 7.57585
  Prefactor  = 3.5276
  Prefactor  = 0.363507
  Prefactor  = 9.68251
  Prefactor  = 0.0001
  Prefactor  = 3.12197
  norm       = 0.154896
  norm       = 5.47554
  Prefactor  = 0.0001
  Prefactor  = 14.7769
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.01281
  Prefactor  = 1.12655
 **********
 **   18 **HESSE 
 **********

 FCN=   5678.374     FROM HESSE     STATUS=OK           405 CALLS     3068 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.986        14.423        .11570E-03   -1.5015    
   2  Prefactor     .10000E-03    15.020        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    17.384        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    10.874        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.3898        2.3894        .74451E-04   -1.5244    
   6  Prefactor     5.5250        314.55        .17084E-03   -1.5238    
   7  Prefactor     .10000E-03    11.782        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.8866        1.3821        .73635E-04   -1.5433    
   9  Prefactor     .10000E-03    11.316        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.2887        3.5347        .14074E-03   -1.5345    
  11  Prefactor     7.5758        224.82        .14550E-03   -1.5157    
  12  Prefactor     3.5276        2.4674        .94286E-04   -1.5332    
  13  Prefactor     .36351        2.5890        .23004E-03   -1.5587    
  14  Prefactor     9.6825        3.2895        .76382E-04   -1.5086    
  15  Prefactor     .10000E-03    14.517        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.1220        5.9847        .11472E-02   -1.5355    
  17  norm          .15490        .19301        .37850E-03   -1.5629    
  18  norm          5.4755        4.3256        .13055E-03   -1.5240    
  19  Prefactor     .10000E-03    3.5076        .13765E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     14.777        12.076        .10419E-03   -1.4939    
  21  Prefactor     .10000E-03    10.408        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    2.3612        .11300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0128        .23475        .26455E-03   -.92603    
  24  Prefactor     1.1266        .22863        .25514E-03   -.88622    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.50775e-09
Minuit parameter uncertainties:
  1  14.427
  2  7.40615e-05
  3  0.000102809
  4  2.16779e-05
  5  2.38946
  6  83.8417
  7  0.000155889
  8  1.38212
  9  0.000107484
  10  3.53496
  11  82.8838
  12  2.46747
  13  1.94009
  14  3.28956
  15  7.2415e-05
  16  5.98581
  17  0.193013
  18  4.32589
  19  1.7861e-06
  20  12.0779
  21  4.59997e-05
  22  4.97898e-06
  23  0.234994
  24  0.228831
Done.

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

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  3.528e+00  2.467e+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.127e+00  2.288e-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.013e+00  2.350e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.68
Ra Dec: 182.466 18.178
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 4.83e-08 +/- 3.38e-08
Energy Flux (Fixed Index): 1.56e-05 +/- 1.09e-05

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) = 5678.16656937
delta logL = 0.207118521357

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5678.16632348
delta logL = 0.207364412739

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2100       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0359       1.0000          .0000       10.000    
     3 'Normalizat'    1.0287       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1174       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=   5678.166     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      260 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2082        94.757        .49101E-02    .37897E-04
   2  Index         2.0355        5.6995        .22810        .24014E-04
   3  Normalizat    1.0287        .13790        .42297E-01    .18957E-04
   4  Prefactor     1.1174        .97963E-01    .57900E-01    .49109E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.2082
  Index      = 2.03548
  Normalizat = 1.0287
  Prefactor  = 1.11745
 **********
 **   18 **HESSE 
 **********

 FCN=   5678.166     FROM HESSE     STATUS=OK            33 CALLS      293 TOTAL
                     EDM=   .36E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2082        3.0296        .10710E-03   -1.5298    
   2  Index         2.0355        .56130        .78881E-02   -.63466    
   3  Normalizat    1.0287        .22491        .26272E-03   -.92075    
   4  Prefactor     1.1174        .22728        .25604E-03   -.88911    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.62153e-12
Minuit parameter uncertainties:
  1  3.02972
  2  0.563136
  3  0.22512
  4  0.227479
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/373617': 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) = 5678.16632294
delta logL = 0.207364946543

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  4.208e+00  3.030e+00  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.035e+00  5.631e-01  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.117e+00  2.275e-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.029e+00  2.251e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.10
Ra Dec: 182.466 18.178
Photon Index (Free Index): 2.04 +/- 0.56
Photon Flux (Free Index): 3.45e-08 +/- 3.22e-08
Energy Flux (Free Index): 2.19e-05 +/- 2.23e-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/373617/cmap_HighResolution_240364801_240624001_4FGL_J1209.8+1810_daily_bin4.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.83e-08', energy_flux2='2.19e-05', photon_flux_error='3.38e-08', dlogl='2.07e-01', energy_flux='1.56e-05', photon_flux2='3.45e-08', job_status='DONE', time_completed='2021-09-05 02:27:22.861882', photon_index_error2='0.56', photon_index2='2.04', ts='5.68', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', energy_flux_error2='2.23e-05', EG='1.01', time_epoch_completed='1630834042.86', return_code='0', job_id='373617', GAL2='1.12', EG2='1.03', return_code2='0', energy_flux_error='1.09e-05', photon_flux_error2='3.22e-08', ts2='6.10', photon_index='2.41' WHERE bin_id='4' AND source_name='4FGL J1209.8+1810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 02:27:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 373617: <4FGL_J1209.8+1810_daily_bin4> in cluster <slac> Done

Job <4FGL_J1209.8+1810_daily_bin4> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep  5 02:15:25 2021
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 02:15:27 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:15:27 2021
Terminated at Sun Sep  5 02:27:23 2021
Results reported at Sun Sep  5 02:27:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1209.8+1810_daily_bin4 182.466 18.1776 240364801 240624001 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 :                                   596.44 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             298.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   716 sec.
    Turnaround time :                            718 sec.

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

