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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1545
RA = 342.193, Dec = -32.5926
tmin = 639792001, tmax = 640051201
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='476298', job_status='RUN', time_executed='2021-09-28 20:47:09.195976', time_epoch_executed='1632887229.2' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1545'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/476298

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/476298/ft1_4FGL_J2248.7-3235_daily_bin1545.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/476298/ft2_4FGL_J2248.7-3235_daily_bin1545.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/476298/ft1_4FGL_J2248.7-3235_daily_bin1545.fits outfile=/scratch/kocevski/476298/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1545.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=639792001.0 tmax=640051201.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.53
user 3.29
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/476298/ft2_4FGL_J2248.7-3235_daily_bin1545.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/476298/ft2_4FGL_J2248.7-3235_daily_bin1545.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/476298/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1545.fits evtable="EVENTS" outfile="/scratch/kocevski/476298/ft1_filtered_4FGL_J2248.7-3235_daily_bin1545.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.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/476298/ft1_filtered_4FGL_J2248.7-3235_daily_bin1545.fits" evtable="EVENTS" scfile=/scratch/kocevski/476298/ft2_4FGL_J2248.7-3235_daily_bin1545.fits sctable="SC_DATA" outfile=/scratch/kocevski/476298/ltcube_639792001_640051201_4FGL_J2248.7-3235_daily_bin1545.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/476298/ft2_4FGL_J2248.7-3235_daily_bin1545.fits
.....................!
real 11.96
user 11.59
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/476298/ft1_filtered_4FGL_J2248.7-3235_daily_bin1545.fits evtable="EVENTS" scfile=/scratch/kocevski/476298/ft2_4FGL_J2248.7-3235_daily_bin1545.fits sctable="SC_DATA" expcube=/scratch/kocevski/476298/ltcube_639792001_640051201_4FGL_J2248.7-3235_daily_bin1545.fits outfile=/scratch/kocevski/476298/expmap_639792001_640051201_4FGL_J2248.7-3235_daily_bin1545.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/476298/ltcube_639792001_640051201_4FGL_J2248.7-3235_daily_bin1545.fits
.....................!
real 192.70
user 187.19
sys 5.11

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

Setting source of interest to:
4FGL J2248.7-3235 @ 342.193 -32.5926

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/476298/ft1_filtered_4FGL_J2248.7-3235_daily_bin1545.fits scfile=/scratch/kocevski/476298/ft2_4FGL_J2248.7-3235_daily_bin1545.fits outfile=/scratch/kocevski/476298/cmap_639792001_640051201_4FGL_J2248.7-3235_daily_bin1545.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=342.193 yref=-32.5926 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.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/476298/ft1_filtered_4FGL_J2248.7-3235_daily_bin1545.fits scfile=/scratch/kocevski/476298/ft2_4FGL_J2248.7-3235_daily_bin1545.fits outfile=/scratch/kocevski/476298/cmap_HighResolution_639792001_640051201_4FGL_J2248.7-3235_daily_bin1545.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=342.193 yref=-32.5926 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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/476298/ft1_filtered_4FGL_J2248.7-3235_daily_bin1545.fits evtable="EVENTS" scfile=/scratch/kocevski/476298/ft2_4FGL_J2248.7-3235_daily_bin1545.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/476298/Model_4FGL_J2248.7-3235_daily_bin1545.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/476298/ft1_filtered_4FGL_J2248.7-3235_daily_bin1545.fits.....................!
real 50.26
user 48.83
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/476298/ft1_filtered_4FGL_J2248.7-3235_daily_bin1545.fits', '/scratch/kocevski/476298/ft2_4FGL_J2248.7-3235_daily_bin1545.fits', expMap='/scratch/kocevski/476298/expmap_639792001_640051201_4FGL_J2248.7-3235_daily_bin1545.fits', expCube='/scratch/kocevski/476298/ltcube_639792001_640051201_4FGL_J2248.7-3235_daily_bin1545.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/476298/Model_4FGL_J2248.7-3235_daily_bin1545.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2248.7-3235'

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  4.211e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
312        Index:  2.761e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
313        Scale:  4.468e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/476298/ft1_filtered_4FGL_J2248.7-3235_daily_bin1545.fits
Spacecraft file(s): /scratch/kocevski/476298/ft2_4FGL_J2248.7-3235_daily_bin1545.fits
Exposure map: /scratch/kocevski/476298/expmap_639792001_640051201_4FGL_J2248.7-3235_daily_bin1545.fits
Exposure cube: /scratch/kocevski/476298/ltcube_639792001_640051201_4FGL_J2248.7-3235_daily_bin1545.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/476298/Model_4FGL_J2248.7-3235_daily_bin1545.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) = 6700.10699371

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .62384       1.0000         .10000E-03   10000.    
     2 'Prefactor '    18.857       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    41.011       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.710       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.6773       1.0000         .10000E-03   10000.    
     9 'norm      '    .60407       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    20.605       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.5463       1.0000         .10000E-03   10000.    
    13 'norm      '    .77348E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .93585       1.0000         .10000E-03   10000.    
    16 'norm      '    1.6810       1.0000         .10000E-03   10000.    
    17 'Prefactor '    31.481       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .19178E-02   1.0000         .10000E-03   10000.    
    20 'norm      '    1.9471       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.6883       1.0000         .10000E-03   10000.    
    23 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .88051       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .84391       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5770E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6699.952     FROM MIGRAD    STATUS=CONVERGED    600 CALLS     2604 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .62389        .24027       -.30988E-07    .16288E-03
   2  Prefactor     18.857        12.769       -.35262E-06    .28546E-04
   3  Prefactor     .10000E-03    1.3806       -.62329E-07** at limit **
   4  norm          41.004        21.941       -.53341E-05    .98384E-04
   5  Prefactor     .10000E-03    38.525       -.87314E-05** at limit **
   6  Prefactor     13.711        16.700       -.46783E-06    .24894E-04
   7  Prefactor     .10000E-03    11.280       -.35046E-06** at limit **
   8  Prefactor     5.6776        13.035       -.15479E-05   -.28124E-04
   9  norm          .60447        1.4102       -.29575E-06   -.14629E-02
  10  Prefactor     .10000E-03    43.804        .10248E-04** at limit **
  11  Prefactor     20.600        11.164       -.97841E-06    .26663E-03
  12  Prefactor     3.5466        4.8290       -.32205E-05   -.27769E-03
  13  norm          .33382E-01    1.7446       -.16627E-06    .21090E-03
  14  Prefactor     .10000E-03    7.4642       -.48127E-07** at limit **
  15  Prefactor     .92139        6.4489       -.14711E-05    .16930E-03
  16  norm          1.6805        .81065        .45604E-07    .37083E-02
  17  Prefactor     31.483        30.265        .11034E-05    .35613E-04
  18  Prefactor     .10000E-03    6.1634        .21991E-06** at limit **
  19  norm          .10004E-03    2.6680       -.69485E-06** at limit **
  20  norm          1.9467        4.8030       -.10161E-05   -.35711E-03
  21  Prefactor     .10000E-03    16.227        .16261E-05** at limit **
  22  Prefactor     3.6511        77.964       -.92424E-04    .10147E-04
  23  norm          .10000E-03    2.0734       -.81311E-07** at limit **
  24  Normalizat    .88078        .15909        .70554E-05    .28379E-03
  25  Prefactor     .84355        .15307       -.14483E-05    .83163E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.623886
  Prefactor  = 18.8575
  Prefactor  = 0.0001
  norm       = 41.004
  Prefactor  = 0.0001
  Prefactor  = 13.7108
  Prefactor  = 0.0001
  Prefactor  = 5.67761
  norm       = 0.604468
  Prefactor  = 0.0001
  Prefactor  = 20.6002
  Prefactor  = 3.54659
  norm       = 0.0333823
  Prefactor  = 0.0001
  Prefactor  = 0.921393
  norm       = 1.68052
  Prefactor  = 31.4827
  Prefactor  = 0.0001
  norm       = 0.000100044
  norm       = 1.94673
  Prefactor  = 0.0001
  Prefactor  = 3.65107
  norm       = 0.0001
  Normalizat = 0.880785
  Prefactor  = 0.843549
 **********
 **   18 **HESSE 
 **********

 FCN=   6699.952     FROM HESSE     STATUS=OK           449 CALLS     3053 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .62389        .24125        .24208E-04   -1.5550    
   2  Prefactor     18.857        12.771        .92234E-04   -1.4839    
   3  Prefactor     .10000E-03    1.3833        .93915E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          41.004        21.694        .62594E-04   -1.4426    
   5  Prefactor     .10000E-03    38.934        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.711        16.691        .10818E-03   -1.4967    
   7  Prefactor     .10000E-03    11.610        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.6776        13.026        .16859E-03   -1.5231    
   9  norm          .60447        1.1350        .14068E-02   -1.5552    
  10  Prefactor     .10000E-03    44.093        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     20.600        11.190        .88238E-04   -1.4800    
  12  Prefactor     3.5466        4.8363        .20310E-03   -1.5331    
  13  norm          .33382E-01    2.9267        .36567E-01   -1.5671    
  14  Prefactor     .10000E-03    7.4853        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .92139        29.751        .26938E-02   -1.5516    
  16  norm          1.6805        .93287        .35775E-04   -1.5449    
  17  Prefactor     31.483        30.273        .71412E-04   -1.4585    
  18  Prefactor     .10000E-03    6.1986        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10004E-03    2.2910        .45947E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.9467        4.7705        .27104E-03   -1.5429    
  21  Prefactor     .10000E-03    16.280        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     3.6511        77.981        .21030E-03   -1.5326    
  23  norm          .10000E-03    5.4970        .21928E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .88078        .19243        .22444E-03   -.97139    
  25  Prefactor     .84355        .18675        .23415E-03   -.98142    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.12021e-09
Minuit parameter uncertainties:
  1  0.241249
  2  12.7724
  3  6.14711e-06
  4  21.6978
  5  2.55655e-05
  6  16.6962
  7  7.9104e-05
  8  13.0322
  9  1.13502
  10  6.02627e-06
  11  11.1916
  12  4.8368
  13  0.624229
  14  1.28201e-05
  15  10.4764
  16  0.932876
  17  30.2879
  18  5.45914e-06
  19  0.000635591
  20  4.77144
  21  2.63661e-05
  22  33.7967
  23  1.60902e-05
  24  0.192581
  25  0.186891
Done.

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

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  2.060e+01  1.119e+01  1.000e-04  1.000e+04 ( 1.000e-12)
312        Index:  2.761e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
313        Scale:  4.468e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
574    Prefactor:  8.435e-01  1.869e-01  0.000e+00  1.000e+01 ( 1.000e+00)
575        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
576        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
573   Normalization:  8.808e-01  1.926e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.56
Ra Dec: 342.193 -32.593
Photon Index (Fixed Index): 2.76 +/- 0.00
Photon Flux (Fixed Index): 7.30e-08 +/- 3.96e-08
Energy Flux (Fixed Index): 1.68e-05 +/- 9.12e-06

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) = 6699.94357018
delta logL = 0.00850167576482

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6699.9407559
delta logL = 0.0113159499542

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.515       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6796       1.0000          .0000       10.000    
     3 'Normalizat'    .88471       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84033       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5770E+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=   6699.941     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      237 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.516        13.176        .86353E-04   -.11986E-02
   2  Index         2.6794        .54401        .72821E-02   -.34999E-03
   3  Normalizat    .88475        .18073        .22399E-03    .22880E-03
   4  Prefactor     .84029        .18252        .23455E-03    .24163E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.5157
  Index      = 2.67941
  Normalizat = 0.88475
  Prefactor  = 0.840289
 **********
 **   18 **HESSE 
 **********

 FCN=   6699.941     FROM HESSE     STATUS=OK            23 CALLS      260 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.516        12.931        .17271E-04   -1.4780    
   2  Index         2.6794        .53363        .29128E-03   -.48264    
   3  Normalizat    .88475        .18098        .89598E-05   -.96998    
   4  Prefactor     .84029        .18271        .93819E-05   -.98260    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.93355e-09
Minuit parameter uncertainties:
  1  12.9324
  2  0.534934
  3  0.181102
  4  0.182841
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/476298': 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) = 6699.94075582
delta logL = 0.0113160342189

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  2.152e+01  1.293e+01  1.000e-04  1.000e+04 ( 1.000e-12)
312        Index:  2.679e+00  5.349e-01  0.000e+00  1.000e+01 (-1.000e+00)
313        Scale:  4.468e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
574    Prefactor:  8.403e-01  1.828e-01  0.000e+00  1.000e+01 ( 1.000e+00)
575        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
576        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
573   Normalization:  8.848e-01  1.811e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.55
Ra Dec: 342.193 -32.593
Photon Index (Free Index): 2.68 +/- 0.53
Photon Flux (Free Index): 7.08e-08 +/- 4.18e-08
Energy Flux (Free Index): 1.73e-05 +/- 1.01e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/476298/cmap_HighResolution_639792001_640051201_4FGL_J2248.7-3235_daily_bin1545.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.30e-08', energy_flux2='1.73e-05', photon_flux_error='3.96e-08', dlogl='1.13e-02', energy_flux='1.68e-05', photon_flux2='7.08e-08', job_status='DONE', time_completed='2021-09-28 20:57:38.167718', photon_index_error2='0.53', photon_index2='2.68', ts='5.56', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='1.01e-05', EG='0.88', time_epoch_completed='1632887858.17', return_code='0', job_id='476298', GAL2='0.84', EG2='0.88', return_code2='0', energy_flux_error='9.12e-06', photon_flux_error2='4.18e-08', ts2='5.55', photon_index='2.76' WHERE bin_id='1545' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 20:57:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 476298: <4FGL_J2248.7-3235_daily_bin1545> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1545> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 20:45:41 2021
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 20:45:42 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 20:45:42 2021
Terminated at Tue Sep 28 20:57:38 2021
Results reported at Tue Sep 28 20:57:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1545 342.193 -32.5926 639792001 640051201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2248.7-3235 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   625.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             350.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   716 sec.
    Turnaround time :                            717 sec.

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

