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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1259
RA = 342.193, Dec = -32.5926
tmin = 565660801, tmax = 565920001
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='474839', job_status='RUN', time_executed='2021-09-28 20:43:01.167796', time_epoch_executed='1632886981.17' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1259'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/474839

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/474839/ft1_4FGL_J2248.7-3235_daily_bin1259.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/474839/ft2_4FGL_J2248.7-3235_daily_bin1259.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/474839/ft1_4FGL_J2248.7-3235_daily_bin1259.fits outfile=/scratch/kocevski/474839/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1259.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=565660801.0 tmax=565920001.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.49
user 3.27
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/474839/ft1_filtered_4FGL_J2248.7-3235_daily_bin1259.fits" evtable="EVENTS" scfile=/scratch/kocevski/474839/ft2_4FGL_J2248.7-3235_daily_bin1259.fits sctable="SC_DATA" outfile=/scratch/kocevski/474839/ltcube_565660801_565920001_4FGL_J2248.7-3235_daily_bin1259.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/474839/ft2_4FGL_J2248.7-3235_daily_bin1259.fits
.....................!
real 12.13
user 11.74
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/474839/ft1_filtered_4FGL_J2248.7-3235_daily_bin1259.fits evtable="EVENTS" scfile=/scratch/kocevski/474839/ft2_4FGL_J2248.7-3235_daily_bin1259.fits sctable="SC_DATA" expcube=/scratch/kocevski/474839/ltcube_565660801_565920001_4FGL_J2248.7-3235_daily_bin1259.fits outfile=/scratch/kocevski/474839/expmap_565660801_565920001_4FGL_J2248.7-3235_daily_bin1259.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/474839/ltcube_565660801_565920001_4FGL_J2248.7-3235_daily_bin1259.fits
.....................!
real 191.29
user 185.83
sys 5.15

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/474839/ft1_filtered_4FGL_J2248.7-3235_daily_bin1259.fits scfile=/scratch/kocevski/474839/ft2_4FGL_J2248.7-3235_daily_bin1259.fits outfile=/scratch/kocevski/474839/cmap_565660801_565920001_4FGL_J2248.7-3235_daily_bin1259.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/474839/ft1_filtered_4FGL_J2248.7-3235_daily_bin1259.fits scfile=/scratch/kocevski/474839/ft2_4FGL_J2248.7-3235_daily_bin1259.fits outfile=/scratch/kocevski/474839/cmap_HighResolution_565660801_565920001_4FGL_J2248.7-3235_daily_bin1259.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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/474839/ft1_filtered_4FGL_J2248.7-3235_daily_bin1259.fits evtable="EVENTS" scfile=/scratch/kocevski/474839/ft2_4FGL_J2248.7-3235_daily_bin1259.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/474839/Model_4FGL_J2248.7-3235_daily_bin1259.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/474839/ft1_filtered_4FGL_J2248.7-3235_daily_bin1259.fits.....................!
real 52.80
user 51.51
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5001       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10253E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .12540E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    19.808       1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.846       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.2422       1.0000         .10000E-03   10000.    
     9 'norm      '    1.6034       1.0000         .10000E-03   10000.    
    10 'Prefactor '    39.139       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.9317       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10244E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.536       1.0000         .10000E-03   10000.    
    16 'norm      '    2.1751       1.0000         .10000E-03   10000.    
    17 'Prefactor '    41.467       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    2.2615       1.0000         .10000E-03   10000.    
    20 'norm      '    .10066E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    9.3280       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .91896       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0387       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=   7115.910     FROM MIGRAD    STATUS=CONVERGED    573 CALLS     2895 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5001        .51033        .66901E-08   -.83155E-04
   2  Prefactor     .10000E-03    5.9919        .25093E-07** at limit **
   3  Prefactor     .10000E-03    8.7663        .19246E-06** at limit **
   4  norm          .10000E-03    51.664       -.40324E-06** at limit **
   5  Prefactor     .10000E-03    16.729       -.13321E-05** at limit **
   6  Prefactor     19.807        16.326       -.27227E-06   -.68325E-05
   7  Prefactor     14.846        12.835       -.44417E-06    .12235E-06
   8  Prefactor     2.2440        20.559        .84152E-05    .52448E-05
   9  norm          1.6034        1.7204       -.18535E-06    .22698E-04
  10  Prefactor     39.119        49.040        .32926E-05    .89656E-04
  11  Prefactor     2.9318        12.397        .46792E-06    .46449E-05
  12  Prefactor     .10000E-03    1.2812        .18752E-07** at limit **
  13  norm          .10000E-03    1.1211       -.39441E-07** at limit **
  14  Prefactor     .10003E-03    9.3960       -.20490E-05** at limit **
  15  Prefactor     15.523        12.025       -.26378E-06    .64997E-04
  16  norm          2.1749        .88805       -.34973E-07   -.64057E-03
  17  Prefactor     41.464        39.371        .40199E-06    .16379E-04
  18  Prefactor     .10000E-03    2.2260        .33747E-08** at limit **
  19  norm          2.2614        4.3611        .16279E-06    .21794E-04
  20  norm          .10000E-03    7.8131        .46247E-07** at limit **
  21  Prefactor     .10000E-03    32.656       -.10908E-05** at limit **
  22  Prefactor     .10000E-03    17.974        .16361E-05** at limit **
  23  norm          9.3281        4.6680        .63134E-07    .13259E-03
  24  Normalizat    .91916        .17533        .15347E-06    .31210E-04
  25  Prefactor     1.0385        .17399       -.90570E-06   -.39159E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.50008
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.8072
  Prefactor  = 14.8458
  Prefactor  = 2.24397
  norm       = 1.60339
  Prefactor  = 39.1193
  Prefactor  = 2.93175
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100033
  Prefactor  = 15.5232
  norm       = 2.1749
  Prefactor  = 41.464
  Prefactor  = 0.0001
  norm       = 2.26143
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.32813
  Normalizat = 0.919156
  Prefactor  = 1.03851
 **********
 **   18 **HESSE 
 **********

 FCN=   7115.910     FROM HESSE     STATUS=OK           427 CALLS     3322 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5001        .51070        .26408E-04   -1.5392    
   2  Prefactor     .10000E-03    6.0024        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.1370        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    52.686        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    16.742        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     19.807        16.333        .89992E-04   -1.4818    
   7  Prefactor     14.846        12.833        .10395E-03   -1.4937    
   8  Prefactor     2.2440        21.361        .13723E-02   -1.5408    
   9  norm          1.6034        1.7144        .10411E-03   -1.5455    
  10  Prefactor     39.119        49.168        .64068E-04   -1.4456    
  11  Prefactor     2.9318        12.340        .23724E-03   -1.5366    
  12  Prefactor     .10000E-03    1.2833        .93248E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.1238        .87156E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10003E-03    34.947        .41184E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     15.523        11.920        .10161E-03   -1.4920    
  16  norm          2.1749        .93862        .38112E-04   -1.5413    
  17  Prefactor     41.464        39.382        .62251E-04   -1.4419    
  18  Prefactor     .10000E-03    2.2279        .12287E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.2614        4.3376        .22612E-03   -1.5407    
  20  norm          .10000E-03    8.0886        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    32.760        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    18.030        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          9.3281        4.6673        .11828E-03   -1.5097    
  24  Normalizat    .91916        .20871        .25480E-03   -.95790    
  25  Prefactor     1.0385        .20630        .24843E-03   -.91456    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03782e-09
Minuit parameter uncertainties:
  1  0.510697
  2  1.95557e-06
  3  1.87786e-05
  4  0.00032259
  5  8.10456e-05
  6  16.3369
  7  12.8358
  8  13.853
  9  1.71441
  10  49.2185
  11  12.0339
  12  8.02451e-07
  13  1.18209e-07
  14  0.00214071
  15  11.922
  16  0.938628
  17  39.4069
  18  1.17271e-06
  19  4.33816
  20  1.33358e-05
  21  8.8646e-05
  22  0.000116813
  23  4.66745
  24  0.208896
  25  0.206455
Done.

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

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  2.932e+00  1.203e+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.039e+00  2.065e-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.192e-01  2.089e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.06
Ra Dec: 342.193 -32.593
Photon Flux Upper Limit: 1.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.03e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/474839/likelihoodResults_565660801_565920001_4FGL_J2248.7-3235_daily_bin1259.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) = 7115.90636795
delta logL = 0.00395399350691

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7115.90568092
delta logL = 0.00464101756279

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3759       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5898       1.0000          .0000       10.000    
     3 'Normalizat'    .92044       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0370       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7115.906     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      268 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3888        13.364        .11011E-02    .13148E-03
   2  Index         2.5855        1.6860        .13399E-01    .76560E-05
   3  Normalizat    .92028        .19939        .25465E-03   -.12139E-03
   4  Prefactor     1.0372        .20390        .24857E-03   -.97969E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.38884
  Index      = 2.58549
  Normalizat = 0.920279
  Prefactor  = 1.03718
 **********
 **   18 **HESSE 
 **********

 FCN=   7115.906     FROM HESSE     STATUS=OK            25 CALLS      293 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3888        13.089        .22023E-03   -1.5340    
   2  Index         2.5855        1.6546        .53594E-03   -.50397    
   3  Normalizat    .92028        .19975        .10186E-04   -.95751    
   4  Prefactor     1.0372        .20413        .99426E-05   -.91500    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.77116e-11
Minuit parameter uncertainties:
  1  13.0999
  2  1.6967
  3  0.199916
  4  0.204286
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/474839': 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) = 7115.90567706
delta logL = 0.00464487815952

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  3.389e+00  1.310e+01  1.000e-04  1.000e+04 ( 1.000e-12)
312        Index:  2.585e+00  1.697e+00  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.037e+00  2.043e-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.203e-01  1.999e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.06
Ra Dec: 342.193 -32.593

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/474839/cmap_HighResolution_565660801_565920001_4FGL_J2248.7-3235_daily_bin1259.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.03e-03', job_status='DONE', photon_flux_upper_limit='1.02e-07', time_completed='2021-09-28 20:55:39.072917', job_id='474839', GAL2='1.04', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1632887739.07', return_code2='0', ts='0.06', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='4.64e-03', ts2='0.07', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='1259' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 20:55:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 474839: <4FGL_J2248.7-3235_daily_bin1259> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1259> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 20:41:24 2021
Job was executed on host(s) <bullet0245>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 20:41:25 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:41:25 2021
Terminated at Tue Sep 28 20:55:39 2021
Results reported at Tue Sep 28 20:55:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1259 342.193 -32.5926 565660801 565920001 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 :                                   758.36 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             301.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   854 sec.
    Turnaround time :                            855 sec.

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

