Sender: LSF System <lsf@bullet0238>
Subject: Job 184998: <4FGL_J1709.7+4318_weekly_bin582> in cluster <slac> Done

Job <4FGL_J1709.7+4318_weekly_bin582> 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) <bullet0238>, 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:44:01 2021
Results reported at Mon Jul 26 08:44:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1709.7+4318_weekly_bin582 257.432 43.3109 590976001 591580801 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 :                                   3945.00 sec.
    Max Memory :                                 1259 MB
    Average Memory :                             328.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   4455 sec.
    Turnaround time :                            4700 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 212 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 = 17006
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1709.7+4318_weekly_bin582
RA = 257.432, Dec = 43.3109
tmin = 590976001, tmax = 591580801
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='184998', job_status='RUN', time_executed='2021-07-26 07:33:31.499519', time_epoch_executed='1627310011.5' WHERE source_name='4FGL J1709.7+4318' and cadence='weekly' and bin_id='582'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/184998

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/184998/ft1_4FGL_J1709.7+4318_weekly_bin582.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/184998/ft2_4FGL_J1709.7+4318_weekly_bin582.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/184998/ft1_4FGL_J1709.7+4318_weekly_bin582.fits outfile=/scratch/kocevski/184998/ft1_filteredMKT_4FGL_J1709.7+4318_weekly_bin582.fits ra=257.432 dec=43.3109 rad=12.0 tmin=590976001.0 tmax=591580801.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 7.09
user 6.77
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/184998/ft2_4FGL_J1709.7+4318_weekly_bin582.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/184998/ft1_filteredMKT_4FGL_J1709.7+4318_weekly_bin582.fits evtable="EVENTS" outfile="/scratch/kocevski/184998/ft1_filtered_4FGL_J1709.7+4318_weekly_bin582.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.56
user 0.38
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/184998/ft1_filtered_4FGL_J1709.7+4318_weekly_bin582.fits" evtable="EVENTS" scfile=/scratch/kocevski/184998/ft2_4FGL_J1709.7+4318_weekly_bin582.fits sctable="SC_DATA" outfile=/scratch/kocevski/184998/ltcube_590976001_591580801_4FGL_J1709.7+4318_weekly_bin582.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/184998/ft2_4FGL_J1709.7+4318_weekly_bin582.fits
.....................!
real 32.58
user 32.14
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/184998/ft1_filtered_4FGL_J1709.7+4318_weekly_bin582.fits evtable="EVENTS" scfile=/scratch/kocevski/184998/ft2_4FGL_J1709.7+4318_weekly_bin582.fits sctable="SC_DATA" expcube=/scratch/kocevski/184998/ltcube_590976001_591580801_4FGL_J1709.7+4318_weekly_bin582.fits outfile=/scratch/kocevski/184998/expmap_590976001_591580801_4FGL_J1709.7+4318_weekly_bin582.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/184998/ltcube_590976001_591580801_4FGL_J1709.7+4318_weekly_bin582.fits
.....................!
real 193.38
user 187.54
sys 5.06

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/184998/ft1_filtered_4FGL_J1709.7+4318_weekly_bin582.fits scfile=/scratch/kocevski/184998/ft2_4FGL_J1709.7+4318_weekly_bin582.fits outfile=/scratch/kocevski/184998/cmap_590976001_591580801_4FGL_J1709.7+4318_weekly_bin582.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.61
user 0.42
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/184998/ft1_filtered_4FGL_J1709.7+4318_weekly_bin582.fits scfile=/scratch/kocevski/184998/ft2_4FGL_J1709.7+4318_weekly_bin582.fits outfile=/scratch/kocevski/184998/cmap_HighResolution_590976001_591580801_4FGL_J1709.7+4318_weekly_bin582.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.62
user 0.44
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/184998/ft1_filtered_4FGL_J1709.7+4318_weekly_bin582.fits evtable="EVENTS" scfile=/scratch/kocevski/184998/ft2_4FGL_J1709.7+4318_weekly_bin582.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/184998/Model_4FGL_J1709.7+4318_weekly_bin582.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/184998/ft1_filtered_4FGL_J1709.7+4318_weekly_bin582.fits.....................!
real 186.35
user 184.61
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/184998/ft1_filtered_4FGL_J1709.7+4318_weekly_bin582.fits', '/scratch/kocevski/184998/ft2_4FGL_J1709.7+4318_weekly_bin582.fits', expMap='/scratch/kocevski/184998/expmap_590976001_591580801_4FGL_J1709.7+4318_weekly_bin582.fits', expCube='/scratch/kocevski/184998/ltcube_590976001_591580801_4FGL_J1709.7+4318_weekly_bin582.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/184998/Model_4FGL_J1709.7+4318_weekly_bin582.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/184998/ft1_filtered_4FGL_J1709.7+4318_weekly_bin582.fits
Spacecraft file(s): /scratch/kocevski/184998/ft2_4FGL_J1709.7+4318_weekly_bin582.fits
Exposure map: /scratch/kocevski/184998/expmap_590976001_591580801_4FGL_J1709.7+4318_weekly_bin582.fits
Exposure cube: /scratch/kocevski/184998/ltcube_590976001_591580801_4FGL_J1709.7+4318_weekly_bin582.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/184998/Model_4FGL_J1709.7+4318_weekly_bin582.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) = 27067.92295

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.0206       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.5533       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.1725       1.0000         .10000E-03   10000.    
     4 'norm      '    6.3371       1.0000         .10000E-03   10000.    
     5 'norm      '    .12105       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .69682       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .61695E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.5489       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.7711       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.0481       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.7462       1.0000         .10000E-03   10000.    
    15 'norm      '    4.0500       1.0000         .10000E-03   10000.    
    16 'norm      '    1.1045       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    2.5329       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.6947       1.0000         .10000E-03   10000.    
    22 'Prefactor '    16.078       1.0000         .10000E-03   10000.    
    23 'norm      '    16.133       1.0000         .10000E-03   10000.    
    24 'Prefactor '    52.149       1.0000         .10000E-03   10000.    
    25 'norm      '    1.0771       1.0000         .10000E-03   10000.    
    26 'Prefactor '    10.022       1.0000         .10000E-03   10000.    
    27 'Prefactor '    7.5141       1.0000         .10000E-03   10000.    
    28 'Prefactor '    77.600       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10559E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    6.0399       1.0000         .10000E-03   10000.    
    31 'Prefactor '    5.7784       1.0000         .10000E-03   10000.    
    32 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    33 'Normalizat'    .96216       1.0000         .10000E-01   10.000    
    34 'Prefactor '    1.0253       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=   27067.92     FROM MIGRAD    STATUS=CONVERGED    940 CALLS     4962 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.0208        2.6181       -.13158E-06   -.13162E-04
   2  Prefactor     5.5529        7.2577        .12672E-05    .65807E-05
   3  Prefactor     2.1724        1.3535        .47718E-07   -.14336E-03
   4  norm          6.3373        5.7228       -.97608E-08   -.31648E-05
   5  norm          .12106        .52770E-01    .35421E-08   -.14789E-02
   6  norm          .10000E-03    3.5880        .23747E-06** at limit **
   7  Prefactor     .10000E-03    5.5325        .37688E-07** at limit **
   8  Prefactor     .69691        1.4217        .48147E-06   -.21044E-04
   9  norm          .10000E-03    8.8150       -.43497E-07** at limit **
  10  Prefactor     .60228E-01    .23241        .12697E-06   -.14477E-02
  11  Prefactor     1.5498        .71450       -.76404E-08   -.75935E-03
  12  Prefactor     1.7712        1.2895        .27505E-07   -.22882E-04
  13  Prefactor     1.0481        1.1164        .12127E-06   -.14284E-03
  14  Prefactor     2.7463        2.8548        .78751E-06    .23000E-04
  15  norm          4.0498        1.0015        .85977E-08   -.21922E-03
  16  norm          1.1046        .46332        .12425E-07   -.10846E-03
  17  Prefactor     .10000E-03    2.2692        .16554E-07** at limit **
  18  norm          .10000E-03    .82881E-01    .75899E-08** at limit **
  19  norm          .10000E-03    3.8653       -.16728E-06** at limit **
  20  norm          2.5328        .84771       -.44267E-08   -.11789E-03
  21  Prefactor     1.6946        1.3354        .36361E-07    .28306E-04
  22  Prefactor     16.079        14.656        .29365E-07    .74345E-05
  23  norm          16.133        4.1833        .47781E-07    .14237E-03
  24  Prefactor     52.149        41.494        .19892E-06    .23483E-04
  25  norm          1.0773        2.1284        .30406E-06   -.18017E-03
  26  Prefactor     10.005        18.625        .25778E-05    .33286E-04
  27  Prefactor     7.5139        2.7491       -.52082E-07    .67004E-04
  28  Prefactor     77.601        34.271       -.43105E-07    .78216E-05
  29  Prefactor     .10000E-03    25.975       -.20596E-05** at limit **
  30  Prefactor     6.0403        9.0184        .14854E-06    .24731E-05
  31  Prefactor     5.7781        4.9676        .10115E-06    .23488E-04
  32  norm          .10000E-03    2.5232       -.86924E-07** at limit **
  33  Normalizat    .96219        .10450       -.52544E-06    .24951E-04
  34  Prefactor     1.0253        .77112E-01    .80206E-07    .37725E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.02084
  Prefactor  = 5.55291
  Prefactor  = 2.17243
  norm       = 6.33729
  norm       = 0.121058
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.696905
  norm       = 0.0001
  Prefactor  = 0.0602276
  Prefactor  = 1.54976
  Prefactor  = 1.77118
  Prefactor  = 1.04813
  Prefactor  = 2.74629
  norm       = 4.04983
  norm       = 1.10457
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 2.53279
  Prefactor  = 1.6946
  Prefactor  = 16.0787
  norm       = 16.133
  Prefactor  = 52.1486
  norm       = 1.07726
  Prefactor  = 10.0054
  Prefactor  = 7.51391
  Prefactor  = 77.6011
  Prefactor  = 0.000100002
  Prefactor  = 6.04029
  Prefactor  = 5.77806
  norm       = 0.0001
  Normalizat = 0.96219
  Prefactor  = 1.02527
 **********
 **   18 **HESSE 
 **********

 FCN=   27067.92     FROM HESSE     STATUS=OK           750 CALLS     5712 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.0208        2.6122        .19370E-03   -1.5307    
   2  Prefactor     5.5529        7.2309        .85244E-03   -1.5237    
   3  Prefactor     2.1724        1.3436        .14351E-03   -1.5413    
   4  norm          6.3373        5.7241        .15945E-03   -1.5204    
   5  norm          .12106        .51238E-01    .22968E-04   -1.5638    
   6  norm          .10000E-03    3.6182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.6258        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .69691        1.3965        .26528E-03   -1.5541    
   9  norm          .10000E-03    8.8828        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .60228E-01    2.4605        .10865E-02   -1.5659    
  11  Prefactor     1.5498        .97539        .67568E-04   -1.5459    
  12  Prefactor     1.7712        1.2728        .14894E-03   -1.5442    
  13  Prefactor     1.0481        1.0770        .16893E-03   -1.5503    
  14  Prefactor     2.7463        2.8543        .12283E-02   -1.5377    
  15  norm          4.0498        1.0018        .77534E-04   -1.5305    
  16  norm          1.1046        .44840        .67271E-04   -1.5498    
  17  Prefactor     .10000E-03    2.3673        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .14714        .91645E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    4.0239        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.5328        .84389        .83084E-04   -1.5390    
  21  Prefactor     1.6946        1.3193        .16211E-03   -1.5448    
  22  Prefactor     16.079        14.653        .99886E-04   -1.4906    
  23  norm          16.133        4.1803        .99716E-04   -1.4904    
  24  Prefactor     52.149        41.497        .55539E-04   -1.4262    
  25  norm          1.0773        2.0872        .31824E-03   -1.5500    
  26  Prefactor     10.005        18.639        .12657E-03   -1.5075    
  27  Prefactor     7.5139        2.7301        .14630E-03   -1.5160    
  28  Prefactor     77.601        34.253        .45586E-04   -1.3944    
  29  Prefactor     .10000E-03    27.549        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     6.0403        9.0131        .16337E-03   -1.5216    
  31  Prefactor     5.7781        4.9682        .16708E-03   -1.5227    
  32  norm          .10000E-03    2.6063        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    .96219        .12255        .28913E-03   -.94308    
  34  Prefactor     1.0253        .91810E-01    .22137E-03   -.91892    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.27603e-10
Minuit parameter uncertainties:
  1  2.61229
  2  7.23203
  3  1.34361
  4  5.72464
  5  0.0512383
  6  2.40466e-06
  7  4.83322e-06
  8  1.39653
  9  4.82622e-06
  10  0.7693
  11  0.9754
  12  1.27286
  13  1.07703
  14  2.85446
  15  1.00182
  16  0.448404
  17  3.43138e-06
  18  1.63497e-09
  19  7.39539e-06
  20  0.84389
  21  1.3193
  22  14.6559
  23  4.18042
  24  41.5201
  25  2.08739
  26  18.6503
  27  2.73014
  28  34.2614
  29  0.00044874
  30  9.01516
  31  4.96853
  32  1.72862e-07
  33  0.122582
  34  0.0918239
Done.

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

Extracting fit parameters...

4FGL J1709.7+4318
   Spectrum: LogParabola
333         norm:  1.000e-04  1.635e-09  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:  1.025e+00  9.182e-02  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:  9.622e-01  1.226e-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.06e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.82e-06 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/184998/likelihoodResults_590976001_591580801_4FGL_J1709.7+4318_weekly_bin582.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) = 27067.9165098
delta logL = -0.000493524676131

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 27067.8736847
delta logL = 0.0423315015432

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   27067.87     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      336 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .12012E-01    .73521E-01    .52155E-03    .58668E-02
   2  alpha         .82287        1.2856        .79204E-01   -.57246E-04
   3  Normalizat    .96206        .11302        .28915E-03    .20209E-03
   4  Prefactor     1.0249        .89600E-01    .22140E-03    .65287E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0120116
  alpha      = 0.822866
  Normalizat = 0.962065
  Prefactor  = 1.02493
 **********
 **   18 **HESSE 
 **********

 FCN=   27067.87     FROM HESSE     STATUS=OK            27 CALLS      363 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .12012E-01    .87927E-01    .20862E-04   -1.5686    
   2  alpha         .82287        1.3932        .31682E-02   -.73536    
   3  Normalizat    .96206        .11312        .11566E-04   -.94312    
   4  Prefactor     1.0249        .89682E-01    .44280E-04   -.91903    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.35674e-10
Minuit parameter uncertainties:
  1  0.0647257
  2  1.57643
  3  0.113151
  4  0.089695
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/184998': 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) = 27067.8736847
delta logL = 0.0423315145854

Extracting fit parameters...

4FGL J1709.7+4318
   Spectrum: LogParabola
333         norm:  1.201e-02  6.473e-02  1.000e-04  1.000e+04 ( 1.000e-11)
334        alpha:  8.229e-01  1.576e+00  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:  1.025e+00  8.969e-02  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:  9.621e-01  1.132e-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/184998/cmap_HighResolution_590976001_591580801_4FGL_J1709.7+4318_weekly_bin582.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.82e-06', job_status='DONE', photon_flux_upper_limit='2.06e-08', time_completed='2021-07-26 08:44:00.188458', job_id='184998', GAL2='1.02', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1627314240.19', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='4.23e-02', ts2='0.08', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='582' AND source_name='4FGL J1709.7+4318' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Mon Jul 26 08:44:00 PDT 2021

