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


Performing analysis on: 4FGL_J1734.3+3858_monthly_bin169
RA = 263.598, Dec = 38.9763
tmin = 675043201, tmax = 677635201
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='181338', job_status='RUN', time_executed='2022-06-23 02:37:29.074017', time_epoch_executed='1655977049.07' WHERE source_name='4FGL J1734.3+3858' and cadence='monthly' and bin_id='169'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/181338

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

Retrieving the FT1 file...

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

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

Retrieving 456 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/181338/ft1_4FGL_J1734.3+3858_monthly_bin169.fits


Retrieving the FT1 file...

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

Retrieving 456 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/181338/ft2_4FGL_J1734.3+3858_monthly_bin169.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/181338/ft1_4FGL_J1734.3+3858_monthly_bin169.fits outfile=/scratch/kocevski/181338/ft1_filteredMKT_4FGL_J1734.3+3858_monthly_bin169.fits ra=263.598 dec=38.9763 rad=12.0 tmin=675043201.0 tmax=677635201.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 27.64
user 26.85
sys 0.70

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

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

Number of photons that the gtmktime cut: 10307

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/181338/ft1_filtered_4FGL_J1734.3+3858_monthly_bin169.fits" evtable="EVENTS" scfile=/scratch/kocevski/181338/ft2_4FGL_J1734.3+3858_monthly_bin169.fits sctable="SC_DATA" outfile=/scratch/kocevski/181338/ltcube_675043201_677635201_4FGL_J1734.3+3858_monthly_bin169.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/181338/ft2_4FGL_J1734.3+3858_monthly_bin169.fits
.....................!
real 129.32
user 128.59
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/181338/ft1_filtered_4FGL_J1734.3+3858_monthly_bin169.fits evtable="EVENTS" scfile=/scratch/kocevski/181338/ft2_4FGL_J1734.3+3858_monthly_bin169.fits sctable="SC_DATA" expcube=/scratch/kocevski/181338/ltcube_675043201_677635201_4FGL_J1734.3+3858_monthly_bin169.fits outfile=/scratch/kocevski/181338/expmap_675043201_677635201_4FGL_J1734.3+3858_monthly_bin169.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/181338/ltcube_675043201_677635201_4FGL_J1734.3+3858_monthly_bin169.fits
.....................!
real 192.47
user 186.46
sys 5.51

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/181338/ft1_filtered_4FGL_J1734.3+3858_monthly_bin169.fits scfile=/scratch/kocevski/181338/ft2_4FGL_J1734.3+3858_monthly_bin169.fits outfile=/scratch/kocevski/181338/cmap_675043201_677635201_4FGL_J1734.3+3858_monthly_bin169.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.62
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/181338/ft1_filtered_4FGL_J1734.3+3858_monthly_bin169.fits scfile=/scratch/kocevski/181338/ft2_4FGL_J1734.3+3858_monthly_bin169.fits outfile=/scratch/kocevski/181338/cmap_HighResolution_675043201_677635201_4FGL_J1734.3+3858_monthly_bin169.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.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .89746E-01   1.0000         .10000E-03   10000.    
     2 'norm      '    .81795       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.1453       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.4326       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.6051       1.0000         .10000E-03   10000.    
     9 'norm      '    .62736E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.2700       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.1564       1.0000         .10000E-03   10000.    
    13 'norm      '    4.0458       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.5015       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.4754       1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.690       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.6349       1.0000         .10000E-03   10000.    
    19 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.6222       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .94225       1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.6545       1.0000         .10000E-03   10000.    
    24 'Prefactor '    12.282       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    1.5263       1.0000         .10000E-03   10000.    
    27 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    1.6431       1.0000         .10000E-03   10000.    
    29 'Prefactor '    1.2894       1.0000         .10000E-03   10000.    
    30 'Prefactor '    3.0489       1.0000         .10000E-03   10000.    
    31 'Normalizat'    1.2258       1.0000         .10000E-01   10.000    
    32 'Prefactor '    .91183       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=   110375.3     FROM MIGRAD    STATUS=CONVERGED    854 CALLS     3856 TOTAL
                     EDM=   .36E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .89753E-01    .35281E-01     .0000        .31608E-01
   2  norm          .81793        1.3566         .0000        .55623E-02
   3  Prefactor     .10000E-03    2.1473         .0000    ** at limit **
   4  norm          .10000E-03    2.0626         .0000    ** at limit **
   5  Prefactor     3.1452        .53586         .0000        .54329E-02
   6  Prefactor     2.4326        .51004         .0000        .75168E-02
   7  Prefactor     .10000E-03    .11128         .0000    ** at limit **
   8  norm          3.6051        .47071         .0000        .14071E-02
   9  norm          .62745E-01    .81463E-01     .0000        .36547E-01
  10  Prefactor     1.2702        1.4647         .0000        .46064    
  11  norm          .10000E-03    .23107E-01     .0000    ** at limit **
  12  norm          3.1562        1.6742         .0000        .35524E-02
  13  norm          4.0457        .50069         .0000        .23974E-02
  14  Prefactor     2.5015        .65206         .0000       -.21283E-03
  15  Prefactor     .10000E-03    2.5989         .0000    ** at limit **
  16  norm          3.4758        1.2390         .0000        .10473    
  17  Prefactor     10.689        14.543         .0000        .33715E-02
  18  Prefactor     4.6349        14.220         .0000        .74921E-04
  19  norm          .10000E-03    .17493         .0000    ** at limit **
  20  Prefactor     3.6215        5.2550         .0000        .52817E-02
  21  Prefactor     .10000E-03    4.3194         .0000    ** at limit **
  22  Prefactor     .94290        2.2408         .0000        .25223    
  23  Prefactor     2.6544        1.5702         .0000        .18677E-02
  24  Prefactor     12.282        9.1860         .0000       -.88328E-03
  25  Prefactor     .10001E-03    6.3972         .0000    ** at limit **
  26  norm          1.5264        .41664         .0000        .59325E-03
  27  norm          .10002E-03    5.9881         .0000    ** at limit **
  28  norm          1.6434        1.6583         .0000        .10522E-01
  29  Prefactor     1.2895        .93152         .0000        .53181E-02
  30  Prefactor     3.0491        1.2193         .0000        .13474    
  31  Normalizat    1.2258        .55993E-01     .0000        .29893E-03
  32  Prefactor     .91182        .33723E-01     .0000        .54905E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0897532
  norm       = 0.817931
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.14522
  Prefactor  = 2.43262
  Prefactor  = 0.0001
  norm       = 3.60513
  norm       = 0.0627454
  Prefactor  = 1.27025
  norm       = 0.0001
  norm       = 3.15624
  norm       = 4.0457
  Prefactor  = 2.50145
  Prefactor  = 0.000100001
  norm       = 3.47585
  Prefactor  = 10.6891
  Prefactor  = 4.63495
  norm       = 0.0001
  Prefactor  = 3.62153
  Prefactor  = 0.0001
  Prefactor  = 0.942901
  Prefactor  = 2.65439
  Prefactor  = 12.282
  Prefactor  = 0.000100007
  norm       = 1.52635
  norm       = 0.000100016
  norm       = 1.6434
  Prefactor  = 1.28948
  Prefactor  = 3.04906
  Normalizat = 1.22581
  Prefactor  = 0.911816
 **********
 **   18 **HESSE 
 **********

 FCN=   110375.3     FROM HESSE     STATUS=OK           679 CALLS     4535 TOTAL
                     EDM=   .56E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .89753E-01    .30131E-01    .35908E-03   -1.5648    
   2  norm          .81793        1.2572        .48624E-02   -1.5527    
   3  Prefactor     .10000E-03    2.1946        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    2.0675        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.1452        .55506        .67117E-04   -1.5353    
   6  Prefactor     2.4326        .52982        .73393E-04   -1.5396    
   7  Prefactor     .10000E-03    .22161        .21194E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.6051        .47010        .79081E-04   -1.5328    
   9  norm          .62745E-01    .88080E-01    .10358E-02   -1.5658    
  10  Prefactor     1.2702        1.4357        .19743E-02   -1.5483    
  11  norm          .10000E-03    .43638E-01    .96718E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.1562        1.6680        .22814E-03   -1.5353    
  13  norm          4.0457        .50009        .77732E-04   -1.5306    
  14  Prefactor     2.5015        .65112        .13319E-03   -1.5392    
  15  Prefactor     .10000E-03    2.6086        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.4758        1.2308        .10044E-02   -1.5335    
  17  Prefactor     10.689        14.478        .12254E-03   -1.5054    
  18  Prefactor     4.6349        14.196        .18695E-03   -1.5277    
  19  norm          .10000E-03    .49573        .26918E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.6215        5.2381        .10614E-02   -1.5327    
  21  Prefactor     .10000E-03    4.3599        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .94290        2.2143        .25920E-02   -1.5514    
  23  Prefactor     2.6544        1.5677        .25020E-03   -1.5382    
  24  Prefactor     12.282        9.1755        .11430E-03   -1.5007    
  25  Prefactor     .10001E-03    6.4051        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          1.5264        .41645        .10859E-03   -1.5461    
  27  norm          .10002E-03    6.0227        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          1.6434        1.6476        .32957E-03   -1.5452    
  29  Prefactor     1.2895        .92947        .26312E-03   -1.5481    
  30  Prefactor     3.0491        1.2192        .11168E-02   -1.5359    
  31  Normalizat    1.2258        .67531E-01    .29247E-03   -.85809    
  32  Prefactor     .91182        .41137E-01    .21035E-03   -.95729    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.62191e-07
Minuit parameter uncertainties:
  1  0.0301315
  2  1.25727
  3  3.04153e-05
  4  4.24247e-05
  5  0.555062
  6  0.529819
  7  1.52766e-06
  8  0.470101
  9  0.08808
  10  1.43573
  11  3.08352e-07
  12  1.66799
  13  0.500089
  14  0.651124
  15  7.27713e-05
  16  1.23081
  17  14.4826
  18  14.2068
  19  3.97954e-07
  20  5.23874
  21  7.53927e-05
  22  2.21452
  23  1.56771
  24  9.17659
  25  0.000436036
  26  0.416446
  27  0.000624608
  28  1.64767
  29  0.929479
  30  1.21925
  31  0.0675353
  32  0.0411383
Done.

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

Extracting fit parameters...

4FGL J1734.3+3858
   Spectrum: LogParabola
325         norm:  3.476e+00  1.231e+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

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  9.118e-01  4.114e-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:  1.226e+00  6.754e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 18.92
Ra Dec: 263.598 38.976
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 2.01e-08 +/- 7.12e-09
Energy Flux (Fixed Index): 7.88e-06 +/- 2.79e-06

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) = 110374.928725
delta logL = 0.371504149327

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 110374.925025
delta logL = 0.375203480449

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.4284       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5483       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2145       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91552       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   110374.9     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      259 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4287        1.1671        .21846E-04    .24980E-04
   2  alpha         2.5485        .37127        .28645E-01    .91200E-04
   3  Normalizat    1.2145        .64790E-01    .29364E-03   -.37168E-05
   4  Prefactor     .91552        .40228E-01    .20995E-03    .86637E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 3.4287
  alpha      = 2.54852
  Normalizat = 1.21449
  Prefactor  = 0.915522
 **********
 **   18 **HESSE 
 **********

 FCN=   110374.9     FROM HESSE     STATUS=OK            25 CALLS      284 TOTAL
                     EDM=   .13E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4287        1.1174        .87383E-06   -1.5338    
   2  alpha         2.5485        .35463        .11458E-02    .19410E-01
   3  Normalizat    1.2145        .64698E-01    .11746E-04   -.86156    
   4  Prefactor     .91552        .40218E-01    .83982E-05   -.95601    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27795e-13
Minuit parameter uncertainties:
  1  1.11738
  2  0.355834
  3  0.0647025
  4  0.040219
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/181338': 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) = 110374.925025
delta logL = 0.37520384352

Extracting fit parameters...

4FGL J1734.3+3858
   Spectrum: LogParabola
325         norm:  3.429e+00  1.117e+00  1.000e-04  1.000e+04 ( 1.000e-12)
326        alpha:  2.549e+00  3.558e-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.155e-01  4.022e-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:  1.214e+00  6.470e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 19.67
Ra Dec: 263.598 38.976
Photon Index (Free Index): 2.55 +/- 0.36
Photon Flux (Free Index): 2.93e-08 +/- 1.35e-08
Energy Flux (Free Index): 8.20e-06 +/- 2.53e-06

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/181338/cmap_HighResolution_675043201_677635201_4FGL_J1734.3+3858_monthly_bin169.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.01e-08', energy_flux2='8.20e-06', photon_flux_error='7.12e-09', dlogl='3.75e-01', energy_flux='7.88e-06', photon_flux2='2.93e-08', job_status='DONE', time_completed='2022-06-23 05:23:07.224372', photon_index_error2='0.36', photon_index2='2.55', ts='18.92', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='2.53e-06', EG='1.23', time_epoch_completed='1655986987.22', return_code='0', job_id='181338', GAL2='0.92', EG2='1.21', return_code2='0', energy_flux_error='2.79e-06', photon_flux_error2='1.35e-08', ts2='19.67', photon_index='2.23' WHERE bin_id='169' AND source_name='4FGL J1734.3+3858' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Thu Jun 23 05:23:07 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0173>
Subject: Job 181338: <4FGL_J1734.3+3858_monthly_bin169> in cluster <slac> Done

Job <4FGL_J1734.3+3858_monthly_bin169> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jun 23 02:35:27 2022
Job was executed on host(s) <bullet0173>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun 23 02:35:44 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jun 23 02:35:44 2022
Terminated at Thu Jun 23 05:23:08 2022
Results reported at Thu Jun 23 05:23:08 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1734.3+3858_monthly_bin169 263.598 38.9763 675043201 677635201 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 :                                   9902.00 sec.
    Max Memory :                                 1100 MB
    Average Memory :                             467.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   10044 sec.
    Turnaround time :                            10061 sec.

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

