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


Performing analysis on: 4FGL_J2348.0-1630_daily_bin895
RA = 357.016, Dec = -16.5161
tmin = 471312001, tmax = 471571201
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='128235', job_status='RUN', time_executed='2021-09-30 05:32:55.699326', time_epoch_executed='1633005175.7' WHERE source_name='4FGL J2348.0-1630' and cadence='daily' and bin_id='895'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/128235

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/128235/ft1_4FGL_J2348.0-1630_daily_bin895.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/128235/ft2_4FGL_J2348.0-1630_daily_bin895.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/128235/ft1_4FGL_J2348.0-1630_daily_bin895.fits outfile=/scratch/kocevski/128235/ft1_filteredMKT_4FGL_J2348.0-1630_daily_bin895.fits ra=357.016 dec=-16.5161 rad=12.0 tmin=471312001.0 tmax=471571201.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.02
user 4.76
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/128235/ft1_filtered_4FGL_J2348.0-1630_daily_bin895.fits" evtable="EVENTS" scfile=/scratch/kocevski/128235/ft2_4FGL_J2348.0-1630_daily_bin895.fits sctable="SC_DATA" outfile=/scratch/kocevski/128235/ltcube_471312001_471571201_4FGL_J2348.0-1630_daily_bin895.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/128235/ft2_4FGL_J2348.0-1630_daily_bin895.fits
.....................!
real 12.09
user 11.73
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/128235/ft1_filtered_4FGL_J2348.0-1630_daily_bin895.fits evtable="EVENTS" scfile=/scratch/kocevski/128235/ft2_4FGL_J2348.0-1630_daily_bin895.fits sctable="SC_DATA" expcube=/scratch/kocevski/128235/ltcube_471312001_471571201_4FGL_J2348.0-1630_daily_bin895.fits outfile=/scratch/kocevski/128235/expmap_471312001_471571201_4FGL_J2348.0-1630_daily_bin895.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/128235/ltcube_471312001_471571201_4FGL_J2348.0-1630_daily_bin895.fits
.....................!
real 190.55
user 184.97
sys 5.24

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/128235/ft1_filtered_4FGL_J2348.0-1630_daily_bin895.fits scfile=/scratch/kocevski/128235/ft2_4FGL_J2348.0-1630_daily_bin895.fits outfile=/scratch/kocevski/128235/cmap_471312001_471571201_4FGL_J2348.0-1630_daily_bin895.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.52
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/128235/ft1_filtered_4FGL_J2348.0-1630_daily_bin895.fits scfile=/scratch/kocevski/128235/ft2_4FGL_J2348.0-1630_daily_bin895.fits outfile=/scratch/kocevski/128235/cmap_HighResolution_471312001_471571201_4FGL_J2348.0-1630_daily_bin895.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.55
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/128235/ft1_filtered_4FGL_J2348.0-1630_daily_bin895.fits evtable="EVENTS" scfile=/scratch/kocevski/128235/ft2_4FGL_J2348.0-1630_daily_bin895.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/128235/Model_4FGL_J2348.0-1630_daily_bin895.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/128235/ft1_filtered_4FGL_J2348.0-1630_daily_bin895.fits.....................!
real 39.15
user 37.85
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/128235/ft1_filtered_4FGL_J2348.0-1630_daily_bin895.fits', '/scratch/kocevski/128235/ft2_4FGL_J2348.0-1630_daily_bin895.fits', expMap='/scratch/kocevski/128235/expmap_471312001_471571201_4FGL_J2348.0-1630_daily_bin895.fits', expCube='/scratch/kocevski/128235/ltcube_471312001_471571201_4FGL_J2348.0-1630_daily_bin895.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/128235/Model_4FGL_J2348.0-1630_daily_bin895.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/128235/ft1_filtered_4FGL_J2348.0-1630_daily_bin895.fits
Spacecraft file(s): /scratch/kocevski/128235/ft2_4FGL_J2348.0-1630_daily_bin895.fits
Exposure map: /scratch/kocevski/128235/expmap_471312001_471571201_4FGL_J2348.0-1630_daily_bin895.fits
Exposure cube: /scratch/kocevski/128235/ltcube_471312001_471571201_4FGL_J2348.0-1630_daily_bin895.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/128235/Model_4FGL_J2348.0-1630_daily_bin895.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) = 4096.72934111

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    34.603       1.0000         .10000E-03   10000.    
     2 'norm      '    7.9800       1.0000         .10000E-03   10000.    
     3 'Prefactor '    37.543       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    34.827       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.6721       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    48.953       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.4699       1.0000         .10000E-03   10000.    
    10 'norm      '    .49417       1.0000         .10000E-03   10000.    
    11 'norm      '    2.6813       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    16.030       1.0000         .10000E-03   10000.    
    14 'Prefactor '    23.401       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .97807       1.0000         .10000E-03   10000.    
    18 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .82617       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0378       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .73032       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.

 FCN=   4096.714     FROM MIGRAD    STATUS=CONVERGED    496 CALLS     2676 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     34.636        20.765        .38985E-05    .25189E-03
   2  norm          7.9772        29.815       -.10736E-06    .80773E-08
   3  Prefactor     37.117        90.766       -.77808E-06    .25043E-04
   4  Prefactor     .10000E-03    14.825        .14427E-07** at limit **
   5  norm          34.826        19.921        .41333E-06    .19321E-05
   6  Prefactor     1.6715        3.0245        .16135E-06   -.55539E-03
   7  Prefactor     .10000E-03    91.872       -.23323E-06** at limit **
   8  Prefactor     48.949        33.928        .35908E-05    .10204E-04
   9  Prefactor     5.4781        10.997        .27304E-06   -.17174E-03
  10  norm          .47571        10.807       -.50148E-07   -.17378E-04
  11  norm          2.6810        3.9822        .12012E-06   -.30135E-04
  12  Prefactor     .10000E-03    42.651       -.17591E-05** at limit **
  13  Prefactor     16.042        23.414        .39158E-05    .35469E-04
  14  Prefactor     23.400        22.963        .85744E-07   -.22189E-05
  15  Prefactor     .10000E-03    41.447        .12634E-05** at limit **
  16  Prefactor     .10000E-03    163.09        .12189E-05** at limit **
  17  norm          .97807        .54727       -.42994E-07    .48919E-04
  18  norm          .10000E-03    1.5678       -.65225E-08** at limit **
  19  Prefactor     .82313        7.5058       -.18096E-05    .17260E-03
  20  Normalizat    1.0376        .21128       -.82572E-06    .18740E-03
  21  Prefactor     .73050        .19940       -.11193E-05    .12127E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 34.6362
  norm       = 7.97718
  Prefactor  = 37.1171
  Prefactor  = 0.0001
  norm       = 34.8258
  Prefactor  = 1.67146
  Prefactor  = 0.0001
  Prefactor  = 48.9488
  Prefactor  = 5.47807
  norm       = 0.475711
  norm       = 2.68105
  Prefactor  = 0.0001
  Prefactor  = 16.0416
  Prefactor  = 23.4
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.978065
  norm       = 0.0001
  Prefactor  = 0.823129
  Normalizat = 1.03763
  Prefactor  = 0.730497
 **********
 **   18 **HESSE 
 **********

 FCN=   4096.714     FROM HESSE     STATUS=OK           323 CALLS     2999 TOTAL
                     EDM=   .40E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     34.636        20.888        .68124E-04   -1.4530    
   2  norm          7.9772        29.821        .14194E-03   -1.5143    
   3  Prefactor     37.117        90.771        .65411E-04   -1.4489    
   4  Prefactor     .10000E-03    14.847        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          34.826        19.920        .67905E-04   -1.4527    
   6  Prefactor     1.6715        14.425        .16299E-02   -1.5449    
   7  Prefactor     .10000E-03    92.084        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     48.949        33.814        .57314E-04   -1.4308    
   9  Prefactor     5.4781        11.000        .85901E-03   -1.5240    
  10  norm          .47571        31.330        .35175E-02   -1.5570    
  11  norm          2.6810        3.9651        .14257E-03   -1.5380    
  12  Prefactor     .10000E-03    42.798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     16.042        23.399        .10004E-03   -1.4907    
  14  Prefactor     23.400        22.928        .82803E-04   -1.4740    
  15  Prefactor     .10000E-03    41.462        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    164.39        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .97807        .54842        .33850E-04   -1.5510    
  18  norm          .10000E-03    1.5748        .78214E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .82313        34.324        .30864E-02   -1.5527    
  20  Normalizat    1.0376        .24578        .22875E-03   -.91780    
  21  Prefactor     .73050        .23320        .25826E-03   -1.0234    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.97869e-08
Minuit parameter uncertainties:
  1  20.8926
  2  29.8765
  3  91.1114
  4  7.09796e-06
  5  19.9239
  6  9.82336
  7  7.55088e-06
  8  33.8277
  9  11.0038
  10  7.72452
  11  3.96551
  12  0.000237034
  13  23.4121
  14  22.9367
  15  7.32842e-06
  16  0.000152721
  17  0.548424
  18  9.03993e-07
  19  10.6366
  20  0.246051
  21  0.233511
Done.

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

Extracting fit parameters...

4FGL J2348.0-1630
   Spectrum: LogParabola
489         norm:  1.000e-04  9.040e-07  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.305e-01  2.335e-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:  1.038e+00  2.461e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/128235/likelihoodResults_471312001_471571201_4FGL_J2348.0-1630_daily_bin895.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) = 4096.71679018
delta logL = -0.0029610845113

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4096.71382906
delta logL = 3.59177647624e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2829       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0377       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73050       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=   4096.714     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      228 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    133.89        .78386E-02** at limit **
   2  alpha         1.9396        3.9627        .16540       -.79046E-08
   3  Normalizat    1.0376        .49424E-01    .22875E-03    .80364E-04
   4  Prefactor     .73050        .47831E-01    .25826E-03    .86059E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.93965
  Normalizat = 1.03763
  Prefactor  = 0.730498
 **********
 **   18 **HESSE 
 **********

 FCN=   4096.714     FROM HESSE     STATUS=OK            23 CALLS      251 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.6691        .80651E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9396        3.4676        .66159E-02   -.22606    
   3  Normalizat    1.0376        .23739        .91500E-05   -.91780    
   4  Prefactor     .73050        .22969        .10330E-04   -1.0234    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28896e-11
Minuit parameter uncertainties:
  1  5.85371e-07
  2  171.522
  3  0.237633
  4  0.229992
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/128235': 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) = 4096.71382732
delta logL = 1.7754291548e-06

Extracting fit parameters...

4FGL J2348.0-1630
   Spectrum: LogParabola
489         norm:  1.000e-04  5.854e-07  1.000e-04  1.000e+04 ( 1.000e-12)
490        alpha:  1.940e+00  1.715e+02  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.305e-01  2.300e-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:  1.038e+00  2.376e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.016 -16.516

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/128235/cmap_HighResolution_471312001_471571201_4FGL_J2348.0-1630_daily_bin895.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.40e-05', job_status='DONE', photon_flux_upper_limit='6.44e-08', time_completed='2021-09-30 05:42:39.425608', job_id='128235', GAL2='0.73', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1633005759.43', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='1.78e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='895' AND source_name='4FGL J2348.0-1630' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 05:42:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 128235: <4FGL_J2348.0-1630_daily_bin895> in cluster <slac> Done

Job <4FGL_J2348.0-1630_daily_bin895> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep 30 05:30:30 2021
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 05:30:32 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:30:32 2021
Terminated at Thu Sep 30 05:42:40 2021
Results reported at Thu Sep 30 05:42:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2348.0-1630_daily_bin895 357.016 -16.5161 471312001 471571201 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 :                                   522.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             295.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   727 sec.
    Turnaround time :                            730 sec.

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

