/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 9 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 = 7430
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0349.6+2410_daily_bin64
RA = 57.423, Dec = 24.1775
tmin = 255916801, tmax = 256176001
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='13409', job_status='RUN', time_executed='2021-08-19 14:52:22.019371', time_epoch_executed='1629409942.02' WHERE source_name='4FGL J0349.6+2410' and cadence='daily' and bin_id='64'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/13409

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/13409/ft1_4FGL_J0349.6+2410_daily_bin64.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/13409/ft2_4FGL_J0349.6+2410_daily_bin64.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/13409/ft1_4FGL_J0349.6+2410_daily_bin64.fits outfile=/scratch/kocevski/13409/ft1_filteredMKT_4FGL_J0349.6+2410_daily_bin64.fits ra=57.423 dec=24.1775 rad=12.0 tmin=255916801.0 tmax=256176001.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.67
user 1.27
sys 5.36

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/13409/ft2_4FGL_J0349.6+2410_daily_bin64.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/13409/ft1_filteredMKT_4FGL_J0349.6+2410_daily_bin64.fits evtable="EVENTS" outfile="/scratch/kocevski/13409/ft1_filtered_4FGL_J0349.6+2410_daily_bin64.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 5.25
user 0.33
sys 4.90

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/13409/ft1_filtered_4FGL_J0349.6+2410_daily_bin64.fits" evtable="EVENTS" scfile=/scratch/kocevski/13409/ft2_4FGL_J0349.6+2410_daily_bin64.fits sctable="SC_DATA" outfile=/scratch/kocevski/13409/ltcube_255916801_256176001_4FGL_J0349.6+2410_daily_bin64.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/13409/ft2_4FGL_J0349.6+2410_daily_bin64.fits
.....................!
real 18.29
user 12.60
sys 5.65

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/13409/ft1_filtered_4FGL_J0349.6+2410_daily_bin64.fits evtable="EVENTS" scfile=/scratch/kocevski/13409/ft2_4FGL_J0349.6+2410_daily_bin64.fits sctable="SC_DATA" expcube=/scratch/kocevski/13409/ltcube_255916801_256176001_4FGL_J0349.6+2410_daily_bin64.fits outfile=/scratch/kocevski/13409/expmap_255916801_256176001_4FGL_J0349.6+2410_daily_bin64.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/13409/ltcube_255916801_256176001_4FGL_J0349.6+2410_daily_bin64.fits
.....................!
real 197.70
user 186.34
sys 11.03

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/13409/ft1_filtered_4FGL_J0349.6+2410_daily_bin64.fits scfile=/scratch/kocevski/13409/ft2_4FGL_J0349.6+2410_daily_bin64.fits outfile=/scratch/kocevski/13409/cmap_255916801_256176001_4FGL_J0349.6+2410_daily_bin64.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 5.68
user 0.37
sys 5.29

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/13409/ft1_filtered_4FGL_J0349.6+2410_daily_bin64.fits scfile=/scratch/kocevski/13409/ft2_4FGL_J0349.6+2410_daily_bin64.fits outfile=/scratch/kocevski/13409/cmap_HighResolution_255916801_256176001_4FGL_J0349.6+2410_daily_bin64.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 5.19
user 0.38
sys 4.79

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10392E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.5841       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .37554       1.0000         .10000E-03   10000.    
     5 'norm      '    1.4968       1.0000         .10000E-03   10000.    
     6 'norm      '    .10508E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .26203       1.0000         .10000E-03   10000.    
     8 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .67712       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.6624       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.4847       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10480E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    31.015       1.0000         .10000E-03   10000.    
    14 'Normalizat'    .93446       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0204       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=   13256.62     FROM MIGRAD    STATUS=CONVERGED    321 CALLS     1209 TOTAL
                     EDM=   .47E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    41.951        .10063E-06** at limit **
   2  Prefactor     .10000E-03    1.9156       -.66620E-09** at limit **
   3  Prefactor     3.6051        6.1726        .99805E-06   -.96513E-03
   4  Prefactor     .37469        1.0999        .22554E-06   -.97005E-03
   5  norm          1.4959        1.7060        .81480E-07   -.25097E-03
   6  norm          .10000E-03    2.9774       -.18195E-07** at limit **
   7  norm          .26363        .85411        .12618E-07   -.21645E-03
   8  norm          .10000E-03    1.6285       -.24566E-08** at limit **
   9  norm          .39187        27.611       -.92100E-06    .12272E-04
  10  Prefactor     5.6592        47.698        .14328E-04    .84510E-04
  11  Prefactor     7.4737        15.453       -.13570E-05   -.54760E-04
  12  Prefactor     .10000E-03    17.385        .90984E-07** at limit **
  13  norm          31.049        16.573        .86441E-07    .10054E-04
  14  Normalizat    .93472        .25594       -.23914E-05   -.12345E-04
  15  Prefactor     1.0204        .58609E-01    .11674E-06   -.62427E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.60513
  Prefactor  = 0.374691
  norm       = 1.49592
  norm       = 0.0001
  norm       = 0.263631
  norm       = 0.0001
  norm       = 0.391865
  Prefactor  = 5.65922
  Prefactor  = 7.47373
  Prefactor  = 0.0001
  norm       = 31.0494
  Normalizat = 0.934718
  Prefactor  = 1.02044
 **********
 **   18 **HESSE 
 **********

 FCN=   13256.62     FROM HESSE     STATUS=OK           194 CALLS     1403 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    41.955        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.9251        .15559E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.6051        9.5805        .10673E-02   -1.5328    
   4  Prefactor     .37469        1.1101        .20636E-03   -1.5586    
   5  norm          1.4959        1.6891        .15392E-03   -1.5463    
   6  norm          .10000E-03    2.9781        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .26363        2.4921        .17967E-02   -1.5605    
   8  norm          .10000E-03    1.6291        .14349E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .39187        27.810        .20014       -1.5583    
  10  Prefactor     5.6592        48.885        .16881E-03   -1.5232    
  11  Prefactor     7.4737        15.469        .14659E-03   -1.5161    
  12  Prefactor     .10000E-03    17.657        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          31.049        16.602        .71945E-04   -1.4593    
  14  Normalizat    .93472        .26887        .57714E-03   -.95251    
  15  Prefactor     1.0204        .62758E-01    .13207E-03   -.92051    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.8318e-08
Minuit parameter uncertainties:
  1  1.17512e-05
  2  1.24654e-06
  3  9.58456
  4  1.11016
  5  1.68914
  6  3.84244e-07
  7  1.62087
  8  8.32328e-08
  9  6.60475
  10  33.3019
  11  15.477
  12  1.54013e-05
  13  16.6048
  14  0.269253
  15  0.0627626
Done.

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

Extracting fit parameters...

4FGL J0349.6+2410
   Spectrum: LogParabola
275         norm:  3.919e-01  6.605e+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

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  1.020e+00  6.276e-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:  9.347e-01  2.693e-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: 7.13e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.27e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/13409/likelihoodResults_255916801_256176001_4FGL_J0349.6+2410_daily_bin64.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) = 13256.4313575
delta logL = 0.183655801244

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13256.4263957
delta logL = 0.18861758304

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7414       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .88322       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0273       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=   13256.43     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      304 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7404        19.687        .79475E-02    .16897E-02
   2  alpha         5.0000        2.8841        .46274    ** at limit **
   3  Normalizat    .88363        .26280        .13348        .86989E-04
   4  Prefactor     1.0273        .59583E-01    .29795E-01   -.33231E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.74043
  alpha      = 5
  Normalizat = 0.88363
  Prefactor  = 1.02729
 **********
 **   18 **HESSE 
 **********

 FCN=   13256.43     FROM HESSE     STATUS=OK            35 CALLS      339 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7404        3.3320        .24490E-03   -1.5444    
   2  alpha         5.0000        4.2783        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .88363        .27394        .59252E-03   -.97038    
   4  Prefactor     1.0273        .63225E-01    .13167E-03   -.91825    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.71411e-10
Minuit parameter uncertainties:
  1  3.33231
  2  0.000212231
  3  0.274376
  4  0.0632298
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/13409': 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) = 13256.4263935
delta logL = 0.188619838114

Extracting fit parameters...

4FGL J0349.6+2410
   Spectrum: LogParabola
275         norm:  1.740e+00  3.332e+00  1.000e-04  1.000e+04 ( 1.000e-13)
276        alpha:  5.000e+00  2.122e-04  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.027e+00  6.323e-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:  8.836e-01  2.744e-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/13409/cmap_HighResolution_255916801_256176001_4FGL_J0349.6+2410_daily_bin64.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.27e-05', job_status='DONE', photon_flux_upper_limit='7.13e-08', time_completed='2021-08-19 15:07:12.519529', job_id='13409', GAL2='1.03', fit_tolerance='1e-08', EG2='0.88', EG='0.93', time_epoch_completed='1629410832.52', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='1.89e-01', ts2='0.41', photon_index_error='0.00', photon_index='2.73' WHERE bin_id='64' AND source_name='4FGL J0349.6+2410' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 19 15:07:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 13409: <4FGL_J0349.6+2410_daily_bin64> in cluster <slac> Done

Job <4FGL_J0349.6+2410_daily_bin64> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Aug 19 14:50:44 2021
Job was executed on host(s) <bullet0066>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 19 14:50:45 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Aug 19 14:50:45 2021
Terminated at Thu Aug 19 15:07:14 2021
Results reported at Thu Aug 19 15:07:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0349.6+2410_daily_bin64 57.423 24.1775 255916801 256176001 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 :                                   969.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             362.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   988 sec.
    Turnaround time :                            990 sec.

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

