aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 239 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 = 73886
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1734.3+3858_monthly_bin167
RA = 263.598, Dec = 38.9763
tmin = 669859201, tmax = 672451201
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='902387', job_status='RUN', time_executed='2022-04-24 02:35:52.252141', time_epoch_executed='1650792952.25' WHERE source_name='4FGL J1734.3+3858' and cadence='monthly' and bin_id='167'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/902387

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

Retrieving the FT1 file...

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

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

Retrieving 456 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/902387/ft1_4FGL_J1734.3+3858_monthly_bin167.fits


Retrieving the FT1 file...

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

Retrieving 456 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/902387/ft2_4FGL_J1734.3+3858_monthly_bin167.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/902387/ft1_4FGL_J1734.3+3858_monthly_bin167.fits outfile=/scratch/kocevski/902387/ft1_filteredMKT_4FGL_J1734.3+3858_monthly_bin167.fits ra=263.598 dec=38.9763 rad=12.0 tmin=669859201.0 tmax=672451201.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 44.48
user 36.98
sys 0.90

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/902387/ft2_4FGL_J1734.3+3858_monthly_bin167.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/902387/ft1_filteredMKT_4FGL_J1734.3+3858_monthly_bin167.fits evtable="EVENTS" outfile="/scratch/kocevski/902387/ft1_filtered_4FGL_J1734.3+3858_monthly_bin167.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 1.13
user 0.68
sys 0.18

Number of photons that the gtmktime cut: 8651

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/902387/ft1_filtered_4FGL_J1734.3+3858_monthly_bin167.fits" evtable="EVENTS" scfile=/scratch/kocevski/902387/ft2_4FGL_J1734.3+3858_monthly_bin167.fits sctable="SC_DATA" outfile=/scratch/kocevski/902387/ltcube_669859201_672451201_4FGL_J1734.3+3858_monthly_bin167.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/902387/ft2_4FGL_J1734.3+3858_monthly_bin167.fits
.....................!
real 149.88
user 149.18
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/902387/ft1_filtered_4FGL_J1734.3+3858_monthly_bin167.fits evtable="EVENTS" scfile=/scratch/kocevski/902387/ft2_4FGL_J1734.3+3858_monthly_bin167.fits sctable="SC_DATA" expcube=/scratch/kocevski/902387/ltcube_669859201_672451201_4FGL_J1734.3+3858_monthly_bin167.fits outfile=/scratch/kocevski/902387/expmap_669859201_672451201_4FGL_J1734.3+3858_monthly_bin167.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/902387/ltcube_669859201_672451201_4FGL_J1734.3+3858_monthly_bin167.fits
.....................!
real 192.97
user 187.73
sys 4.85

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/902387/ft1_filtered_4FGL_J1734.3+3858_monthly_bin167.fits scfile=/scratch/kocevski/902387/ft2_4FGL_J1734.3+3858_monthly_bin167.fits outfile=/scratch/kocevski/902387/cmap_669859201_672451201_4FGL_J1734.3+3858_monthly_bin167.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.80
user 0.61
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/902387/ft1_filtered_4FGL_J1734.3+3858_monthly_bin167.fits scfile=/scratch/kocevski/902387/ft2_4FGL_J1734.3+3858_monthly_bin167.fits outfile=/scratch/kocevski/902387/cmap_HighResolution_669859201_672451201_4FGL_J1734.3+3858_monthly_bin167.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.80
user 0.63
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .25494       1.0000         .10000E-03   10000.    
     2 'norm      '    3.7605       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    6.3882       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.3042       1.0000         .10000E-03   10000.    
     6 'Prefactor '    15.141       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .29085E-01   1.0000         .10000E-03   10000.    
     8 'norm      '    3.5598       1.0000         .10000E-03   10000.    
     9 'norm      '    .23901       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .65120E-01   1.0000         .10000E-03   10000.    
    11 'norm      '    .62187E-01   1.0000         .10000E-03   10000.    
    12 'norm      '    14.931       1.0000         .10000E-03   10000.    
    13 'norm      '    4.8530       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .92224       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.7485       1.0000         .10000E-03   10000.    
    16 'norm      '    .46023       1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.1912       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.3528       1.0000         .10000E-03   10000.    
    20 'Prefactor '    17.749       1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.7215       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    6.9358       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    6.2159       1.0000         .10000E-03   10000.    
    26 'norm      '    .54150       1.0000         .10000E-03   10000.    
    27 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    2.3310       1.0000         .10000E-03   10000.    
    29 'Prefactor '    7.3142       1.0000         .10000E-03   10000.    
    30 'Prefactor '    2.9965       1.0000         .10000E-03   10000.    
    31 'Normalizat'    .98151       1.0000         .10000E-01   10.000    
    32 'Prefactor '    .98943       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=   91067.29     FROM MIGRAD    STATUS=CONVERGED    865 CALLS     3889 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .25495        .48567E-01   -.43428E-08    .13998E-03
   2  norm          3.7605        2.5905       -.91225E-07    .17808E-03
   3  Prefactor     .10000E-03    2.0393       -.37812E-06** at limit **
   4  norm          6.3879        8.0313        .18443E-06   -.79865E-04
   5  Prefactor     1.3044        .72027       -.70148E-07   -.71246E-03
   6  Prefactor     15.141        .94604        .20789E-07    .66474E-03
   7  Prefactor     .29164E-01    .11463        .73172E-07   -.13943E-02
   8  norm          3.5598        .51872       -.14458E-07    .46820E-04
   9  norm          .23896        .19291        .22014E-07    .94293E-03
  10  Prefactor     .68823E-01    .49792       -.21058E-06    .13633E-02
  11  norm          .62160E-01    .10228       -.69779E-07    .21506E-02
  12  norm          14.931        2.7586       -.12680E-06    .58180E-05
  13  norm          4.8529        .63884       -.60970E-07    .81315E-03
  14  Prefactor     .92216        .75682       -.13202E-06   -.16537E-02
  15  Prefactor     3.7487        4.4365       -.29187E-06   -.40916E-04
  16  norm          .46016        .64228       -.28872E-08   -.32389E-03
  17  Prefactor     6.1927        10.902        .18635E-06   -.45366E-04
  18  Prefactor     .10000E-03    22.608       -.11972E-05** at limit **
  19  norm          1.3527        1.0264        .12006E-07   -.19943E-04
  20  Prefactor     17.750        10.169        .18325E-06    .61340E-04
  21  Prefactor     5.7198        8.6746        .77633E-07   -.88450E-04
  22  Prefactor     .10000E-03    .99182       -.16885E-06** at limit **
  23  Prefactor     6.9357        2.6439        .44202E-06    .40903E-03
  24  Prefactor     .10000E-03    6.7937       -.56663E-07** at limit **
  25  Prefactor     6.2137        13.767       -.39827E-06   -.56904E-05
  26  norm          .54112        .39728       -.23781E-07   -.85037E-03
  27  norm          .10000E-03    8.3081       -.65922E-06** at limit **
  28  norm          2.3312        1.8541       -.14078E-06   -.20761E-03
  29  Prefactor     7.3143        1.3593        .34237E-07   -.11230E-02
  30  Prefactor     2.9966        1.2824        .46038E-08   -.13951E-03
  31  Normalizat    .98150        .62791E-01    .11714E-06    .54594E-03
  32  Prefactor     .98944        .37812E-01    .30651E-07    .71622E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.254948
  norm       = 3.76048
  Prefactor  = 0.0001
  norm       = 6.38788
  Prefactor  = 1.30435
  Prefactor  = 15.1406
  Prefactor  = 0.0291643
  norm       = 3.5598
  norm       = 0.238957
  Prefactor  = 0.0688234
  norm       = 0.0621602
  norm       = 14.931
  norm       = 4.85287
  Prefactor  = 0.92216
  Prefactor  = 3.74865
  norm       = 0.460164
  Prefactor  = 6.19267
  Prefactor  = 0.0001
  norm       = 1.35271
  Prefactor  = 17.7498
  Prefactor  = 5.71978
  Prefactor  = 0.0001
  Prefactor  = 6.9357
  Prefactor  = 0.0001
  Prefactor  = 6.2137
  norm       = 0.541119
  norm       = 0.0001
  norm       = 2.33117
  Prefactor  = 7.3143
  Prefactor  = 2.99656
  Normalizat = 0.981503
  Prefactor  = 0.98944
 **********
 **   18 **HESSE 
 **********

 FCN=   91067.29     FROM HESSE     STATUS=OK           705 CALLS     4594 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .25495        .47527E-01    .27275E-04   -1.5607    
   2  norm          3.7605        2.6604        .10410E-02   -1.5320    
   3  Prefactor     .10000E-03    2.0469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.3879        8.2215        .79401E-03   -1.5202    
   5  Prefactor     1.3044        .67519        .12708E-03   -1.5480    
   6  Prefactor     15.141        .89555        .48316E-04   -1.4930    
   7  Prefactor     .29164E-01    .14943        .37879E-01   -1.5674    
   8  norm          3.5598        .51883        .80117E-04   -1.5331    
   9  norm          .23896        .17663        .11355E-02   -1.5610    
  10  Prefactor     .68823E-01    .59786        .56198E-01   -1.5656    
  11  norm          .62160E-01    .15527        .11726E-02   -1.5658    
  12  norm          14.931        2.7333        .10365E-03   -1.4935    
  13  norm          4.8529        .63740        .81230E-04   -1.5267    
  14  Prefactor     .92216        .58627        .24392E-02   -1.5516    
  15  Prefactor     3.7487        4.4218        .20854E-03   -1.5321    
  16  norm          .46016        .79526        .27553E-02   -1.5572    
  17  Prefactor     6.1927        10.892        .80670E-03   -1.5210    
  18  Prefactor     .10000E-03    22.757        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.3527        1.0175        .25720E-03   -1.5475    
  20  Prefactor     17.750        10.185        .95068E-04   -1.4865    
  21  Prefactor     5.7198        9.2593        .83961E-03   -1.5230    
  22  Prefactor     .10000E-03    1.0076        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     6.9357        2.5977        .15234E-03   -1.5181    
  24  Prefactor     .10000E-03    6.8655        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     6.2137        13.748        .16101E-03   -1.5209    
  26  norm          .54112        .30099        .15892E-02   -1.5561    
  27  norm          .10000E-03    8.4468        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          2.3312        1.8738        .26860E-03   -1.5403    
  29  Prefactor     7.3143        1.7532        .74153E-03   -1.5167    
  30  Prefactor     2.9966        1.2846        .21556E-03   -1.5362    
  31  Normalizat    .98150        .77104E-01    .33049E-03   -.93653    
  32  Prefactor     .98944        .46197E-01    .20622E-03   -.93082    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.35378e-07
Minuit parameter uncertainties:
  1  0.0475266
  2  2.66046
  3  3.63599e-06
  4  8.22294
  5  0.675191
  6  0.895548
  7  0.131804
  8  0.518829
  9  0.176628
  10  0.405403
  11  0.155274
  12  2.73336
  13  0.637401
  14  0.586269
  15  4.42214
  16  0.795282
  17  10.8956
  18  4.63907e-05
  19  1.0175
  20  10.1861
  21  9.2616
  22  1.32548e-06
  23  2.59775
  24  1.86747e-06
  25  13.7553
  26  0.300996
  27  1.36417e-05
  28  1.87388
  29  1.7532
  30  1.28457
  31  0.0771131
  32  0.0461985
Done.

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

Extracting fit parameters...

4FGL J1734.3+3858
   Spectrum: LogParabola
325         norm:  4.602e-01  7.953e-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:  9.894e-01  4.620e-02  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.815e-01  7.711e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.43
Ra Dec: 263.598 38.976
Photon Flux Upper Limit: 1.38e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.40e-06 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/902387/likelihoodResults_669859201_672451201_4FGL_J1734.3+3858_monthly_bin167.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) = 91067.256983
delta logL = 0.0316930565605

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 91067.2569058
delta logL = 0.0317703056935

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .45910       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9740       1.0000          .0000       5.0000    
     3 'Normalizat'    .98234       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98914       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   91067.26     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      221 TOTAL
                     EDM=   .34E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .45973        1.0222         .0000        .85466E-02
   2  alpha         1.9744        1.0133         .0000       -.36297E-03
   3  Normalizat    .98234        .59079E-01     .0000        .13585E-03
   4  Prefactor     .98914        .37180E-01     .0000       -.83678E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.459732
  alpha      = 1.97445
  Normalizat = 0.982342
  Prefactor  = 0.989137
 **********
 **   18 **HESSE 
 **********

 FCN=   91067.26     FROM HESSE     STATUS=OK            33 CALLS      254 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .45973        .74461        .22205E-03   -1.5572    
   2  alpha         1.9744        .91108        .91485E-01   -.21180    
   3  Normalizat    .98234        .70782E-01    .33036E-03   -.93624    
   4  Prefactor     .98914        .44617E-01    .20625E-03   -.93092    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.10268e-10
Minuit parameter uncertainties:
  1  0.744621
  2  0.933623
  3  0.0707887
  4  0.0446191
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/902387': 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) = 91067.2569054
delta logL = 0.0317706726637

Extracting fit parameters...

4FGL J1734.3+3858
   Spectrum: LogParabola
325         norm:  4.597e-01  7.446e-01  1.000e-04  1.000e+04 ( 1.000e-12)
326        alpha:  1.974e+00  9.336e-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:  9.891e-01  4.462e-02  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.823e-01  7.079e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.43
Ra Dec: 263.598 38.976

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/902387/cmap_HighResolution_669859201_672451201_4FGL_J1734.3+3858_monthly_bin167.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.40e-06', job_status='DONE', photon_flux_upper_limit='1.38e-08', time_completed='2022-04-24 05:35:24.853627', job_id='902387', GAL2='0.99', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1650803724.85', return_code2='0', ts='0.43', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='3.18e-02', ts2='0.49', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='167' AND source_name='4FGL J1734.3+3858' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Sun Apr 24 05:35:24 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0182>
Subject: Job 902387: <4FGL_J1734.3+3858_monthly_bin167> in cluster <slac> Done

Job <4FGL_J1734.3+3858_monthly_bin167> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Apr 24 02:10:24 2022
Job was executed on host(s) <bullet0182>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 02:31:44 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr 24 02:31:44 2022
Terminated at Sun Apr 24 05:35:26 2022
Results reported at Sun Apr 24 05:35:26 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1734.3+3858_monthly_bin167 263.598 38.9763 669859201 672451201 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 :                                   10741.00 sec.
    Max Memory :                                 634 MB
    Average Memory :                             432.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   11021 sec.
    Turnaround time :                            12302 sec.

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

