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


Performing analysis on: 4FGL_J0348.5-2749_daily_bin1400
RA = 57.1417, Dec = -27.8303
tmin = 602208001, tmax = 602467201
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='985633', job_status='RUN', time_executed='2021-08-19 13:26:51.690834', time_epoch_executed='1629404811.69' WHERE source_name='4FGL J0348.5-2749' and cadence='daily' and bin_id='1400'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/985633

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/985633/ft1_4FGL_J0348.5-2749_daily_bin1400.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/985633/ft2_4FGL_J0348.5-2749_daily_bin1400.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/985633/ft1_4FGL_J0348.5-2749_daily_bin1400.fits outfile=/scratch/kocevski/985633/ft1_filteredMKT_4FGL_J0348.5-2749_daily_bin1400.fits ra=57.1417 dec=-27.8303 rad=12.0 tmin=602208001.0 tmax=602467201.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 5.47
user 5.00
sys 0.44

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/985633/ft2_4FGL_J0348.5-2749_daily_bin1400.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/985633/ft1_filteredMKT_4FGL_J0348.5-2749_daily_bin1400.fits evtable="EVENTS" outfile="/scratch/kocevski/985633/ft1_filtered_4FGL_J0348.5-2749_daily_bin1400.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.70
user 0.33
sys 0.37

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/985633/ft1_filtered_4FGL_J0348.5-2749_daily_bin1400.fits" evtable="EVENTS" scfile=/scratch/kocevski/985633/ft2_4FGL_J0348.5-2749_daily_bin1400.fits sctable="SC_DATA" outfile=/scratch/kocevski/985633/ltcube_602208001_602467201_4FGL_J0348.5-2749_daily_bin1400.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/985633/ft2_4FGL_J0348.5-2749_daily_bin1400.fits
.....................!
real 12.85
user 12.23
sys 0.56

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/985633/ft1_filtered_4FGL_J0348.5-2749_daily_bin1400.fits evtable="EVENTS" scfile=/scratch/kocevski/985633/ft2_4FGL_J0348.5-2749_daily_bin1400.fits sctable="SC_DATA" expcube=/scratch/kocevski/985633/ltcube_602208001_602467201_4FGL_J0348.5-2749_daily_bin1400.fits outfile=/scratch/kocevski/985633/expmap_602208001_602467201_4FGL_J0348.5-2749_daily_bin1400.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/985633/ltcube_602208001_602467201_4FGL_J0348.5-2749_daily_bin1400.fits
.....................!
real 192.78
user 186.85
sys 5.58

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/985633/ft1_filtered_4FGL_J0348.5-2749_daily_bin1400.fits scfile=/scratch/kocevski/985633/ft2_4FGL_J0348.5-2749_daily_bin1400.fits outfile=/scratch/kocevski/985633/cmap_602208001_602467201_4FGL_J0348.5-2749_daily_bin1400.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.73
user 0.36
sys 0.37

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/985633/ft1_filtered_4FGL_J0348.5-2749_daily_bin1400.fits scfile=/scratch/kocevski/985633/ft2_4FGL_J0348.5-2749_daily_bin1400.fits outfile=/scratch/kocevski/985633/cmap_HighResolution_602208001_602467201_4FGL_J0348.5-2749_daily_bin1400.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.75
user 0.37
sys 0.37

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/985633/ft1_filtered_4FGL_J0348.5-2749_daily_bin1400.fits evtable="EVENTS" scfile=/scratch/kocevski/985633/ft2_4FGL_J0348.5-2749_daily_bin1400.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/985633/Model_4FGL_J0348.5-2749_daily_bin1400.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/985633/ft1_filtered_4FGL_J0348.5-2749_daily_bin1400.fits.....................!
real 189.99
user 188.18
sys 1.48

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.6199       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.0250       1.0000         .10000E-03   10000.    
     5 'Prefactor '    31.910       1.0000         .10000E-03   10000.    
     6 'norm      '    1.6757       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    21.883       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.3594       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.8470       1.0000         .10000E-03   10000.    
    13 'norm      '    15.173       1.0000         .10000E-03   10000.    
    14 'Prefactor '    25.317       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.423       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.2352       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .17460       1.0000         .10000E-03   10000.    
    22 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    22.302       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .77748       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.1518       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=   8794.904     FROM MIGRAD    STATUS=CONVERGED    618 CALLS     3210 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.6168        10.639       -.97552E-07   -.13871E-03
   2  norm          .10000E-03    .57809        .81099E-07** at limit **
   3  Prefactor     .10000E-03    84.642        .82120E-06** at limit **
   4  Prefactor     .99106        6.8631       -.78763E-06   -.12715E-03
   5  Prefactor     31.906        27.925       -.20069E-05   -.45917E-05
   6  norm          1.6754        2.5013       -.62930E-06   -.11002E-02
   7  Prefactor     .10000E-03    22.281        .18343E-06** at limit **
   8  Prefactor     21.886        21.046        .24291E-06    .13453E-04
   9  Prefactor     .10000E-03    .41974        .25061E-07** at limit **
  10  Prefactor     .10000E-03    1.6983        .56627E-06** at limit **
  11  Prefactor     5.3597        2.9153       -.17281E-05   -.49234E-03
  12  Prefactor     7.8471        6.7659        .54390E-06    .55259E-04
  13  norm          15.173        1.6338        .56379E-07   -.10908E-02
  14  Prefactor     25.315        21.183       -.36404E-06    .40443E-05
  15  norm          .10000E-03    .28642        .37415E-07** at limit **
  16  Prefactor     13.398        45.516       -.47540E-04   -.15047E-05
  17  Prefactor     .10000E-03    6.4337       -.33087E-07** at limit **
  18  Prefactor     6.2348        2.5131        .38167E-07   -.17394E-03
  19  norm          .10000E-03    3.7828       -.40113E-07** at limit **
  20  Prefactor     .10000E-03    10.707       -.31497E-06** at limit **
  21  norm          .17441        .21147       -.56058E-07   -.32283E-02
  22  norm          .10000E-03    3.0514        .21432E-06** at limit **
  23  Prefactor     .10000E-03    1.5305        .13778E-06** at limit **
  24  Prefactor     22.302        16.425        .26534E-06    .61057E-05
  25  Normalizat    .77757        .14762        .20064E-05   -.13154E-03
  26  Prefactor     1.1518        .14990       -.63198E-07    .42226E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.61678
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.991058
  Prefactor  = 31.9062
  norm       = 1.6754
  Prefactor  = 0.0001
  Prefactor  = 21.8855
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 5.35968
  Prefactor  = 7.84711
  norm       = 15.1731
  Prefactor  = 25.3155
  norm       = 0.0001
  Prefactor  = 13.3977
  Prefactor  = 0.0001
  Prefactor  = 6.23483
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.174409
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.3016
  Normalizat = 0.777568
  Prefactor  = 1.1518
 **********
 **   18 **HESSE 
 **********

 FCN=   8794.904     FROM HESSE     STATUS=OK           466 CALLS     3676 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.6168        10.673        .18726E-03   -1.5278    
   2  norm          .10000E-03    .58019        .69628E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    84.660        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .99106        47.671        .46502E-02   -1.5509    
   5  Prefactor     31.906        27.941        .70933E-04   -1.4578    
   6  norm          1.6754        2.4976        .17515E-03   -1.5449    
   7  Prefactor     .10000E-03    22.322        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     21.886        21.067        .85624E-04   -1.4772    
   9  Prefactor     .10000E-03    .42396        .59305E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    18.896        .22379E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.3597        2.8621        .11140E-03   -1.5245    
  12  Prefactor     7.8471        6.7644        .14314E-03   -1.5148    
  13  norm          15.173        1.6072        .36663E-04   -1.4929    
  14  Prefactor     25.315        21.180        .79614E-04   -1.4701    
  15  norm          .10000E-03    .39975        .97272E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     13.398        45.237        .10933E-03   -1.4976    
  17  Prefactor     .10000E-03    6.4385        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.2348        2.5084        .90425E-04   -1.5209    
  19  norm          .10000E-03    3.7968        .17813E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    10.748        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .17441        .19543        .44435E-03   -1.5624    
  22  norm          .10000E-03    3.0769        .15982E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    1.5480        .11325E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     22.302        16.355        .84816E-04   -1.4763    
  25  Normalizat    .77757        .17160        .28007E-03   -1.0091    
  26  Prefactor     1.1518        .17572        .25274E-03   -.87828    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11611e-09
Minuit parameter uncertainties:
  1  10.6774
  2  5.96716e-07
  3  7.53569e-06
  4  13.7578
  5  27.9519
  6  2.49773
  7  9.21154e-06
  8  21.0743
  9  1.17083e-06
  10  0.000465356
  11  2.86217
  12  6.76502
  13  1.60724
  14  21.1861
  15  4.76235e-06
  16  45.353
  17  8.9511e-07
  18  2.50849
  19  1.00458e-06
  20  3.44869e-06
  21  0.195435
  22  2.41025e-06
  23  4.1029e-06
  24  16.3581
  25  0.171714
  26  0.175804
Done.

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

Extracting fit parameters...

4FGL J0348.5-2749
   Spectrum: LogParabola
247         norm:  1.517e+01  1.607e+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.152e+00  1.758e-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.776e-01  1.717e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 413.83
Ra Dec: 57.142 -27.830
Photon Index (Fixed Index): 2.09 +/- 0.00
Photon Flux (Fixed Index): 5.42e-07 +/- 5.73e-08
Energy Flux (Fixed Index): 2.55e-04 +/- 2.70e-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) = 8794.41214363
delta logL = 0.491460118112

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8794.38059537
delta logL = 0.523008379909

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.599       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9829       1.0000          .0000       5.0000    
     3 'Normalizat'    .81118       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1293       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=   8794.381     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      205 TOTAL
                     EDM=   .18E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.599        1.7874        .25352E-02   -.52632E-04
   2  alpha         1.9829        .10615        .81481E-01    .17608E-04
   3  Normalizat    .81121        .14290        .43756E-01    .26581E-04
   4  Prefactor     1.1293        .15134        .57675E-01    .72645E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 15.5992
  alpha      = 1.9829
  Normalizat = 0.811207
  Prefactor  = 1.12926
 **********
 **   18 **HESSE 
 **********

 FCN=   8794.381     FROM HESSE     STATUS=OK            31 CALLS      236 TOTAL
                     EDM=   .89E-15    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.599        1.6927        .37757E-04   -1.4918    
   2  alpha         1.9829        .10133        .35815E-03   -.20835    
   3  Normalizat    .81121        .16547        .27503E-03   -.99654    
   4  Prefactor     1.1293        .17480        .25503E-03   -.88537    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.937e-16
Minuit parameter uncertainties:
  1  1.69273
  2  0.101358
  3  0.165568
  4  0.174888
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/985633': 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) = 8794.3805953
delta logL = 0.52300844761

Extracting fit parameters...

4FGL J0348.5-2749
   Spectrum: LogParabola
247         norm:  1.560e+01  1.693e+00  1.000e-04  1.000e+04 ( 1.000e-11)
248        alpha:  1.983e+00  1.014e-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.129e+00  1.749e-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.112e-01  1.656e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 412.63
Ra Dec: 57.142 -27.830
Photon Index (Free Index): 1.98 +/- 0.10
Photon Flux (Free Index): 5.10e-07 +/- 6.27e-08
Energy Flux (Free Index): 2.88e-04 +/- 4.74e-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/985633/cmap_HighResolution_602208001_602467201_4FGL_J0348.5-2749_daily_bin1400.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.42e-07', energy_flux2='2.88e-04', photon_flux_error='5.73e-08', dlogl='5.23e-01', energy_flux='2.55e-04', photon_flux2='5.10e-07', job_status='DONE', time_completed='2021-08-19 13:42:06.475944', photon_index_error2='0.10', photon_index2='1.98', ts='413.83', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', energy_flux_error2='4.74e-05', EG='0.78', time_epoch_completed='1629405726.48', return_code='0', job_id='985633', GAL2='1.13', EG2='0.81', return_code2='0', energy_flux_error='2.70e-05', photon_flux_error2='6.27e-08', ts2='412.63', photon_index='2.09' WHERE bin_id='1400' AND source_name='4FGL J0348.5-2749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 19 13:42:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0304>
Subject: Job 985633: <4FGL_J0348.5-2749_daily_bin1400> in cluster <slac> Done

Job <4FGL_J0348.5-2749_daily_bin1400> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Aug 19 13:25:49 2021
Job was executed on host(s) <bullet0304>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 19 13:25:50 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:50 2021
Terminated at Thu Aug 19 13:42:07 2021
Results reported at Thu Aug 19 13:42:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0348.5-2749_daily_bin1400 57.1417 -27.8303 602208001 602467201 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 :                                   913.36 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             343.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   976 sec.
    Turnaround time :                            978 sec.

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

