/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 1 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 = 5933
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1734.3+3858_daily_bin1081
RA = 263.598, Dec = 38.9763
tmin = 519523201, tmax = 519782401
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='915552', job_status='RUN', time_executed='2021-09-17 23:25:32.314296', time_epoch_executed='1631946332.31' WHERE source_name='4FGL J1734.3+3858' and cadence='daily' and bin_id='1081'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/915552

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

Retrieving the FT1 file...

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

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

Retrieving 37 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/915552/ft1_4FGL_J1734.3+3858_daily_bin1081.fits


Retrieving the FT1 file...

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

Retrieving 37 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/915552/ft2_4FGL_J1734.3+3858_daily_bin1081.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/915552/ft1_4FGL_J1734.3+3858_daily_bin1081.fits outfile=/scratch/kocevski/915552/ft1_filteredMKT_4FGL_J1734.3+3858_daily_bin1081.fits ra=263.598 dec=38.9763 rad=12.0 tmin=519523201.0 tmax=519782401.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 2.93
user 2.71
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/915552/ft2_4FGL_J1734.3+3858_daily_bin1081.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/915552/ft1_filteredMKT_4FGL_J1734.3+3858_daily_bin1081.fits evtable="EVENTS" outfile="/scratch/kocevski/915552/ft1_filtered_4FGL_J1734.3+3858_daily_bin1081.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.48
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/915552/ft1_filtered_4FGL_J1734.3+3858_daily_bin1081.fits" evtable="EVENTS" scfile=/scratch/kocevski/915552/ft2_4FGL_J1734.3+3858_daily_bin1081.fits sctable="SC_DATA" outfile=/scratch/kocevski/915552/ltcube_519523201_519782401_4FGL_J1734.3+3858_daily_bin1081.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/915552/ft2_4FGL_J1734.3+3858_daily_bin1081.fits
.....................!
real 9.79
user 9.46
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/915552/ft1_filtered_4FGL_J1734.3+3858_daily_bin1081.fits evtable="EVENTS" scfile=/scratch/kocevski/915552/ft2_4FGL_J1734.3+3858_daily_bin1081.fits sctable="SC_DATA" expcube=/scratch/kocevski/915552/ltcube_519523201_519782401_4FGL_J1734.3+3858_daily_bin1081.fits outfile=/scratch/kocevski/915552/expmap_519523201_519782401_4FGL_J1734.3+3858_daily_bin1081.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/915552/ltcube_519523201_519782401_4FGL_J1734.3+3858_daily_bin1081.fits
.....................!
real 190.78
user 185.86
sys 4.44

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/915552/ft1_filtered_4FGL_J1734.3+3858_daily_bin1081.fits scfile=/scratch/kocevski/915552/ft2_4FGL_J1734.3+3858_daily_bin1081.fits outfile=/scratch/kocevski/915552/cmap_519523201_519782401_4FGL_J1734.3+3858_daily_bin1081.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.54
user 0.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/915552/ft1_filtered_4FGL_J1734.3+3858_daily_bin1081.fits scfile=/scratch/kocevski/915552/ft2_4FGL_J1734.3+3858_daily_bin1081.fits outfile=/scratch/kocevski/915552/cmap_HighResolution_519523201_519782401_4FGL_J1734.3+3858_daily_bin1081.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.53
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/915552/ft1_filtered_4FGL_J1734.3+3858_daily_bin1081.fits evtable="EVENTS" scfile=/scratch/kocevski/915552/ft2_4FGL_J1734.3+3858_daily_bin1081.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/915552/Model_4FGL_J1734.3+3858_daily_bin1081.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/915552/ft1_filtered_4FGL_J1734.3+3858_daily_bin1081.fits.....................!
real 56.39
user 55.06
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/915552/ft1_filtered_4FGL_J1734.3+3858_daily_bin1081.fits', '/scratch/kocevski/915552/ft2_4FGL_J1734.3+3858_daily_bin1081.fits', expMap='/scratch/kocevski/915552/expmap_519523201_519782401_4FGL_J1734.3+3858_daily_bin1081.fits', expCube='/scratch/kocevski/915552/ltcube_519523201_519782401_4FGL_J1734.3+3858_daily_bin1081.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/915552/Model_4FGL_J1734.3+3858_daily_bin1081.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/915552/ft1_filtered_4FGL_J1734.3+3858_daily_bin1081.fits
Spacecraft file(s): /scratch/kocevski/915552/ft2_4FGL_J1734.3+3858_daily_bin1081.fits
Exposure map: /scratch/kocevski/915552/expmap_519523201_519782401_4FGL_J1734.3+3858_daily_bin1081.fits
Exposure cube: /scratch/kocevski/915552/ltcube_519523201_519782401_4FGL_J1734.3+3858_daily_bin1081.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/915552/Model_4FGL_J1734.3+3858_daily_bin1081.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) = 6676.48272281

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .51002       1.0000         .10000E-03   10000.    
     2 'norm      '    .24335E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.8813       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .19680E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.9644       1.0000         .10000E-03   10000.    
     8 'norm      '    1.8925       1.0000         .10000E-03   10000.    
     9 'norm      '    1.2207       1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.896       1.0000         .10000E-03   10000.    
    11 'norm      '    1.0241       1.0000         .10000E-03   10000.    
    12 'norm      '    18.124       1.0000         .10000E-03   10000.    
    13 'norm      '    .27188E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.1820       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    90.373       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    114.00       1.0000         .10000E-03   10000.    
    19 'norm      '    .10241E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    84.368       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10839E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    7.4481       1.0000         .10000E-03   10000.    
    24 'Prefactor '    34.680       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10161E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .10213E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    13.341       1.0000         .10000E-03   10000.    
    29 'Prefactor '    1.7472       1.0000         .10000E-03   10000.    
    30 'Prefactor '    4.6210       1.0000         .10000E-03   10000.    
    31 'Normalizat'    .77022       1.0000         .10000E-01   10.000    
    32 'Prefactor '    1.0912       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=   6676.380     FROM MIGRAD    STATUS=CONVERGED    870 CALLS     4448 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .50992        .21155       -.11192E-06   -.44674E-03
   2  norm          .10006E-03    43.402       -.73027E-05** at limit **
   3  Prefactor     .10000E-03    87.707       -.76721E-05** at limit **
   4  norm          .10000E-03    16.640       -.30360E-06** at limit **
   5  Prefactor     1.8820        1.3952       -.28709E-06   -.22770E-02
   6  Prefactor     .10001E-03    .61739        .34170E-06** at limit **
   7  Prefactor     1.9644        3.2395       -.17395E-07   -.27519E-03
   8  norm          1.8925        1.2339       -.78596E-08   -.14094E-03
   9  norm          1.2207        .90987        .43004E-08    .18661E-05
  10  Prefactor     14.889        10.268        .60040E-07    .24847E-05
  11  norm          1.0242        .93274        .10800E-07    .69454E-04
  12  norm          18.124        11.530        .66310E-07   -.10823E-04
  13  norm          .40360E-01    1.1938       -.76871E-06    .61608E-03
  14  Prefactor     2.1819        2.5332        .13396E-07    .82829E-05
  15  Prefactor     .10000E-03    13.142       -.23249E-08** at limit **
  16  norm          90.369        13.595        .93961E-07   -.45649E-04
  17  Prefactor     .10000E-03    62.143        .22452E-05** at limit **
  18  Prefactor     113.99        124.53        .10128E-05   -.17712E-05
  19  norm          .10000E-03    3.1825        .38815E-07** at limit **
  20  Prefactor     84.368        53.366        .40053E-06    .89446E-05
  21  Prefactor     .10000E-03    18.151        .49043E-06** at limit **
  22  Prefactor     .10000E-03    6.5127        .83293E-07** at limit **
  23  Prefactor     7.4473        11.018        .24964E-06    .72983E-05
  24  Prefactor     34.682        40.556        .15085E-05   -.47906E-04
  25  Prefactor     .10000E-03    143.75        .28136E-05** at limit **
  26  norm          .10000E-03    .67264       -.35835E-08** at limit **
  27  norm          .10000E-03    132.79        .69801E-06** at limit **
  28  norm          13.342        8.5024        .45241E-07   -.22216E-05
  29  Prefactor     1.7485        4.8461        .23310E-05   -.53544E-03
  30  Prefactor     4.6217        6.3595        .60404E-07   -.11155E-04
  31  Normalizat    .77017        .25121       -.66385E-06   -.60968E-04
  32  Prefactor     1.0911        .14994       -.35329E-06   -.10989E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.509919
  norm       = 0.000100056
  Prefactor  = 0.000100005
  norm       = 0.0001
  Prefactor  = 1.88195
  Prefactor  = 0.000100005
  Prefactor  = 1.96445
  norm       = 1.89254
  norm       = 1.22069
  Prefactor  = 14.8894
  norm       = 1.02422
  norm       = 18.1239
  norm       = 0.0403601
  Prefactor  = 2.18191
  Prefactor  = 0.0001
  norm       = 90.3688
  Prefactor  = 0.0001
  Prefactor  = 113.994
  norm       = 0.0001
  Prefactor  = 84.3677
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.44725
  Prefactor  = 34.6818
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 13.3419
  Prefactor  = 1.7485
  Prefactor  = 4.62168
  Normalizat = 0.770165
  Prefactor  = 1.09112
 **********
 **   18 **HESSE 
 **********

 FCN=   6676.380     FROM HESSE     STATUS=OK           675 CALLS     5123 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .50992        .20984        .22111E-04   -1.5565    
   2  norm          .10006E-03    67.490        .61218E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    84.337        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    16.641        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.8820        1.7495        .69781E-04   -1.5434    
   6  Prefactor     .10001E-03    2.6784        .19551E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.9644        3.2131        .17501E-03   -1.5428    
   8  norm          1.8925        1.2370        .71277E-04   -1.5433    
   9  norm          1.2207        .89662        .64844E-04   -1.5487    
  10  Prefactor     14.889        10.241        .10378E-03   -1.4936    
  11  norm          1.0242        .91520        .69171E-04   -1.5506    
  12  norm          18.124        11.523        .94078E-04   -1.4856    
  13  norm          .40360E-01    26.769        .14123E-02   -1.5668    
  14  Prefactor     2.1819        2.5317        .13668E-03   -1.5413    
  15  Prefactor     .10000E-03    13.144        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          90.369        13.595        .42269E-04   -1.3804    
  17  Prefactor     .10000E-03    62.334        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     113.99        124.83        .37679E-04   -1.3569    
  19  norm          .10000E-03    3.2056        .14232E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     84.368        53.429        .21867E-03   -1.3868    
  21  Prefactor     .10000E-03    18.160        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    6.5264        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     7.4473        11.004        .14696E-03   -1.5162    
  24  Prefactor     34.682        40.513        .68048E-04   -1.4529    
  25  Prefactor     .10000E-03    144.86        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    .67594        .65435E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .10000E-03    133.39        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          13.342        8.5015        .10966E-03   -1.4977    
  29  Prefactor     1.7485        6.6098        .15863E-02   -1.5444    
  30  Prefactor     4.6217        6.3739        .18723E-03   -1.5278    
  31  Normalizat    .77017        .28787        .37512E-03   -1.0119    
  32  Prefactor     1.0911        .17223        .20490E-03   -.89751    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.0467e-09
Minuit parameter uncertainties:
  1  0.209837
  2  0.00390147
  3  0.00124257
  4  2.1464e-06
  5  1.74952
  6  0.000234969
  7  3.2134
  8  1.23701
  9  0.896632
  10  10.2426
  11  0.915208
  12  11.5249
  13  2.07719
  14  2.53183
  15  2.80909e-07
  16  13.5959
  17  0.000112037
  18  125.117
  19  6.93473e-07
  20  53.4596
  21  1.07714e-05
  22  3.45354e-06
  23  11.0074
  24  40.5453
  25  0.000107435
  26  4.3283e-07
  27  4.1093e-05
  28  8.5023
  29  6.61255
  30  6.37487
  31  0.288442
  32  0.172322
Done.

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

Extracting fit parameters...

4FGL J1734.3+3858
   Spectrum: LogParabola
325         norm:  9.037e+01  1.360e+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:  1.091e+00  1.723e-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:  7.702e-01  2.884e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 200.12
Ra Dec: 263.598 38.976
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 5.23e-07 +/- 7.87e-08
Energy Flux (Fixed Index): 2.05e-04 +/- 3.08e-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) = 6674.66259988
delta logL = 1.71748896396

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6674.33652702
delta logL = 2.04356182329

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    102.84       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9310       1.0000          .0000       5.0000    
     3 'Normalizat'    .85359       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0608       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=   6674.337     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      217 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          102.84        17.445        .99121E-03   -.90955E-03
   2  alpha         1.9310        .15407        .10109        .22310E-04
   3  Normalizat    .85357        .22639        .81064E-01    .25738E-04
   4  Prefactor     1.0608        .14329        .39317E-01    .22483E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 102.841
  alpha      = 1.931
  Normalizat = 0.853567
  Prefactor  = 1.06077
 **********
 **   18 **HESSE 
 **********

 FCN=   6674.337     FROM HESSE     STATUS=OK            29 CALLS      246 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          102.84        16.070        .39648E-04   -1.3676    
   2  alpha         1.9310        .14336        .44211E-03   -.22961    
   3  Normalizat    .85357        .25860        .35888E-03   -.98111    
   4  Prefactor     1.0608        .16412        .20772E-03   -.90730    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.09588e-10
Minuit parameter uncertainties:
  1  16.0708
  2  0.143447
  3  0.258977
  4  0.164195
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/915552': 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) = 6674.33652701
delta logL = 2.04356183231

Extracting fit parameters...

4FGL J1734.3+3858
   Spectrum: LogParabola
325         norm:  1.028e+02  1.607e+01  1.000e-04  1.000e+04 ( 1.000e-12)
326        alpha:  1.931e+00  1.434e-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:  1.061e+00  1.642e-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.536e-01  2.590e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 203.94
Ra Dec: 263.598 38.976
Photon Index (Free Index): 1.93 +/- 0.14
Photon Flux (Free Index): 4.39e-07 +/- 7.93e-08
Energy Flux (Free Index): 2.73e-04 +/- 6.16e-05

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/915552/cmap_HighResolution_519523201_519782401_4FGL_J1734.3+3858_daily_bin1081.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.23e-07', energy_flux2='2.73e-04', photon_flux_error='7.87e-08', dlogl='2.04e+00', energy_flux='2.05e-04', photon_flux2='4.39e-07', job_status='DONE', time_completed='2021-09-17 23:41:16.556540', photon_index_error2='0.14', photon_index2='1.93', ts='200.12', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', energy_flux_error2='6.16e-05', EG='0.77', time_epoch_completed='1631947276.56', return_code='0', job_id='915552', GAL2='1.06', EG2='0.85', return_code2='0', energy_flux_error='3.08e-05', photon_flux_error2='7.93e-08', ts2='203.94', photon_index='2.23' WHERE bin_id='1081' AND source_name='4FGL J1734.3+3858' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 17 23:41:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 915552: <4FGL_J1734.3+3858_daily_bin1081> in cluster <slac> Done

Job <4FGL_J1734.3+3858_daily_bin1081> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Sep 17 23:25:21 2021
Job was executed on host(s) <bullet0211>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 17 23:25:23 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:23 2021
Terminated at Fri Sep 17 23:41:17 2021
Results reported at Fri Sep 17 23:41:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1734.3+3858_daily_bin1081 263.598 38.9763 519523201 519782401 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 :                                   942.10 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             362.06 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   953 sec.
    Turnaround time :                            956 sec.

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

