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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1118
RA = 342.193, Dec = -32.5926
tmin = 529113601, tmax = 529372801
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='474612', job_status='RUN', time_executed='2021-09-28 20:45:11.232185', time_epoch_executed='1632887111.23' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1118'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/474612

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/474612/ft1_4FGL_J2248.7-3235_daily_bin1118.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/474612/ft2_4FGL_J2248.7-3235_daily_bin1118.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/474612/ft1_4FGL_J2248.7-3235_daily_bin1118.fits outfile=/scratch/kocevski/474612/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1118.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=529113601.0 tmax=529372801.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.88
user 3.62
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/474612/ft1_filtered_4FGL_J2248.7-3235_daily_bin1118.fits" evtable="EVENTS" scfile=/scratch/kocevski/474612/ft2_4FGL_J2248.7-3235_daily_bin1118.fits sctable="SC_DATA" outfile=/scratch/kocevski/474612/ltcube_529113601_529372801_4FGL_J2248.7-3235_daily_bin1118.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/474612/ft2_4FGL_J2248.7-3235_daily_bin1118.fits
.....................!
real 11.91
user 11.54
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/474612/ft1_filtered_4FGL_J2248.7-3235_daily_bin1118.fits evtable="EVENTS" scfile=/scratch/kocevski/474612/ft2_4FGL_J2248.7-3235_daily_bin1118.fits sctable="SC_DATA" expcube=/scratch/kocevski/474612/ltcube_529113601_529372801_4FGL_J2248.7-3235_daily_bin1118.fits outfile=/scratch/kocevski/474612/expmap_529113601_529372801_4FGL_J2248.7-3235_daily_bin1118.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/474612/ltcube_529113601_529372801_4FGL_J2248.7-3235_daily_bin1118.fits
.....................!
real 191.24
user 186.05
sys 4.75

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/474612/ft1_filtered_4FGL_J2248.7-3235_daily_bin1118.fits scfile=/scratch/kocevski/474612/ft2_4FGL_J2248.7-3235_daily_bin1118.fits outfile=/scratch/kocevski/474612/cmap_529113601_529372801_4FGL_J2248.7-3235_daily_bin1118.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/474612/ft1_filtered_4FGL_J2248.7-3235_daily_bin1118.fits scfile=/scratch/kocevski/474612/ft2_4FGL_J2248.7-3235_daily_bin1118.fits outfile=/scratch/kocevski/474612/cmap_HighResolution_529113601_529372801_4FGL_J2248.7-3235_daily_bin1118.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.55
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/474612/ft1_filtered_4FGL_J2248.7-3235_daily_bin1118.fits evtable="EVENTS" scfile=/scratch/kocevski/474612/ft2_4FGL_J2248.7-3235_daily_bin1118.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/474612/Model_4FGL_J2248.7-3235_daily_bin1118.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/474612/ft1_filtered_4FGL_J2248.7-3235_daily_bin1118.fits.....................!
real 49.82
user 48.41
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3583       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    24.037       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10349E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .61763E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10237E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10485E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.6104       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.3498       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.081       1.0000         .10000E-03   10000.    
    16 'norm      '    2.6875       1.0000         .10000E-03   10000.    
    17 'Prefactor '    55.961       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .39781E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    4.9084       1.0000         .10000E-03   10000.    
    21 'Prefactor '    79.466       1.0000         .10000E-03   10000.    
    22 'Prefactor '    8.7710       1.0000         .10000E-03   10000.    
    23 'norm      '    .95655       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .74868       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1097       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=   6886.895     FROM MIGRAD    STATUS=CONVERGED    584 CALLS     2924 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3582        .37761       -.14029E-08    .62192E-04
   2  Prefactor     .10000E-03    11.500       -.19035E-06** at limit **
   3  Prefactor     .10000E-03    1.9732       -.11806E-07** at limit **
   4  norm          24.024        16.136       -.35558E-07   -.18812E-04
   5  Prefactor     .10000E-03    43.487        .36895E-06** at limit **
   6  Prefactor     .10000E-03    5.8435       -.10937E-06** at limit **
   7  Prefactor     .10000E-03    24.619       -.73814E-05** at limit **
   8  Prefactor     .10000E-03    11.320        .20548E-06** at limit **
   9  norm          .10000E-03    1.5656       -.28027E-06** at limit **
  10  Prefactor     7.5951        38.505       -.23617E-05   -.41873E-04
  11  Prefactor     .10000E-03    5.2601        .35951E-06** at limit **
  12  Prefactor     4.3482        5.4745       -.58158E-07   -.56811E-05
  13  norm          .10000E-03    1.0927       -.28729E-07** at limit **
  14  Prefactor     .10000E-03    4.5415       -.12022E-06** at limit **
  15  Prefactor     14.082        10.980       -.33892E-06    .10452E-03
  16  norm          2.6872        .97729        .68086E-07   -.27813E-03
  17  Prefactor     55.902        47.562       -.24064E-05   -.12235E-04
  18  Prefactor     .10000E-03    3.4136       -.75635E-07** at limit **
  19  norm          .10000E-03    5.1467        .25921E-05** at limit **
  20  norm          4.9113        8.6756       -.90655E-06    .23477E-04
  21  Prefactor     79.518        54.382       -.39712E-06   -.88287E-04
  22  Prefactor     8.7313        45.800       -.28893E-05    .18217E-05
  23  norm          .94508        6.6241        .78163E-06    .18043E-03
  24  Normalizat    .74902        .17231       -.21659E-06   -.48770E-04
  25  Prefactor     1.1096        .17047        .38654E-06   -.75283E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.35821
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 24.0235
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.59512
  Prefactor  = 0.0001
  Prefactor  = 4.34825
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.0821
  norm       = 2.68717
  Prefactor  = 55.902
  Prefactor  = 0.0001
  norm       = 0.000100002
  norm       = 4.9113
  Prefactor  = 79.5175
  Prefactor  = 8.73126
  norm       = 0.945082
  Normalizat = 0.749021
  Prefactor  = 1.10962
 **********
 **   18 **HESSE 
 **********

 FCN=   6886.895     FROM HESSE     STATUS=OK           431 CALLS     3355 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3582        .37819        .26122E-04   -1.5475    
   2  Prefactor     .10000E-03    11.639        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.9979        .11383E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          24.024        16.122        .81703E-04   -1.4727    
   5  Prefactor     .10000E-03    43.747        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.8605        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    30.831        .39448E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    11.404        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.5208        .17673E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.5951        30.754        .14537E-03   -1.5157    
  11  Prefactor     .10000E-03    5.3206        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.3482        5.4678        .19313E-03   -1.5291    
  13  norm          .10000E-03    1.0982        .84659E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.5418        .17259E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.082        11.588        .53370E-03   -1.4957    
  16  norm          2.6872        1.0278        .35761E-04   -1.5380    
  17  Prefactor     55.902        47.446        .26812E-03   -1.4211    
  18  Prefactor     .10000E-03    3.4193        .14961E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    11.212        .27384E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          4.9113        8.5554        .90773E-03   -1.5265    
  21  Prefactor     79.518        53.883        .22526E-03   -1.3922    
  22  Prefactor     8.7313        45.432        .13534E-03   -1.5117    
  23  norm          .94508        6.5967        .33918E-03   -1.5514    
  24  Normalizat    .74902        .20300        .26274E-03   -1.0199    
  25  Prefactor     1.1096        .20049        .22846E-03   -.89160    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.77931e-10
Minuit parameter uncertainties:
  1  0.378191
  2  8.56673e-06
  3  7.26869e-07
  4  16.1244
  5  2.38409e-05
  6  2.43208e-06
  7  0.000625891
  8  6.28064e-07
  9  1.52089e-05
  10  30.594
  11  1.48668e-05
  12  5.46844
  13  7.73015e-07
  14  4.04684e-06
  15  11.5901
  16  1.02785
  17  47.478
  18  2.37385e-06
  19  0.000274431
  20  8.55749
  21  53.9164
  22  39.8811
  23  4.99428
  24  0.203208
  25  0.20063
Done.

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

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  1.000e-04  1.487e-05  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.110e+00  2.006e-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:  7.490e-01  2.032e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 342.193 -32.593
Photon Flux Upper Limit: 5.81e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.59e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/474612/likelihoodResults_529113601_529372801_4FGL_J2248.7-3235_daily_bin1118.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): 102
logL (Free Index) = 6886.89590175
delta logL = -0.000895685504474

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6886.89500751
delta logL = -1.4493434719e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10696E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7787       1.0000          .0000       10.000    
     3 'Normalizat'    .74878       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1099       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=   6886.895     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      235 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    1198.8        .18142E-02** at limit **
   2  Index         2.7965        5.8371        .50000       -.31636E-04
   3  Normalizat    .74902        .11835        .26274E-03    .73732E-04
   4  Prefactor     1.1096        .12347        .22846E-03    .58322E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100006
  Index      = 2.79646
  Normalizat = 0.749021
  Prefactor  = 1.10962
 **********
 **   18 **HESSE 
 **********

 FCN=   6886.895     FROM HESSE     STATUS=OK            29 CALLS      264 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    5.7859        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7965        6.3894        .50000       -.45639    
   3  Normalizat    .74902        .18650        .10510E-04   -1.0199    
   4  Prefactor     1.1096        .19495        .91383E-05   -.89160    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.62952e-09
Minuit parameter uncertainties:
  1  0.000358253
  2  4.62409
  3  0.186656
  4  0.195078
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/474612': 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) = 6886.89500582
delta logL = 2.40856934397e-07

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  1.000e-04  3.583e-04  1.000e-04  1.000e+04 ( 1.000e-12)
312        Index:  2.796e+00  4.624e+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.110e+00  1.951e-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:  7.490e-01  1.867e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/474612/cmap_HighResolution_529113601_529372801_4FGL_J2248.7-3235_daily_bin1118.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.59e-03', job_status='DONE', photon_flux_upper_limit='5.81e-08', time_completed='2021-09-28 20:57:38.981280', job_id='474612', GAL2='1.11', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1632887858.98', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='2.41e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='1118' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 20:57:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 474612: <4FGL_J2248.7-3235_daily_bin1118> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1118 342.193 -32.5926 529113601 529372801 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 :                                   745.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             300.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   993 sec.
    Turnaround time :                            995 sec.

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

