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


Performing analysis on: 4FGL_J0348.5-2749_daily_bin1495
RA = 57.1417, Dec = -27.8303
tmin = 626832001, tmax = 627091201
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='986940', job_status='RUN', time_executed='2021-08-19 13:32:01.774322', time_epoch_executed='1629405121.77' WHERE source_name='4FGL J0348.5-2749' and cadence='daily' and bin_id='1495'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/986940

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/986940/ft1_4FGL_J0348.5-2749_daily_bin1495.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/986940/ft2_4FGL_J0348.5-2749_daily_bin1495.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/986940/ft1_4FGL_J0348.5-2749_daily_bin1495.fits outfile=/scratch/kocevski/986940/ft1_filteredMKT_4FGL_J0348.5-2749_daily_bin1495.fits ra=57.1417 dec=-27.8303 rad=12.0 tmin=626832001.0 tmax=627091201.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.54
user 2.73
sys 1.77

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/986940/ft2_4FGL_J0348.5-2749_daily_bin1495.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/986940/ft1_filteredMKT_4FGL_J0348.5-2749_daily_bin1495.fits evtable="EVENTS" outfile="/scratch/kocevski/986940/ft1_filtered_4FGL_J0348.5-2749_daily_bin1495.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.04
user 0.31
sys 1.69

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/986940/ft1_filtered_4FGL_J0348.5-2749_daily_bin1495.fits" evtable="EVENTS" scfile=/scratch/kocevski/986940/ft2_4FGL_J0348.5-2749_daily_bin1495.fits sctable="SC_DATA" outfile=/scratch/kocevski/986940/ltcube_626832001_627091201_4FGL_J0348.5-2749_daily_bin1495.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/986940/ft2_4FGL_J0348.5-2749_daily_bin1495.fits
.....................!
real 14.44
user 12.34
sys 2.05

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/986940/ft1_filtered_4FGL_J0348.5-2749_daily_bin1495.fits evtable="EVENTS" scfile=/scratch/kocevski/986940/ft2_4FGL_J0348.5-2749_daily_bin1495.fits sctable="SC_DATA" expcube=/scratch/kocevski/986940/ltcube_626832001_627091201_4FGL_J0348.5-2749_daily_bin1495.fits outfile=/scratch/kocevski/986940/expmap_626832001_627091201_4FGL_J0348.5-2749_daily_bin1495.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/986940/ltcube_626832001_627091201_4FGL_J0348.5-2749_daily_bin1495.fits
.....................!
real 192.64
user 185.15
sys 6.98

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/986940/ft1_filtered_4FGL_J0348.5-2749_daily_bin1495.fits scfile=/scratch/kocevski/986940/ft2_4FGL_J0348.5-2749_daily_bin1495.fits outfile=/scratch/kocevski/986940/cmap_626832001_627091201_4FGL_J0348.5-2749_daily_bin1495.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 2.02
user 0.36
sys 1.63

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/986940/ft1_filtered_4FGL_J0348.5-2749_daily_bin1495.fits scfile=/scratch/kocevski/986940/ft2_4FGL_J0348.5-2749_daily_bin1495.fits outfile=/scratch/kocevski/986940/cmap_HighResolution_626832001_627091201_4FGL_J0348.5-2749_daily_bin1495.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 2.05
user 0.36
sys 1.67

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/986940/ft1_filtered_4FGL_J0348.5-2749_daily_bin1495.fits evtable="EVENTS" scfile=/scratch/kocevski/986940/ft2_4FGL_J0348.5-2749_daily_bin1495.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/986940/Model_4FGL_J0348.5-2749_daily_bin1495.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/986940/ft1_filtered_4FGL_J0348.5-2749_daily_bin1495.fits.....................!
real 119.63
user 116.10
sys 3.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/986940/ft1_filtered_4FGL_J0348.5-2749_daily_bin1495.fits', '/scratch/kocevski/986940/ft2_4FGL_J0348.5-2749_daily_bin1495.fits', expMap='/scratch/kocevski/986940/expmap_626832001_627091201_4FGL_J0348.5-2749_daily_bin1495.fits', expCube='/scratch/kocevski/986940/ltcube_626832001_627091201_4FGL_J0348.5-2749_daily_bin1495.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/986940/Model_4FGL_J0348.5-2749_daily_bin1495.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/986940/ft1_filtered_4FGL_J0348.5-2749_daily_bin1495.fits
Spacecraft file(s): /scratch/kocevski/986940/ft2_4FGL_J0348.5-2749_daily_bin1495.fits
Exposure map: /scratch/kocevski/986940/expmap_626832001_627091201_4FGL_J0348.5-2749_daily_bin1495.fits
Exposure cube: /scratch/kocevski/986940/ltcube_626832001_627091201_4FGL_J0348.5-2749_daily_bin1495.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/986940/Model_4FGL_J0348.5-2749_daily_bin1495.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) = 5620.16664765

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'norm      '    3.7581       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    91.289       1.0000         .10000E-03   10000.    
     6 'norm      '    3.0360       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10349E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .82700E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.8914       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.6904       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    13.073       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    58.298       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    2.9504       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.1959       1.0000         .10000E-03   10000.    
    21 'norm      '    .51208       1.0000         .10000E-03   10000.    
    22 'norm      '    6.0806       1.0000         .10000E-03   10000.    
    23 'Prefactor '    13.559       1.0000         .10000E-03   10000.    
    24 'Prefactor '    46.421       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.1011       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.1043       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=   5620.156     FROM MIGRAD    STATUS=CONVERGED    641 CALLS     3160 TOTAL
                     EDM=   .89E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.1448       -.75815E-08** at limit **
   2  norm          3.7581        3.3270        .44013E-08   -.35362E-05
   3  Prefactor     .10000E-03    551.22        .33322E-04** at limit **
   4  Prefactor     .10000E-03    107.49        .24864E-05** at limit **
   5  Prefactor     91.291        63.646        .81725E-07   -.79447E-06
   6  norm          3.0360        2.1903        .41436E-08    .68178E-06
   7  Prefactor     .10000E-03    17.489       -.35498E-07** at limit **
   8  Prefactor     .10000E-03    217.47       -.12032E-04** at limit **
   9  Prefactor     .75006E-02    1.4072       -.15912E-06    .14930E-03
  10  Prefactor     3.8914        6.0473       -.20774E-06    .41681E-05
  11  Prefactor     2.6905        4.8653        .11192E-05   -.37352E-04
  12  Prefactor     .10000E-03    15.786       -.76614E-08** at limit **
  13  norm          13.073        2.2109       -.35772E-09   -.97476E-05
  14  Prefactor     .10000E-03    38.788       -.11889E-05** at limit **
  15  norm          .10000E-03    .62797        .59046E-07** at limit **
  16  Prefactor     58.313        122.23       -.85851E-06   -.81368E-06
  17  Prefactor     .10000E-03    36.633        .99525E-06** at limit **
  18  Prefactor     .10000E-03    1.6141        .22672E-07** at limit **
  19  norm          2.9507        7.9317       -.63028E-08   -.24755E-05
  20  Prefactor     1.1948        82.973        .74296E-06   -.83600E-06
  21  norm          .51203        .38172        .33545E-08   -.19118E-04
  22  norm          6.0808        7.0856        .21743E-06    .37458E-05
  23  Prefactor     13.559        8.4939        .46806E-08   -.19172E-05
  24  Prefactor     46.423        26.783        .35812E-07   -.50707E-06
  25  Normalizat    1.1012        .22048       -.26062E-06   -.69921E-05
  26  Prefactor     1.1042        .21732       -.37403E-07   -.43243E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 3.75814
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 91.291
  norm       = 3.03599
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00750061
  Prefactor  = 3.89138
  Prefactor  = 2.69053
  Prefactor  = 0.0001
  norm       = 13.0728
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 58.3134
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.95066
  Prefactor  = 1.19475
  norm       = 0.512029
  norm       = 6.0808
  Prefactor  = 13.5588
  Prefactor  = 46.4227
  Normalizat = 1.10121
  Prefactor  = 1.10421
 **********
 **   18 **HESSE 
 **********

 FCN=   5620.156     FROM HESSE     STATUS=OK           466 CALLS     3626 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.1508        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.7581        3.3293        .12516E-03   -1.5320    
   3  Prefactor     .10000E-03    552.79        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    109.00        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     91.291        63.821        .42058E-04   -1.3794    
   6  norm          3.0360        2.1956        .91700E-04   -1.5359    
   7  Prefactor     .10000E-03    17.491        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    219.25        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .75006E-02    2.0070        .33357E-01   -1.5691    
  10  Prefactor     3.8914        6.0360        .20027E-03   -1.5313    
  11  Prefactor     2.6905        4.8823        .99082E-03   -1.5380    
  12  Prefactor     .10000E-03    15.881        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          13.073        2.2132        .42820E-04   -1.4985    
  14  Prefactor     .10000E-03    38.857        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    .63606        .57989E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     58.313        122.28        .52544E-04   -1.4179    
  17  Prefactor     .10000E-03    36.700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    1.6255        .92987E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.9507        7.8976        .23644E-03   -1.5364    
  20  Prefactor     1.1948        85.015        .41574E-03   -1.5489    
  21  norm          .51203        .37007        .36471E-04   -1.5565    
  22  norm          6.0808        7.0646        .16282E-03   -1.5215    
  23  Prefactor     13.559        8.4938        .10878E-03   -1.4971    
  24  Prefactor     46.423        26.730        .58849E-04   -1.4344    
  25  Normalizat    1.1012        .26129        .29190E-03   -.89713    
  26  Prefactor     1.1042        .25731        .29893E-03   -.89332    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.35737e-10
Minuit parameter uncertainties:
  1  1.83399e-07
  2  3.32947
  3  0.00105363
  4  1.04963e-05
  5  63.8689
  6  2.19566
  7  2.80603e-07
  8  4.78414e-05
  9  0.243751
  10  6.03695
  11  4.88299
  12  3.24247e-06
  13  2.21319
  14  8.67889e-06
  15  1.50002e-08
  16  122.817
  17  1.03538e-05
  18  3.5969e-08
  19  7.90039
  20  20.1856
  21  0.370069
  22  7.06552
  23  8.49454
  24  26.7373
  25  0.261601
  26  0.257605
Done.

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

Extracting fit parameters...

4FGL J0348.5-2749
   Spectrum: LogParabola
247         norm:  1.307e+01  2.213e+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.104e+00  2.576e-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:  1.101e+00  2.616e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 130.42
Ra Dec: 57.142 -27.830
Photon Index (Fixed Index): 2.09 +/- 0.00
Photon Flux (Fixed Index): 4.67e-07 +/- 7.90e-08
Energy Flux (Fixed Index): 2.20e-04 +/- 3.72e-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) = 5620.13682179
delta logL = 0.0191583725082

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5620.1355532
delta logL = 0.0204269652095

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.144       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0550       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1113       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0975       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=   5620.136     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      200 TOTAL
                     EDM=   .51E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.144        2.3671        .27621E-02   -.27148E-03
   2  alpha         2.0550        .17031        .10421       -.10304E-03
   3  Normalizat    1.1113        .21339        .65748E-01    .35297E-04
   4  Prefactor     1.0975        .21593        .67756E-01    .16992E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 13.1438
  alpha      = 2.05502
  Normalizat = 1.11133
  Prefactor  = 1.09747
 **********
 **   18 **HESSE 
 **********

 FCN=   5620.136     FROM HESSE     STATUS=OK            29 CALLS      229 TOTAL
                     EDM=   .58E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.144        2.2094        .43139E-04   -1.4983    
   2  alpha         2.0550        .16118        .45585E-03   -.17894    
   3  Normalizat    1.1113        .25395        .29086E-03   -.89389    
   4  Prefactor     1.0975        .25587        .29973E-03   -.89547    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.84055e-11
Minuit parameter uncertainties:
  1  2.20943
  2  0.161298
  3  0.254228
  4  0.25616
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/986940': 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) = 5620.1355532
delta logL = 0.0204269689948

Extracting fit parameters...

4FGL J0348.5-2749
   Spectrum: LogParabola
247         norm:  1.314e+01  2.209e+00  1.000e-04  1.000e+04 ( 1.000e-11)
248        alpha:  2.055e+00  1.613e-01  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.097e+00  2.562e-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:  1.111e+00  2.542e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 129.95
Ra Dec: 57.142 -27.830
Photon Index (Free Index): 2.06 +/- 0.16
Photon Flux (Free Index): 4.56e-07 +/- 9.20e-08
Energy Flux (Free Index): 2.27e-04 +/- 5.19e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/986940/cmap_HighResolution_626832001_627091201_4FGL_J0348.5-2749_daily_bin1495.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.67e-07', energy_flux2='2.27e-04', photon_flux_error='7.90e-08', dlogl='2.04e-02', energy_flux='2.20e-04', photon_flux2='4.56e-07', job_status='DONE', time_completed='2021-08-19 13:43:27.504192', photon_index_error2='0.16', photon_index2='2.06', ts='130.42', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', energy_flux_error2='5.19e-05', EG='1.10', time_epoch_completed='1629405807.5', return_code='0', job_id='986940', GAL2='1.10', EG2='1.11', return_code2='0', energy_flux_error='3.72e-05', photon_flux_error2='9.20e-08', ts2='129.95', photon_index='2.09' WHERE bin_id='1495' AND source_name='4FGL J0348.5-2749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 19 13:43:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 986940: <4FGL_J0348.5-2749_daily_bin1495> in cluster <slac> Done

Job <4FGL_J0348.5-2749_daily_bin1495> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Aug 19 13:30:53 2021
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 19 13:30:54 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:30:54 2021
Terminated at Thu Aug 19 13:43:28 2021
Results reported at Thu Aug 19 13:43:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0348.5-2749_daily_bin1495 57.1417 -27.8303 626832001 627091201 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 :                                   696.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             320.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   753 sec.
    Turnaround time :                            755 sec.

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

