/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 165 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7672
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1734.3+3858_daily_bin1056
RA = 263.598, Dec = 38.9763
tmin = 513043201, tmax = 513302401
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository Job = True

LAT data Source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='915516', job_status='RUN', time_executed='2021-09-17 23:28:14.138027', time_epoch_executed='1631946494.14' WHERE source_name='4FGL J1734.3+3858' and cadence='daily' and bin_id='1056'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/915516

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/915516/ft1_4FGL_J1734.3+3858_daily_bin1056.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/915516/ft2_4FGL_J1734.3+3858_daily_bin1056.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/915516/ft1_4FGL_J1734.3+3858_daily_bin1056.fits outfile=/scratch/kocevski/915516/ft1_filteredMKT_4FGL_J1734.3+3858_daily_bin1056.fits ra=263.598 dec=38.9763 rad=12.0 tmin=513043201.0 tmax=513302401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 6.34
user 6.09
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/915516/ft2_4FGL_J1734.3+3858_daily_bin1056.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/915516/ft2_4FGL_J1734.3+3858_daily_bin1056.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/915516/ft1_filteredMKT_4FGL_J1734.3+3858_daily_bin1056.fits evtable="EVENTS" outfile="/scratch/kocevski/915516/ft1_filtered_4FGL_J1734.3+3858_daily_bin1056.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/915516/ft1_filtered_4FGL_J1734.3+3858_daily_bin1056.fits" evtable="EVENTS" scfile=/scratch/kocevski/915516/ft2_4FGL_J1734.3+3858_daily_bin1056.fits sctable="SC_DATA" outfile=/scratch/kocevski/915516/ltcube_513043201_513302401_4FGL_J1734.3+3858_daily_bin1056.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /scratch/kocevski/915516/ft2_4FGL_J1734.3+3858_daily_bin1056.fits
.....................!
real 12.23
user 11.84
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/915516/ft1_filtered_4FGL_J1734.3+3858_daily_bin1056.fits evtable="EVENTS" scfile=/scratch/kocevski/915516/ft2_4FGL_J1734.3+3858_daily_bin1056.fits sctable="SC_DATA" expcube=/scratch/kocevski/915516/ltcube_513043201_513302401_4FGL_J1734.3+3858_daily_bin1056.fits outfile=/scratch/kocevski/915516/expmap_513043201_513302401_4FGL_J1734.3+3858_daily_bin1056.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /scratch/kocevski/915516/ltcube_513043201_513302401_4FGL_J1734.3+3858_daily_bin1056.fits
.....................!
real 191.11
user 185.46
sys 5.26

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

Setting source of interest to:
4FGL J1734.3+3858 @ 263.598 38.9763

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/915516/ft1_filtered_4FGL_J1734.3+3858_daily_bin1056.fits scfile=/scratch/kocevski/915516/ft2_4FGL_J1734.3+3858_daily_bin1056.fits outfile=/scratch/kocevski/915516/cmap_513043201_513302401_4FGL_J1734.3+3858_daily_bin1056.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=263.598 yref=38.9763 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/915516/ft1_filtered_4FGL_J1734.3+3858_daily_bin1056.fits scfile=/scratch/kocevski/915516/ft2_4FGL_J1734.3+3858_daily_bin1056.fits outfile=/scratch/kocevski/915516/cmap_HighResolution_513043201_513302401_4FGL_J1734.3+3858_daily_bin1056.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=263.598 yref=38.9763 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/915516/ft1_filtered_4FGL_J1734.3+3858_daily_bin1056.fits evtable="EVENTS" scfile=/scratch/kocevski/915516/ft2_4FGL_J1734.3+3858_daily_bin1056.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/915516/Model_4FGL_J1734.3+3858_daily_bin1056.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/915516/ft1_filtered_4FGL_J1734.3+3858_daily_bin1056.fits.....................!
real 40.87
user 39.56
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/915516/ft1_filtered_4FGL_J1734.3+3858_daily_bin1056.fits', '/scratch/kocevski/915516/ft2_4FGL_J1734.3+3858_daily_bin1056.fits', expMap='/scratch/kocevski/915516/expmap_513043201_513302401_4FGL_J1734.3+3858_daily_bin1056.fits', expCube='/scratch/kocevski/915516/ltcube_513043201_513302401_4FGL_J1734.3+3858_daily_bin1056.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/915516/Model_4FGL_J1734.3+3858_daily_bin1056.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1734.3+3858'

4FGL J1734.3+3858
   Spectrum: LogParabola
325         norm:  8.023e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
326        alpha:  2.228e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
327         beta:  8.534e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
328           Eb:  7.306e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/915516/ft1_filtered_4FGL_J1734.3+3858_daily_bin1056.fits
Spacecraft file(s): /scratch/kocevski/915516/ft2_4FGL_J1734.3+3858_daily_bin1056.fits
Exposure map: /scratch/kocevski/915516/expmap_513043201_513302401_4FGL_J1734.3+3858_daily_bin1056.fits
Exposure cube: /scratch/kocevski/915516/ltcube_513043201_513302401_4FGL_J1734.3+3858_daily_bin1056.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/915516/Model_4FGL_J1734.3+3858_daily_bin1056.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .34319       1.0000         .10000E-03   10000.    
     2 'norm      '    7.6744       1.0000         .10000E-03   10000.    
     3 'Prefactor '    41.247       1.0000         .10000E-03   10000.    
     4 'norm      '    96.896       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10129E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .69305       1.0000         .10000E-03   10000.    
     8 'norm      '    4.6851       1.0000         .10000E-03   10000.    
     9 'norm      '    1.1802       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.5125       1.0000         .10000E-03   10000.    
    11 'norm      '    .11138E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .18609E-01   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    240.12       1.0000         .10000E-03   10000.    
    16 'norm      '    18.401       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    4.1201       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10736E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    66.295       1.0000         .10000E-03   10000.    
    25 'Prefactor '    42.666       1.0000         .10000E-03   10000.    
    26 'norm      '    .13183E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    33.464       1.0000         .10000E-03   10000.    
    29 'Prefactor '    11.134       1.0000         .10000E-03   10000.    
    30 'Prefactor '    7.2126       1.0000         .10000E-03   10000.    
    31 'Normalizat'    .88690       1.0000         .10000E-01   10.000    
    32 'Prefactor '    .81425       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3761.713     FROM MIGRAD    STATUS=CONVERGED    877 CALLS     4472 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .34335        .23070        .69456E-07    .32280E-02
   2  norm          7.6724        14.854        .13506E-07   -.72589E-05
   3  Prefactor     41.203        37.472        .20647E-06    .13558E-03
   4  norm          96.901        72.499        .10620E-06    .44867E-04
   5  Prefactor     .10000E-03    1.1617       -.38833E-06** at limit **
   6  Prefactor     .10000E-03    1.3448       -.46449E-06** at limit **
   7  Prefactor     .70114        9.2926        .12431E-05   -.63467E-04
   8  norm          4.6844        2.7291        .11000E-06    .41861E-03
   9  norm          1.1803        1.0691       -.38840E-07   -.21911E-03
  10  Prefactor     1.5118        17.154        .31301E-05    .35601E-04
  11  norm          .10000E-03    .69261       -.26851E-06** at limit **
  12  norm          .10016E-03    7.7117        .30192E-06** at limit **
  13  norm          .10000E-03    1.2628       -.17617E-06** at limit **
  14  Prefactor     .10000E-03    4.4232       -.96923E-07** at limit **
  15  Prefactor     240.21        131.42        .30607E-06   -.11511E-06
  16  norm          18.399        12.402        .14112E-08   -.35427E-04
  17  Prefactor     .10000E-03    55.623       -.28105E-07** at limit **
  18  Prefactor     .10000E-03    82.583        .68366E-06** at limit **
  19  norm          4.1184        11.133        .53834E-06    .35302E-07
  20  Prefactor     .10000E-03    35.244       -.90455E-07** at limit **
  21  Prefactor     .10000E-03    85.421       -.34769E-06** at limit **
  22  Prefactor     .10000E-03    48.216        .17043E-05** at limit **
  23  Prefactor     .10000E-03    11.639       -.13440E-06** at limit **
  24  Prefactor     66.536        144.66       -.13798E-05   -.30403E-04
  25  Prefactor     42.193        428.27       -.26201E-06   -.13058E-04
  26  norm          .10000E-03    3.7829        .12867E-05** at limit **
  27  norm          .10000E-03    57.831        .87888E-07** at limit **
  28  norm          33.470        18.118        .10611E-06   -.23525E-05
  29  Prefactor     11.131        11.934        .93977E-07   -.38056E-04
  30  Prefactor     7.2101        9.3165        .84651E-07   -.34458E-04
  31  Normalizat    .88683        .32513       -.93987E-06    .36293E-04
  32  Prefactor     .81417        .18366       -.29487E-07   -.57254E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.343347
  norm       = 7.67244
  Prefactor  = 41.2031
  norm       = 96.9009
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.701144
  norm       = 4.68439
  norm       = 1.18028
  Prefactor  = 1.51181
  norm       = 0.0001
  norm       = 0.000100157
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 240.215
  norm       = 18.3989
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.11843
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 66.5363
  Prefactor  = 42.1935
  norm       = 0.000100004
  norm       = 0.0001
  norm       = 33.4697
  Prefactor  = 11.1307
  Prefactor  = 7.21012
  Normalizat = 0.886828
  Prefactor  = 0.814175
 **********
 **   18 **HESSE 
 **********

 FCN=   3761.713     FROM HESSE     STATUS=OK           677 CALLS     5149 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .34335        .22913        .20206E-04   -1.5591    
   2  norm          7.6724        14.849        .14476E-03   -1.5154    
   3  Prefactor     41.203        37.968        .62416E-04   -1.4423    
   4  norm          96.901        69.752        .40835E-04   -1.3736    
   5  Prefactor     .10000E-03    1.4874        .11775E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.9128        .12415E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .70114        12.755        .25483E-02   -1.5541    
   8  norm          4.6844        2.7060        .71338E-04   -1.5275    
   9  norm          1.1803        1.0442        .57493E-04   -1.5491    
  10  Prefactor     1.5118        16.257        .34771E-03   -1.5462    
  11  norm          .10000E-03    10.879        .92583E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10016E-03    12.317        .60014E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.2933        .67313E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.4503        .12577E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     240.21        131.26        .13065E-03   -1.2596    
  16  norm          18.399        12.397        .93369E-04   -1.4850    
  17  Prefactor     .10000E-03    55.639        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    82.565        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          4.1184        11.072        .19860E-03   -1.5302    
  20  Prefactor     .10000E-03    35.251        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    85.623        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    48.546        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    11.672        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     66.536        144.59        .49292E-04   -1.4075    
  25  Prefactor     42.193        432.64        .30686E-03   -1.4408    
  26  norm          .10000E-03    6.3390        .21034E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .10000E-03    57.855        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          33.470        18.105        .69270E-04   -1.4550    
  29  Prefactor     11.131        11.913        .12007E-03   -1.5041    
  30  Prefactor     7.2101        9.3138        .14936E-03   -1.5171    
  31  Normalizat    .88683        .38510        .32774E-03   -.96925    
  32  Prefactor     .81417        .22373        .21542E-03   -.99208    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.01598e-08
Minuit parameter uncertainties:
  1  0.22913
  2  14.8559
  3  37.9906
  4  69.8112
  5  9.64047e-06
  6  9.13557e-06
  7  5.98202
  8  2.70611
  9  1.04421
  10  9.91811
  11  5.66029e-05
  12  0.00277761
  13  3.09866e-06
  14  5.45306e-06
  15  131.423
  16  12.3988
  17  1.13436e-05
  18  9.18404e-06
  19  11.0772
  20  5.61135e-06
  21  9.90084e-06
  22  3.38536e-05
  23  1.92994e-06
  24  145.367
  25  272.802
  26  0.000306473
  27  3.15307e-05
  28  18.1084
  29  11.9158
  30  9.31568
  31  0.386304
  32  0.223975
Done.

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

Extracting fit parameters...

4FGL J1734.3+3858
   Spectrum: LogParabola
325         norm:  1.840e+01  1.240e+01  1.000e-04  1.000e+04 ( 1.000e-12)
326        alpha:  2.228e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
327         beta:  8.534e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
328           Eb:  7.306e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  8.142e-01  2.240e-01  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  8.868e-01  3.863e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.05
Ra Dec: 263.598 38.976
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 1.07e-07 +/- 7.18e-08
Energy Flux (Fixed Index): 4.17e-05 +/- 2.81e-05

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) = 3761.64436529
delta logL = 0.0686127103927

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3761.64389253
delta logL = 0.0690854742165

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3761.644     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      198 TOTAL
                     EDM=   .31E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.293        16.580        .23344E-02    .96454E-05
   2  alpha         2.0210        .67146        .30752        .65912E-05
   3  Normalizat    .90002        .28190        .73605E-01    .13115E-04
   4  Prefactor     .81118        .17848        .43859E-01    .63988E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 18.2935
  alpha      = 2.02103
  Normalizat = 0.900021
  Prefactor  = 0.811177
 **********
 **   18 **HESSE 
 **********

 FCN=   3761.644     FROM HESSE     STATUS=OK            33 CALLS      231 TOTAL
                     EDM=   .69E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.293        12.529        .93374E-04   -1.4852    
   2  alpha         2.0210        .56845        .12117E-01   -.19278    
   3  Normalizat    .90002        .33432        .32572E-03   -.96459    
   4  Prefactor     .81118        .21201        .21590E-03   -.99318    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.92588e-13
Minuit parameter uncertainties:
  1  12.531
  2  0.573663
  3  0.335091
  4  0.212224
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/915516': 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) = 3761.64385674
delta logL = 0.0691212603733

Extracting fit parameters...

4FGL J1734.3+3858
   Spectrum: LogParabola
325         norm:  1.829e+01  1.253e+01  1.000e-04  1.000e+04 ( 1.000e-12)
326        alpha:  2.021e+00  5.737e-01  0.000e+00  5.000e+00 ( 1.000e+00)
327         beta:  8.534e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
328           Eb:  7.306e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  8.112e-01  2.122e-01  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  9.000e-01  3.351e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.21
Ra Dec: 263.598 38.976
Photon Index (Free Index): 2.02 +/- 0.57
Photon Flux (Free Index): 8.51e-08 +/- 8.19e-08
Energy Flux (Free Index): 4.51e-05 +/- 3.26e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/915516/cmap_HighResolution_513043201_513302401_4FGL_J1734.3+3858_daily_bin1056.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.07e-07', energy_flux2='4.51e-05', photon_flux_error='7.18e-08', dlogl='6.91e-02', energy_flux='4.17e-05', photon_flux2='8.51e-08', job_status='DONE', time_completed='2021-09-17 23:40:11.684815', photon_index_error2='0.57', photon_index2='2.02', ts='8.05', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', energy_flux_error2='3.26e-05', EG='0.89', time_epoch_completed='1631947211.68', return_code='0', job_id='915516', GAL2='0.81', EG2='0.90', return_code2='0', energy_flux_error='2.81e-05', photon_flux_error2='8.19e-08', ts2='8.21', photon_index='2.23' WHERE bin_id='1056' AND source_name='4FGL J1734.3+3858' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 17 23:40:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 915516: <4FGL_J1734.3+3858_daily_bin1056> in cluster <slac> Done

Job <4FGL_J1734.3+3858_daily_bin1056> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Sep 17 23:25:19 2021
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 17 23:25:21 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 17 23:25:21 2021
Terminated at Fri Sep 17 23:40:12 2021
Results reported at Fri Sep 17 23:40:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1734.3+3858_daily_bin1056 263.598 38.9763 513043201 513302401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1734.3+3858 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   661.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             269.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   890 sec.
    Turnaround time :                            893 sec.

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

