/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 8 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 = 7356
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1809.7+2910_daily_bin1018
RA = 272.441, Dec = 29.1709
tmin = 503193601, tmax = 503452801
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='632220', job_status='RUN', time_executed='2021-09-19 19:05:52.807757', time_epoch_executed='1632103552.81' WHERE source_name='4FGL J1809.7+2910' and cadence='daily' and bin_id='1018'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/632220

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/632220/ft1_4FGL_J1809.7+2910_daily_bin1018.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/632220/ft2_4FGL_J1809.7+2910_daily_bin1018.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/632220/ft1_4FGL_J1809.7+2910_daily_bin1018.fits outfile=/scratch/kocevski/632220/ft1_filteredMKT_4FGL_J1809.7+2910_daily_bin1018.fits ra=272.441 dec=29.1709 rad=12.0 tmin=503193601.0 tmax=503452801.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 5.06
user 4.84
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/632220/ft2_4FGL_J1809.7+2910_daily_bin1018.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/632220/ft1_filteredMKT_4FGL_J1809.7+2910_daily_bin1018.fits evtable="EVENTS" outfile="/scratch/kocevski/632220/ft1_filtered_4FGL_J1809.7+2910_daily_bin1018.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.51
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/632220/ft1_filtered_4FGL_J1809.7+2910_daily_bin1018.fits" evtable="EVENTS" scfile=/scratch/kocevski/632220/ft2_4FGL_J1809.7+2910_daily_bin1018.fits sctable="SC_DATA" outfile=/scratch/kocevski/632220/ltcube_503193601_503452801_4FGL_J1809.7+2910_daily_bin1018.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/632220/ft2_4FGL_J1809.7+2910_daily_bin1018.fits
.....................!
real 11.40
user 11.01
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/632220/ft1_filtered_4FGL_J1809.7+2910_daily_bin1018.fits evtable="EVENTS" scfile=/scratch/kocevski/632220/ft2_4FGL_J1809.7+2910_daily_bin1018.fits sctable="SC_DATA" expcube=/scratch/kocevski/632220/ltcube_503193601_503452801_4FGL_J1809.7+2910_daily_bin1018.fits outfile=/scratch/kocevski/632220/expmap_503193601_503452801_4FGL_J1809.7+2910_daily_bin1018.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/632220/ltcube_503193601_503452801_4FGL_J1809.7+2910_daily_bin1018.fits
.....................!
real 192.54
user 187.29
sys 4.86

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/632220/ft1_filtered_4FGL_J1809.7+2910_daily_bin1018.fits scfile=/scratch/kocevski/632220/ft2_4FGL_J1809.7+2910_daily_bin1018.fits outfile=/scratch/kocevski/632220/cmap_503193601_503452801_4FGL_J1809.7+2910_daily_bin1018.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/632220/ft1_filtered_4FGL_J1809.7+2910_daily_bin1018.fits scfile=/scratch/kocevski/632220/ft2_4FGL_J1809.7+2910_daily_bin1018.fits outfile=/scratch/kocevski/632220/cmap_HighResolution_503193601_503452801_4FGL_J1809.7+2910_daily_bin1018.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/632220/ft1_filtered_4FGL_J1809.7+2910_daily_bin1018.fits evtable="EVENTS" scfile=/scratch/kocevski/632220/ft2_4FGL_J1809.7+2910_daily_bin1018.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/632220/Model_4FGL_J1809.7+2910_daily_bin1018.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/632220/ft1_filtered_4FGL_J1809.7+2910_daily_bin1018.fits.....................!
real 82.79
user 81.43
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/632220/ft1_filtered_4FGL_J1809.7+2910_daily_bin1018.fits', '/scratch/kocevski/632220/ft2_4FGL_J1809.7+2910_daily_bin1018.fits', expMap='/scratch/kocevski/632220/expmap_503193601_503452801_4FGL_J1809.7+2910_daily_bin1018.fits', expCube='/scratch/kocevski/632220/ltcube_503193601_503452801_4FGL_J1809.7+2910_daily_bin1018.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/632220/Model_4FGL_J1809.7+2910_daily_bin1018.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/632220/ft1_filtered_4FGL_J1809.7+2910_daily_bin1018.fits
Spacecraft file(s): /scratch/kocevski/632220/ft2_4FGL_J1809.7+2910_daily_bin1018.fits
Exposure map: /scratch/kocevski/632220/expmap_503193601_503452801_4FGL_J1809.7+2910_daily_bin1018.fits
Exposure cube: /scratch/kocevski/632220/ltcube_503193601_503452801_4FGL_J1809.7+2910_daily_bin1018.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/632220/Model_4FGL_J1809.7+2910_daily_bin1018.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) = 8491.30003379

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .11192E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    44.390       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.5827       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.8194       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10415E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    4.3563       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .41566E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    23.671       1.0000         .10000E-03   10000.    
    15 'norm      '    3.8794       1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.542       1.0000         .10000E-03   10000.    
    17 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    5.1508       1.0000         .10000E-03   10000.    
    20 'Prefactor '    21.323       1.0000         .10000E-03   10000.    
    21 'Prefactor '    34.075       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.5196       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .80779       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=   8491.289     FROM MIGRAD    STATUS=CONVERGED    524 CALLS     2562 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.896        .20992E-06** at limit **
   2  norm          .10000E-03    87.860       -.37562E-06** at limit **
   3  Prefactor     44.867        146.74       -.44059E-05    .21973E-04
   4  Prefactor     7.5688        22.656        .68428E-05    .17345E-03
   5  Prefactor     .10000E-03    51.066        .47768E-06** at limit **
   6  Prefactor     2.6453        233.18        .15746E-04    .46488E-04
   7  Prefactor     .10000E-03    59.423        .16584E-05** at limit **
   8  Prefactor     .10000E-03    5.9720       -.21207E-06** at limit **
   9  norm          .10000E-03    .69229        .29366E-06** at limit **
  10  norm          .10000E-03    58.749       -.20976E-05** at limit **
  11  Prefactor     .10000E-03    9.6431       -.16095E-05** at limit **
  12  norm          4.3557        10.126       -.63963E-06    .15442E-03
  13  Prefactor     .10001E-03    5.5178       -.23950E-05** at limit **
  14  Prefactor     23.697        31.484        .51678E-05    .51862E-03
  15  norm          3.8777        56.643       -.28056E-06    .27184E-04
  16  Prefactor     10.542        11.430        .46246E-06    .23097E-03
  17  norm          .10000E-03    26.842       -.31154E-08** at limit **
  18  norm          .10000E-03    2.9408       -.22770E-07** at limit **
  19  norm          5.1508        2.7043        .30786E-07    .24851E-03
  20  Prefactor     21.317        16.410       -.40370E-06    .91113E-04
  21  Prefactor     34.044        78.202       -.19051E-06    .10222E-04
  22  Normalizat    1.5193        .30653       -.10338E-04    .53815E-03
  23  Prefactor     .80789        .95392E-01    .42270E-05    .37856E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 44.867
  Prefactor  = 7.56883
  Prefactor  = 0.0001
  Prefactor  = 2.64528
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 4.35567
  Prefactor  = 0.000100015
  Prefactor  = 23.6974
  norm       = 3.87769
  Prefactor  = 10.5417
  norm       = 0.0001
  norm       = 0.0001
  norm       = 5.15081
  Prefactor  = 21.3167
  Prefactor  = 34.044
  Normalizat = 1.51934
  Prefactor  = 0.807891
 **********
 **   18 **HESSE 
 **********

 FCN=   8491.289     FROM HESSE     STATUS=OK           364 CALLS     2926 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.898        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    87.995        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     44.867        146.55        .30087E-03   -1.4367    
   4  Prefactor     7.5688        22.640        .14564E-03   -1.5158    
   5  Prefactor     .10000E-03    51.179        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.6453        227.75        .24223E-03   -1.5383    
   7  Prefactor     .10000E-03    59.375        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    5.9925        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    .69325        .74798E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    58.927        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    9.8711        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.3557        10.080        .19298E-03   -1.5291    
  13  Prefactor     .10001E-03    21.291        .38720E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     23.697        30.945        .82332E-04   -1.4734    
  15  norm          3.8777        56.517        .20486E-03   -1.5314    
  16  Prefactor     10.542        11.394        .12340E-03   -1.5058    
  17  norm          .10000E-03    26.849        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    2.9948        .30587E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          5.1508        2.6786        .98728E-04   -1.5254    
  20  Prefactor     21.317        16.436        .86740E-04   -1.4784    
  21  Prefactor     34.044        78.183        .68649E-04   -1.4540    
  22  Normalizat    1.5193        .30696        .37996E-03   -.77236    
  23  Prefactor     .80789        .97398E-01    .16717E-03   -.99438    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.28387e-09
Minuit parameter uncertainties:
  1  2.17962e-05
  2  0.000132832
  3  147.749
  4  22.6661
  5  2.72749e-05
  6  49.284
  7  0.000147959
  8  1.29762e-05
  9  2.62722e-06
  10  0.000393433
  11  4.85929e-05
  12  10.0842
  13  0.00111354
  14  30.9656
  15  29.6412
  16  11.3967
  17  9.72421e-06
  18  7.74196e-06
  19  2.67868
  20  16.4398
  21  78.4193
  22  0.307341
  23  0.0974189
Done.

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

Extracting fit parameters...

4FGL J1809.7+2910
   Spectrum: LogParabola
339         norm:  4.356e+00  1.008e+01  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:  8.079e-01  9.742e-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:  1.519e+00  3.073e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.26
Ra Dec: 272.441 29.171
Photon Flux Upper Limit: 6.52e-08 ph cm-2 s-1
Energy Flux Upper Limit: 8.95e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/632220/likelihoodResults_503193601_503452801_4FGL_J1809.7+2910_daily_bin1018.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) = 8491.18739024
delta logL = 0.101569546414

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8491.10794412
delta logL = 0.181015668253

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13330       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.1582       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4439       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82219       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.

 FCN=   8491.108     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      274 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .13145        1.5893        .91156E-02   -.37202E-02
   2  alpha         4.1634        3.8346        .38388       -.49480E-04
   3  Normalizat    1.4438        .40386E-01    .87582E-01   -.35975E-03
   4  Prefactor     .82227        .13548E-01    .44005E-01   -.53384E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.13145
  alpha      = 4.16342
  Normalizat = 1.44385
  Prefactor  = 0.822271
 **********
 **   18 **HESSE 
 **********

 FCN=   8491.108     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      303 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .13145        9.6977        .39345E-04   -1.5635    
   2  alpha         4.1634        3.8191        .17822E-01    .72799    
   3  Normalizat    1.4438        .23207        .38778E-03   -.79369    
   4  Prefactor     .82227        .75176E-01    .16581E-03   -.98913    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.73258e-09
Minuit parameter uncertainties:
  1  2.25763
  2  6.47429
  3  0.23224
  4  0.0751858
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/632220': 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): 102
logL (Free Index) = 8491.10794199
delta logL = 0.181017798173

Extracting fit parameters...

4FGL J1809.7+2910
   Spectrum: LogParabola
339         norm:  1.314e-01  2.258e+00  1.000e-04  1.000e+04 ( 1.000e-13)
340        alpha:  4.163e+00  6.474e+00  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:  8.223e-01  7.519e-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:  1.444e+00  2.322e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.26
Ra Dec: 272.441 29.171

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/632220/cmap_HighResolution_503193601_503452801_4FGL_J1809.7+2910_daily_bin1018.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.95e-05', job_status='DONE', photon_flux_upper_limit='6.52e-08', time_completed='2021-09-19 19:21:22.154523', job_id='632220', GAL2='0.82', fit_tolerance='1e-08', EG2='1.44', EG='1.52', time_epoch_completed='1632104482.15', return_code2='102', ts='0.26', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='1.81e-01', ts2='0.67', photon_index_error='0.00', photon_index='1.76' WHERE bin_id='1018' AND source_name='4FGL J1809.7+2910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 19 19:21:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 632220: <4FGL_J1809.7+2910_daily_bin1018> in cluster <slac> Done

Job <4FGL_J1809.7+2910_daily_bin1018> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Sep 19 19:05:36 2021
Job was executed on host(s) <bullet0088>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 19 19:05:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 19 19:05:37 2021
Terminated at Sun Sep 19 19:21:22 2021
Results reported at Sun Sep 19 19:21:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1809.7+2910_daily_bin1018 272.441 29.1709 503193601 503452801 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 :                                   923.27 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             346.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   945 sec.
    Turnaround time :                            946 sec.

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

