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


Performing analysis on: 4FGL_J1809.7+2910_daily_bin1056
RA = 272.441, Dec = 29.1709
tmin = 513043201, tmax = 513302401
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='632276', job_status='RUN', time_executed='2021-09-19 19:08:52.903405', time_epoch_executed='1632103732.9' WHERE source_name='4FGL J1809.7+2910' and cadence='daily' and bin_id='1056'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/632276

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/632276/ft1_4FGL_J1809.7+2910_daily_bin1056.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/632276/ft2_4FGL_J1809.7+2910_daily_bin1056.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/632276/ft1_4FGL_J1809.7+2910_daily_bin1056.fits outfile=/scratch/kocevski/632276/ft1_filteredMKT_4FGL_J1809.7+2910_daily_bin1056.fits ra=272.441 dec=29.1709 rad=12.0 tmin=513043201.0 tmax=513302401.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 6.32
user 6.07
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/632276/ft2_4FGL_J1809.7+2910_daily_bin1056.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/632276/ft1_filteredMKT_4FGL_J1809.7+2910_daily_bin1056.fits evtable="EVENTS" outfile="/scratch/kocevski/632276/ft1_filtered_4FGL_J1809.7+2910_daily_bin1056.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.49
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/632276/ft1_filtered_4FGL_J1809.7+2910_daily_bin1056.fits" evtable="EVENTS" scfile=/scratch/kocevski/632276/ft2_4FGL_J1809.7+2910_daily_bin1056.fits sctable="SC_DATA" outfile=/scratch/kocevski/632276/ltcube_513043201_513302401_4FGL_J1809.7+2910_daily_bin1056.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/632276/ft2_4FGL_J1809.7+2910_daily_bin1056.fits
.....................!
real 12.14
user 11.80
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/632276/ft1_filtered_4FGL_J1809.7+2910_daily_bin1056.fits evtable="EVENTS" scfile=/scratch/kocevski/632276/ft2_4FGL_J1809.7+2910_daily_bin1056.fits sctable="SC_DATA" expcube=/scratch/kocevski/632276/ltcube_513043201_513302401_4FGL_J1809.7+2910_daily_bin1056.fits outfile=/scratch/kocevski/632276/expmap_513043201_513302401_4FGL_J1809.7+2910_daily_bin1056.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/632276/ltcube_513043201_513302401_4FGL_J1809.7+2910_daily_bin1056.fits
.....................!
real 189.97
user 185.07
sys 4.54

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/632276/ft1_filtered_4FGL_J1809.7+2910_daily_bin1056.fits scfile=/scratch/kocevski/632276/ft2_4FGL_J1809.7+2910_daily_bin1056.fits outfile=/scratch/kocevski/632276/cmap_513043201_513302401_4FGL_J1809.7+2910_daily_bin1056.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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/632276/ft1_filtered_4FGL_J1809.7+2910_daily_bin1056.fits scfile=/scratch/kocevski/632276/ft2_4FGL_J1809.7+2910_daily_bin1056.fits outfile=/scratch/kocevski/632276/cmap_HighResolution_513043201_513302401_4FGL_J1809.7+2910_daily_bin1056.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    184.76       1.0000         .10000E-03   10000.    
     2 'norm      '    103.53       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10217E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    207.49       1.0000         .10000E-03   10000.    
     6 'Prefactor '    27.106       1.0000         .10000E-03   10000.    
     7 'Prefactor '    16.571       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.1137       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.1318       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    8.6383       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .68169E-02   1.0000         .10000E-03   10000.    
    19 'norm      '    2.7078       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10932E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .73620       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0677       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=   3957.905     FROM MIGRAD    STATUS=CONVERGED    505 CALLS     2529 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     184.72        127.41       -.12742E-06   -.65675E-05
   2  norm          103.55        144.05        .31434E-06    .24298E-05
   3  Prefactor     .10000E-03    77.372        .86792E-08** at limit **
   4  Prefactor     .10000E-03    29.182       -.43027E-06** at limit **
   5  Prefactor     207.53        127.99       -.37138E-07    .90519E-05
   6  Prefactor     27.018        140.77        .14877E-04    .13066E-04
   7  Prefactor     16.755        663.84       -.34780E-04   -.96487E-05
   8  Prefactor     .10000E-03    4.6995        .11156E-06** at limit **
   9  norm          .10000E-03    3.5200       -.25550E-06** at limit **
  10  norm          .10000E-03    51.577       -.13780E-06** at limit **
  11  Prefactor     9.1156        11.754       -.11361E-06   -.11068E-05
  12  norm          .10000E-03    6.4462       -.46280E-07** at limit **
  13  Prefactor     7.1268        9.8509       -.23005E-06   -.13188E-04
  14  Prefactor     .10000E-03    130.65       -.35011E-05** at limit **
  15  norm          8.6338        57.206        .35414E-06    .41483E-06
  16  Prefactor     .10000E-03    3.9301       -.42860E-07** at limit **
  17  norm          .10000E-03    35.257       -.20940E-07** at limit **
  18  norm          .10047E-03    4.7745       -.69587E-06** at limit **
  19  norm          2.7153        2.9781       -.11935E-06    .54935E-03
  20  Prefactor     .10000E-03    7.6705        .38177E-07** at limit **
  21  Prefactor     .10000E-03    126.22        .89241E-07** at limit **
  22  Normalizat    .73593        .40301        .22886E-05    .22520E-04
  23  Prefactor     1.0677        .13688       -.90328E-06    .11723E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 184.719
  norm       = 103.554
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 207.532
  Prefactor  = 27.0181
  Prefactor  = 16.755
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 9.11561
  norm       = 0.0001
  Prefactor  = 7.12676
  Prefactor  = 0.0001
  norm       = 8.63383
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.000100468
  norm       = 2.71532
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.735928
  Prefactor  = 1.06773
 **********
 **   18 **HESSE 
 **********

 FCN=   3957.905     FROM HESSE     STATUS=OK           368 CALLS     2897 TOTAL
                     EDM=   .85E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     184.72        127.46        .14852E-03   -1.2981    
   2  norm          103.55        144.01        .19759E-03   -1.3669    
   3  Prefactor     .10000E-03    77.041        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    29.342        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     207.53        127.81        .14031E-03   -1.2817    
   6  Prefactor     27.018        143.21        .76948E-04   -1.4668    
   7  Prefactor     16.755        672.22        .98390E-04   -1.4889    
   8  Prefactor     .10000E-03    4.7001        .13319E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.6432        .23048E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    51.580        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.1156        11.765        .13276E-03   -1.5104    
  12  norm          .10000E-03    6.4477        .15601E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.1268        9.7983        .15021E-03   -1.5174    
  14  Prefactor     .10000E-03    130.92        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          8.6338        57.288        .13638E-03   -1.5120    
  16  Prefactor     .10000E-03    3.9338        .12180E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    35.254        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10047E-03    53.563        .21530E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.7153        2.6165        .95282E-04   -1.5378    
  20  Prefactor     .10000E-03    7.6774        .17018E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    126.42        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .73593        .43497        .50991E-03   -1.0249    
  23  Prefactor     1.0677        .14856        .15194E-03   -.90505    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.54308e-09
Minuit parameter uncertainties:
  1  127.655
  2  144.496
  3  0.000140085
  4  1.79695e-05
  5  127.981
  6  124.874
  7  214.896
  8  1.5698e-06
  9  6.22748e-06
  10  3.23335e-05
  11  11.7684
  12  8.81988e-08
  13  9.80048
  14  0.00033844
  15  44.5417
  16  6.37309e-07
  17  9.51599e-06
  18  0.0100185
  19  2.61664
  20  3.72308e-06
  21  1.43298e-05
  22  0.437032
  23  0.148616
Done.

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

Extracting fit parameters...

4FGL J1809.7+2910
   Spectrum: LogParabola
339         norm:  1.000e-04  8.820e-08  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.068e+00  1.486e-01  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:  7.359e-01  4.370e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 272.441 29.171
Photon Flux Upper Limit: 7.39e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.02e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/632276/likelihoodResults_513043201_513302401_4FGL_J1809.7+2910_daily_bin1056.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) = 3957.90552761
delta logL = -0.000729494469851

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3957.90479812
delta logL = -2.54658516496e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7610       1.0000          .0000       5.0000    
     3 'Normalizat'    .73591       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0677       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=   3957.905     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      197 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6.7099        .90712E-02** at limit **
   2  alpha         1.7594        3.3413        .43692        .11037E-05
   3  Normalizat    .73593        .36834        .11497        .21205E-04
   4  Prefactor     1.0677        .13153        .38967E-01   -.44759E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.75942
  Normalizat = 0.735928
  Prefactor  = 1.06773
 **********
 **   18 **HESSE 
 **********

 FCN=   3957.905     FROM HESSE     STATUS=OK            33 CALLS      230 TOTAL
                     EDM=   .12E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.4583        .15602E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7594        3.3351        .50000       -.30075    
   3  Normalizat    .73593        .40098        .50989E-03   -1.0249    
   4  Prefactor     1.0677        .14382        .15194E-03   -.90505    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2322e-12
Minuit parameter uncertainties:
  1  1.44992e-07
  2  2.3926
  3  0.402594
  4  0.143875
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/632276': 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) = 3957.90479812
delta logL = 1.46474121721e-09

Extracting fit parameters...

4FGL J1809.7+2910
   Spectrum: LogParabola
339         norm:  1.000e-04  1.450e-07  1.000e-04  1.000e+04 ( 1.000e-13)
340        alpha:  1.759e+00  2.393e+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:  1.068e+00  1.439e-01  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:  7.359e-01  4.026e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 272.441 29.171

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/632276/cmap_HighResolution_513043201_513302401_4FGL_J1809.7+2910_daily_bin1056.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.02e-04', job_status='DONE', photon_flux_upper_limit='7.39e-08', time_completed='2021-09-19 19:19:02.861390', job_id='632276', GAL2='1.07', fit_tolerance='1e-08', EG2='0.74', EG='0.74', time_epoch_completed='1632104342.86', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='1.46e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.76' WHERE bin_id='1056' AND source_name='4FGL J1809.7+2910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 19 19:19:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 632276: <4FGL_J1809.7+2910_daily_bin1056> in cluster <slac> Done

Job <4FGL_J1809.7+2910_daily_bin1056> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Sep 19 19:05:39 2021
Job was executed on host(s) <bullet0259>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 19 19:05:42 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:42 2021
Terminated at Sun Sep 19 19:19:03 2021
Results reported at Sun Sep 19 19:19:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1809.7+2910_daily_bin1056 272.441 29.1709 513043201 513302401 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 :                                   607.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             261.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   801 sec.
    Turnaround time :                            804 sec.

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

