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: DanUser defined signal 2
ocevski@nasa.gov)


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


Performing analysis on: 4FGL_J0349.6+2410_weekly_bin727
RA = 57.423, Dec = 24.1775
tmin = 678672001, tmax = 679276801
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='144180', job_status='RUN', time_executed='2022-07-12 00:08:25.861238', time_epoch_executed='1657609705.86' WHERE source_name='4FGL J0349.6+2410' and cadence='weekly' and bin_id='727'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/144180

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/144180/ft1_4FGL_J0349.6+2410_weekly_bin727.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/144180/ft2_4FGL_J0349.6+2410_weekly_bin727.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/144180/ft1_4FGL_J0349.6+2410_weekly_bin727.fits outfile=/scratch/kocevski/144180/ft1_filteredMKT_4FGL_J0349.6+2410_weekly_bin727.fits ra=57.423 dec=24.1775 rad=12.0 tmin=678672001.0 tmax=679276801.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 11.75
user 7.46
sys 0.30

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/144180/ft2_4FGL_J0349.6+2410_weekly_bin727.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/144180/ft2_4FGL_J0349.6+2410_weekly_bin727.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/144180/ft1_filteredMKT_4FGL_J0349.6+2410_weekly_bin727.fits evtable="EVENTS" outfile="/scratch/kocevski/144180/ft1_filtered_4FGL_J0349.6+2410_weekly_bin727.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 2.79
user 0.37
sys 0.21

Number of photons that the gtmktime cut: 3684

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/144180/ft1_filtered_4FGL_J0349.6+2410_weekly_bin727.fits" evtable="EVENTS" scfile=/scratch/kocevski/144180/ft2_4FGL_J0349.6+2410_weekly_bin727.fits sctable="SC_DATA" outfile=/scratch/kocevski/144180/ltcube_678672001_679276801_4FGL_J0349.6+2410_weekly_bin727.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/144180/ft2_4FGL_J0349.6+2410_weekly_bin727.fits
.....................!
real 37.51
user 34.68
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/144180/ft1_filtered_4FGL_J0349.6+2410_weekly_bin727.fits evtable="EVENTS" scfile=/scratch/kocevski/144180/ft2_4FGL_J0349.6+2410_weekly_bin727.fits sctable="SC_DATA" expcube=/scratch/kocevski/144180/ltcube_678672001_679276801_4FGL_J0349.6+2410_weekly_bin727.fits outfile=/scratch/kocevski/144180/expmap_678672001_679276801_4FGL_J0349.6+2410_weekly_bin727.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/144180/ltcube_678672001_679276801_4FGL_J0349.6+2410_weekly_bin727.fits
.....................!
real 201.19
user 185.88
sys 4.55

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

Setting source of interest to:
4FGL J0349.6+2410 @ 57.423 24.1775

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/144180/ft1_filtered_4FGL_J0349.6+2410_weekly_bin727.fits scfile=/scratch/kocevski/144180/ft2_4FGL_J0349.6+2410_weekly_bin727.fits outfile=/scratch/kocevski/144180/cmap_678672001_679276801_4FGL_J0349.6+2410_weekly_bin727.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=57.423 yref=24.1775 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.60
user 0.42
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/144180/ft1_filtered_4FGL_J0349.6+2410_weekly_bin727.fits scfile=/scratch/kocevski/144180/ft2_4FGL_J0349.6+2410_weekly_bin727.fits outfile=/scratch/kocevski/144180/cmap_HighResolution_678672001_679276801_4FGL_J0349.6+2410_weekly_bin727.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=57.423 yref=24.1775 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.59
user 0.41
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/144180/ft1_filtered_4FGL_J0349.6+2410_weekly_bin727.fits evtable="EVENTS" scfile=/scratch/kocevski/144180/ft2_4FGL_J0349.6+2410_weekly_bin727.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/144180/Model_4FGL_J0349.6+2410_weekly_bin727.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/144180/ft1_filtered_4FGL_J0349.6+2410_weekly_bin727.fits.....................!
real 627.84
user 624.73
sys 1.36

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/144180/ft1_filtered_4FGL_J0349.6+2410_weekly_bin727.fits', '/scratch/kocevski/144180/ft2_4FGL_J0349.6+2410_weekly_bin727.fits', expMap='/scratch/kocevski/144180/expmap_678672001_679276801_4FGL_J0349.6+2410_weekly_bin727.fits', expCube='/scratch/kocevski/144180/ltcube_678672001_679276801_4FGL_J0349.6+2410_weekly_bin727.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/144180/Model_4FGL_J0349.6+2410_weekly_bin727.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0349.6+2410'

4FGL J0349.6+2410
   Spectrum: LogParabola
275         norm:  7.855e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
276        alpha:  2.734e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
277         beta:  4.428e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
278           Eb:  7.904e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/144180/ft1_filtered_4FGL_J0349.6+2410_weekly_bin727.fits
Spacecraft file(s): /scratch/kocevski/144180/ft2_4FGL_J0349.6+2410_weekly_bin727.fits
Exposure map: /scratch/kocevski/144180/expmap_678672001_679276801_4FGL_J0349.6+2410_weekly_bin727.fits
Exposure cube: /scratch/kocevski/144180/ltcube_678672001_679276801_4FGL_J0349.6+2410_weekly_bin727.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/144180/Model_4FGL_J0349.6+2410_weekly_bin727.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) = 38861.325317

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11197E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.4794       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.6097       1.0000         .10000E-03   10000.    
     6 'norm      '    10.282       1.0000         .10000E-03   10000.    
     7 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    50.892       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10192E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.4003       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.9137       1.0000         .10000E-03   10000.    
    13 'norm      '    2.0779       1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.2465       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0048       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   38861.33     FROM MIGRAD    STATUS=CONVERGED    318 CALLS     1391 TOTAL
                     EDM=   .22E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    81.200       -.47439E-06** at limit **
   2  Prefactor     1.4797        2.0744        .94747E-06   -.78783E-05
   3  Prefactor     .10000E-03    10.138       -.54502E-07** at limit **
   4  Prefactor     .10000E-03    .21273        .28972E-08** at limit **
   5  norm          2.6116        1.2681        .86848E-07   -.19934E-03
   6  norm          10.282        6.0579        .80059E-08   -.22885E-04
   7  norm          .10000E-03    .24365        .24039E-07** at limit **
   8  norm          .10000E-03    .77995        .20106E-08** at limit **
   9  norm          50.985        34.730        .33398E-06    .10347E-03
  10  Prefactor     .10000E-03    13.086        .14242E-06** at limit **
  11  Prefactor     6.5510        24.624       -.18468E-06   -.26722E-04
  12  Prefactor     3.9090        12.402        .26902E-06   -.22737E-04
  13  norm          2.0815        5.7902        .97174E-06   -.12647E-04
  14  Normalizat    1.2464        .15099       -.66084E-06   -.25019E-04
  15  Prefactor     1.0047        .34302E-01    .67614E-07   -.22588E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.47974
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.61158
  norm       = 10.2819
  norm       = 0.0001
  norm       = 0.0001
  norm       = 50.9854
  Prefactor  = 0.0001
  Prefactor  = 6.55101
  Prefactor  = 3.90903
  norm       = 2.08148
  Normalizat = 1.24643
  Prefactor  = 1.00474
 **********
 **   18 **HESSE 
 **********

 FCN=   38861.33     FROM HESSE     STATUS=OK           188 CALLS     1579 TOTAL
                     EDM=   .49E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    81.515        .20686E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.4797        2.0707        .32960E-03   -1.5465    
   3  Prefactor     .10000E-03    10.560        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    .38561        .17607E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.6116        1.2581        .14624E-03   -1.5385    
   6  norm          10.282        6.0577        .12496E-03   -1.5067    
   7  norm          .10000E-03    .40744        .18778E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .78117        .17002E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          50.985        34.854        .56217E-04   -1.4279    
  10  Prefactor     .10000E-03    13.178        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.5510        24.618        .15865E-03   -1.5196    
  12  Prefactor     3.9090        12.378        .20393E-03   -1.5313    
  13  norm          2.0815        5.7831        .28651E-03   -1.5419    
  14  Normalizat    1.2464        .16224        .54835E-03   -.85180    
  15  Prefactor     1.0047        .37270E-01    .13846E-03   -.92572    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.90975e-11
Minuit parameter uncertainties:
  1  0.000287137
  2  2.07075
  3  1.36097e-06
  4  1.25645e-06
  5  1.25813
  6  6.05807
  7  3.63567e-07
  8  3.93873e-09
  9  34.8679
  10  4.46248e-06
  11  24.656
  12  12.3865
  13  5.78463
  14  0.162303
  15  0.037271
Done.

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

Extracting fit parameters...

4FGL J0349.6+2410
   Spectrum: LogParabola
275         norm:  5.099e+01  3.487e+01  1.000e-04  1.000e+04 ( 1.000e-13)
276        alpha:  2.734e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
277         beta:  4.428e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
278           Eb:  7.904e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  1.005e+00  3.727e-02  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.246e+00  1.623e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.44
Ra Dec: 57.423 24.177
Photon Index (Fixed Index): 2.73 +/- 0.00
Photon Flux (Fixed Index): 3.17e-08 +/- 2.17e-08
Energy Flux (Fixed Index): 1.01e-05 +/- 6.90e-06

TS (Fixed Index): 3.44
Ra Dec: 57.423 24.177
Photon Flux Upper Limit: 7.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.44e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/144180/likelihoodResults_678672001_679276801_4FGL_J0349.6+2410_weekly_bin727.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) = 38860.5321479
delta logL = 0.793051016837

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 38860.4704113
delta logL = 0.854787620483

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   38860.47     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      225 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 12.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          32.912        40.364        .18436E-04    .25455E-03
   2  alpha         .91211        .94469        .11147E-03   -.43481E-04
   3  Normalizat    1.2763        .14541       -.11228E-05   -.49017E-03
   4  Prefactor     1.0021        .33628E-01    .80249E-07   -.56074E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 32.9116
  alpha      = 0.912108
  Normalizat = 1.27628
  Prefactor  = 1.00206
 **********
 **   18 **HESSE 
 **********

 FCN=   38860.47     FROM HESSE     STATUS=OK            31 CALLS      256 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          32.912        38.578        .34929E-03   -1.4560    
   2  alpha         .91211        .91803        .65980E-01   -.68821    
   3  Normalizat    1.2763        .15823        .54276E-03   -.84277    
   4  Prefactor     1.0021        .36672E-01    .13863E-03   -.92661    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.04707e-10
Minuit parameter uncertainties:
  1  38.6072
  2  0.956697
  3  0.15829
  4  0.0366726
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/144180': 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) = 38860.4704113
delta logL = 0.854787691962

Extracting fit parameters...

4FGL J0349.6+2410
   Spectrum: LogParabola
275         norm:  3.291e+01  3.861e+01  1.000e-04  1.000e+04 ( 1.000e-13)
276        alpha:  9.121e-01  9.567e-01  0.000e+00  5.000e+00 ( 1.000e+00)
277         beta:  4.428e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
278           Eb:  7.904e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  1.002e+00  3.667e-02  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.276e+00  1.583e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.12
Ra Dec: 57.423 24.177
Photon Index (Free Index): 0.91 +/- 0.96
Photon Flux (Free Index): 6.81e-09 +/- 7.24e-09
Energy Flux (Free Index): 1.07e-05 +/- 8.36e-06

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/144180/cmap_HighResolution_678672001_679276801_4FGL_J0349.6+2410_weekly_bin727.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.44e-05', comment='SUCCESS', photon_flux='3.17e-08', energy_flux2='1.07e-05', photon_flux_error='2.17e-08', dlogl='8.55e-01', energy_flux='1.01e-05', photon_flux2='6.81e-09', job_status='DONE', time_completed='2022-07-12 00:40:48.035737', photon_index_error2='0.96', photon_index2='0.91', ts='3.44', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='7.65e-08', energy_flux_error2='8.36e-06', EG='1.25', time_epoch_completed='1657611648.04', return_code='0', job_id='144180', GAL2='1.00', EG2='1.28', return_code2='0', energy_flux_error='6.90e-06', photon_flux_error2='7.24e-09', ts2='5.12', photon_index='2.73' WHERE bin_id='727' AND source_name='4FGL J0349.6+2410' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 12 00:40:48 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 144180: <4FGL_J0349.6+2410_weekly_bin727> in cluster <slac> Done

Job <4FGL_J0349.6+2410_weekly_bin727> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Tue Jul 12 00:05:27 2022
Job was executed on host(s) <bullet0203>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul 12 00:05:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul 12 00:05:29 2022
Terminated at Tue Jul 12 00:40:48 2022
Results reported at Tue Jul 12 00:40:48 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0349.6+2410_weekly_bin727 57.423 24.1775 678672001 679276801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0349.6+2410 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1912.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             405.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   2119 sec.
    Turnaround time :                            2121 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 144044: <4FGL_J0349.6+2410_weekly_bin727> in cluster <slac> Exited

Job <4FGL_J0349.6+2410_weekly_bin727> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Jul 12 00:05:16 2022
Job was executed on host(s) <bullet0251>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul 12 00:05:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul 12 00:05:17 2022
Terminated at Tue Jul 12 16:45:31 2022
Results reported at Tue Jul 12 16:45:31 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0349.6+2410_weekly_bin727 57.423 24.1775 678672001 679276801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0349.6+2410 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

TERM_RUNLIMIT: job killed after reaching LSF run time limit.
Exited with exit code 140.

Resource usage summary:

    CPU time :                                   23.61 sec.
    Max Memory :                                 47 MB
    Average Memory :                             46.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              4
    Max Threads :                                19
    Run time :                                   60014 sec.
    Turnaround time :                            60015 sec.

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

