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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1646
RA = 342.193, Dec = -32.5926
tmin = 665971201, tmax = 666230401
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='677660', job_status='RUN', time_executed='2022-02-11 00:39:24.352286', time_epoch_executed='1644568764.35' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1646'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/677660

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/677660/ft1_4FGL_J2248.7-3235_daily_bin1646.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/677660/ft2_4FGL_J2248.7-3235_daily_bin1646.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/677660/ft1_4FGL_J2248.7-3235_daily_bin1646.fits outfile=/scratch/kocevski/677660/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1646.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=665971201.0 tmax=666230401.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.77
user 3.53
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/677660/ft1_filtered_4FGL_J2248.7-3235_daily_bin1646.fits" evtable="EVENTS" scfile=/scratch/kocevski/677660/ft2_4FGL_J2248.7-3235_daily_bin1646.fits sctable="SC_DATA" outfile=/scratch/kocevski/677660/ltcube_665971201_666230401_4FGL_J2248.7-3235_daily_bin1646.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/677660/ft2_4FGL_J2248.7-3235_daily_bin1646.fits
.....................!
real 13.44
user 13.11
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/677660/ft1_filtered_4FGL_J2248.7-3235_daily_bin1646.fits evtable="EVENTS" scfile=/scratch/kocevski/677660/ft2_4FGL_J2248.7-3235_daily_bin1646.fits sctable="SC_DATA" expcube=/scratch/kocevski/677660/ltcube_665971201_666230401_4FGL_J2248.7-3235_daily_bin1646.fits outfile=/scratch/kocevski/677660/expmap_665971201_666230401_4FGL_J2248.7-3235_daily_bin1646.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/677660/ltcube_665971201_666230401_4FGL_J2248.7-3235_daily_bin1646.fits
.....................!
real 156.25
user 151.78
sys 4.16

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/677660/ft1_filtered_4FGL_J2248.7-3235_daily_bin1646.fits scfile=/scratch/kocevski/677660/ft2_4FGL_J2248.7-3235_daily_bin1646.fits outfile=/scratch/kocevski/677660/cmap_665971201_666230401_4FGL_J2248.7-3235_daily_bin1646.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.48
user 0.30
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/677660/ft1_filtered_4FGL_J2248.7-3235_daily_bin1646.fits scfile=/scratch/kocevski/677660/ft2_4FGL_J2248.7-3235_daily_bin1646.fits outfile=/scratch/kocevski/677660/cmap_HighResolution_665971201_666230401_4FGL_J2248.7-3235_daily_bin1646.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.48
user 0.31
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/677660/ft1_filtered_4FGL_J2248.7-3235_daily_bin1646.fits evtable="EVENTS" scfile=/scratch/kocevski/677660/ft2_4FGL_J2248.7-3235_daily_bin1646.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/677660/Model_4FGL_J2248.7-3235_daily_bin1646.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/677660/ft1_filtered_4FGL_J2248.7-3235_daily_bin1646.fits.....................!
real 39.61
user 38.24
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4849       1.0000         .10000E-03   10000.    
     2 'Prefactor '    23.402       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11871E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    29.237       1.0000         .10000E-03   10000.    
     5 'Prefactor '    32.528       1.0000         .10000E-03   10000.    
     6 'Prefactor '    32.758       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .13193E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.2292       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    31.660       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10136E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.4453       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    12.977       1.0000         .10000E-03   10000.    
    16 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .28001E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    7.1741       1.0000         .10000E-03   10000.    
    21 'Prefactor '    34.768       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .76812       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0284       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=   6177.613     FROM MIGRAD    STATUS=CONVERGED    599 CALLS     3348 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4850        .41852       -.20999E-08    .68208E-05
   2  Prefactor     23.399        18.971        .37706E-07    .32347E-04
   3  Prefactor     .10000E-03    4.4545       -.16361E-06** at limit **
   4  norm          29.233        24.475       -.44566E-07   -.14205E-04
   5  Prefactor     32.557        42.945        .13165E-05    .95950E-04
   6  Prefactor     32.766        19.246        .19747E-06    .65623E-05
   7  Prefactor     .10000E-03    15.417        .90211E-07** at limit **
   8  Prefactor     .10000E-03    39.761        .13478E-05** at limit **
   9  norm          3.2299        2.0764       -.13314E-06   -.47516E-03
  10  Prefactor     .10000E-03    38.131       -.50521E-06** at limit **
  11  Prefactor     31.662        13.109        .59705E-07   -.13842E-04
  12  Prefactor     .10000E-03    3.7789        .13805E-07** at limit **
  13  norm          3.4463        4.1533        .21757E-06   -.49931E-03
  14  Prefactor     .10000E-03    4.6898        .24233E-06** at limit **
  15  Prefactor     12.983        7.4730       -.14426E-05   -.17611E-02
  16  norm          .10000E-03    .42820        .50683E-06** at limit **
  17  Prefactor     .11055E-03    39.076       -.62766E-05** at limit **
  18  Prefactor     .10000E-03    2.8752        .23235E-06** at limit **
  19  norm          .10000E-03    2.4339        .26130E-07** at limit **
  20  norm          7.1736        6.0248        .96261E-07    .21622E-03
  21  Prefactor     34.766        29.610        .34770E-07    .26089E-04
  22  Prefactor     .10000E-03    16.565        .81577E-07** at limit **
  23  norm          .10000E-03    1.6302        .39059E-07** at limit **
  24  Normalizat    .76801        .16976        .60549E-08   -.35895E-04
  25  Prefactor     1.0286        .16969        .21802E-06   -.29251E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.48499
  Prefactor  = 23.3991
  Prefactor  = 0.0001
  norm       = 29.2327
  Prefactor  = 32.5568
  Prefactor  = 32.7659
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 3.2299
  Prefactor  = 0.000100001
  Prefactor  = 31.6622
  Prefactor  = 0.0001
  norm       = 3.44628
  Prefactor  = 0.0001
  Prefactor  = 12.983
  norm       = 0.0001
  Prefactor  = 0.000110555
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 7.17364
  Prefactor  = 34.766
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.768013
  Prefactor  = 1.02857
 **********
 **   18 **HESSE 
 **********

 FCN=   6177.613     FROM HESSE     STATUS=OK           439 CALLS     3787 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4850        .41952        .26221E-04   -1.5464    
   2  Prefactor     23.399        18.975        .82802E-04   -1.4740    
   3  Prefactor     .10000E-03    4.6565        .32381E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          29.233        24.481        .74096E-04   -1.4626    
   5  Prefactor     32.557        42.662        .70257E-04   -1.4566    
   6  Prefactor     32.766        19.258        .70010E-04   -1.4563    
   7  Prefactor     .10000E-03    15.737        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    40.304        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.2299        2.0658        .87177E-04   -1.5349    
  10  Prefactor     .10000E-03    38.207        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     31.662        13.149        .71211E-04   -1.4582    
  12  Prefactor     .10000E-03    3.8200        .14915E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.4463        4.1218        .15823E-03   -1.5337    
  14  Prefactor     .10000E-03    4.7073        .16639E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     12.983        7.8009        .11120E-03   -1.4987    
  16  norm          .10000E-03    2.6429        .88511E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .11055E-03    25.158        .13404       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.8914        .13033E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    2.4493        .11960E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          7.1736        6.0266        .14976E-03   -1.5172    
  21  Prefactor     34.766        29.559        .67963E-04   -1.4528    
  22  Prefactor     .10000E-03    16.587        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    1.6374        .97750E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .76801        .19830        .25467E-03   -1.0127    
  25  Prefactor     1.0286        .19798        .23015E-03   -.91783    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.21515e-09
Minuit parameter uncertainties:
  1  0.419521
  2  18.9796
  3  5.55204e-06
  4  24.4894
  5  42.7022
  6  19.262
  7  3.46403e-05
  8  0.000523292
  9  2.06585
  10  0.000340559
  11  13.1503
  12  1.43772e-06
  13  4.12214
  14  2.23489e-05
  15  7.80154
  16  2.17274e-05
  17  0.0326048
  18  1.9048e-05
  19  8.35418e-07
  20  6.0271
  21  29.5714
  22  1.41334e-05
  23  1.1323e-06
  24  0.198483
  25  0.19812
Done.

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

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  3.166e+01  1.315e+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.029e+00  1.981e-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.680e-01  1.985e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.80
Ra Dec: 342.193 -32.593
Photon Index (Fixed Index): 2.76 +/- 0.00
Photon Flux (Fixed Index): 1.12e-07 +/- 4.66e-08
Energy Flux (Fixed Index): 2.58e-05 +/- 1.07e-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) = 6177.55827338
delta logL = 0.0544179363324

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6177.55558239
delta logL = 0.0571089228069

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    28.637       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9391       1.0000          .0000       10.000    
     3 'Normalizat'    .75484       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0392       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.

 FCN=   6177.556     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      256 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.668        188.10        .18717E-02   -.19291E-04
   2  Index         2.9405        6.4556        .14972        .61060E-04
   3  Normalizat    .75458        .96087E-01    .43018E-01    .38205E-04
   4  Prefactor     1.0392        .90793E-01    .40589E-01    .14374E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.6684
  Index      = 2.94049
  Normalizat = 0.754578
  Prefactor  = 1.03919
 **********
 **   18 **HESSE 
 **********

 FCN=   6177.556     FROM HESSE     STATUS=OK            33 CALLS      289 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.668        15.980        .74866E-04   -1.4637    
   2  Index         2.9405        .56996        .59914E-02   -.42454    
   3  Normalizat    .75458        .19507        .25665E-03   -1.0178    
   4  Prefactor     1.0392        .19785        .11457E-02   -.91434    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.45737e-09
Minuit parameter uncertainties:
  1  15.9821
  2  0.571458
  3  0.195246
  4  0.197988
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/677660': 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) = 6177.55556626
delta logL = 0.0571250508574

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  2.867e+01  1.598e+01  1.000e-04  1.000e+04 ( 1.000e-12)
312        Index:  2.940e+00  5.715e-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.039e+00  1.980e-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.546e-01  1.952e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.93
Ra Dec: 342.193 -32.593
Photon Index (Free Index): 2.94 +/- 0.57
Photon Flux (Free Index): 1.21e-07 +/- 5.33e-08
Energy Flux (Free Index): 2.48e-05 +/- 1.06e-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/677660/cmap_HighResolution_665971201_666230401_4FGL_J2248.7-3235_daily_bin1646.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.12e-07', energy_flux2='2.48e-05', photon_flux_error='4.66e-08', dlogl='5.71e-02', energy_flux='2.58e-05', photon_flux2='1.21e-07', job_status='DONE', time_completed='2022-02-11 00:48:51.694960', photon_index_error2='0.57', photon_index2='2.94', ts='10.80', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='1.06e-05', EG='0.77', time_epoch_completed='1644569331.7', return_code='0', job_id='677660', GAL2='1.04', EG2='0.75', return_code2='0', energy_flux_error='1.07e-05', photon_flux_error2='5.33e-08', ts2='10.93', photon_index='2.76' WHERE bin_id='1646' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb 11 00:48:51 PST 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0168>
Subject: Job 677660: <4FGL_J2248.7-3235_daily_bin1646> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1646> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Feb 11 00:35:40 2022
Job was executed on host(s) <bullet0168>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb 11 00:35:42 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb 11 00:35:42 2022
Terminated at Fri Feb 11 00:48:52 2022
Results reported at Fri Feb 11 00:48:52 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1646 342.193 -32.5926 665971201 666230401 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 :                                   569.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             288.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   790 sec.
    Turnaround time :                            792 sec.

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

