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


Performing analysis on: 4FGL_J2348.1-4934_daily_bin724
RA = 357.037, Dec = -49.57
tmin = 426988801, tmax = 427248001
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='133760', job_status='RUN', time_executed='2021-09-30 05:48:22.872118', time_epoch_executed='1633006102.87' WHERE source_name='4FGL J2348.1-4934' and cadence='daily' and bin_id='724'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/133760

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/133760/ft1_4FGL_J2348.1-4934_daily_bin724.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/133760/ft2_4FGL_J2348.1-4934_daily_bin724.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/133760/ft1_4FGL_J2348.1-4934_daily_bin724.fits outfile=/scratch/kocevski/133760/ft1_filteredMKT_4FGL_J2348.1-4934_daily_bin724.fits ra=357.037 dec=-49.57 rad=12.0 tmin=426988801.0 tmax=427248001.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.90
user 5.61
sys 0.26

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/133760/ft2_4FGL_J2348.1-4934_daily_bin724.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/133760/ft2_4FGL_J2348.1-4934_daily_bin724.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/133760/ft1_filteredMKT_4FGL_J2348.1-4934_daily_bin724.fits evtable="EVENTS" outfile="/scratch/kocevski/133760/ft1_filtered_4FGL_J2348.1-4934_daily_bin724.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.59
user 0.32
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/133760/ft1_filtered_4FGL_J2348.1-4934_daily_bin724.fits" evtable="EVENTS" scfile=/scratch/kocevski/133760/ft2_4FGL_J2348.1-4934_daily_bin724.fits sctable="SC_DATA" outfile=/scratch/kocevski/133760/ltcube_426988801_427248001_4FGL_J2348.1-4934_daily_bin724.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/133760/ft2_4FGL_J2348.1-4934_daily_bin724.fits
.....................!
real 12.38
user 11.99
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/133760/ft1_filtered_4FGL_J2348.1-4934_daily_bin724.fits evtable="EVENTS" scfile=/scratch/kocevski/133760/ft2_4FGL_J2348.1-4934_daily_bin724.fits sctable="SC_DATA" expcube=/scratch/kocevski/133760/ltcube_426988801_427248001_4FGL_J2348.1-4934_daily_bin724.fits outfile=/scratch/kocevski/133760/expmap_426988801_427248001_4FGL_J2348.1-4934_daily_bin724.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/133760/ltcube_426988801_427248001_4FGL_J2348.1-4934_daily_bin724.fits
.....................!
real 191.78
user 185.75
sys 5.56

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 182 point sources and 0 extended sources

Setting source of interest to:
4FGL J2348.1-4934 @ 357.037 -49.57

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/133760/ft1_filtered_4FGL_J2348.1-4934_daily_bin724.fits scfile=/scratch/kocevski/133760/ft2_4FGL_J2348.1-4934_daily_bin724.fits outfile=/scratch/kocevski/133760/cmap_426988801_427248001_4FGL_J2348.1-4934_daily_bin724.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.037 yref=-49.57 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.55
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/133760/ft1_filtered_4FGL_J2348.1-4934_daily_bin724.fits scfile=/scratch/kocevski/133760/ft2_4FGL_J2348.1-4934_daily_bin724.fits outfile=/scratch/kocevski/133760/cmap_HighResolution_426988801_427248001_4FGL_J2348.1-4934_daily_bin724.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.037 yref=-49.57 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.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/133760/ft1_filtered_4FGL_J2348.1-4934_daily_bin724.fits evtable="EVENTS" scfile=/scratch/kocevski/133760/ft2_4FGL_J2348.1-4934_daily_bin724.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/133760/Model_4FGL_J2348.1-4934_daily_bin724.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/133760/ft1_filtered_4FGL_J2348.1-4934_daily_bin724.fits.......................!
real 23.51
user 22.10
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/133760/ft1_filtered_4FGL_J2348.1-4934_daily_bin724.fits', '/scratch/kocevski/133760/ft2_4FGL_J2348.1-4934_daily_bin724.fits', expMap='/scratch/kocevski/133760/expmap_426988801_427248001_4FGL_J2348.1-4934_daily_bin724.fits', expCube='/scratch/kocevski/133760/ltcube_426988801_427248001_4FGL_J2348.1-4934_daily_bin724.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/133760/Model_4FGL_J2348.1-4934_daily_bin724.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2348.1-4934'

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  2.252e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
521        Index:  2.559e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/133760/ft1_filtered_4FGL_J2348.1-4934_daily_bin724.fits
Spacecraft file(s): /scratch/kocevski/133760/ft2_4FGL_J2348.1-4934_daily_bin724.fits
Exposure map: /scratch/kocevski/133760/expmap_426988801_427248001_4FGL_J2348.1-4934_daily_bin724.fits
Exposure cube: /scratch/kocevski/133760/ltcube_426988801_427248001_4FGL_J2348.1-4934_daily_bin724.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/133760/Model_4FGL_J2348.1-4934_daily_bin724.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) = 1837.03431838

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    57.370       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11154E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .13641E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.3049       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .33448E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11651E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    12.535       1.0000         .10000E-03   10000.    
    19 'norm      '    .11654E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10139E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10147E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    19.330       1.0000         .10000E-03   10000.    
    25 'norm      '    12.823       1.0000         .10000E-03   10000.    
    26 'norm      '    11.614       1.0000         .10000E-03   10000.    
    27 'Prefactor '    62.902       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .11265E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    .10084E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    6.5571       1.0000         .10000E-03   10000.    
    32 'Prefactor '    6.1664       1.0000         .10000E-03   10000.    
    33 'Normalizat'    .80885       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .62689       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5800E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1837.011     FROM MIGRAD    STATUS=CONVERGED    928 CALLS     4755 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    68.743       -.10007E-05** at limit **
   2  Prefactor     57.185        69.870       -.10357E-05   -.65253E-04
   3  Prefactor     .10000E-03    39.217       -.41237E-06** at limit **
   4  Prefactor     .10000E-03    7.2853       -.15719E-06** at limit **
   5  Prefactor     .10000E-03    6.1621       -.11726E-06** at limit **
   6  Prefactor     .10000E-03    21.587       -.15916E-06** at limit **
   7  Prefactor     .10000E-03    13.560       -.13230E-06** at limit **
   8  Prefactor     .10000E-03    4.5563        .40339E-07** at limit **
   9  norm          .10000E-03    17.667        .35502E-07** at limit **
  10  Prefactor     .10000E-03    43.123        .91044E-06** at limit **
  11  Prefactor     .10000E-03    36.428       -.65325E-06** at limit **
  12  Prefactor     .10000E-03    5.8782        .52832E-07** at limit **
  13  Prefactor     .10000E-03    30.843       -.33645E-06** at limit **
  14  Prefactor     1.3040        16.904        .21035E-05   -.35950E-04
  15  Prefactor     .10000E-03    43.489        .86098E-06** at limit **
  16  Prefactor     .10001E-03    155.37        .25349E-05** at limit **
  17  Prefactor     .10000E-03    62.162       -.34528E-08** at limit **
  18  norm          12.541        26.437       -.39562E-07   -.46916E-04
  19  norm          .10000E-03    35.330       -.82632E-06** at limit **
  20  norm          .10000E-03    7.2996        .11180E-06** at limit **
  21  Prefactor     .10000E-03    9.0556        .20360E-06** at limit **
  22  Prefactor     .10000E-03    89.451        .78071E-06** at limit **
  23  norm          .10000E-03    8.0625        .71937E-07** at limit **
  24  Prefactor     19.324        31.638        .52859E-06    .56449E-04
  25  norm          12.823        4.0409       -.17968E-06    .77140E-04
  26  norm          11.613        10.825        .16917E-06   -.21220E-04
  27  Prefactor     62.903        40.513       -.11078E-05   -.96046E-04
  28  Prefactor     .10000E-03    4.5462       -.34835E-06** at limit **
  29  Prefactor     .10000E-03    28.768        .17934E-06** at limit **
  30  norm          .10000E-03    28.589        .24817E-06** at limit **
  31  Prefactor     6.5444        14.176        .50769E-05   -.18270E-03
  32  Prefactor     6.1679        11.750        .36864E-06   -.23253E-04
  33  Normalizat    .80991        .28407       -.13521E-05   -.95150E-05
  34  Prefactor     .62570        .28093        .18695E-07   -.34104E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Prefactor  = 57.1848
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.30402
  Prefactor  = 0.000100002
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  norm       = 12.5415
  norm       = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 19.3236
  norm       = 12.8233
  norm       = 11.6129
  Prefactor  = 62.9031
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.5444
  Prefactor  = 6.16792
  Normalizat = 0.809907
  Prefactor  = 0.625704
 **********
 **   18 **HESSE 
 **********

 FCN=   1837.011     FROM HESSE     STATUS=OK           714 CALLS     5469 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    68.841        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     57.185        69.859        .52964E-04   -1.4194    
   3  Prefactor     .10000E-03    39.244        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.3003        .11302E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.1718        .10394E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    21.594        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    13.625        .15411E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.5677        .89352E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    17.668        .17600E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    43.245        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    36.465        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.8953        .10149E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    30.937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.3040        16.992        .34260E-03   -1.5480    
  15  Prefactor     .10000E-03    43.546        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10001E-03    157.94        .21343E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    62.953        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          12.541        26.464        .11314E-03   -1.5000    
  19  norm          .10000E-03    35.723        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    7.3147        .11311E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    9.0611        .12586E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    89.627        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    8.0963        .11876E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     19.324        31.666        .91097E-04   -1.4829    
  25  norm          12.823        4.0287        .44640E-04   -1.4992    
  26  norm          11.613        10.821        .11755E-03   -1.5026    
  27  Prefactor     62.903        40.556        .50596E-04   -1.4120    
  28  Prefactor     .10000E-03    4.5967        .89414E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    28.802        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10000E-03    28.603        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     6.5444        14.260        .78360E-03   -1.5196    
  32  Prefactor     6.1679        11.705        .16167E-03   -1.5211    
  33  Normalizat    .80991        .33847        .23148E-03   -.99702    
  34  Prefactor     .62570        .33348        .27045E-03   -1.0651    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.80483e-10
Minuit parameter uncertainties:
  1  0.000860384
  2  69.9591
  3  0.000112543
  4  3.05071e-05
  5  1.20131e-05
  6  8.36885e-05
  7  7.69194e-06
  8  1.60354e-06
  9  2.02605e-05
  10  0.000545615
  11  0.000397723
  12  1.131e-06
  13  0.000197646
  14  9.41734
  15  0.000569633
  16  0.00206303
  17  6.81834e-05
  18  26.4892
  19  0.000341679
  20  2.32715e-05
  21  2.34577e-07
  22  0.000604228
  23  1.67965e-06
  24  31.6938
  25  4.02874
  26  10.8226
  27  40.5738
  28  3.19948e-05
  29  0.000185017
  30  0.000186008
  31  14.2677
  32  11.7096
  33  0.339352
  34  0.334539
Done.

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

Extracting fit parameters...

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  1.000e-04  1.850e-04  1.000e-04  1.000e+04 ( 1.000e-13)
521        Index:  2.559e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  6.257e-01  3.345e-01  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  8.099e-01  3.394e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.037 -49.570
Photon Flux Upper Limit: 1.71e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.34e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/133760/likelihoodResults_426988801_427248001_4FGL_J2348.1-4934_daily_bin724.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) = 1837.01163022
delta logL = -0.000165061275311

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1837.01146519
delta logL = -3.20990238833e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5631       1.0000          .0000       10.000    
     3 'Normalizat'    .80994       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .62570       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5800E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1837.011     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      200 TOTAL
                     EDM=   .98E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    33.061        .90712E-02** at limit **
   2  Index         2.5545        6.2768        .50000        .26727E-05
   3  Normalizat    .80991        .26411        .43740E-01    .30278E-05
   4  Prefactor     .62570        .27531        .61134E-01    .18042E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.55446
  Normalizat = 0.809906
  Prefactor  = 0.625705
 **********
 **   18 **HESSE 
 **********

 FCN=   1837.011     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .89E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    30.512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5545        6.2764        .50000       -.51107    
   3  Normalizat    .80991        .31011        .23148E-03   -.99702    
   4  Prefactor     .62570        .32286        .27045E-03   -1.0651    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.94197e-12
Minuit parameter uncertainties:
  1  3.02806e-05
  2  4.51108
  3  0.310786
  4  0.323829
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/133760': 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) = 1837.01146515
delta logL = 2.75781530945e-09

Extracting fit parameters...

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  1.000e-04  3.028e-05  1.000e-04  1.000e+04 ( 1.000e-13)
521        Index:  2.554e+00  4.511e+00  0.000e+00  1.000e+01 (-1.000e+00)
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  6.257e-01  3.238e-01  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  8.099e-01  3.108e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.037 -49.570

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/133760/cmap_HighResolution_426988801_427248001_4FGL_J2348.1-4934_daily_bin724.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.34e-02', job_status='DONE', photon_flux_upper_limit='1.71e-07', time_completed='2021-09-30 05:56:59.061488', job_id='133760', GAL2='0.63', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1633006619.06', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.63', dlogl='2.76e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='724' AND source_name='4FGL J2348.1-4934' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 05:56:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0235>
Subject: Job 133760: <4FGL_J2348.1-4934_daily_bin724> in cluster <slac> Done

Job <4FGL_J2348.1-4934_daily_bin724> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep 30 05:46:16 2021
Job was executed on host(s) <bullet0235>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 05:46:17 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:46:17 2021
Terminated at Thu Sep 30 05:56:59 2021
Results reported at Thu Sep 30 05:56:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2348.1-4934_daily_bin724 357.037 -49.57 426988801 427248001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2348.1-4934 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   513.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             291.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   642 sec.
    Turnaround time :                            643 sec.

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

