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


Performing analysis on: 4FGL_J1809.7+2910_daily_bin34
RA = 272.441, Dec = 29.1709
tmin = 248140801, tmax = 248400001
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='623562', job_status='RUN', time_executed='2021-09-19 18:42:24.242438', time_epoch_executed='1632102144.24' WHERE source_name='4FGL J1809.7+2910' and cadence='daily' and bin_id='34'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/623562

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/623562/ft1_4FGL_J1809.7+2910_daily_bin34.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/623562/ft2_4FGL_J1809.7+2910_daily_bin34.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/623562/ft1_4FGL_J1809.7+2910_daily_bin34.fits outfile=/scratch/kocevski/623562/ft1_filteredMKT_4FGL_J1809.7+2910_daily_bin34.fits ra=272.441 dec=29.1709 rad=12.0 tmin=248140801.0 tmax=248400001.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.39
user 1.22
sys 0.16

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/623562/ft2_4FGL_J1809.7+2910_daily_bin34.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/623562/ft2_4FGL_J1809.7+2910_daily_bin34.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/623562/ft1_filteredMKT_4FGL_J1809.7+2910_daily_bin34.fits evtable="EVENTS" outfile="/scratch/kocevski/623562/ft1_filtered_4FGL_J1809.7+2910_daily_bin34.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.48
user 0.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/623562/ft1_filtered_4FGL_J1809.7+2910_daily_bin34.fits" evtable="EVENTS" scfile=/scratch/kocevski/623562/ft2_4FGL_J1809.7+2910_daily_bin34.fits sctable="SC_DATA" outfile=/scratch/kocevski/623562/ltcube_248140801_248400001_4FGL_J1809.7+2910_daily_bin34.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/623562/ft2_4FGL_J1809.7+2910_daily_bin34.fits
.....................!
real 12.23
user 11.87
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/623562/ft1_filtered_4FGL_J1809.7+2910_daily_bin34.fits evtable="EVENTS" scfile=/scratch/kocevski/623562/ft2_4FGL_J1809.7+2910_daily_bin34.fits sctable="SC_DATA" expcube=/scratch/kocevski/623562/ltcube_248140801_248400001_4FGL_J1809.7+2910_daily_bin34.fits outfile=/scratch/kocevski/623562/expmap_248140801_248400001_4FGL_J1809.7+2910_daily_bin34.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/623562/ltcube_248140801_248400001_4FGL_J1809.7+2910_daily_bin34.fits
.....................!
real 190.11
user 185.69
sys 4.10

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

Setting source of interest to:
4FGL J1809.7+2910 @ 272.441 29.1709

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/623562/ft1_filtered_4FGL_J1809.7+2910_daily_bin34.fits scfile=/scratch/kocevski/623562/ft2_4FGL_J1809.7+2910_daily_bin34.fits outfile=/scratch/kocevski/623562/cmap_248140801_248400001_4FGL_J1809.7+2910_daily_bin34.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=272.441 yref=29.1709 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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/623562/ft1_filtered_4FGL_J1809.7+2910_daily_bin34.fits scfile=/scratch/kocevski/623562/ft2_4FGL_J1809.7+2910_daily_bin34.fits outfile=/scratch/kocevski/623562/cmap_HighResolution_248140801_248400001_4FGL_J1809.7+2910_daily_bin34.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=272.441 yref=29.1709 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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/623562/ft1_filtered_4FGL_J1809.7+2910_daily_bin34.fits evtable="EVENTS" scfile=/scratch/kocevski/623562/ft2_4FGL_J1809.7+2910_daily_bin34.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/623562/Model_4FGL_J1809.7+2910_daily_bin34.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/623562/ft1_filtered_4FGL_J1809.7+2910_daily_bin34.fits.....................!
real 76.47
user 75.08
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/623562/ft1_filtered_4FGL_J1809.7+2910_daily_bin34.fits', '/scratch/kocevski/623562/ft2_4FGL_J1809.7+2910_daily_bin34.fits', expMap='/scratch/kocevski/623562/expmap_248140801_248400001_4FGL_J1809.7+2910_daily_bin34.fits', expCube='/scratch/kocevski/623562/ltcube_248140801_248400001_4FGL_J1809.7+2910_daily_bin34.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/623562/Model_4FGL_J1809.7+2910_daily_bin34.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1809.7+2910'

4FGL J1809.7+2910
   Spectrum: LogParabola
339         norm:  1.835e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
340        alpha:  1.763e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
341         beta:  1.007e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
342           Eb:  2.273e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/623562/ft1_filtered_4FGL_J1809.7+2910_daily_bin34.fits
Spacecraft file(s): /scratch/kocevski/623562/ft2_4FGL_J1809.7+2910_daily_bin34.fits
Exposure map: /scratch/kocevski/623562/expmap_248140801_248400001_4FGL_J1809.7+2910_daily_bin34.fits
Exposure cube: /scratch/kocevski/623562/ltcube_248140801_248400001_4FGL_J1809.7+2910_daily_bin34.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/623562/Model_4FGL_J1809.7+2910_daily_bin34.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) = 8510.04214957

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31971E-02   1.0000         .10000E-03   10000.    
     2 'norm      '    .10162E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .18310E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.2477       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.7561       1.0000         .10000E-03   10000.    
     9 'norm      '    2.0574       1.0000         .10000E-03   10000.    
    10 'norm      '    .10034E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.210       1.0000         .10000E-03   10000.    
    12 'norm      '    5.0066       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .89098       1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.650       1.0000         .10000E-03   10000.    
    15 'norm      '    27.547       1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.882       1.0000         .10000E-03   10000.    
    17 'norm      '    .10086E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    7.3197       1.0000         .10000E-03   10000.    
    19 'norm      '    .10075E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    12.928       1.0000         .10000E-03   10000.    
    21 'Prefactor '    68.158       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .43498       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1186       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8510.028     FROM MIGRAD    STATUS=CONVERGED    514 CALLS     2555 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    158.89        .35368E-05** at limit **
   2  norm          .10000E-03    26.881        .21727E-07** at limit **
   3  Prefactor     .10006E-03    389.27       -.10700E-04** at limit **
   4  Prefactor     6.2478        11.982        .33527E-05   -.13402E-03
   5  Prefactor     .10000E-03    21.050       -.15209E-07** at limit **
   6  Prefactor     .10000E-03    25.879        .98951E-07** at limit **
   7  Prefactor     .10000E-03    36.007       -.36104E-07** at limit **
   8  Prefactor     7.7537        7.1081        .11896E-06   -.42264E-05
   9  norm          2.0570        1.7624       -.11387E-06   -.10870E-04
  10  norm          .10000E-03    36.177       -.10980E-06** at limit **
  11  Prefactor     15.206        8.1475       -.45174E-07    .73397E-04
  12  norm          5.0067        4.9494       -.10024E-06    .19878E-04
  13  Prefactor     .88949        3.4466        .21939E-05   -.96056E-04
  14  Prefactor     13.644        18.008       -.21209E-06   -.31513E-05
  15  norm          27.548        30.143       -.39299E-07    .35635E-05
  16  Prefactor     10.880        9.5256        .30591E-06    .15724E-03
  17  norm          .10000E-03    16.777       -.16829E-07** at limit **
  18  norm          7.3221        3.7250        .31772E-06    .87677E-03
  19  norm          .10000E-03    1.3928       -.73741E-06** at limit **
  20  Prefactor     12.922        14.615        .28260E-06    .62063E-04
  21  Prefactor     68.141        81.127        .16618E-05    .69556E-04
  22  Normalizat    .43528        .27214       -.27475E-05    .27093E-04
  23  Prefactor     1.1185        .97949E-01    .20326E-06    .26779E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 0.000100062
  Prefactor  = 6.24778
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.75366
  norm       = 2.05698
  norm       = 0.0001
  Prefactor  = 15.2057
  norm       = 5.00673
  Prefactor  = 0.889491
  Prefactor  = 13.6441
  norm       = 27.5477
  Prefactor  = 10.8804
  norm       = 0.0001
  norm       = 7.32208
  norm       = 0.0001
  Prefactor  = 12.9225
  Prefactor  = 68.1412
  Normalizat = 0.43528
  Prefactor  = 1.1185
 **********
 **   18 **HESSE 
 **********

 FCN=   8510.028     FROM HESSE     STATUS=OK           372 CALLS     2927 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    165.54        .39517E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    26.883        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10006E-03    403.82        .20307E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.2478        11.851        .80300E-03   -1.5208    
   5  Prefactor     .10000E-03    21.079        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    26.033        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    36.037        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.7537        7.0974        .14399E-03   -1.5151    
   9  norm          2.0570        1.7617        .10985E-03   -1.5421    
  10  norm          .10000E-03    36.209        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     15.206        8.0903        .10270E-03   -1.4928    
  12  norm          5.0067        4.9534        .17972E-03   -1.5260    
  13  Prefactor     .88949        3.3983        .32274E-03   -1.5519    
  14  Prefactor     13.644        17.905        .10841E-03   -1.4969    
  15  norm          27.548        30.153        .76330E-04   -1.4658    
  16  Prefactor     10.880        9.4794        .12145E-03   -1.5048    
  17  norm          .10000E-03    16.777        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          7.3221        3.6404        .11607E-03   -1.5167    
  19  norm          .10000E-03    2.0944        .19327E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     12.922        14.682        .11140E-03   -1.4989    
  21  Prefactor     68.141        79.971        .48618E-04   -1.4055    
  22  Normalizat    .43528        .26417        .59454E-03   -1.1552    
  23  Prefactor     1.1185        .97752E-01    .14227E-03   -.88877    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.18685e-10
Minuit parameter uncertainties:
  1  0.00129562
  2  1.0106e-05
  3  0.010052
  4  11.8551
  5  5.74525e-06
  6  5.03037e-05
  7  2.45453e-05
  8  7.09819
  9  1.76172
  10  5.805e-05
  11  8.09092
  12  4.95382
  13  3.39902
  14  17.9116
  15  30.1692
  16  9.48075
  17  6.3216e-06
  18  3.64046
  19  2.507e-05
  20  14.6865
  21  80.0972
  22  0.264936
  23  0.097768
Done.

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

Extracting fit parameters...

4FGL J1809.7+2910
   Spectrum: LogParabola
339         norm:  5.007e+00  4.954e+00  1.000e-04  1.000e+04 ( 1.000e-13)
340        alpha:  1.763e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
341         beta:  1.007e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
342           Eb:  2.273e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
737    Prefactor:  1.119e+00  9.777e-02  0.000e+00  1.000e+01 ( 1.000e+00)
738        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
739        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
736   Normalization:  4.353e-01  2.649e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.15
Ra Dec: 272.441 29.171
Photon Index (Fixed Index): 1.76 +/- 0.00
Photon Flux (Fixed Index): 1.03e-08 +/- 1.02e-08
Energy Flux (Fixed Index): 1.42e-05 +/- 1.40e-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) = 8507.96856376
delta logL = 2.05973996338

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8507.56723351
delta logL = 2.46107021623

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .88390       1.0000         .10000E-03   10000.    
     2 'alpha     '    .32578E-01   1.0000          .0000       5.0000    
     3 'Normalizat'    .43812       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1192       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8507.567     FROM MIGRAD    STATUS=FAILED       106 CALLS      284 TOTAL
                     EDM=   .77E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .87294        52.523        .77734E-03   -.17948E-03
   2  alpha         .26654E-01    4.9859        .61080E-01    .19087E-04
   3  Normalizat    .43748        .20888        .59307E-03    .31016E-04
   4  Prefactor     1.1192        .78498E-01    .14223E-03    .15107E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8507.567     FROM SIMPLEX   STATUS=UNCHANGED     89 CALLS      373 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .87294        52.523        .16214E-03   -.17948E-03
   2  alpha         .26654E-01    4.9859        .16696E-01    .19087E-04
   3  Normalizat    .43748        .20888        .27954E-03    .31016E-04
   4  Prefactor     1.1192        .78498E-01    .25375E-04    .15107E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8507.567     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      409 TOTAL
                     EDM=   .92E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .87294        2.3239        .31094E-04   -.81169E-04
   2  alpha         .26654E-01    4.8177        .24432E-02    .13029E-05
   3  Normalizat    .43748        .25321        .23723E-04    .31054E-04
   4  Prefactor     1.1192        .95225E-01    .56891E-05    .15107E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.872935
  alpha      = 0.0266538
  Normalizat = 0.43748
  Prefactor  = 1.11922
 **********
 **   18 **HESSE 
 **********

 FCN=   8507.567     FROM HESSE     STATUS=OK            23 CALLS      432 TOTAL
                     EDM=   .88E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .87294        2.2262        .12438E-05   -1.5521    
   2  alpha         .26654E-01    4.7378        .97727E-04   -1.4246    
   3  Normalizat    .43748        .25327        .47446E-05   -1.1541    
   4  Prefactor     1.1192        .95279E-01    .11378E-05   -.88855    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.80162e-12
Minuit parameter uncertainties:
  1  2.22641
  2  0.963293
  3  0.25394
  4  0.0952939
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/623562': 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) = 8507.56720516
delta logL = 2.46109857275

Extracting fit parameters...

4FGL J1809.7+2910
   Spectrum: LogParabola
339         norm:  8.729e-01  2.226e+00  1.000e-04  1.000e+04 ( 1.000e-13)
340        alpha:  2.665e-02  9.633e-01  0.000e+00  5.000e+00 ( 1.000e+00)
341         beta:  1.007e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
342           Eb:  2.273e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
737    Prefactor:  1.119e+00  9.529e-02  0.000e+00  1.000e+01 ( 1.000e+00)
738        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
739        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
736   Normalization:  4.375e-01  2.539e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 17.07
Ra Dec: 272.441 29.171
Photon Index (Free Index): 0.03 +/- 0.96
Photon Flux (Free Index): 3.71e-09 +/- 3.73e-09
Energy Flux (Free Index): 1.39e-04 +/- 1.65e-04

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/623562/cmap_HighResolution_248140801_248400001_4FGL_J1809.7+2910_daily_bin34.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.03e-08', energy_flux2='1.39e-04', photon_flux_error='1.02e-08', dlogl='2.46e+00', energy_flux='1.42e-05', photon_flux2='3.71e-09', job_status='DONE', time_completed='2021-09-19 18:56:24.354960', photon_index_error2='0.96', photon_index2='0.03', ts='12.15', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', energy_flux_error2='1.65e-04', EG='0.44', time_epoch_completed='1632102984.36', return_code='0', job_id='623562', GAL2='1.12', EG2='0.44', return_code2='0', energy_flux_error='1.40e-05', photon_flux_error2='3.73e-09', ts2='17.07', photon_index='1.76' WHERE bin_id='34' AND source_name='4FGL J1809.7+2910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 19 18:56:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 623562: <4FGL_J1809.7+2910_daily_bin34> in cluster <slac> Done

Job <4FGL_J1809.7+2910_daily_bin34> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 19 18:40:31 2021
Job was executed on host(s) <bullet0252>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 19 18:40:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 19 18:40:33 2021
Terminated at Sun Sep 19 18:56:24 2021
Results reported at Sun Sep 19 18:56:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1809.7+2910_daily_bin34 272.441 29.1709 248140801 248400001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1809.7+2910 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   839.36 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             344.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   951 sec.
    Turnaround time :                            953 sec.

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

