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


Performing analysis on: 4FGL_J0348.5-2749_daily_bin1375
RA = 57.1417, Dec = -27.8303
tmin = 595728001, tmax = 595987201
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='985596', job_status='RUN', time_executed='2021-08-19 13:26:24.798858', time_epoch_executed='1629404784.8' WHERE source_name='4FGL J0348.5-2749' and cadence='daily' and bin_id='1375'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/985596

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/985596/ft1_4FGL_J0348.5-2749_daily_bin1375.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/985596/ft2_4FGL_J0348.5-2749_daily_bin1375.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/985596/ft1_4FGL_J0348.5-2749_daily_bin1375.fits outfile=/scratch/kocevski/985596/ft1_filteredMKT_4FGL_J0348.5-2749_daily_bin1375.fits ra=57.1417 dec=-27.8303 rad=12.0 tmin=595728001.0 tmax=595987201.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 1.96
user 1.75
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/985596/ft2_4FGL_J0348.5-2749_daily_bin1375.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/985596/ft2_4FGL_J0348.5-2749_daily_bin1375.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/985596/ft1_filteredMKT_4FGL_J0348.5-2749_daily_bin1375.fits evtable="EVENTS" outfile="/scratch/kocevski/985596/ft1_filtered_4FGL_J0348.5-2749_daily_bin1375.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.40
user 0.25
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/985596/ft1_filtered_4FGL_J0348.5-2749_daily_bin1375.fits" evtable="EVENTS" scfile=/scratch/kocevski/985596/ft2_4FGL_J0348.5-2749_daily_bin1375.fits sctable="SC_DATA" outfile=/scratch/kocevski/985596/ltcube_595728001_595987201_4FGL_J0348.5-2749_daily_bin1375.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/985596/ft2_4FGL_J0348.5-2749_daily_bin1375.fits
.....................!
real 9.31
user 8.99
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/985596/ft1_filtered_4FGL_J0348.5-2749_daily_bin1375.fits evtable="EVENTS" scfile=/scratch/kocevski/985596/ft2_4FGL_J0348.5-2749_daily_bin1375.fits sctable="SC_DATA" expcube=/scratch/kocevski/985596/ltcube_595728001_595987201_4FGL_J0348.5-2749_daily_bin1375.fits outfile=/scratch/kocevski/985596/expmap_595728001_595987201_4FGL_J0348.5-2749_daily_bin1375.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/985596/ltcube_595728001_595987201_4FGL_J0348.5-2749_daily_bin1375.fits
.....................!
real 141.32
user 137.06
sys 4.02

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
Extended source Fornax A in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/FornaxA.fits is the correct path to the extended template.
Added 160 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0348.5-2749 @ 57.1417 -27.8303

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/985596/ft1_filtered_4FGL_J0348.5-2749_daily_bin1375.fits scfile=/scratch/kocevski/985596/ft2_4FGL_J0348.5-2749_daily_bin1375.fits outfile=/scratch/kocevski/985596/cmap_595728001_595987201_4FGL_J0348.5-2749_daily_bin1375.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.1417 yref=-27.8303 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.44
user 0.27
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/985596/ft1_filtered_4FGL_J0348.5-2749_daily_bin1375.fits scfile=/scratch/kocevski/985596/ft2_4FGL_J0348.5-2749_daily_bin1375.fits outfile=/scratch/kocevski/985596/cmap_HighResolution_595728001_595987201_4FGL_J0348.5-2749_daily_bin1375.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.1417 yref=-27.8303 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.46
user 0.30
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/985596/ft1_filtered_4FGL_J0348.5-2749_daily_bin1375.fits evtable="EVENTS" scfile=/scratch/kocevski/985596/ft2_4FGL_J0348.5-2749_daily_bin1375.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/985596/Model_4FGL_J0348.5-2749_daily_bin1375.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 Fornax A
adding source GAL_V02
Working on...
/scratch/kocevski/985596/ft1_filtered_4FGL_J0348.5-2749_daily_bin1375.fits.....................!
real 120.79
user 118.86
sys 1.35

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/985596/ft1_filtered_4FGL_J0348.5-2749_daily_bin1375.fits', '/scratch/kocevski/985596/ft2_4FGL_J0348.5-2749_daily_bin1375.fits', expMap='/scratch/kocevski/985596/expmap_595728001_595987201_4FGL_J0348.5-2749_daily_bin1375.fits', expCube='/scratch/kocevski/985596/ltcube_595728001_595987201_4FGL_J0348.5-2749_daily_bin1375.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/985596/Model_4FGL_J0348.5-2749_daily_bin1375.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0348.5-2749'

4FGL J0348.5-2749
   Spectrum: LogParabola
247         norm:  1.231e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
248        alpha:  2.088e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
249         beta:  6.312e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
250           Eb:  6.046e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/985596/ft1_filtered_4FGL_J0348.5-2749_daily_bin1375.fits
Spacecraft file(s): /scratch/kocevski/985596/ft2_4FGL_J0348.5-2749_daily_bin1375.fits
Exposure map: /scratch/kocevski/985596/expmap_595728001_595987201_4FGL_J0348.5-2749_daily_bin1375.fits
Exposure cube: /scratch/kocevski/985596/ltcube_595728001_595987201_4FGL_J0348.5-2749_daily_bin1375.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/985596/Model_4FGL_J0348.5-2749_daily_bin1375.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) = 7509.39103901

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.2989       1.0000         .10000E-03   10000.    
     2 'norm      '    5.6767       1.0000         .10000E-03   10000.    
     3 'Prefactor '    67.040       1.0000         .10000E-03   10000.    
     4 'Prefactor '    27.573       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .61837       1.0000         .10000E-03   10000.    
     6 'norm      '    1.9581       1.0000         .10000E-03   10000.    
     7 'Prefactor '    56.927       1.0000         .10000E-03   10000.    
     8 'Prefactor '    37.475       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.1149       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.3664       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    25.170       1.0000         .10000E-03   10000.    
    13 'norm      '    24.479       1.0000         .10000E-03   10000.    
    14 'Prefactor '    38.609       1.0000         .10000E-03   10000.    
    15 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    18.898       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .23805       1.0000         .10000E-03   10000.    
    19 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .28606       1.0000         .10000E-03   10000.    
    22 'norm      '    11.202       1.0000         .10000E-03   10000.    
    23 'Prefactor '    3.5426       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .77586       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.1065       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7509.346     FROM MIGRAD    STATUS=CONVERGED    614 CALLS     3711 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.2985        15.091        .44167E-06    .29564E-04
   2  norm          5.6769        4.3132        .11146E-06    .96896E-04
   3  Prefactor     67.173        283.36       -.13201E-05   -.22256E-04
   4  Prefactor     27.572        31.477        .62137E-06    .99083E-05
   5  Prefactor     .62174        69.435        .24778E-04   -.26860E-04
   6  norm          1.9582        2.9127        .19490E-06    .50865E-04
   7  Prefactor     56.930        45.805       -.41232E-06   -.13765E-03
   8  Prefactor     37.471        38.127        .15909E-06    .38755E-05
   9  Prefactor     3.1150        3.6283       -.15150E-05   -.64535E-03
  10  Prefactor     2.3665        2.9395       -.35407E-06   -.35828E-03
  11  Prefactor     .10002E-03    3.9087       -.11501E-05** at limit **
  12  Prefactor     25.170        17.652        .69267E-06    .22799E-03
  13  norm          24.479        2.3632       -.39093E-07   -.16720E-02
  14  Prefactor     38.618        47.814       -.78922E-06   -.12885E-03
  15  norm          .10001E-03    1.0507        .26842E-05** at limit **
  16  Prefactor     18.971        199.73       -.50900E-06   -.50084E-04
  17  Prefactor     .10000E-03    21.229        .51596E-06** at limit **
  18  Prefactor     .23803        2.2771        .53876E-05   -.11449E-02
  19  norm          .10000E-03    3.6523        .31939E-07** at limit **
  20  Prefactor     .10000E-03    20.092       -.17114E-06** at limit **
  21  norm          .28607        .27142       -.60902E-07    .40771E-02
  22  norm          11.202        8.2787        .50343E-06    .13232E-03
  23  Prefactor     3.5425        4.4181        .27502E-06   -.13895E-03
  24  Prefactor     .10000E-03    4.0976        .72507E-07** at limit **
  25  Normalizat    .77577        .18620       -.27145E-05   -.52397E-03
  26  Prefactor     1.1065        .17905        .31289E-06   -.17703E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.2985
  norm       = 5.6769
  Prefactor  = 67.1732
  Prefactor  = 27.5721
  Prefactor  = 0.621739
  norm       = 1.95823
  Prefactor  = 56.9299
  Prefactor  = 37.4711
  Prefactor  = 3.11499
  Prefactor  = 2.36653
  Prefactor  = 0.000100017
  Prefactor  = 25.1701
  norm       = 24.4791
  Prefactor  = 38.6179
  norm       = 0.000100008
  Prefactor  = 18.9714
  Prefactor  = 0.000100003
  Prefactor  = 0.238031
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.286071
  norm       = 11.2022
  Prefactor  = 3.5425
  Prefactor  = 0.0001
  Normalizat = 0.775769
  Prefactor  = 1.10653
 **********
 **   18 **HESSE 
 **********

 FCN=   7509.346     FROM HESSE     STATUS=OK           470 CALLS     4181 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.2985        15.088        .13916E-03   -1.5132    
   2  norm          5.6769        4.3092        .15117E-03   -1.5231    
   3  Prefactor     67.173        282.83        .24510E-03   -1.4067    
   4  Prefactor     27.572        31.467        .76294E-04   -1.4657    
   5  Prefactor     .62174        31.845        .14394       -1.5550    
   6  norm          1.9582        2.8952        .17163E-03   -1.5428    
   7  Prefactor     56.930        45.821        .53169E-04   -1.4197    
   8  Prefactor     37.471        38.123        .65470E-04   -1.4483    
   9  Prefactor     3.1150        3.6434        .16545E-03   -1.5355    
  10  Prefactor     2.3665        2.9158        .15865E-03   -1.5400    
  11  Prefactor     .10002E-03    11.111        .30270E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     25.170        17.641        .79846E-04   -1.4704    
  13  norm          24.479        2.3643        .38558E-04   -1.4718    
  14  Prefactor     38.618        47.742        .64505E-04   -1.4464    
  15  norm          .10001E-03    3.9583        .14379E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     18.971        199.27        .92133E-04   -1.4837    
  17  Prefactor     .10000E-03    21.275        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .23803        2.8758        .13891E-02   -1.5610    
  19  norm          .10000E-03    3.6547        .16174E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    20.303        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .28607        .25276        .39162E-03   -1.5601    
  22  norm          11.202        8.2050        .59850E-03   -1.5038    
  23  Prefactor     3.5425        4.4072        .97453E-03   -1.5332    
  24  Prefactor     .10000E-03    4.1007        .17131E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .77577        .21712        .31835E-03   -1.0097    
  26  Prefactor     1.1065        .21092        .27904E-03   -.89258    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.48617e-09
Minuit parameter uncertainties:
  1  15.0946
  2  4.30944
  3  277.948
  4  31.486
  5  8.90363
  6  2.89544
  7  45.8498
  8  38.1475
  9  3.64365
  10  2.91597
  11  0.000867969
  12  17.6444
  13  2.36426
  14  47.7895
  15  0.000364786
  16  123.502
  17  0.000525478
  18  1.65448
  19  6.88619e-06
  20  0.000209384
  21  0.252758
  22  8.20585
  23  4.40764
  24  4.74433e-06
  25  0.21736
  26  0.211083
Done.

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

Extracting fit parameters...

4FGL J0348.5-2749
   Spectrum: LogParabola
247         norm:  2.448e+01  2.364e+00  1.000e-04  1.000e+04 ( 1.000e-11)
248        alpha:  2.088e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
249         beta:  6.312e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
250           Eb:  6.046e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  1.107e+00  2.111e-01  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  7.758e-01  2.174e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 484.58
Ra Dec: 57.142 -27.830
Photon Index (Fixed Index): 2.09 +/- 0.00
Photon Flux (Fixed Index): 8.74e-07 +/- 8.44e-08
Energy Flux (Fixed Index): 4.12e-04 +/- 3.98e-05

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) = 7508.47060413
delta logL = 0.875790492658

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7508.43081563
delta logL = 0.915578983868

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7508.431     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      208 TOTAL
                     EDM=   .15E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          25.095        2.4835        .19992E-02   -.73909E-04
   2  alpha         1.9661        .90351E-01    .66786E-01    .67201E-05
   3  Normalizat    .83218        .17467        .69889E-01    .22181E-04
   4  Prefactor     1.0707        .17615        .64035E-01    .71114E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 25.0946
  alpha      = 1.96606
  Normalizat = 0.83218
  Prefactor  = 1.07069
 **********
 **   18 **HESSE 
 **********

 FCN=   7508.431     FROM HESSE     STATUS=OK            31 CALLS      239 TOTAL
                     EDM=   .25E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          25.095        2.4247        .39655E-04   -1.4706    
   2  alpha         1.9661        .88782E-01    .29436E-03   -.21523    
   3  Normalizat    .83218        .20581        .30925E-03   -.98886    
   4  Prefactor     1.0707        .20712        .28322E-03   -.90409    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.50295e-14
Minuit parameter uncertainties:
  1  2.42474
  2  0.0888014
  3  0.206004
  4  0.207276
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/985596': 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) = 7508.43081549
delta logL = 0.915579126789

Extracting fit parameters...

4FGL J0348.5-2749
   Spectrum: LogParabola
247         norm:  2.509e+01  2.425e+00  1.000e-04  1.000e+04 ( 1.000e-11)
248        alpha:  1.966e+00  8.880e-02  0.000e+00  5.000e+00 ( 1.000e+00)
249         beta:  6.312e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
250           Eb:  6.046e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  1.071e+00  2.073e-01  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  8.322e-01  2.060e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 483.46
Ra Dec: 57.142 -27.830
Photon Index (Free Index): 1.97 +/- 0.09
Photon Flux (Free Index): 8.10e-07 +/- 9.11e-08
Energy Flux (Free Index): 4.72e-04 +/- 6.81e-05

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/985596/cmap_HighResolution_595728001_595987201_4FGL_J0348.5-2749_daily_bin1375.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.74e-07', energy_flux2='4.72e-04', photon_flux_error='8.44e-08', dlogl='9.16e-01', energy_flux='4.12e-04', photon_flux2='8.10e-07', job_status='DONE', time_completed='2021-08-19 13:37:41.061060', photon_index_error2='0.09', photon_index2='1.97', ts='484.58', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', energy_flux_error2='6.81e-05', EG='0.78', time_epoch_completed='1629405461.06', return_code='0', job_id='985596', GAL2='1.07', EG2='0.83', return_code2='0', energy_flux_error='3.98e-05', photon_flux_error2='9.11e-08', ts2='483.46', photon_index='2.09' WHERE bin_id='1375' AND source_name='4FGL J0348.5-2749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 19 13:37:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0071>
Subject: Job 985596: <4FGL_J0348.5-2749_daily_bin1375> in cluster <slac> Done

Job <4FGL_J0348.5-2749_daily_bin1375> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Aug 19 13:25:46 2021
Job was executed on host(s) <bullet0071>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 19 13:25:48 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Aug 19 13:25:48 2021
Terminated at Thu Aug 19 13:37:42 2021
Results reported at Thu Aug 19 13:37:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0348.5-2749_daily_bin1375 57.1417 -27.8303 595728001 595987201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0348.5-2749 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   674.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             358.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   713 sec.
    Turnaround time :                            716 sec.

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

