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


Performing analysis on: 4FGL_J0349.6+2410_daily_bin1370
RA = 57.423, Dec = 24.1775
tmin = 594432001, tmax = 594691201
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='22999', job_status='RUN', time_executed='2021-08-19 15:26:28.205144', time_epoch_executed='1629411988.21' WHERE source_name='4FGL J0349.6+2410' and cadence='daily' and bin_id='1370'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/22999

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/22999/ft1_4FGL_J0349.6+2410_daily_bin1370.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/22999/ft2_4FGL_J0349.6+2410_daily_bin1370.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/22999/ft1_4FGL_J0349.6+2410_daily_bin1370.fits outfile=/scratch/kocevski/22999/ft1_filteredMKT_4FGL_J0349.6+2410_daily_bin1370.fits ra=57.423 dec=24.1775 rad=12.0 tmin=594432001.0 tmax=594691201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 6.63
user 4.10
sys 2.47

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/22999/ft2_4FGL_J0349.6+2410_daily_bin1370.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/22999/ft1_filteredMKT_4FGL_J0349.6+2410_daily_bin1370.fits evtable="EVENTS" outfile="/scratch/kocevski/22999/ft1_filtered_4FGL_J0349.6+2410_daily_bin1370.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.74
user 0.32
sys 2.39

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/22999/ft1_filtered_4FGL_J0349.6+2410_daily_bin1370.fits" evtable="EVENTS" scfile=/scratch/kocevski/22999/ft2_4FGL_J0349.6+2410_daily_bin1370.fits sctable="SC_DATA" outfile=/scratch/kocevski/22999/ltcube_594432001_594691201_4FGL_J0349.6+2410_daily_bin1370.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/22999/ft2_4FGL_J0349.6+2410_daily_bin1370.fits
.....................!
real 14.15
user 11.24
sys 2.86

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/22999/ft1_filtered_4FGL_J0349.6+2410_daily_bin1370.fits evtable="EVENTS" scfile=/scratch/kocevski/22999/ft2_4FGL_J0349.6+2410_daily_bin1370.fits sctable="SC_DATA" expcube=/scratch/kocevski/22999/ltcube_594432001_594691201_4FGL_J0349.6+2410_daily_bin1370.fits outfile=/scratch/kocevski/22999/expmap_594432001_594691201_4FGL_J0349.6+2410_daily_bin1370.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/22999/ltcube_594432001_594691201_4FGL_J0349.6+2410_daily_bin1370.fits
.....................!
real 192.92
user 184.87
sys 7.72

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/22999/ft1_filtered_4FGL_J0349.6+2410_daily_bin1370.fits scfile=/scratch/kocevski/22999/ft2_4FGL_J0349.6+2410_daily_bin1370.fits outfile=/scratch/kocevski/22999/cmap_594432001_594691201_4FGL_J0349.6+2410_daily_bin1370.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 2.75
user 0.36
sys 2.36

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/22999/ft1_filtered_4FGL_J0349.6+2410_daily_bin1370.fits scfile=/scratch/kocevski/22999/ft2_4FGL_J0349.6+2410_daily_bin1370.fits outfile=/scratch/kocevski/22999/cmap_HighResolution_594432001_594691201_4FGL_J0349.6+2410_daily_bin1370.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 2.94
user 0.37
sys 2.54

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/22999/ft1_filtered_4FGL_J0349.6+2410_daily_bin1370.fits', '/scratch/kocevski/22999/ft2_4FGL_J0349.6+2410_daily_bin1370.fits', expMap='/scratch/kocevski/22999/expmap_594432001_594691201_4FGL_J0349.6+2410_daily_bin1370.fits', expCube='/scratch/kocevski/22999/ltcube_594432001_594691201_4FGL_J0349.6+2410_daily_bin1370.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/22999/Model_4FGL_J0349.6+2410_daily_bin1370.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/22999/ft1_filtered_4FGL_J0349.6+2410_daily_bin1370.fits
Spacecraft file(s): /scratch/kocevski/22999/ft2_4FGL_J0349.6+2410_daily_bin1370.fits
Exposure map: /scratch/kocevski/22999/expmap_594432001_594691201_4FGL_J0349.6+2410_daily_bin1370.fits
Exposure cube: /scratch/kocevski/22999/ltcube_594432001_594691201_4FGL_J0349.6+2410_daily_bin1370.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/22999/Model_4FGL_J0349.6+2410_daily_bin1370.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) = 8333.34354042

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.7717       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.6054       1.0000         .10000E-03   10000.    
     5 'norm      '    6.0836       1.0000         .10000E-03   10000.    
     6 'norm      '    35.039       1.0000         .10000E-03   10000.    
     7 'norm      '    3.4776       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    32.747       1.0000         .10000E-03   10000.    
    11 'Prefactor '    29.103       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.3581       1.0000         .10000E-03   10000.    
    13 'norm      '    39.703       1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.1052       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .89879       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.

 FCN=   8333.343     FROM MIGRAD    STATUS=CONVERGED    268 CALLS     1313 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    59.796        .90712E-02** at limit **
   2  Prefactor     3.7716        7.7603        .51968E-02    .36267E-03
   3  Prefactor     .10000E-03    7.8019        .90712E-02** at limit **
   4  Prefactor     2.6056        2.0191        .63184E-02    .23574E-03
   5  norm          6.0833        3.9990        .40695E-02    .54268E-03
   6  norm          35.039        18.735        .16925E-02   -.64658E-04
   7  norm          3.4776        2.3003        .54209E-02    .40588E-03
   8  norm          .10000E-03    3.9735        .90712E-02** at limit **
   9  norm          .10000E-03    16.621        .90712E-02** at limit **
  10  Prefactor     32.746        35.957        .17506E-02    .77364E-03
  11  Prefactor     29.103        47.314        .18567E-02   -.16858E-03
  12  Prefactor     4.3581        10.747        .48235E-02    .21135E-02
  13  norm          39.704        21.412        .15903E-02   -.20864E-03
  14  Normalizat    1.1052        .30478        .11845        .59650E-04
  15  Prefactor     .89878        .69569E-01    .30696E-01   -.10647E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 3.77156
  Prefactor  = 0.0001
  Prefactor  = 2.60561
  norm       = 6.08327
  norm       = 35.0393
  norm       = 3.47756
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 32.7459
  Prefactor  = 29.1027
  Prefactor  = 4.35814
  norm       = 39.7037
  Normalizat = 1.10521
  Prefactor  = 0.898778
 **********
 **   18 **HESSE 
 **********

 FCN=   8333.343     FROM HESSE     STATUS=OK           180 CALLS     1493 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    59.797        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.7716        7.7151        .20787E-03   -1.5320    
   3  Prefactor     .10000E-03    7.8066        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.6056        2.0090        .10859E-03   -1.5385    
   5  norm          6.0833        3.9949        .13173E-03   -1.5215    
   6  norm          35.039        18.734        .67700E-04   -1.4523    
   7  norm          3.4776        2.2916        .10640E-03   -1.5335    
   8  norm          .10000E-03    3.9923        .17772E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    16.622        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     32.746        35.978        .70023E-04   -1.4563    
  11  Prefactor     29.103        47.368        .74266E-04   -1.4629    
  12  Prefactor     4.3581        10.732        .96470E-03   -1.5290    
  13  norm          39.704        21.444        .63613E-04   -1.4447    
  14  Normalizat    1.1052        .32795        .52542E-03   -.89585    
  15  Prefactor     .89878        .75561E-01    .13564E-03   -.96184    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.6946e-09
Minuit parameter uncertainties:
  1  0.000219204
  2  7.71714
  3  5.24506e-05
  4  2.00907
  5  3.99504
  6  18.7367
  7  2.29168
  8  4.00134e-05
  9  1.78743e-05
  10  36.0019
  11  47.4296
  12  10.7366
  13  21.4481
  14  0.328559
  15  0.0755694
Done.

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

Extracting fit parameters...

4FGL J0349.6+2410
   Spectrum: LogParabola
275         norm:  1.000e-04  1.787e-05  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:  8.988e-01  7.557e-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.105e+00  3.286e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/22999/likelihoodResults_594432001_594691201_4FGL_J0349.6+2410_daily_bin1370.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): 102
logL (Free Index) = 8333.34361705
delta logL = -0.000286377171506

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8333.3433376
delta logL = -6.92561843607e-06

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8333.343     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      284 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    315.02        .18142E-01** at limit **
   2  alpha         1.6140        4.1809        .50000        .20736E-07
   3  Normalizat    1.1052        .29776E-01    .52542E-03    .26086E-03
   4  Prefactor     .89878        .70720E-02    .13564E-03    .10037E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100003
  alpha      = 1.61405
  Normalizat = 1.10521
  Prefactor  = 0.898778
 **********
 **   18 **HESSE 
 **********

 FCN=   8333.343     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      311 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6490.5        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6140        3.8525        .20000       -.36225    
   3  Normalizat    1.1052        .11653        .21017E-04   -.89585    
   4  Prefactor     .89878        .27682E-01    .27128E-04   -.96184    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.63162e-09
Minuit parameter uncertainties:
  1  0.00667622
  2  9750.44
  3  0.116555
  4  0.0276822
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/22999': 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): 102
logL (Free Index) = 8333.34332969
delta logL = 9.83227437246e-07

Extracting fit parameters...

4FGL J0349.6+2410
   Spectrum: LogParabola
275         norm:  1.000e-04  6.676e-03  1.000e-04  1.000e+04 ( 1.000e-13)
276        alpha:  1.614e+00  9.750e+03  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:  8.988e-01  2.768e-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.105e+00  1.166e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 57.423 24.177

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/22999/cmap_HighResolution_594432001_594691201_4FGL_J0349.6+2410_daily_bin1370.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.86e-05', job_status='DONE', photon_flux_upper_limit='5.84e-08', time_completed='2021-08-19 15:37:41.723489', job_id='22999', GAL2='0.90', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1629412661.72', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='9.83e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.73' WHERE bin_id='1370' AND source_name='4FGL J0349.6+2410' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 19 15:37:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0267>
Subject: Job 22999: <4FGL_J0349.6+2410_daily_bin1370> in cluster <slac> Done

Job <4FGL_J0349.6+2410_daily_bin1370> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Aug 19 15:25:39 2021
Job was executed on host(s) <bullet0267>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 19 15:25:40 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Aug 19 15:25:40 2021
Terminated at Thu Aug 19 15:37:42 2021
Results reported at Thu Aug 19 15:37:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0349.6+2410_daily_bin1370 57.423 24.1775 594432001 594691201 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 :                                   701.60 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             298.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   722 sec.
    Turnaround time :                            723 sec.

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

