Sender: LSF System <lsf@bullet0107>
Subject: Job 146228: <4FGL_J1706.1+1000_weekly_bin381> in cluster <slac> Done

Job <4FGL_J1706.1+1000_weekly_bin381> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Jul 26 05:20:33 2021
Job was executed on host(s) <bullet0107>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jul 26 05:21:47 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jul 26 05:21:47 2021
Terminated at Mon Jul 26 05:53:57 2021
Results reported at Mon Jul 26 05:53:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1706.1+1000_weekly_bin381 256.539 10.0079 469411201 470016001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1706.1+1000 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1803.00 sec.
    Max Memory :                                 1259 MB
    Average Memory :                             346.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1930 sec.
    Turnaround time :                            2004 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 83 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 = 17310
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1706.1+1000_weekly_bin381
RA = 256.539, Dec = 10.0079
tmin = 469411201, tmax = 470016001
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='146228', job_status='RUN', time_executed='2021-07-26 05:23:24.437644', time_epoch_executed='1627302204.44' WHERE source_name='4FGL J1706.1+1000' and cadence='weekly' and bin_id='381'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/146228

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/146228/ft1_4FGL_J1706.1+1000_weekly_bin381.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/146228/ft2_4FGL_J1706.1+1000_weekly_bin381.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/146228/ft1_4FGL_J1706.1+1000_weekly_bin381.fits outfile=/scratch/kocevski/146228/ft1_filteredMKT_4FGL_J1706.1+1000_weekly_bin381.fits ra=256.539 dec=10.0079 rad=12.0 tmin=469411201.0 tmax=470016001.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.57
user 7.13
sys 0.30

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/146228/ft2_4FGL_J1706.1+1000_weekly_bin381.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/146228/ft2_4FGL_J1706.1+1000_weekly_bin381.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/146228/ft1_filteredMKT_4FGL_J1706.1+1000_weekly_bin381.fits evtable="EVENTS" outfile="/scratch/kocevski/146228/ft1_filtered_4FGL_J1706.1+1000_weekly_bin381.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.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/146228/ft1_filtered_4FGL_J1706.1+1000_weekly_bin381.fits" evtable="EVENTS" scfile=/scratch/kocevski/146228/ft2_4FGL_J1706.1+1000_weekly_bin381.fits sctable="SC_DATA" outfile=/scratch/kocevski/146228/ltcube_469411201_470016001_4FGL_J1706.1+1000_weekly_bin381.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/146228/ft2_4FGL_J1706.1+1000_weekly_bin381.fits
.....................!
real 29.75
user 29.32
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/146228/ft1_filtered_4FGL_J1706.1+1000_weekly_bin381.fits evtable="EVENTS" scfile=/scratch/kocevski/146228/ft2_4FGL_J1706.1+1000_weekly_bin381.fits sctable="SC_DATA" expcube=/scratch/kocevski/146228/ltcube_469411201_470016001_4FGL_J1706.1+1000_weekly_bin381.fits outfile=/scratch/kocevski/146228/expmap_469411201_470016001_4FGL_J1706.1+1000_weekly_bin381.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/146228/ltcube_469411201_470016001_4FGL_J1706.1+1000_weekly_bin381.fits
.....................!
real 194.66
user 188.80
sys 5.34

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
Extended source FHES J1723.5-0501 in ROI with RadialGaussian spatial model.
Added 175 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1706.1+1000 @ 256.539 10.0079

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/146228/ft1_filtered_4FGL_J1706.1+1000_weekly_bin381.fits scfile=/scratch/kocevski/146228/ft2_4FGL_J1706.1+1000_weekly_bin381.fits outfile=/scratch/kocevski/146228/cmap_469411201_470016001_4FGL_J1706.1+1000_weekly_bin381.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=256.539 yref=10.0079 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.44
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/146228/ft1_filtered_4FGL_J1706.1+1000_weekly_bin381.fits scfile=/scratch/kocevski/146228/ft2_4FGL_J1706.1+1000_weekly_bin381.fits outfile=/scratch/kocevski/146228/cmap_HighResolution_469411201_470016001_4FGL_J1706.1+1000_weekly_bin381.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=256.539 yref=10.0079 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.60
user 0.42
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/146228/ft1_filtered_4FGL_J1706.1+1000_weekly_bin381.fits evtable="EVENTS" scfile=/scratch/kocevski/146228/ft2_4FGL_J1706.1+1000_weekly_bin381.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/146228/Model_4FGL_J1706.1+1000_weekly_bin381.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 FHES J1723.5-0501
adding source GAL_V02
Working on...
/scratch/kocevski/146228/ft1_filtered_4FGL_J1706.1+1000_weekly_bin381.fits.....................!
real 179.84
user 177.65
sys 1.39

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/146228/ft1_filtered_4FGL_J1706.1+1000_weekly_bin381.fits', '/scratch/kocevski/146228/ft2_4FGL_J1706.1+1000_weekly_bin381.fits', expMap='/scratch/kocevski/146228/expmap_469411201_470016001_4FGL_J1706.1+1000_weekly_bin381.fits', expCube='/scratch/kocevski/146228/ltcube_469411201_470016001_4FGL_J1706.1+1000_weekly_bin381.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/146228/Model_4FGL_J1706.1+1000_weekly_bin381.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1706.1+1000'

4FGL J1706.1+1000
   Spectrum: PowerLaw
265    Prefactor:  1.311e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  2.699e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  6.133e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/146228/ft1_filtered_4FGL_J1706.1+1000_weekly_bin381.fits
Spacecraft file(s): /scratch/kocevski/146228/ft2_4FGL_J1706.1+1000_weekly_bin381.fits
Exposure map: /scratch/kocevski/146228/expmap_469411201_470016001_4FGL_J1706.1+1000_weekly_bin381.fits
Exposure cube: /scratch/kocevski/146228/ltcube_469411201_470016001_4FGL_J1706.1+1000_weekly_bin381.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/146228/Model_4FGL_J1706.1+1000_weekly_bin381.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) = 24295.6941917

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10193E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.6298       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .18406E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.0099       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.477       1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.522       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10143E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.492       1.0000         .10000E-03   10000.    
    11 'Prefactor '    117.86       1.0000         .10000E-03   10000.    
    12 'norm      '    5.0611       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.8424       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.1352       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .94513       1.0000         .10000E-03   10000.    
    17 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .12910E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .75153       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.5522       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .94005       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24295.60     FROM MIGRAD    STATUS=CONVERGED    496 CALLS     2457 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    24.429        .29141E-06** at limit **
   2  Prefactor     .10000E-03    27.541        .60713E-06** at limit **
   3  Prefactor     3.6320        6.4048        .84700E-06    .20347E-03
   4  Prefactor     .10000E-03    4.9603        .75602E-06** at limit **
   5  Prefactor     .10000E-03    1.3246       -.11367E-06** at limit **
   6  Prefactor     6.0108        4.3810        .24465E-06    .33257E-04
   7  Prefactor     11.469        17.109        .39553E-06   -.22785E-05
   8  Prefactor     15.521        22.799        .20164E-06   -.28271E-05
   9  Prefactor     .10000E-03    1.3477        .11963E-06** at limit **
  10  Prefactor     11.494        9.7209        .23399E-06   -.11236E-04
  11  Prefactor     117.28        143.25        .75787E-05    .39478E-04
  12  norm          5.0611        1.8568        .17858E-07   -.19486E-04
  13  Prefactor     .10000E-03    5.1403        .72497E-07** at limit **
  14  norm          3.8404        5.7525        .14476E-06    .18958E-03
  15  Prefactor     6.1129        78.965        .10686E-05    .14618E-04
  16  Prefactor     .94491        1.7763        .40421E-06    .27730E-03
  17  norm          .10000E-03    2.1059       -.48523E-07** at limit **
  18  norm          .10000E-03    1.1523        .55766E-08** at limit **
  19  norm          .10000E-03    2.3033       -.18120E-06** at limit **
  20  norm          .75158        .59378       -.13735E-06   -.51024E-03
  21  Normalizat    1.5514        .19732       -.32267E-05    .16376E-03
  22  Prefactor     .94031        .57493E-01    .11545E-05   -.13982E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.632
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.01084
  Prefactor  = 11.4687
  Prefactor  = 15.5206
  Prefactor  = 0.0001
  Prefactor  = 11.4945
  Prefactor  = 117.28
  norm       = 5.06114
  Prefactor  = 0.0001
  norm       = 3.8404
  Prefactor  = 6.11286
  Prefactor  = 0.944908
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.751577
  Normalizat = 1.55136
  Prefactor  = 0.940314
 **********
 **   18 **HESSE 
 **********

 FCN=   24295.60     FROM HESSE     STATUS=OK           352 CALLS     2809 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    24.440        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    27.836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.6320        6.4754        .10603E-02   -1.5327    
   4  Prefactor     .10000E-03    5.1540        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.5949        .34259E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.0108        4.3509        .16379E-03   -1.5218    
   7  Prefactor     11.469        17.104        .11825E-03   -1.5031    
   8  Prefactor     15.521        22.738        .10166E-03   -1.4920    
   9  Prefactor     .10000E-03    6.5430        .34252E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.494        9.7142        .11818E-03   -1.5030    
  11  Prefactor     117.28        146.47        .18532E-03   -1.3538    
  12  norm          5.0611        1.8561        .12427E-03   -1.5258    
  13  Prefactor     .10000E-03    5.3641        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.8404        5.6968        .10294E-02   -1.5316    
  15  Prefactor     6.1129        72.943        .16208E-03   -1.5213    
  16  Prefactor     .94491        1.7383        .24923E-03   -1.5514    
  17  norm          .10000E-03    2.1254        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.2072        .32663E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    9.8389        .43960E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .75158        .55809        .10307E-02   -1.5535    
  21  Normalizat    1.5514        .20664        .41622E-03   -.76345    
  22  Prefactor     .94031        .61579E-01    .15765E-03   -.94746    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24614e-08
Minuit parameter uncertainties:
  1  1.58265e-05
  2  4.93819e-05
  3  6.4766
  4  6.64635e-06
  5  9.84562e-05
  6  4.35117
  7  17.1114
  8  22.7509
  9  8.37312e-05
  10  9.71558
  11  146.926
  12  1.85612
  13  2.50524e-06
  14  5.69757
  15  42.2965
  16  1.73843
  17  2.54759e-06
  18  2.9698e-06
  19  2.10314e-05
  20  0.558093
  21  0.206756
  22  0.0615834
Done.

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

Extracting fit parameters...

4FGL J1706.1+1000
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  8.373e-05  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  2.699e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  6.133e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
592    Prefactor:  9.403e-01  6.158e-02  0.000e+00  1.000e+01 ( 1.000e+00)
593        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
594        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
588   Normalization:  1.551e+00  2.068e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 256.539 10.008
Photon Flux Upper Limit: 7.14e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.62e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/146228/likelihoodResults_469411201_470016001_4FGL_J1706.1+1000_weekly_bin381.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) = 24295.6054527
delta logL = -0.000724310775695

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24295.604729
delta logL = -6.20249920757e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11088E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6187       1.0000          .0000       10.000    
     3 'Normalizat'    1.5517       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94022       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5950E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   24295.58     FROM MIGRAD    STATUS=FAILED       170 CALLS      337 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .85530        561.38        .39091E-02    .70984E-02
   2  Index         1.8708        5.4197        .50000       -.69128E-04
   3  Normalizat    1.5515        .56961E-01    .41623E-03   -.89917E-04
   4  Prefactor     .93955        .18892E-01    .15765E-03   -.48345E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   24295.58     FROM SIMPLEX   STATUS=UNCHANGED     87 CALLS      424 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .85530        561.38        .32885E-03    .70984E-02
   2  Index         1.8708        5.4197        .22047E-02   -.69128E-04
   3  Normalizat    1.5515        .56961E-01    .66315E-04   -.89917E-04
   4  Prefactor     .93955        .18892E-01    .16550E-04   -.48345E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   24295.58     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      464 TOTAL
                     EDM=   .86E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .85531        4.9982        .78182E-03   -.18438E-04
   2  Index         1.8708        1.3806        .21734E-01   -.18982E-04
   3  Normalizat    1.5515        .19458        .16649E-04   -.85219E-04
   4  Prefactor     .93955        .59820E-01    .31530E-04   -.46931E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.855308
  Index      = 1.87083
  Normalizat = 1.55146
  Prefactor  = 0.939553
 **********
 **   18 **HESSE 
 **********

 FCN=   24295.58     FROM HESSE     STATUS=OK            27 CALLS      491 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .85531        5.2632        .31273E-04   -1.5523    
   2  Index         1.8708        1.4194        .86935E-03   -.67620    
   3  Normalizat    1.5515        .19460        .33298E-05   -.76342    
   4  Prefactor     .93955        .59821E-01    .63060E-05   -.94772    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.98787e-11
Minuit parameter uncertainties:
  1  4.24371
  2  1.45277
  3  0.194696
  4  0.0598255
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/146228': 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) = 24295.581166
delta logL = 0.0235623685403

Extracting fit parameters...

4FGL J1706.1+1000
   Spectrum: PowerLaw
265    Prefactor:  8.553e-01  4.244e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  1.871e+00  1.453e+00  0.000e+00  1.000e+01 (-1.000e+00)
267        Scale:  6.133e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
592    Prefactor:  9.396e-01  5.983e-02  0.000e+00  1.000e+01 ( 1.000e+00)
593        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
594        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
588   Normalization:  1.551e+00  1.947e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 256.539 10.008

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/146228/cmap_HighResolution_469411201_470016001_4FGL_J1706.1+1000_weekly_bin381.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.62e-03', job_status='DONE', photon_flux_upper_limit='7.14e-08', time_completed='2021-07-26 05:53:56.640818', job_id='146228', GAL2='0.94', fit_tolerance='1e-08', EG2='1.55', EG='1.55', time_epoch_completed='1627304036.64', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='2.36e-02', ts2='0.05', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='381' AND source_name='4FGL J1706.1+1000' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Mon Jul 26 05:53:56 PDT 2021

