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


Performing analysis on: 4FGL_J0349.6+2410_daily_bin139
RA = 57.423, Dec = 24.1775
tmin = 275356801, tmax = 275616001
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='13527', job_status='RUN', time_executed='2021-08-19 14:51:15.192721', time_epoch_executed='1629409875.19' WHERE source_name='4FGL J0349.6+2410' and cadence='daily' and bin_id='139'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/13527

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/13527/ft1_4FGL_J0349.6+2410_daily_bin139.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/13527/ft2_4FGL_J0349.6+2410_daily_bin139.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/13527/ft1_4FGL_J0349.6+2410_daily_bin139.fits outfile=/scratch/kocevski/13527/ft1_filteredMKT_4FGL_J0349.6+2410_daily_bin139.fits ra=57.423 dec=24.1775 rad=12.0 tmin=275356801.0 tmax=275616001.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 4.87
user 4.32
sys 0.54

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/13527/ft1_filtered_4FGL_J0349.6+2410_daily_bin139.fits" evtable="EVENTS" scfile=/scratch/kocevski/13527/ft2_4FGL_J0349.6+2410_daily_bin139.fits sctable="SC_DATA" outfile=/scratch/kocevski/13527/ltcube_275356801_275616001_4FGL_J0349.6+2410_daily_bin139.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/13527/ft2_4FGL_J0349.6+2410_daily_bin139.fits
.....................!
real 13.50
user 12.83
sys 0.64

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/13527/ft1_filtered_4FGL_J0349.6+2410_daily_bin139.fits evtable="EVENTS" scfile=/scratch/kocevski/13527/ft2_4FGL_J0349.6+2410_daily_bin139.fits sctable="SC_DATA" expcube=/scratch/kocevski/13527/ltcube_275356801_275616001_4FGL_J0349.6+2410_daily_bin139.fits outfile=/scratch/kocevski/13527/expmap_275356801_275616001_4FGL_J0349.6+2410_daily_bin139.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/13527/ltcube_275356801_275616001_4FGL_J0349.6+2410_daily_bin139.fits
.....................!
real 189.37
user 184.76
sys 4.28

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/13527/ft1_filtered_4FGL_J0349.6+2410_daily_bin139.fits scfile=/scratch/kocevski/13527/ft2_4FGL_J0349.6+2410_daily_bin139.fits outfile=/scratch/kocevski/13527/cmap_275356801_275616001_4FGL_J0349.6+2410_daily_bin139.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.85
user 0.38
sys 0.44

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/13527/ft1_filtered_4FGL_J0349.6+2410_daily_bin139.fits scfile=/scratch/kocevski/13527/ft2_4FGL_J0349.6+2410_daily_bin139.fits outfile=/scratch/kocevski/13527/cmap_HighResolution_275356801_275616001_4FGL_J0349.6+2410_daily_bin139.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.84
user 0.37
sys 0.46

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.220       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.7771       1.0000         .10000E-03   10000.    
     5 'norm      '    4.6167       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .38454       1.0000         .10000E-03   10000.    
     8 'norm      '    7.6962       1.0000         .10000E-03   10000.    
     9 'norm      '    20.060       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.3521       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    30.260       1.0000         .10000E-03   10000.    
    13 'norm      '    10.351       1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.2702       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .97296       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=   13322.64     FROM MIGRAD    STATUS=CONVERGED    269 CALLS     1339 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10009E-03    73.673        .90712E-02** at limit **
   2  Prefactor     .10000E-03    2.8987        .90712E-02** at limit **
   3  Prefactor     12.220        11.626        .28648E-02   -.36380E-03
   4  Prefactor     3.7771        2.1689        .51930E-02    .26096E-03
   5  norm          4.6167        2.4764        .46831E-02    .67476E-03
   6  norm          .10000E-03    5.9506        .90712E-02** at limit **
   7  norm          .38461        1.1367        .54816E-01    .10798E-02
   8  norm          7.6963        6.2138        .36137E-02    .95733E-04
   9  norm          20.060        58.424        .22357E-02    .88238E-04
  10  Prefactor     8.3525        33.801        .34679E-02   -.12739E-03
  11  Prefactor     .10001E-03    15.132        .90712E-02** at limit **
  12  Prefactor     30.261        23.320        .18209E-02   -.37323E-03
  13  norm          10.351        11.273        .31135E-02    .10674E-03
  14  Normalizat    1.2702        .26890        .12467       -.49851E-04
  15  Prefactor     .97295        .58108E-01    .31636E-01   -.36054E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100087
  Prefactor  = 0.0001
  Prefactor  = 12.2196
  Prefactor  = 3.77712
  norm       = 4.61666
  norm       = 0.0001
  norm       = 0.384607
  norm       = 7.69628
  norm       = 20.06
  Prefactor  = 8.35245
  Prefactor  = 0.000100006
  Prefactor  = 30.2614
  norm       = 10.3508
  Normalizat = 1.27023
  Prefactor  = 0.972952
 **********
 **   18 **HESSE 
 **********

 FCN=   13322.64     FROM HESSE     STATUS=OK           182 CALLS     1521 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10009E-03    73.685        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.9217        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.220        11.628        .11459E-03   -1.5009    
   4  Prefactor     3.7771        2.1420        .11799E-03   -1.5319    
   5  norm          4.6167        2.4785        .12656E-03   -1.5278    
   6  norm          .10000E-03    5.9695        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .38461        2.9609        .19076E-02   -1.5584    
   8  norm          7.6963        6.2155        .14455E-03   -1.5153    
   9  norm          20.060        58.463        .89426E-04   -1.4812    
  10  Prefactor     8.3525        33.765        .13872E-03   -1.5130    
  11  Prefactor     .10001E-03    15.141        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     30.261        23.320        .72835E-04   -1.4607    
  13  norm          10.351        11.281        .12454E-03   -1.5064    
  14  Normalizat    1.2702        .29008        .55316E-03   -.84459    
  15  Prefactor     .97295        .63550E-01    .13980E-03   -.93637    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.29674e-08
Minuit parameter uncertainties:
  1  0.00507345
  2  3.71699e-06
  3  11.63
  4  2.14206
  5  2.47856
  6  5.86996e-05
  7  2.13415
  8  6.21606
  9  58.6302
  10  33.6199
  11  0.000618074
  12  23.3271
  13  11.2835
  14  0.29045
  15  0.0635553
Done.

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

Extracting fit parameters...

4FGL J0349.6+2410
   Spectrum: LogParabola
275         norm:  2.006e+01  5.863e+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:  9.730e-01  6.356e-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.270e+00  2.904e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.14
Ra Dec: 57.423 24.177
Photon Flux Upper Limit: 1.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.31e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/13527/likelihoodResults_275356801_275616001_4FGL_J0349.6+2410_daily_bin139.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) = 13322.5354917
delta logL = 0.100341638383

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13322.5033645
delta logL = 0.132468842998

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    26.567       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.1486       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2834       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97089       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=   13322.50     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      250 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 11.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          26.632        56.278        .30273E-04   -.15592E-03
   2  alpha         1.1476        1.6016        .46767E-03    .88259E-05
   3  Normalizat    1.2836        .25433       -.13788E-05   -.38190E-03
   4  Prefactor     .97089        .57506E-01   -.61215E-07   -.10625E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 26.6325
  alpha      = 1.14764
  Normalizat = 1.28361
  Prefactor  = 0.970889
 **********
 **   18 **HESSE 
 **********

 FCN=   13322.50     FROM HESSE     STATUS=OK            27 CALLS      277 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          26.632        55.671        .77721E-04   -1.4675    
   2  alpha         1.1476        1.5912        .86206E-02   -.57156    
   3  Normalizat    1.2836        .27563        .55056E-03   -.84057    
   4  Prefactor     .97089        .62586E-01    .13991E-03   -.93706    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.51978e-10
Minuit parameter uncertainties:
  1  55.7798
  2  1.80483
  3  0.27595
  4  0.0625907
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/13527': 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) = 13322.5033624
delta logL = 0.132470978549

Extracting fit parameters...

4FGL J0349.6+2410
   Spectrum: LogParabola
275         norm:  2.663e+01  5.578e+01  1.000e-04  1.000e+04 ( 1.000e-13)
276        alpha:  1.148e+00  1.805e+00  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:  9.709e-01  6.259e-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.284e+00  2.760e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.14
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/13527/cmap_HighResolution_275356801_275616001_4FGL_J0349.6+2410_daily_bin139.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.31e-05', job_status='DONE', photon_flux_upper_limit='1.04e-07', time_completed='2021-08-19 15:05:01.478900', job_id='13527', GAL2='0.97', fit_tolerance='1e-08', EG2='1.28', EG='1.27', time_epoch_completed='1629410701.48', return_code2='0', ts='0.14', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.32e-01', ts2='0.40', photon_index_error='0.00', photon_index='2.73' WHERE bin_id='139' AND source_name='4FGL J0349.6+2410' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 19 15:05:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 13527: <4FGL_J0349.6+2410_daily_bin139> in cluster <slac> Done

Job <4FGL_J0349.6+2410_daily_bin139> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Aug 19 14:50:53 2021
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 19 14:50:56 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:56 2021
Terminated at Thu Aug 19 15:05:01 2021
Results reported at Thu Aug 19 15:05:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0349.6+2410_daily_bin139 57.423 24.1775 275356801 275616001 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 :                                   828.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             378.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   845 sec.
    Turnaround time :                            848 sec.

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

