Sender: LSF System <lsf@bullet0037>
Subject: Job 551982: <4FGL_J1739.5+4955_weekly_bin129> in cluster <slac> Done

Job <4FGL_J1739.5+4955_weekly_bin129> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Jul 27 06:00:24 2021
Job was executed on host(s) <bullet0037>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul 27 06:14:14 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul 27 06:14:14 2021
Terminated at Tue Jul 27 07:28:45 2021
Results reported at Tue Jul 27 07:28:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1739.5+4955_weekly_bin129 264.886 49.932 317001601 317606401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1739.5+4955 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   2981.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             247.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   4469 sec.
    Turnaround time :                            5301 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/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 192 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 = 17384
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1739.5+4955_weekly_bin129
RA = 264.886, Dec = 49.932
tmin = 317001601, tmax = 317606401
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='551982', job_status='RUN', time_executed='2021-07-27 06:33:40.538406', time_epoch_executed='1627392820.54' WHERE source_name='4FGL J1739.5+4955' and cadence='weekly' and bin_id='129'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/551982

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/551982/ft1_4FGL_J1739.5+4955_weekly_bin129.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/551982/ft2_4FGL_J1739.5+4955_weekly_bin129.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/551982/ft1_4FGL_J1739.5+4955_weekly_bin129.fits outfile=/scratch/kocevski/551982/ft1_filteredMKT_4FGL_J1739.5+4955_weekly_bin129.fits ra=264.886 dec=49.932 rad=12.0 tmin=317001601.0 tmax=317606401.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 8.14
user 7.80
sys 0.32

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/551982/ft2_4FGL_J1739.5+4955_weekly_bin129.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/551982/ft2_4FGL_J1739.5+4955_weekly_bin129.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/551982/ft1_filteredMKT_4FGL_J1739.5+4955_weekly_bin129.fits evtable="EVENTS" outfile="/scratch/kocevski/551982/ft1_filtered_4FGL_J1739.5+4955_weekly_bin129.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/551982/ft1_filtered_4FGL_J1739.5+4955_weekly_bin129.fits" evtable="EVENTS" scfile=/scratch/kocevski/551982/ft2_4FGL_J1739.5+4955_weekly_bin129.fits sctable="SC_DATA" outfile=/scratch/kocevski/551982/ltcube_317001601_317606401_4FGL_J1739.5+4955_weekly_bin129.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/551982/ft2_4FGL_J1739.5+4955_weekly_bin129.fits
.....................!
real 33.32
user 31.87
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/551982/ft1_filtered_4FGL_J1739.5+4955_weekly_bin129.fits evtable="EVENTS" scfile=/scratch/kocevski/551982/ft2_4FGL_J1739.5+4955_weekly_bin129.fits sctable="SC_DATA" expcube=/scratch/kocevski/551982/ltcube_317001601_317606401_4FGL_J1739.5+4955_weekly_bin129.fits outfile=/scratch/kocevski/551982/expmap_317001601_317606401_4FGL_J1739.5+4955_weekly_bin129.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/551982/ltcube_317001601_317606401_4FGL_J1739.5+4955_weekly_bin129.fits
.....................!
real 191.63
user 186.95
sys 4.28

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 J1739.5+4955 @ 264.886 49.932

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/551982/ft1_filtered_4FGL_J1739.5+4955_weekly_bin129.fits scfile=/scratch/kocevski/551982/ft2_4FGL_J1739.5+4955_weekly_bin129.fits outfile=/scratch/kocevski/551982/cmap_317001601_317606401_4FGL_J1739.5+4955_weekly_bin129.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=264.886 yref=49.932 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/551982/ft1_filtered_4FGL_J1739.5+4955_weekly_bin129.fits scfile=/scratch/kocevski/551982/ft2_4FGL_J1739.5+4955_weekly_bin129.fits outfile=/scratch/kocevski/551982/cmap_HighResolution_317001601_317606401_4FGL_J1739.5+4955_weekly_bin129.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=264.886 yref=49.932 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.63
user 0.42
sys 0.20

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/551982/ft1_filtered_4FGL_J1739.5+4955_weekly_bin129.fits evtable="EVENTS" scfile=/scratch/kocevski/551982/ft2_4FGL_J1739.5+4955_weekly_bin129.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/551982/Model_4FGL_J1739.5+4955_weekly_bin129.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/551982/ft1_filtered_4FGL_J1739.5+4955_weekly_bin129.fits.....................!
real 137.57
user 135.94
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/551982/ft1_filtered_4FGL_J1739.5+4955_weekly_bin129.fits', '/scratch/kocevski/551982/ft2_4FGL_J1739.5+4955_weekly_bin129.fits', expMap='/scratch/kocevski/551982/expmap_317001601_317606401_4FGL_J1739.5+4955_weekly_bin129.fits', expCube='/scratch/kocevski/551982/ltcube_317001601_317606401_4FGL_J1739.5+4955_weekly_bin129.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/551982/Model_4FGL_J1739.5+4955_weekly_bin129.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1739.5+4955'

4FGL J1739.5+4955
   Spectrum: LogParabola
347         norm:  3.625e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
348        alpha:  2.270e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
349         beta:  8.485e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
350           Eb:  6.871e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/551982/ft1_filtered_4FGL_J1739.5+4955_weekly_bin129.fits
Spacecraft file(s): /scratch/kocevski/551982/ft2_4FGL_J1739.5+4955_weekly_bin129.fits
Exposure map: /scratch/kocevski/551982/expmap_317001601_317606401_4FGL_J1739.5+4955_weekly_bin129.fits
Exposure cube: /scratch/kocevski/551982/ltcube_317001601_317606401_4FGL_J1739.5+4955_weekly_bin129.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/551982/Model_4FGL_J1739.5+4955_weekly_bin129.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) = 18550.899653

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.223       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.9953       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.8703       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .37734       1.0000         .10000E-03   10000.    
     8 'norm      '    .87676       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    7.7547       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.7910       1.0000         .10000E-03   10000.    
    12 'norm      '    2.7644       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .83301       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.2824       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    33.789       1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    16.546       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    80.036       1.0000         .10000E-03   10000.    
    24 'Prefactor '    17.997       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    3.4216       1.0000         .10000E-03   10000.    
    27 'norm      '    7.6219       1.0000         .10000E-03   10000.    
    28 'Prefactor '    9.5007       1.0000         .10000E-03   10000.    
    29 'norm      '    12.161       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    31 'norm      '    8.3238       1.0000         .10000E-03   10000.    
    32 'norm      '    10.010       1.0000         .10000E-03   10000.    
    33 'Prefactor '    .59873       1.0000         .10000E-03   10000.    
    34 'Normalizat'    1.0618       1.0000         .10000E-01   10.000    
    35 'Prefactor '    .89512       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   18550.90     FROM MIGRAD    STATUS=CONVERGED    975 CALLS     5097 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.222        9.9550       -.79689E-07    .50320E-05
   2  Prefactor     5.9948        2.6303        .60135E-06    .57306E-03
   3  Prefactor     .10000E-03    4.1148        .69583E-07** at limit **
   4  Prefactor     2.8700        1.6855       -.13823E-06   -.23476E-03
   5  Prefactor     .10000E-03    .67160       -.12313E-07** at limit **
   6  Prefactor     .10000E-03    2.0891       -.15152E-07** at limit **
   7  Prefactor     .24120        4.8312       -.99103E-07    .45382E-04
   8  norm          .87668        .46601       -.47857E-07   -.53175E-03
   9  Prefactor     .10000E-03    1.3345       -.14842E-06** at limit **
  10  norm          7.7545        .89152       -.77379E-08    .26877E-03
  11  Prefactor     6.7945        4.9590       -.28811E-06   -.19027E-03
  12  norm          2.7634        4.1990       -.10412E-05   -.37572E-03
  13  Prefactor     .10000E-03    1.9509        .14909E-07** at limit **
  14  norm          .83296        .95521        .34617E-07   -.77885E-03
  15  Prefactor     3.2818        1.4536        .52595E-06   -.57022E-02
  16  Prefactor     .10000E-03    34.658        .76320E-06** at limit **
  17  norm          .10000E-03    1.2863        .73110E-07** at limit **
  18  Prefactor     33.782        31.172       -.46343E-05   -.17232E-03
  19  norm          .10000E-03    1.3226        .78702E-07** at limit **
  20  Prefactor     16.542        22.588       -.61056E-06   -.18331E-04
  21  Prefactor     .10000E-03    .86653       -.15871E-07** at limit **
  22  Prefactor     .10000E-03    14.253        .19736E-06** at limit **
  23  Prefactor     80.026        57.170       -.60977E-05   -.15593E-03
  24  Prefactor     17.995        19.906       -.24446E-06   -.10144E-04
  25  Prefactor     .10000E-03    3.9759       -.74019E-07** at limit **
  26  Prefactor     3.4214        8.9921        .82830E-07   -.36851E-04
  27  norm          7.6208        4.2418        .98704E-07    .33396E-04
  28  Prefactor     9.4987        9.3397       -.21596E-06   -.38779E-04
  29  norm          12.160        5.5680       -.91064E-06   -.41346E-03
  30  Prefactor     .10000E-03    22.511       -.46334E-06** at limit **
  31  norm          8.3232        4.6090       -.56823E-07   -.31211E-04
  32  norm          10.010        5.4203       -.14113E-06   -.19171E-04
  33  Prefactor     .59866        .90973        .61544E-07   -.10443E-02
  34  Normalizat    1.0620        .12773        .61016E-06    .23197E-04
  35  Prefactor     .89509        .85882E-01    .23739E-06    .87565E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 12.2222
  Prefactor  = 5.99478
  Prefactor  = 0.0001
  Prefactor  = 2.87002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.241196
  norm       = 0.876678
  Prefactor  = 0.0001
  norm       = 7.75447
  Prefactor  = 6.79449
  norm       = 2.76335
  Prefactor  = 0.0001
  norm       = 0.832959
  Prefactor  = 3.28179
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 33.7818
  norm       = 0.0001
  Prefactor  = 16.5422
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 80.026
  Prefactor  = 17.9949
  Prefactor  = 0.0001
  Prefactor  = 3.42144
  norm       = 7.62076
  Prefactor  = 9.49871
  norm       = 12.1602
  Prefactor  = 0.0001
  norm       = 8.32318
  norm       = 10.0102
  Prefactor  = 0.598657
  Normalizat = 1.06196
  Prefactor  = 0.895089
 **********
 **   18 **HESSE 
 **********

 FCN=   18550.90     FROM HESSE     STATUS=OK           788 CALLS     5885 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.222        9.9583        .11458E-03   -1.5009    
   2  Prefactor     5.9948        2.6353        .14015E-03   -1.5218    
   3  Prefactor     .10000E-03    4.2868        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.8700        1.6824        .12868E-03   -1.5369    
   5  Prefactor     .10000E-03    .68525        .10897E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.1027        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .24120        8.5005        .10441       -1.5610    
   8  norm          .87668        .45349        .64554E-04   -1.5521    
   9  Prefactor     .10000E-03    1.3465        .15356E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          7.7545        .88977        .41451E-04   -1.5151    
  11  Prefactor     6.7945        4.9685        .15397E-03   -1.5187    
  12  norm          2.7634        4.2046        .24480E-03   -1.5375    
  13  Prefactor     .10000E-03    1.9593        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .83296        .88514        .13365E-02   -1.5525    
  15  Prefactor     3.2818        2.3568        .85513E-03   -1.5346    
  16  Prefactor     .10000E-03    34.720        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.3015        .15076E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     33.782        31.302        .68937E-04   -1.4545    
  19  norm          .10000E-03    1.3423        .15289E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     16.542        22.544        .98463E-04   -1.4894    
  21  Prefactor     .10000E-03    .87372        .12375E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    14.274        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     80.026        57.625        .44892E-04   -1.3916    
  24  Prefactor     17.995        19.882        .94411E-04   -1.4859    
  25  Prefactor     .10000E-03    4.0312        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     3.4214        8.9739        .21868E-03   -1.5338    
  27  norm          7.6208        4.2417        .14526E-03   -1.5156    
  28  Prefactor     9.4987        9.3465        .13002E-03   -1.5091    
  29  norm          12.160        5.5885        .11487E-03   -1.5010    
  30  Prefactor     .10000E-03    22.682        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  norm          8.3232        4.6105        .13895E-03   -1.5131    
  32  norm          10.010        5.4219        .12665E-03   -1.5075    
  33  Prefactor     .59866        .91884        .23335E-03   -1.5553    
  34  Normalizat    1.0620        .15116        .29522E-03   -.90983    
  35  Prefactor     .89509        .10159        .22563E-03   -.96313    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.18529e-08
Minuit parameter uncertainties:
  1  9.9597
  2  2.63535
  3  8.47633e-06
  4  1.68242
  5  1.71736e-06
  6  2.66907e-06
  7  2.86361
  8  0.453491
  9  3.62432e-06
  10  0.889773
  11  4.96883
  12  4.20503
  13  9.43943e-06
  14  0.885153
  15  2.35691
  16  0.000125547
  17  1.56704e-05
  18  31.3177
  19  1.24101e-06
  20  22.5556
  21  7.02424e-07
  22  1.13004e-05
  23  57.6653
  24  19.8898
  25  3.80006e-06
  26  8.97742
  27  4.24182
  28  9.3479
  29  5.5887
  30  2.55022e-06
  31  4.61067
  32  5.42221
  33  0.918866
  34  0.151219
  35  0.101614
Done.

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

Extracting fit parameters...

4FGL J1739.5+4955
   Spectrum: LogParabola
347         norm:  1.000e-04  1.241e-06  1.000e-04  1.000e+04 ( 1.000e-12)
348        alpha:  2.270e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
349         beta:  8.485e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
350           Eb:  6.871e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
697    Prefactor:  8.951e-01  1.016e-01  0.000e+00  1.000e+01 ( 1.000e+00)
698        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
699        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
696   Normalization:  1.062e+00  1.512e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 264.886 49.932
Photon Flux Upper Limit: 2.86e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.05e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/551982/likelihoodResults_317001601_317606401_4FGL_J1739.5+4955_weekly_bin129.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) = 18550.898832
delta logL = -0.0035494830845

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18550.8952826
delta logL = -8.36407707538e-08

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     '    2.2739       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0620       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89510       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7000E+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=   18550.89     FROM MIGRAD    STATUS=FAILED       130 CALLS      275 TOTAL
                     EDM=   .65E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .28294E-02    6.4397        .10197E-01   -.48138E-02
   2  alpha         5.0000        3.1691        .16547    ** at limit **
   3  Normalizat    1.0608        .65510E-01    .29522E-03    .15866E-04
   4  Prefactor     .89558        .32667E-01    .22563E-03    .30433E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   18550.89     FROM SIMPLEX   STATUS=UNCHANGED    141 CALLS      416 TOTAL
                     EDM=   .78E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .28294E-02    6.4397        .15056E-05   -.48138E-02
   2  alpha         5.0000        3.1691        .38835E-01** at limit **
   3  Normalizat    1.0608        .65510E-01    .10654E-06    .15866E-04
   4  Prefactor     .89558        .32667E-01    .11334E-07    .30433E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   18550.89     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      460 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .28294E-02    .68207E-01    .86445E-02   -.61446E-02
   2  alpha         5.0000        2.7785        .66186E-02** at limit **
   3  Normalizat    1.0608        .14314        .11809E-04    .15404E-04
   4  Prefactor     .89558        .10037        .90254E-05    .30231E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0028294
  alpha      = 5
  Normalizat = 1.06078
  Prefactor  = 0.895581
 **********
 **   18 **HESSE 
 **********

 FCN=   18550.89     FROM HESSE     STATUS=OK            33 CALLS      493 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .28294E-02    .62752E-01    .91155E-02   -1.5718    
   2  alpha         5.0000        2.7616        .13237E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.0608        .14323        .23618E-05   -.91021    
   4  Prefactor     .89558        .10041        .18051E-05   -.96296    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.12025e-10
Minuit parameter uncertainties:
  1  0.0261745
  2  0.00011512
  3  0.143282
  4  0.100432
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/551982': 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) = 18550.8948673
delta logL = 0.000415265654738

Extracting fit parameters...

4FGL J1739.5+4955
   Spectrum: LogParabola
347         norm:  2.829e-03  2.617e-02  1.000e-04  1.000e+04 ( 1.000e-12)
348        alpha:  5.000e+00  1.151e-04  0.000e+00  5.000e+00 ( 1.000e+00)
349         beta:  8.485e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
350           Eb:  6.871e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
697    Prefactor:  8.956e-01  1.004e-01  0.000e+00  1.000e+01 ( 1.000e+00)
698        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
699        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
696   Normalization:  1.061e+00  1.433e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 264.886 49.932

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/551982/cmap_HighResolution_317001601_317606401_4FGL_J1739.5+4955_weekly_bin129.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.05e-05', job_status='DONE', photon_flux_upper_limit='2.86e-08', time_completed='2021-07-27 07:28:43.452494', job_id='551982', GAL2='0.90', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1627396123.45', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='4.15e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='129' AND source_name='4FGL J1739.5+4955' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 27 07:28:43 PDT 2021

