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


Performing analysis on: 4FGL_J2348.0-1630_daily_bin481
RA = 357.016, Dec = -16.5161
tmin = 364003201, tmax = 364262401
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='126840', job_status='RUN', time_executed='2021-09-30 05:29:25.350094', time_epoch_executed='1633004965.35' WHERE source_name='4FGL J2348.0-1630' and cadence='daily' and bin_id='481'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/126840

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/126840/ft1_4FGL_J2348.0-1630_daily_bin481.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/126840/ft2_4FGL_J2348.0-1630_daily_bin481.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/126840/ft1_4FGL_J2348.0-1630_daily_bin481.fits outfile=/scratch/kocevski/126840/ft1_filteredMKT_4FGL_J2348.0-1630_daily_bin481.fits ra=357.016 dec=-16.5161 rad=12.0 tmin=364003201.0 tmax=364262401.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 3.24
user 3.01
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/126840/ft2_4FGL_J2348.0-1630_daily_bin481.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/126840/ft2_4FGL_J2348.0-1630_daily_bin481.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/126840/ft1_filteredMKT_4FGL_J2348.0-1630_daily_bin481.fits evtable="EVENTS" outfile="/scratch/kocevski/126840/ft1_filtered_4FGL_J2348.0-1630_daily_bin481.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.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/126840/ft1_filtered_4FGL_J2348.0-1630_daily_bin481.fits" evtable="EVENTS" scfile=/scratch/kocevski/126840/ft2_4FGL_J2348.0-1630_daily_bin481.fits sctable="SC_DATA" outfile=/scratch/kocevski/126840/ltcube_364003201_364262401_4FGL_J2348.0-1630_daily_bin481.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/126840/ft2_4FGL_J2348.0-1630_daily_bin481.fits
.....................!
real 11.83
user 11.47
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/126840/ft1_filtered_4FGL_J2348.0-1630_daily_bin481.fits evtable="EVENTS" scfile=/scratch/kocevski/126840/ft2_4FGL_J2348.0-1630_daily_bin481.fits sctable="SC_DATA" expcube=/scratch/kocevski/126840/ltcube_364003201_364262401_4FGL_J2348.0-1630_daily_bin481.fits outfile=/scratch/kocevski/126840/expmap_364003201_364262401_4FGL_J2348.0-1630_daily_bin481.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/126840/ltcube_364003201_364262401_4FGL_J2348.0-1630_daily_bin481.fits
.....................!
real 189.89
user 185.03
sys 4.50

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 169 point sources and 0 extended sources

Setting source of interest to:
4FGL J2348.0-1630 @ 357.016 -16.5161

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/126840/ft1_filtered_4FGL_J2348.0-1630_daily_bin481.fits scfile=/scratch/kocevski/126840/ft2_4FGL_J2348.0-1630_daily_bin481.fits outfile=/scratch/kocevski/126840/cmap_364003201_364262401_4FGL_J2348.0-1630_daily_bin481.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=357.016 yref=-16.5161 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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/126840/ft1_filtered_4FGL_J2348.0-1630_daily_bin481.fits scfile=/scratch/kocevski/126840/ft2_4FGL_J2348.0-1630_daily_bin481.fits outfile=/scratch/kocevski/126840/cmap_HighResolution_364003201_364262401_4FGL_J2348.0-1630_daily_bin481.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=357.016 yref=-16.5161 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.56
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/126840/ft1_filtered_4FGL_J2348.0-1630_daily_bin481.fits evtable="EVENTS" scfile=/scratch/kocevski/126840/ft2_4FGL_J2348.0-1630_daily_bin481.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/126840/Model_4FGL_J2348.0-1630_daily_bin481.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/126840/ft1_filtered_4FGL_J2348.0-1630_daily_bin481.fits.....................!
real 45.21
user 43.88
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/126840/ft1_filtered_4FGL_J2348.0-1630_daily_bin481.fits', '/scratch/kocevski/126840/ft2_4FGL_J2348.0-1630_daily_bin481.fits', expMap='/scratch/kocevski/126840/expmap_364003201_364262401_4FGL_J2348.0-1630_daily_bin481.fits', expCube='/scratch/kocevski/126840/ltcube_364003201_364262401_4FGL_J2348.0-1630_daily_bin481.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/126840/Model_4FGL_J2348.0-1630_daily_bin481.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2348.0-1630'

4FGL J2348.0-1630
   Spectrum: LogParabola
489         norm:  6.070e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
490        alpha:  2.290e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
491         beta:  5.720e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
492           Eb:  8.260e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/126840/ft1_filtered_4FGL_J2348.0-1630_daily_bin481.fits
Spacecraft file(s): /scratch/kocevski/126840/ft2_4FGL_J2348.0-1630_daily_bin481.fits
Exposure map: /scratch/kocevski/126840/expmap_364003201_364262401_4FGL_J2348.0-1630_daily_bin481.fits
Exposure cube: /scratch/kocevski/126840/ltcube_364003201_364262401_4FGL_J2348.0-1630_daily_bin481.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/126840/Model_4FGL_J2348.0-1630_daily_bin481.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) = 5497.22673592

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.355       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    15.046       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.8289       1.0000         .10000E-03   10000.    
     7 'Prefactor '    63.498       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11651       1.0000         .10000E-03   10000.    
    10 'norm      '    .12150E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    48.550       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11942E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.0561       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10326E-02   1.0000         .10000E-03   10000.    
    17 'norm      '    1.1560       1.0000         .10000E-03   10000.    
    18 'norm      '    2.1660       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.7268       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .88164       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .70662       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5480E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5497.162     FROM MIGRAD    STATUS=CONVERGED    141 CALLS     1911 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.0755        .12151E-06** at limit **
   2  norm          .10005E-03    39.874       -.91314E-06** at limit **
   3  Prefactor     15.351        6.6450       -.10552E-05   -.68091E-02
   4  Prefactor     .10000E-03    5.2361       -.62888E-06** at limit **
   5  norm          15.048        1.5123        .48587E-08    .86362E-02
   6  Prefactor     4.8285        7.1402        .37077E-06    .11135E-02
   7  Prefactor     63.779        38.735        .17076E-05   -.62153E-02
   8  Prefactor     .10000E-03    13.816       -.96146E-09** at limit **
   9  Prefactor     .23881E-03    1020.6        .37203E-04** at limit **
  10  norm          .10000E-03    23.411        .18831E-05** at limit **
  11  norm          .10000E-03    1.1861       -.11933E-06** at limit **
  12  Prefactor     48.574        3.2368       -.28878E-06   -.83452E-03
  13  Prefactor     .10000E-03    18.580        .11831E-05** at limit **
  14  Prefactor     .10000E-03    6.2419       -.69220E-06** at limit **
  15  Prefactor     3.0325        11.611        .45698E-05    .18443E-02
  16  Prefactor     .16643E-03    57.270        .10588E-04** at limit **
  17  norm          1.1560        .65271       -.26862E-07    .37819E-03
  18  norm          2.1669        4.6975        .62169E-06    .19720E-03
  19  Prefactor     5.7265        5.6275       -.36366E-06   -.54705E-03
  20  Normalizat    .88136        .16879        .75077E-06    .14132E-03
  21  Prefactor     .70694        .16586       -.29986E-06    .10344E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.000100046
  Prefactor  = 15.3509
  Prefactor  = 0.0001
  norm       = 15.0485
  Prefactor  = 4.82852
  Prefactor  = 63.7787
  Prefactor  = 0.0001
  Prefactor  = 0.000238812
  norm       = 0.000100001
  norm       = 0.0001
  Prefactor  = 48.5741
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 3.03255
  Prefactor  = 0.000166432
  norm       = 1.15601
  norm       = 2.16694
  Prefactor  = 5.72653
  Normalizat = 0.881364
  Prefactor  = 0.706941
 **********
 **   18 **HESSE 
 **********

 FCN=   5497.162     FROM HESSE     STATUS=OK           367 CALLS     2278 TOTAL
                     EDM=   .83E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.0596        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10005E-03    39.695        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     15.351        29.709        .25553E-02   -1.4924    
   4  Prefactor     .10000E-03    5.2351        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          15.048        10.203        .25814E-02   -1.4932    
   6  Prefactor     4.8285        7.1697        .45767E-02   -1.5268    
   7  Prefactor     63.779        49.757        .12590E-02   -1.4109    
   8  Prefactor     .10000E-03    13.877        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .23881E-03    10.071        .67698E-01   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    5.1573        .54329E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.1617        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     48.574        52.562        .14387E-02   -1.4313    
  13  Prefactor     .10000E-03    18.738        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.2353        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.0325        129.95        .58017E-02   -1.5360    
  16  Prefactor     .16643E-03    372.49        .10371E-01   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.1560        .65598        .80428E-02   -1.5493    
  18  norm          2.1669        4.6847        .69961E-02   -1.5414    
  19  Prefactor     5.7265        5.6208        .41961E-02   -1.5229    
  20  Normalizat    .88136        .14640        .44666E-01   -.97118    
  21  Prefactor     .70694        .14216        .42489E-01   -1.0326    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.28476e-07
Minuit parameter uncertainties:
  1  3.33768e-06
  2  0.00269181
  3  29.7372
  4  2.13008e-05
  5  10.204
  6  7.17096
  7  49.7893
  8  2.89375e-05
  9  0.0747918
  10  0.000126415
  11  2.18998e-06
  12  52.6124
  13  0.000287616
  14  2.73495e-05
  15  39.7941
  16  0.316597
  17  0.655984
  18  4.68548
  19  5.6213
  20  0.146464
  21  0.142237
Done.

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

Extracting fit parameters...

4FGL J2348.0-1630
   Spectrum: LogParabola
489         norm:  2.167e+00  4.685e+00  1.000e-04  1.000e+04 ( 1.000e-12)
490        alpha:  2.290e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
491         beta:  5.720e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
492           Eb:  8.260e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
545    Prefactor:  7.069e-01  1.422e-01  0.000e+00  1.000e+01 ( 1.000e+00)
546        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
547        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  8.814e-01  1.465e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.37
Ra Dec: 357.016 -16.516
Photon Flux Upper Limit: 9.35e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.49e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/126840/likelihoodResults_364003201_364262401_4FGL_J2348.0-1630_daily_bin481.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) = 5496.15405635
delta logL = 1.0081438273

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5496.1357318
delta logL = 1.02646837837

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11522       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.8781       1.0000          .0000       5.0000    
     3 'Normalizat'    .81021       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75618       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5480E+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=   5496.136     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      364 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11374        1.5359        .17536E-04   -.19378E-02
   2  alpha         4.8846        2.8678        .19699E-02   -.96435E-05
   3  Normalizat    .81026        .17472        .21422E-03    .32214E-04
   4  Prefactor     .75621        .16945        .21973E-03    .47806E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.113737
  alpha      = 4.88464
  Normalizat = 0.810259
  Prefactor  = 0.75621
 **********
 **   18 **HESSE 
 **********

 FCN=   5496.136     FROM HESSE     STATUS=OK            23 CALLS      387 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11374        .77572        .70143E-06   -1.5641    
   2  alpha         4.8846        4.5556        .78798E-04    1.2658    
   3  Normalizat    .81026        .17467        .85686E-05   -.99689    
   4  Prefactor     .75621        .16964        .87894E-05   -1.0136    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.80065e-11
Minuit parameter uncertainties:
  1  0.593814
  2  2.73619
  3  0.174786
  4  0.16976
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/126840': 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) = 5496.13572835
delta logL = 1.0264718291

Extracting fit parameters...

4FGL J2348.0-1630
   Spectrum: LogParabola
489         norm:  1.137e-01  5.938e-01  1.000e-04  1.000e+04 ( 1.000e-12)
490        alpha:  4.885e+00  2.736e+00  0.000e+00  5.000e+00 ( 1.000e+00)
491         beta:  5.720e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
492           Eb:  8.260e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
545    Prefactor:  7.562e-01  1.698e-01  0.000e+00  1.000e+01 ( 1.000e+00)
546        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
547        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  8.103e-01  1.748e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.60
Ra Dec: 357.016 -16.516
Photon Index (Free Index): 4.88 +/- 2.74
Photon Flux (Free Index): 7.27e-08 +/- 5.48e-08
Energy Flux (Free Index): 9.92e-06 +/- 8.35e-06

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/126840/cmap_HighResolution_364003201_364262401_4FGL_J2348.0-1630_daily_bin481.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.49e-05', comment='SUCCESS', energy_flux2='9.92e-06', dlogl='1.03e+00', photon_flux2='7.27e-08', job_status='DONE', time_completed='2021-09-30 05:38:50.386762', photon_index_error2='2.74', photon_index2='4.88', ts='0.37', fit_tolerance='1e-08', GAL='0.71', photon_index_error='0.00', photon_flux_upper_limit='9.35e-08', energy_flux_error2='8.35e-06', EG='0.88', time_epoch_completed='1633005530.39', return_code='0', job_id='126840', GAL2='0.76', EG2='0.81', return_code2='0', photon_flux_error2='5.48e-08', ts2='2.60', photon_index='2.29' WHERE bin_id='481' AND source_name='4FGL J2348.0-1630' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 05:38:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 126840: <4FGL_J2348.0-1630_daily_bin481> in cluster <slac> Done

Job <4FGL_J2348.0-1630_daily_bin481> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Sep 30 05:25:18 2021
Job was executed on host(s) <bullet0259>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 05:25:19 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 30 05:25:19 2021
Terminated at Thu Sep 30 05:38:51 2021
Results reported at Thu Sep 30 05:38:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2348.0-1630_daily_bin481 357.016 -16.5161 364003201 364262401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2348.0-1630 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   552.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             233.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   811 sec.
    Turnaround time :                            813 sec.

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

