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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1373
RA = 342.193, Dec = -32.5926
tmin = 595209601, tmax = 595468801
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='476038', job_status='RUN', time_executed='2021-09-28 20:45:51.671974', time_epoch_executed='1632887151.67' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1373'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/476038

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/476038/ft1_4FGL_J2248.7-3235_daily_bin1373.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/476038/ft2_4FGL_J2248.7-3235_daily_bin1373.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/476038/ft1_4FGL_J2248.7-3235_daily_bin1373.fits outfile=/scratch/kocevski/476038/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1373.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=595209601.0 tmax=595468801.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 2.88
user 2.70
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/476038/ft1_filtered_4FGL_J2248.7-3235_daily_bin1373.fits" evtable="EVENTS" scfile=/scratch/kocevski/476038/ft2_4FGL_J2248.7-3235_daily_bin1373.fits sctable="SC_DATA" outfile=/scratch/kocevski/476038/ltcube_595209601_595468801_4FGL_J2248.7-3235_daily_bin1373.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/476038/ft2_4FGL_J2248.7-3235_daily_bin1373.fits
.....................!
real 12.30
user 11.94
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/476038/ft1_filtered_4FGL_J2248.7-3235_daily_bin1373.fits evtable="EVENTS" scfile=/scratch/kocevski/476038/ft2_4FGL_J2248.7-3235_daily_bin1373.fits sctable="SC_DATA" expcube=/scratch/kocevski/476038/ltcube_595209601_595468801_4FGL_J2248.7-3235_daily_bin1373.fits outfile=/scratch/kocevski/476038/expmap_595209601_595468801_4FGL_J2248.7-3235_daily_bin1373.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/476038/ltcube_595209601_595468801_4FGL_J2248.7-3235_daily_bin1373.fits
.....................!
real 191.64
user 187.43
sys 3.87

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/476038/ft1_filtered_4FGL_J2248.7-3235_daily_bin1373.fits scfile=/scratch/kocevski/476038/ft2_4FGL_J2248.7-3235_daily_bin1373.fits outfile=/scratch/kocevski/476038/cmap_595209601_595468801_4FGL_J2248.7-3235_daily_bin1373.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/476038/ft1_filtered_4FGL_J2248.7-3235_daily_bin1373.fits scfile=/scratch/kocevski/476038/ft2_4FGL_J2248.7-3235_daily_bin1373.fits outfile=/scratch/kocevski/476038/cmap_HighResolution_595209601_595468801_4FGL_J2248.7-3235_daily_bin1373.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/476038/ft1_filtered_4FGL_J2248.7-3235_daily_bin1373.fits evtable="EVENTS" scfile=/scratch/kocevski/476038/ft2_4FGL_J2248.7-3235_daily_bin1373.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/476038/Model_4FGL_J2248.7-3235_daily_bin1373.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/476038/ft1_filtered_4FGL_J2248.7-3235_daily_bin1373.fits.....................!
real 59.31
user 58.02
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6626       1.0000         .10000E-03   10000.    
     2 'Prefactor '    25.456       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .69490       1.0000         .10000E-03   10000.    
     4 'norm      '    1.6768       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    25.626       1.0000         .10000E-03   10000.    
     7 'Prefactor '    30.048       1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.193       1.0000         .10000E-03   10000.    
     9 'norm      '    1.4498       1.0000         .10000E-03   10000.    
    10 'Prefactor '    55.387       1.0000         .10000E-03   10000.    
    11 'Prefactor '    25.796       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10208E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10301E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.113       1.0000         .10000E-03   10000.    
    16 'norm      '    .81709E-01   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10954E-02   1.0000         .10000E-03   10000.    
    19 'norm      '    2.3354       1.0000         .10000E-03   10000.    
    20 'norm      '    8.2082       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    72.819       1.0000         .10000E-03   10000.    
    23 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .93025       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1136       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=   8055.795     FROM MIGRAD    STATUS=CONVERGED    562 CALLS     2954 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6626        .38144       -.11376E-07    .81121E-05
   2  Prefactor     25.454        16.734       -.13904E-05    .35461E-05
   3  Prefactor     .69152        1.1474        .58596E-06   -.27752E-02
   4  norm          1.6712        22.100       -.36869E-05   -.30180E-03
   5  Prefactor     .10000E-03    9.7542       -.33870E-05** at limit **
   6  Prefactor     25.636        19.353        .56647E-05    .82312E-05
   7  Prefactor     30.049        13.686       -.23931E-05    .47716E-04
   8  Prefactor     11.196        16.360        .37928E-06   -.93887E-06
   9  norm          1.4493        1.5049       -.14407E-05   -.61350E-03
  10  Prefactor     55.407        45.007        .22731E-04    .69017E-04
  11  Prefactor     25.805        12.183       -.74391E-07   -.31049E-05
  12  Prefactor     .10000E-03    3.5474       -.89992E-07** at limit **
  13  norm          .10000E-03    2.9766       -.11407E-06** at limit **
  14  Prefactor     .10000E-03    9.5436        .29446E-05** at limit **
  15  Prefactor     14.091        10.309       -.94631E-06   -.16875E-03
  16  norm          .82705E-01    .64416        .46139E-07   -.82572E-03
  17  Prefactor     .10000E-03    13.328        .27003E-06** at limit **
  18  Prefactor     .10005E-03    4.6350        .13283E-06** at limit **
  19  norm          2.3353        2.3309       -.17265E-09    .19703E-04
  20  norm          8.2104        7.2305        .16339E-05   -.57906E-04
  21  Prefactor     .10000E-03    28.670       -.45802E-06** at limit **
  22  Prefactor     72.791        57.157       -.28041E-04   -.11979E-04
  23  norm          .10000E-03    1.9503        .64471E-07** at limit **
  24  Normalizat    .92953        .17406        .18476E-05   -.97265E-04
  25  Prefactor     1.1143        .16682       -.58359E-06    .64906E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.66255
  Prefactor  = 25.4541
  Prefactor  = 0.691518
  norm       = 1.6712
  Prefactor  = 0.0001
  Prefactor  = 25.6355
  Prefactor  = 30.0487
  Prefactor  = 11.1962
  norm       = 1.44935
  Prefactor  = 55.4071
  Prefactor  = 25.8047
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.0912
  norm       = 0.0827055
  Prefactor  = 0.0001
  Prefactor  = 0.00010005
  norm       = 2.3353
  norm       = 8.21038
  Prefactor  = 0.0001
  Prefactor  = 72.7911
  norm       = 0.0001
  Normalizat = 0.92953
  Prefactor  = 1.11431
 **********
 **   18 **HESSE 
 **********

 FCN=   8055.795     FROM HESSE     STATUS=OK           435 CALLS     3389 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6626        .38159        .25781E-04   -1.5450    
   2  Prefactor     25.454        16.744        .79396E-04   -1.4698    
   3  Prefactor     .69152        7.0831        .22355E-02   -1.5542    
   4  norm          1.6712        23.155        .16270E-02   -1.5449    
   5  Prefactor     .10000E-03    9.7568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     25.636        19.403        .79133E-04   -1.4695    
   7  Prefactor     30.049        13.685        .73091E-04   -1.4611    
   8  Prefactor     11.196        16.366        .11975E-03   -1.5039    
   9  norm          1.4493        1.5104        .10393E-03   -1.5467    
  10  Prefactor     55.407        44.953        .53899E-04   -1.4218    
  11  Prefactor     25.805        12.222        .78872E-04   -1.4692    
  12  Prefactor     .10000E-03    3.6049        .16503E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    3.0488        .30094E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.5891        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.091        8.8420        .10662E-03   -1.4957    
  16  norm          .82705E-01    .48677        .10150E-03   -1.5650    
  17  Prefactor     .10000E-03    13.332        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10005E-03    34.801        .35776E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.3353        2.3434        .13363E-03   -1.5402    
  20  norm          8.2104        7.2355        .69968E-03   -1.5135    
  21  Prefactor     .10000E-03    28.754        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     72.791        57.408        .47047E-04   -1.4000    
  23  norm          .10000E-03    1.9795        .12234E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .92953        .21056        .27053E-03   -.95430    
  25  Prefactor     1.1143        .20128        .25143E-03   -.89010    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.32554e-08
Minuit parameter uncertainties:
  1  0.381587
  2  16.7476
  3  4.42668
  4  12.4468
  5  9.08763e-06
  6  19.4078
  7  13.6864
  8  16.3727
  9  1.51047
  10  44.9808
  11  12.2231
  12  9.84305e-06
  13  2.92484e-05
  14  3.73036e-05
  15  8.84286
  16  0.401051
  17  2.3084e-06
  18  0.00263096
  19  2.34348
  20  7.23628
  21  2.2495e-06
  22  57.4514
  23  4.78172e-07
  24  0.210747
  25  0.20142
Done.

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

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  2.580e+01  1.222e+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.114e+00  2.014e-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:  9.295e-01  2.107e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.23
Ra Dec: 342.193 -32.593
Photon Index (Fixed Index): 2.76 +/- 0.00
Photon Flux (Fixed Index): 9.15e-08 +/- 4.33e-08
Energy Flux (Fixed Index): 2.10e-05 +/- 9.96e-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) = 8055.51690993
delta logL = 0.277851350344

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8055.50979629
delta logL = 0.284964995835

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    28.189       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3882       1.0000          .0000       10.000    
     3 'Normalizat'    .95892       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0929       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=   8055.510     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      273 TOTAL
                     EDM=   .25E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.186        13.729        .75458E-04    .45199E-05
   2  Index         2.3877        .47530        .77693E-02   -.17603E-05
   3  Normalizat    .95902        .20082        .26686E-03    .65606E-05
   4  Prefactor     1.0928        .19879        .25347E-03    .30768E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.1857
  Index      = 2.38767
  Normalizat = 0.959017
  Prefactor  = 1.09281
 **********
 **   18 **HESSE 
 **********

 FCN=   8055.510     FROM HESSE     STATUS=OK            25 CALLS      298 TOTAL
                     EDM=   .25E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.186        13.750        .30183E-05   -1.4646    
   2  Index         2.3877        .47579        .31077E-03   -.54974    
   3  Normalizat    .95902        .20111        .10674E-04   -.94416    
   4  Prefactor     1.0928        .19901        .10139E-04   -.89697    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.46665e-12
Minuit parameter uncertainties:
  1  13.7517
  2  0.476787
  3  0.201265
  4  0.199146
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/476038': 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) = 8055.5097957
delta logL = 0.284965583526

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  2.819e+01  1.375e+01  1.000e-04  1.000e+04 ( 1.000e-12)
312        Index:  2.388e+00  4.768e-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.093e+00  1.991e-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:  9.590e-01  2.013e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.70
Ra Dec: 342.193 -32.593
Photon Index (Free Index): 2.39 +/- 0.48
Photon Flux (Free Index): 7.25e-08 +/- 4.58e-08
Energy Flux (Free Index): 2.41e-05 +/- 1.31e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/476038/cmap_HighResolution_595209601_595468801_4FGL_J2248.7-3235_daily_bin1373.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.15e-08', energy_flux2='2.41e-05', photon_flux_error='4.33e-08', dlogl='2.85e-01', energy_flux='2.10e-05', photon_flux2='7.25e-08', job_status='DONE', time_completed='2021-09-28 20:58:02.755879', photon_index_error2='0.48', photon_index2='2.39', ts='7.23', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', energy_flux_error2='1.31e-05', EG='0.93', time_epoch_completed='1632887882.76', return_code='0', job_id='476038', GAL2='1.09', EG2='0.96', return_code2='0', energy_flux_error='9.96e-06', photon_flux_error2='4.58e-08', ts2='7.70', photon_index='2.76' WHERE bin_id='1373' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 20:58:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 476038: <4FGL_J2248.7-3235_daily_bin1373> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1373> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 20:45:21 2021
Job was executed on host(s) <bullet0228>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 20:45:23 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:23 2021
Terminated at Tue Sep 28 20:58:03 2021
Results reported at Tue Sep 28 20:58:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1373 342.193 -32.5926 595209601 595468801 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 :                                   726.22 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             331.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   760 sec.
    Turnaround time :                            762 sec.

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

