/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 115 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.8+4610_daily_bin1375
RA = 57.2185, Dec = 46.1695
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='11852', job_status='RUN', time_executed='2021-08-19 14:48:58.899655', time_epoch_executed='1629409738.9' WHERE source_name='4FGL J0348.8+4610' and cadence='daily' and bin_id='1375'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/11852

Creating custom pfile directory:
/scratch/kocevski/11852/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/11852/ft1_4FGL_J0348.8+4610_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/11852/ft2_4FGL_J0348.8+4610_daily_bin1375.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/11852/ft1_4FGL_J0348.8+4610_daily_bin1375.fits outfile=/scratch/kocevski/11852/ft1_filteredMKT_4FGL_J0348.8+4610_daily_bin1375.fits ra=57.2185 dec=46.1695 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 7.80
user 2.35
sys 5.41

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/11852/ft2_4FGL_J0348.8+4610_daily_bin1375.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/11852/ft2_4FGL_J0348.8+4610_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/11852/ft1_filteredMKT_4FGL_J0348.8+4610_daily_bin1375.fits evtable="EVENTS" outfile="/scratch/kocevski/11852/ft1_filtered_4FGL_J0348.8+4610_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 5.76
user 0.34
sys 5.39

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/11852/ft1_filtered_4FGL_J0348.8+4610_daily_bin1375.fits" evtable="EVENTS" scfile=/scratch/kocevski/11852/ft2_4FGL_J0348.8+4610_daily_bin1375.fits sctable="SC_DATA" outfile=/scratch/kocevski/11852/ltcube_595728001_595987201_4FGL_J0348.8+4610_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/11852/ft2_4FGL_J0348.8+4610_daily_bin1375.fits
.....................!
real 18.31
user 11.99
sys 6.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/11852/ft1_filtered_4FGL_J0348.8+4610_daily_bin1375.fits evtable="EVENTS" scfile=/scratch/kocevski/11852/ft2_4FGL_J0348.8+4610_daily_bin1375.fits sctable="SC_DATA" expcube=/scratch/kocevski/11852/ltcube_595728001_595987201_4FGL_J0348.8+4610_daily_bin1375.fits outfile=/scratch/kocevski/11852/expmap_595728001_595987201_4FGL_J0348.8+4610_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/11852/ltcube_595728001_595987201_4FGL_J0348.8+4610_daily_bin1375.fits
.....................!
real 197.10
user 185.01
sys 11.77

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 G150.3+4.5 in ROI with RadialDisk spatial model.
Extended source HB 9 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/HB9.fits is the correct path to the extended template.
Extended source HB 3 in ROI with RadialDisk spatial model.
Extended source W 3 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/W3.fits is the correct path to the extended template.
Added 169 point sources and 4 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.8+4610 @ 57.2185 46.1695

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/11852/ft1_filtered_4FGL_J0348.8+4610_daily_bin1375.fits scfile=/scratch/kocevski/11852/ft2_4FGL_J0348.8+4610_daily_bin1375.fits outfile=/scratch/kocevski/11852/cmap_595728001_595987201_4FGL_J0348.8+4610_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.2185 yref=46.1695 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 5.66
user 0.37
sys 5.28

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/11852/ft1_filtered_4FGL_J0348.8+4610_daily_bin1375.fits scfile=/scratch/kocevski/11852/ft2_4FGL_J0348.8+4610_daily_bin1375.fits outfile=/scratch/kocevski/11852/cmap_HighResolution_595728001_595987201_4FGL_J0348.8+4610_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.2185 yref=46.1695 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 5.72
user 0.38
sys 5.29

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/11852/ft1_filtered_4FGL_J0348.8+4610_daily_bin1375.fits evtable="EVENTS" scfile=/scratch/kocevski/11852/ft2_4FGL_J0348.8+4610_daily_bin1375.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/11852/Model_4FGL_J0348.8+4610_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 G150.3+4.5
adding source GAL_V02
adding source HB 3
adding source HB 9
adding source W 3
Working on...
/scratch/kocevski/11852/ft1_filtered_4FGL_J0348.8+4610_daily_bin1375.fits.....................!
real 90.75
user 82.51
sys 8.07

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/11852/ft1_filtered_4FGL_J0348.8+4610_daily_bin1375.fits', '/scratch/kocevski/11852/ft2_4FGL_J0348.8+4610_daily_bin1375.fits', expMap='/scratch/kocevski/11852/expmap_595728001_595987201_4FGL_J0348.8+4610_daily_bin1375.fits', expCube='/scratch/kocevski/11852/ltcube_595728001_595987201_4FGL_J0348.8+4610_daily_bin1375.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/11852/Model_4FGL_J0348.8+4610_daily_bin1375.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0348.8+4610'

4FGL J0348.8+4610
   Spectrum: LogParabola
299         norm:  8.952e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
300        alpha:  2.791e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
301         beta:  7.194e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
302           Eb:  9.019e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/11852/ft1_filtered_4FGL_J0348.8+4610_daily_bin1375.fits
Spacecraft file(s): /scratch/kocevski/11852/ft2_4FGL_J0348.8+4610_daily_bin1375.fits
Exposure map: /scratch/kocevski/11852/expmap_595728001_595987201_4FGL_J0348.8+4610_daily_bin1375.fits
Exposure cube: /scratch/kocevski/11852/ltcube_595728001_595987201_4FGL_J0348.8+4610_daily_bin1375.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/11852/Model_4FGL_J0348.8+4610_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) = 3763.38899114

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .53918       1.0000         .10000E-03   10000.    
     2 'norm      '    .14630E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .50556E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .17954E-01   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .77542E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .26826E-02   1.0000         .10000E-03   10000.    
     8 'norm      '    421.82       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.357       1.0000         .10000E-03   10000.    
    11 'norm      '    56.327       1.0000         .10000E-03   10000.    
    12 'Prefactor '    60.822       1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Normalizat'    .10071E-01   1.0000         .10000E-01   10.000    
    15 'Prefactor '    .90844       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3763.139     FROM MIGRAD    STATUS=CONVERGED     46 CALLS     1321 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .52399        2.0101       -.18104E-04    .11596E-02
   2  norm          .11400E-03    138.59       -.16354E-03** at limit **
   3  Prefactor     .27388E-03    .99666       -.12125E-04** at limit **
   4  Prefactor     .16099E-01    .98143       -.12703E-04    .16936E-02
   5  norm          .10000E-03    8.0073       -.18961E-04** at limit **
   6  Prefactor     .35238E-03    1.7813       -.17558E-04** at limit **
   7  Prefactor     .70624E-03    10.250       -.45023E-04** at limit **
   8  norm          421.82        1.0050       -.34536E-07   -.28548E-03
   9  Prefactor     .10000E-03    26.280        .87876E-04** at limit **
  10  Prefactor     13.329        3.4333       -.62447E-05   -.18624E-03
  11  norm          56.310        2.2387       -.18848E-05    .42604E-02
  12  Prefactor     60.818        1.0889       -.39012E-06    .10030E-02
  13  norm          .10000E-03    6.7553       -.79999E-04** at limit **
  14  Normalizat    .10000E-01    6.8676       -.37859E-03** at limit **
  15  Prefactor     .90845        .53272E-01    .19987E-04    .20553E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.523993
  norm       = 0.000114003
  Prefactor  = 0.000273885
  Prefactor  = 0.0160988
  norm       = 0.0001
  Prefactor  = 0.000352382
  Prefactor  = 0.000706238
  norm       = 421.824
  Prefactor  = 0.000100001
  Prefactor  = 13.3292
  norm       = 56.3101
  Prefactor  = 60.8179
  norm       = 0.0001
  Normalizat = 0.01
  Prefactor  = 0.908455
 **********
 **   18 **HESSE 
 **********

 FCN=   3763.139     FROM HESSE     STATUS=OK           216 CALLS     1537 TOTAL
                     EDM=   .66E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .52399        54.505        .16378       -1.5563    
   2  norm          .11400E-03    145.48        .90712E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .27388E-03    713.60        .10576E-01   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .16099E-01    6640.0        .91125E-02   -1.5683    
   5  norm          .10000E-03    8.0050        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .35238E-03    615.84        .10460E-01   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .70624E-03    412.57        .99732E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          421.82        775.15        .49750E-03   -1.1571    
   9  Prefactor     .10000E-03    26.255        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     13.329        41.307        .27399E-02   -1.4978    
  11  norm          56.310        39.085        .13362E-02   -1.4206    
  12  Prefactor     60.818        55.812        .12862E-02   -1.4147    
  13  norm          .10000E-03    6.7390        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    .10000E-01    1.2054        .50000       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .90845        .75415E-01    .25067E-01   -.95846    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.5574e-06
Minuit parameter uncertainties:
  1  10.6973
  2  0.0904899
  3  0.71317
  4  15.4587
  5  1.34809e-05
  6  0.796814
  7  1.00724
  8  795.772
  9  0.000290476
  10  41.3953
  11  39.1028
  12  55.8604
  13  2.96684e-06
  14  4.29189e-05
  15  0.0754239
Done.

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

Extracting fit parameters...

4FGL J0348.8+4610
   Spectrum: LogParabola
299         norm:  4.218e+02  7.958e+02  1.000e-04  1.000e+04 ( 1.000e-13)
300        alpha:  2.791e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
301         beta:  7.194e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
302           Eb:  9.019e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  9.085e-01  7.542e-02  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  1.000e-02  4.292e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.78
Ra Dec: 57.218 46.169
Photon Flux Upper Limit: 8.81e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.62e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/11852/likelihoodResults_595728001_595987201_4FGL_J0348.8+4610_daily_bin1375.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) = 3763.11101167
delta logL = 0.0282508922578

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3763.10730907
delta logL = 0.0319534880164

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3763.107     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      286 TOTAL
                     EDM=   .51E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          375.62        552.60        .10520E-03    .58358E-06
   2  alpha         3.1265        1.2841        .24872E-01    .38694E-05
   3  Normalizat    .10000E-01    6.6761        .29719E-01** at limit **
   4  Prefactor     .90735        .54351E-01    .11084E-03    .34257E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 375.624
  alpha      = 3.12653
  Normalizat = 0.01
  Prefactor  = 0.907349
 **********
 **   18 **HESSE 
 **********

 FCN=   3763.107     FROM HESSE     STATUS=OK            25 CALLS      311 TOTAL
                     EDM=   .10E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          375.62        531.35        .21040E-04   -1.1807    
   2  alpha         3.1265        1.2384        .99489E-03    .25331    
   3  Normalizat    .10000E-01    6.6855        .59437E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .90735        .54030E-01    .44337E-05   -.95885    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03298e-12
Minuit parameter uncertainties:
  1  538.521
  2  1.30003
  3  6.21023e-06
  4  0.0540332
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/11852': 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) = 3763.10730891
delta logL = 0.0319536490615

Extracting fit parameters...

4FGL J0348.8+4610
   Spectrum: LogParabola
299         norm:  3.756e+02  5.385e+02  1.000e-04  1.000e+04 ( 1.000e-13)
300        alpha:  3.127e+00  1.300e+00  0.000e+00  5.000e+00 ( 1.000e+00)
301         beta:  7.194e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
302           Eb:  9.019e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  9.073e-01  5.403e-02  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  1.000e-02  6.210e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.78
Ra Dec: 57.218 46.169

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/11852/cmap_HighResolution_595728001_595987201_4FGL_J0348.8+4610_daily_bin1375.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.62e-04', job_status='DONE', photon_flux_upper_limit='8.81e-07', time_completed='2021-08-19 15:00:41.847220', job_id='11852', GAL2='0.91', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1629410441.85', return_code2='0', ts='0.78', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='3.20e-02', ts2='0.85', photon_index_error='0.00', photon_index='2.79' WHERE bin_id='1375' AND source_name='4FGL J0348.8+4610' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 19 15:00:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0265>
Subject: Job 11852: <4FGL_J0348.8+4610_daily_bin1375> in cluster <slac> Done

Job <4FGL_J0348.8+4610_daily_bin1375> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Aug 19 14:45:28 2021
Job was executed on host(s) <bullet0265>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 19 14:45:31 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:45:31 2021
Terminated at Thu Aug 19 15:00:43 2021
Results reported at Thu Aug 19 15:00:43 2021

Your job looked like:

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

Successfully completed.

Resource usage summary:

    CPU time :                                   638.23 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             244.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   911 sec.
    Turnaround time :                            915 sec.

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

