Sender: LSF System <lsf@bullet0284>
Subject: Job 185000: <4FGL_J1709.7+4318_weekly_bin583> in cluster <slac> Done

Job <4FGL_J1709.7+4318_weekly_bin583> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Jul 26 07:25:41 2021
Job was executed on host(s) <bullet0284>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jul 26 07:29:45 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jul 26 07:29:45 2021
Terminated at Mon Jul 26 08:29:57 2021
Results reported at Mon Jul 26 08:29:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1709.7+4318_weekly_bin583 257.432 43.3109 591580801 592185601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1709.7+4318 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   3246.00 sec.
    Max Memory :                                 1259 MB
    Average Memory :                             325.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   3611 sec.
    Turnaround time :                            3856 sec.

The output (if any) follows:

aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  while getting realm
/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 143 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 = 17027
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1709.7+4318_weekly_bin583
RA = 257.432, Dec = 43.3109
tmin = 591580801, tmax = 592185601
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='185000', job_status='RUN', time_executed='2021-07-26 07:32:20.119277', time_epoch_executed='1627309940.12' WHERE source_name='4FGL J1709.7+4318' and cadence='weekly' and bin_id='583'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/185000

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/185000/ft1_4FGL_J1709.7+4318_weekly_bin583.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/185000/ft2_4FGL_J1709.7+4318_weekly_bin583.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/185000/ft1_4FGL_J1709.7+4318_weekly_bin583.fits outfile=/scratch/kocevski/185000/ft1_filteredMKT_4FGL_J1709.7+4318_weekly_bin583.fits ra=257.432 dec=43.3109 rad=12.0 tmin=591580801.0 tmax=592185601.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 10.21
user 9.22
sys 0.43

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/185000/ft2_4FGL_J1709.7+4318_weekly_bin583.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/185000/ft2_4FGL_J1709.7+4318_weekly_bin583.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/185000/ft1_filteredMKT_4FGL_J1709.7+4318_weekly_bin583.fits evtable="EVENTS" outfile="/scratch/kocevski/185000/ft1_filtered_4FGL_J1709.7+4318_weekly_bin583.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.55
user 0.39
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/185000/ft1_filtered_4FGL_J1709.7+4318_weekly_bin583.fits" evtable="EVENTS" scfile=/scratch/kocevski/185000/ft2_4FGL_J1709.7+4318_weekly_bin583.fits sctable="SC_DATA" outfile=/scratch/kocevski/185000/ltcube_591580801_592185601_4FGL_J1709.7+4318_weekly_bin583.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/185000/ft2_4FGL_J1709.7+4318_weekly_bin583.fits
.....................!
real 29.44
user 28.58
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/185000/ft1_filtered_4FGL_J1709.7+4318_weekly_bin583.fits evtable="EVENTS" scfile=/scratch/kocevski/185000/ft2_4FGL_J1709.7+4318_weekly_bin583.fits sctable="SC_DATA" expcube=/scratch/kocevski/185000/ltcube_591580801_592185601_4FGL_J1709.7+4318_weekly_bin583.fits outfile=/scratch/kocevski/185000/expmap_591580801_592185601_4FGL_J1709.7+4318_weekly_bin583.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/185000/ltcube_591580801_592185601_4FGL_J1709.7+4318_weekly_bin583.fits
.....................!
real 192.29
user 186.90
sys 4.99

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

Setting source of interest to:
4FGL J1709.7+4318 @ 257.432 43.3109

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/185000/ft1_filtered_4FGL_J1709.7+4318_weekly_bin583.fits scfile=/scratch/kocevski/185000/ft2_4FGL_J1709.7+4318_weekly_bin583.fits outfile=/scratch/kocevski/185000/cmap_591580801_592185601_4FGL_J1709.7+4318_weekly_bin583.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=257.432 yref=43.3109 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.59
user 0.40
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/185000/ft1_filtered_4FGL_J1709.7+4318_weekly_bin583.fits scfile=/scratch/kocevski/185000/ft2_4FGL_J1709.7+4318_weekly_bin583.fits outfile=/scratch/kocevski/185000/cmap_HighResolution_591580801_592185601_4FGL_J1709.7+4318_weekly_bin583.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=257.432 yref=43.3109 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.59
user 0.43
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/185000/ft1_filtered_4FGL_J1709.7+4318_weekly_bin583.fits evtable="EVENTS" scfile=/scratch/kocevski/185000/ft2_4FGL_J1709.7+4318_weekly_bin583.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/185000/Model_4FGL_J1709.7+4318_weekly_bin583.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/185000/ft1_filtered_4FGL_J1709.7+4318_weekly_bin583.fits.....................!
real 153.74
user 149.81
sys 1.39

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/185000/ft1_filtered_4FGL_J1709.7+4318_weekly_bin583.fits', '/scratch/kocevski/185000/ft2_4FGL_J1709.7+4318_weekly_bin583.fits', expMap='/scratch/kocevski/185000/expmap_591580801_592185601_4FGL_J1709.7+4318_weekly_bin583.fits', expCube='/scratch/kocevski/185000/ltcube_591580801_592185601_4FGL_J1709.7+4318_weekly_bin583.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/185000/Model_4FGL_J1709.7+4318_weekly_bin583.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1709.7+4318'

4FGL J1709.7+4318
   Spectrum: LogParabola
333         norm:  1.018e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
334        alpha:  2.221e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
335         beta:  9.629e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
336           Eb:  6.265e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/185000/ft1_filtered_4FGL_J1709.7+4318_weekly_bin583.fits
Spacecraft file(s): /scratch/kocevski/185000/ft2_4FGL_J1709.7+4318_weekly_bin583.fits
Exposure map: /scratch/kocevski/185000/expmap_591580801_592185601_4FGL_J1709.7+4318_weekly_bin583.fits
Exposure cube: /scratch/kocevski/185000/ltcube_591580801_592185601_4FGL_J1709.7+4318_weekly_bin583.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/185000/Model_4FGL_J1709.7+4318_weekly_bin583.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) = 21697.8381409

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4168       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.8599       1.0000         .10000E-03   10000.    
     4 'norm      '    35.296       1.0000         .10000E-03   10000.    
     5 'norm      '    .31301E-01   1.0000         .10000E-03   10000.    
     6 'norm      '    8.9837       1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.505       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .35844       1.0000         .10000E-03   10000.    
     9 'norm      '    8.8236       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .95082E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.6157       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.2047       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.459       1.0000         .10000E-03   10000.    
    15 'norm      '    4.0685       1.0000         .10000E-03   10000.    
    16 'norm      '    .78090       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.3606       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .11963E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    3.6784       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .20670E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    5.4772       1.0000         .10000E-03   10000.    
    24 'Prefactor '    46.639       1.0000         .10000E-03   10000.    
    25 'norm      '    .12701E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    16.650       1.0000         .10000E-03   10000.    
    27 'Prefactor '    5.2847       1.0000         .10000E-03   10000.    
    28 'Prefactor '    23.441       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    12.104       1.0000         .10000E-03   10000.    
    32 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.1084       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .93383       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   21697.83     FROM MIGRAD    STATUS=CONVERGED    930 CALLS     4907 TOTAL
                     EDM=   .85E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4166        1.8477        .65154E-08   -.18998E-05
   2  Prefactor     .10000E-03    4.0001        .35542E-07** at limit **
   3  Prefactor     2.8594        1.9397        .95715E-07   -.11194E-04
   4  norm          35.294        12.027        .16233E-07    .53975E-05
   5  norm          .31320E-01    .39774E-01   -.75255E-07   -.16650E-02
   6  norm          8.9835        6.6165       -.34852E-08    .28646E-06
   7  Prefactor     12.503        9.1477        .36059E-06    .24078E-04
   8  Prefactor     .36181        .96491       -.21180E-07    .43083E-04
   9  norm          8.8232        19.865       -.30264E-06    .36727E-05
  10  Prefactor     .95217E-01    .48627        .38446E-06   -.22444E-03
  11  Prefactor     1.6156        .73509       -.72313E-07    .15832E-03
  12  Prefactor     3.2043        1.6852        .41936E-08   -.23467E-05
  13  Prefactor     .10000E-03    .52617        .18176E-07** at limit **
  14  Prefactor     13.458        6.4578        .14563E-07   -.34604E-05
  15  norm          4.0685        1.0615       -.10048E-08   -.40630E-05
  16  norm          .78087        .48496        .26029E-08   -.58418E-04
  17  Prefactor     7.3612        4.5071        .18961E-07   -.33940E-05
  18  norm          .10000E-03    .93419E-01   -.15654E-08** at limit **
  19  norm          .10000E-03    1.4692        .14067E-06** at limit **
  20  norm          3.6786        1.0586        .48829E-08   -.93725E-04
  21  Prefactor     .10000E-03    .59515        .85050E-07** at limit **
  22  Prefactor     .10000E-03    8.4008       -.52602E-07** at limit **
  23  norm          5.4782        3.2005        .19354E-07   -.11233E-03
  24  Prefactor     46.649        42.820       -.17742E-06   -.41775E-04
  25  norm          .10000E-03    .86581        .12794E-07** at limit **
  26  Prefactor     16.654        15.182       -.54653E-07   -.22036E-04
  27  Prefactor     5.2891        3.3026       -.44769E-07   -.15228E-03
  28  Prefactor     23.403        33.240        .12156E-05    .44380E-04
  29  Prefactor     .10000E-03    7.0738        .65224E-07** at limit **
  30  Prefactor     .10000E-03    4.7380       -.35501E-07** at limit **
  31  Prefactor     12.103        6.1215        .15747E-07   -.14877E-04
  32  norm          .10000E-03    2.1508       -.84958E-08** at limit **
  33  Normalizat    1.1085        .12154       -.26233E-06   -.26527E-04
  34  Prefactor     .93385        .85549E-01    .18930E-06   -.15798E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.41659
  Prefactor  = 0.0001
  Prefactor  = 2.85941
  norm       = 35.2943
  norm       = 0.0313202
  norm       = 8.98353
  Prefactor  = 12.5025
  Prefactor  = 0.361806
  norm       = 8.82323
  Prefactor  = 0.0952167
  Prefactor  = 1.61559
  Prefactor  = 3.20429
  Prefactor  = 0.0001
  Prefactor  = 13.4585
  norm       = 4.06852
  norm       = 0.780868
  Prefactor  = 7.36116
  norm       = 0.0001
  norm       = 0.000100003
  norm       = 3.67858
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 5.47824
  Prefactor  = 46.6488
  norm       = 0.0001
  Prefactor  = 16.6537
  Prefactor  = 5.28913
  Prefactor  = 23.4034
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.1034
  norm       = 0.0001
  Normalizat = 1.10849
  Prefactor  = 0.933846
 **********
 **   18 **HESSE 
 **********

 FCN=   21697.83     FROM HESSE     STATUS=OK           756 CALLS     5663 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4166        1.8486        .17012E-03   -1.5397    
   2  Prefactor     .10000E-03    4.0178        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.8594        1.9313        .78253E-03   -1.5370    
   4  norm          35.294        12.027        .67455E-04   -1.4519    
   5  norm          .31320E-01    .37429E-01    .34963E-03   -1.5673    
   6  norm          8.9835        6.6155        .13372E-03   -1.5108    
   7  Prefactor     12.503        9.0293        .11327E-03   -1.5001    
   8  Prefactor     .36181        2.5309        .21956E-02   -1.5588    
   9  norm          8.8232        19.772        .13494E-03   -1.5114    
  10  Prefactor     .95217E-01    .42859        .16158E-03   -1.5646    
  11  Prefactor     1.6156        .67351        .64588E-04   -1.5454    
  12  Prefactor     3.2043        1.6700        .12857E-03   -1.5350    
  13  Prefactor     .10000E-03    .53957        .20826E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     13.458        6.4543        .54590E-03   -1.4974    
  15  norm          4.0685        1.0605        .74222E-04   -1.5305    
  16  norm          .78087        .45855        .73944E-03   -1.5531    
  17  Prefactor     7.3612        4.4405        .14783E-03   -1.5165    
  18  norm          .10000E-03    .13407        .85921E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    10.565        .33396E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.6786        1.0578        .21059E-04   -1.5324    
  21  Prefactor     .10000E-03    4.1969        .21634E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    8.4080        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          5.4782        3.1736        .17169E-03   -1.5240    
  24  Prefactor     46.649        42.567        .58712E-04   -1.4341    
  25  norm          .10000E-03    1.6396        .26149E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     16.654        15.169        .98154E-04   -1.4892    
  27  Prefactor     5.2891        3.2599        .17484E-03   -1.5248    
  28  Prefactor     23.403        33.226        .82734E-04   -1.4740    
  29  Prefactor     .10000E-03    7.0926        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    4.7651        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     12.103        6.1195        .11514E-03   -1.5012    
  32  norm          .10000E-03    2.1853        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    1.1085        .14437        .27546E-03   -.89480    
  34  Prefactor     .93385        .10202        .23063E-03   -.94968    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58949e-08
Minuit parameter uncertainties:
  1  1.8486
  2  9.26186e-07
  3  1.93132
  4  12.0274
  5  0.0374286
  6  6.616
  7  9.03029
  8  1.9137
  9  19.7871
  10  0.403815
  11  0.673508
  12  1.66997
  13  7.19636e-07
  14  6.4546
  15  1.06048
  16  0.458553
  17  4.44069
  18  1.61914e-07
  19  0.000369216
  20  1.05785
  21  0.000151825
  22  2.61141e-06
  23  3.17369
  24  42.5948
  25  3.95018e-06
  26  15.1721
  27  3.25998
  28  33.2527
  29  5.05372e-06
  30  9.90594e-07
  31  6.11977
  32  3.54092e-07
  33  0.144422
  34  0.10204
Done.

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

Extracting fit parameters...

4FGL J1709.7+4318
   Spectrum: LogParabola
333         norm:  1.000e-04  1.619e-07  1.000e-04  1.000e+04 ( 1.000e-11)
334        alpha:  2.221e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
335         beta:  9.629e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
336           Eb:  6.265e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
690    Prefactor:  9.338e-01  1.020e-01  0.000e+00  1.000e+01 ( 1.000e+00)
691        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
692        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
689   Normalization:  1.108e+00  1.444e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 257.432 43.311
Photon Flux Upper Limit: 2.36e-08 ph cm-2 s-1
Energy Flux Upper Limit: 8.97e-06 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/185000/likelihoodResults_591580801_592185601_4FGL_J1709.7+4318_weekly_bin583.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): 102
logL (Free Index) = 21697.8317789
delta logL = -0.00143513676448

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21697.7653872
delta logL = 0.06495649313

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   21697.77     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      301 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .53292E-02    .28974        .37252E-02    .34710E-01
   2  alpha         5.0000        4.7961        .46430    ** at limit **
   3  Normalizat    1.0956        .21763E-01    .62591E-01    .35407E-04
   4  Prefactor     .93987        .16411E-01    .45511E-01    .40688E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00532917
  alpha      = 5
  Normalizat = 1.09559
  Prefactor  = 0.939868
 **********
 **   18 **HESSE 
 **********

 FCN=   21697.77     FROM HESSE     STATUS=OK            37 CALLS      338 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .53292E-02    .19856E-01    .21333E-03   -1.5694    
   2  alpha         5.0000        4.6968        .50000        1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.0956        .13272        .27685E-03   -.89894    
   4  Prefactor     .93987        .10073        .22997E-03   -.94762    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31028e-07
Minuit parameter uncertainties:
  1  0.0198557
  2  0.00312403
  3  0.132764
  4  0.10075
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/185000': 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) = 21697.7653872
delta logL = 0.064956493512

Extracting fit parameters...

4FGL J1709.7+4318
   Spectrum: LogParabola
333         norm:  5.329e-03  1.986e-02  1.000e-04  1.000e+04 ( 1.000e-11)
334        alpha:  5.000e+00  3.124e-03  0.000e+00  5.000e+00 ( 1.000e+00)
335         beta:  9.629e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
336           Eb:  6.265e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
690    Prefactor:  9.399e-01  1.008e-01  0.000e+00  1.000e+01 ( 1.000e+00)
691        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
692        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
689   Normalization:  1.096e+00  1.328e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 257.432 43.311

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/185000/cmap_HighResolution_591580801_592185601_4FGL_J1709.7+4318_weekly_bin583.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.97e-06', job_status='DONE', photon_flux_upper_limit='2.36e-08', time_completed='2021-07-26 08:29:56.434475', job_id='185000', GAL2='0.94', fit_tolerance='1e-08', EG2='1.10', EG='1.11', time_epoch_completed='1627313396.43', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='6.50e-02', ts2='0.14', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='583' AND source_name='4FGL J1709.7+4318' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Mon Jul 26 08:29:56 PDT 2021

