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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1660
RA = 342.193, Dec = -32.5926
tmin = 669600001, tmax = 669859201
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='993317', job_status='RUN', time_executed='2022-03-25 00:38:32.692380', time_epoch_executed='1648193912.69' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1660'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/993317

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/993317/ft1_4FGL_J2248.7-3235_daily_bin1660.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/993317/ft2_4FGL_J2248.7-3235_daily_bin1660.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/993317/ft1_4FGL_J2248.7-3235_daily_bin1660.fits outfile=/scratch/kocevski/993317/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1660.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=669600001.0 tmax=669859201.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 4.55
user 4.30
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/993317/ft2_4FGL_J2248.7-3235_daily_bin1660.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/993317/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1660.fits evtable="EVENTS" outfile="/scratch/kocevski/993317/ft1_filtered_4FGL_J2248.7-3235_daily_bin1660.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.51
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 388

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/993317/ft1_filtered_4FGL_J2248.7-3235_daily_bin1660.fits" evtable="EVENTS" scfile=/scratch/kocevski/993317/ft2_4FGL_J2248.7-3235_daily_bin1660.fits sctable="SC_DATA" outfile=/scratch/kocevski/993317/ltcube_669600001_669859201_4FGL_J2248.7-3235_daily_bin1660.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/993317/ft2_4FGL_J2248.7-3235_daily_bin1660.fits
.....................!
real 11.73
user 11.36
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/993317/ft1_filtered_4FGL_J2248.7-3235_daily_bin1660.fits evtable="EVENTS" scfile=/scratch/kocevski/993317/ft2_4FGL_J2248.7-3235_daily_bin1660.fits sctable="SC_DATA" expcube=/scratch/kocevski/993317/ltcube_669600001_669859201_4FGL_J2248.7-3235_daily_bin1660.fits outfile=/scratch/kocevski/993317/expmap_669600001_669859201_4FGL_J2248.7-3235_daily_bin1660.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/993317/ltcube_669600001_669859201_4FGL_J2248.7-3235_daily_bin1660.fits
.....................!
real 192.34
user 187.36
sys 4.61

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/993317/ft1_filtered_4FGL_J2248.7-3235_daily_bin1660.fits scfile=/scratch/kocevski/993317/ft2_4FGL_J2248.7-3235_daily_bin1660.fits outfile=/scratch/kocevski/993317/cmap_669600001_669859201_4FGL_J2248.7-3235_daily_bin1660.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/993317/ft1_filtered_4FGL_J2248.7-3235_daily_bin1660.fits scfile=/scratch/kocevski/993317/ft2_4FGL_J2248.7-3235_daily_bin1660.fits outfile=/scratch/kocevski/993317/cmap_HighResolution_669600001_669859201_4FGL_J2248.7-3235_daily_bin1660.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/993317/ft1_filtered_4FGL_J2248.7-3235_daily_bin1660.fits evtable="EVENTS" scfile=/scratch/kocevski/993317/ft2_4FGL_J2248.7-3235_daily_bin1660.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/993317/Model_4FGL_J2248.7-3235_daily_bin1660.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/993317/ft1_filtered_4FGL_J2248.7-3235_daily_bin1660.fits.....................!
real 38.27
user 36.88
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/993317/ft1_filtered_4FGL_J2248.7-3235_daily_bin1660.fits', '/scratch/kocevski/993317/ft2_4FGL_J2248.7-3235_daily_bin1660.fits', expMap='/scratch/kocevski/993317/expmap_669600001_669859201_4FGL_J2248.7-3235_daily_bin1660.fits', expCube='/scratch/kocevski/993317/ltcube_669600001_669859201_4FGL_J2248.7-3235_daily_bin1660.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/993317/Model_4FGL_J2248.7-3235_daily_bin1660.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/993317/ft1_filtered_4FGL_J2248.7-3235_daily_bin1660.fits
Spacecraft file(s): /scratch/kocevski/993317/ft2_4FGL_J2248.7-3235_daily_bin1660.fits
Exposure map: /scratch/kocevski/993317/expmap_669600001_669859201_4FGL_J2248.7-3235_daily_bin1660.fits
Exposure cube: /scratch/kocevski/993317/ltcube_669600001_669859201_4FGL_J2248.7-3235_daily_bin1660.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/993317/Model_4FGL_J2248.7-3235_daily_bin1660.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) = 4348.62040435

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2433       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    26.397       1.0000         .10000E-03   10000.    
     4 'norm      '    28.906       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    16.365       1.0000         .10000E-03   10000.    
     8 'Prefactor '    26.090       1.0000         .10000E-03   10000.    
     9 'norm      '    2.6503       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .25490E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    34.545       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.0288       1.0000         .10000E-03   10000.    
    13 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.830       1.0000         .10000E-03   10000.    
    16 'norm      '    .14313       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.6097       1.0000         .10000E-03   10000.    
    19 'norm      '    4.6782       1.0000         .10000E-03   10000.    
    20 'norm      '    14.207       1.0000         .10000E-03   10000.    
    21 'Prefactor '    36.643       1.0000         .10000E-03   10000.    
    22 'Prefactor '    121.44       1.0000         .10000E-03   10000.    
    23 'norm      '    .40359E-01   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .80004       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0432       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=   4348.616     FROM MIGRAD    STATUS=CONVERGED    636 CALLS     3877 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2434        .49233        .43225E-08   -.52912E-04
   2  Prefactor     .10000E-03    15.131        .21747E-07** at limit **
   3  Prefactor     26.397        13.411        .78703E-06   -.13014E-05
   4  norm          28.905        28.125       -.10684E-05   -.78008E-04
   5  Prefactor     .10000E-03    19.012       -.10403E-07** at limit **
   6  Prefactor     .10000E-03    21.103       -.57282E-06** at limit **
   7  Prefactor     16.360        19.112       -.12675E-06   -.18301E-03
   8  Prefactor     26.091        29.814       -.21202E-05    .35745E-05
   9  norm          2.6491        2.4790        .22863E-06   -.73221E-03
  10  Prefactor     .10000E-03    346.54        .16407E-04** at limit **
  11  Prefactor     34.543        19.754       -.79604E-06   -.32987E-04
  12  Prefactor     7.0310        10.392        .45143E-06   -.22144E-04
  13  norm          .10000E-03    2.7955        .19352E-06** at limit **
  14  Prefactor     .10000E-03    24.887        .16726E-05** at limit **
  15  Prefactor     15.812        15.413       -.24458E-05   -.29763E-03
  16  norm          .14396        1.0550        .16089E-05   -.51302E-03
  17  Prefactor     .10000E-03    28.126       -.12038E-05** at limit **
  18  Prefactor     7.6005        15.272       -.31576E-05   -.10913E-03
  19  norm          4.6552        5.9646        .15867E-06   -.16970E-03
  20  norm          14.203        11.568        .31050E-06   -.44084E-04
  21  Prefactor     36.124        57.530       -.27371E-06   -.97081E-04
  22  Prefactor     121.42        74.259       -.54783E-06   -.78313E-05
  23  norm          .15581        5.5831        .37478E-06   -.30479E-03
  24  Normalizat    .80047        .25813        .79626E-06   -.21696E-03
  25  Prefactor     1.0426        .23167       -.11164E-05   -.16348E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.24337
  Prefactor  = 0.0001
  Prefactor  = 26.397
  norm       = 28.9047
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.3598
  Prefactor  = 26.0909
  norm       = 2.6491
  Prefactor  = 0.0001
  Prefactor  = 34.5432
  Prefactor  = 7.03101
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.8119
  norm       = 0.14396
  Prefactor  = 0.0001
  Prefactor  = 7.60046
  norm       = 4.6552
  norm       = 14.2026
  Prefactor  = 36.1242
  Prefactor  = 121.424
  norm       = 0.155813
  Normalizat = 0.800471
  Prefactor  = 1.04265
 **********
 **   18 **HESSE 
 **********

 FCN=   4348.616     FROM HESSE     STATUS=OK           429 CALLS     4306 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2434        .49266        .28175E-04   -1.5485    
   2  Prefactor     .10000E-03    15.170        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     26.397        13.483        .77972E-04   -1.4680    
   4  norm          28.905        28.168        .74518E-04   -1.4632    
   5  Prefactor     .10000E-03    19.019        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    21.163        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     16.360        19.251        .99007E-04   -1.4899    
   8  Prefactor     26.091        29.822        .78428E-04   -1.4686    
   9  norm          2.6491        2.4654        .95777E-04   -1.5382    
  10  Prefactor     .10000E-03    355.42        .42914E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     34.543        19.812        .68182E-04   -1.4532    
  12  Prefactor     7.0310        10.416        .15132E-03   -1.5178    
  13  norm          .10000E-03    2.8053        .10750E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    24.976        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     15.812        15.760        .10067E-03   -1.4912    
  16  norm          .14396        1.4487        .92297E-03   -1.5632    
  17  Prefactor     .10000E-03    28.132        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     7.6005        15.208        .14537E-03   -1.5157    
  19  norm          4.6552        6.3360        .16786E-03   -1.5276    
  20  norm          14.203        11.567        .10626E-03   -1.4954    
  21  Prefactor     36.124        73.874        .66207E-04   -1.4505    
  22  Prefactor     121.42        74.806        .36521E-04   -1.3500    
  23  norm          .15581        138.66        .24558E-02   -1.5629    
  24  Normalizat    .80047        .31380        .29025E-03   -1.0005    
  25  Prefactor     1.0426        .28007        .25071E-03   -.91321    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.19202e-09
Minuit parameter uncertainties:
  1  0.492663
  2  6.48557e-06
  3  13.4847
  4  28.1807
  5  2.46678e-05
  6  5.43245e-05
  7  19.2582
  8  29.8392
  9  2.46548
  10  0.000780255
  11  19.8155
  12  10.4182
  13  3.98122e-06
  14  4.97986e-05
  15  15.7645
  16  0.91308
  17  1.98345e-05
  18  15.216
  19  6.33694
  20  11.5687
  21  74.0617
  22  74.8644
  23  9.31485
  24  0.314513
  25  0.280462
Done.

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

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  3.454e+01  1.982e+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:  1.043e+00  2.805e-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.005e-01  3.145e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.09
Ra Dec: 342.193 -32.593
Photon Index (Fixed Index): 2.76 +/- 0.00
Photon Flux (Fixed Index): 1.22e-07 +/- 7.02e-08
Energy Flux (Fixed Index): 2.82e-05 +/- 1.62e-05

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) = 4348.60692204
delta logL = 0.00901606066054

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4348.60413373
delta logL = 0.0118043616258

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.926       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6693       1.0000          .0000       10.000    
     3 'Normalizat'    .80890       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0358       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=   4348.604     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      267 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     35.925        22.234        .66862E-04    .12733E-02
   2  Index         2.6693        .59380        .67832E-02    .38603E-03
   3  Normalizat    .80889        .28524        .28890E-03   -.11589E-03
   4  Prefactor     1.0358        .27367        .25141E-03   -.98487E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 35.925
  Index      = 2.66929
  Normalizat = 0.808892
  Prefactor  = 1.03585
 **********
 **   18 **HESSE 
 **********

 FCN=   4348.604     FROM HESSE     STATUS=OK            23 CALLS      290 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     35.925        21.950        .13372E-04   -1.4508    
   2  Index         2.6693        .58588        .27133E-03   -.48493    
   3  Normalizat    .80889        .28560        .11556E-04   -.99740    
   4  Prefactor     1.0358        .27391        .10057E-04   -.91544    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.35608e-09
Minuit parameter uncertainties:
  1  21.955
  2  0.587607
  3  0.286128
  4  0.274275
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/993317': 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) = 4348.60413373
delta logL = 0.0118043649018

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  3.593e+01  2.195e+01  1.000e-04  1.000e+04 ( 1.000e-12)
312        Index:  2.669e+00  5.876e-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:  1.036e+00  2.743e-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.089e-01  2.861e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.05
Ra Dec: 342.193 -32.593
Photon Index (Free Index): 2.67 +/- 0.59
Photon Flux (Free Index): 1.17e-07 +/- 7.66e-08
Energy Flux (Free Index): 2.89e-05 +/- 1.73e-05

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/993317/cmap_HighResolution_669600001_669859201_4FGL_J2248.7-3235_daily_bin1660.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.22e-07', energy_flux2='2.89e-05', photon_flux_error='7.02e-08', dlogl='1.18e-02', energy_flux='2.82e-05', photon_flux2='1.17e-07', job_status='DONE', time_completed='2022-03-25 00:48:18.956316', photon_index_error2='0.59', photon_index2='2.67', ts='5.09', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='1.73e-05', EG='0.80', time_epoch_completed='1648194498.96', return_code='0', job_id='993317', GAL2='1.04', EG2='0.81', return_code2='0', energy_flux_error='1.62e-05', photon_flux_error2='7.66e-08', ts2='5.05', photon_index='2.76' WHERE bin_id='1660' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Mar 25 00:48:18 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0192>
Subject: Job 993317: <4FGL_J2248.7-3235_daily_bin1660> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1660> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Mar 25 00:35:48 2022
Job was executed on host(s) <bullet0192>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 25 00:35:49 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar 25 00:35:49 2022
Terminated at Fri Mar 25 00:48:19 2022
Results reported at Fri Mar 25 00:48:19 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1660 342.193 -32.5926 669600001 669859201 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 :                                   588.24 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             277.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   750 sec.
    Turnaround time :                            751 sec.

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

