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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1662
RA = 342.193, Dec = -32.5926
tmin = 670118401, tmax = 670377601
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='124977', job_status='RUN', time_executed='2022-03-31 00:37:27.783746', time_epoch_executed='1648712247.78' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1662'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/124977

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/124977/ft1_4FGL_J2248.7-3235_daily_bin1662.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/124977/ft2_4FGL_J2248.7-3235_daily_bin1662.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/124977/ft1_4FGL_J2248.7-3235_daily_bin1662.fits outfile=/scratch/kocevski/124977/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1662.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=670118401.0 tmax=670377601.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.43
user 3.20
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/124977/ft2_4FGL_J2248.7-3235_daily_bin1662.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/124977/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1662.fits evtable="EVENTS" outfile="/scratch/kocevski/124977/ft1_filtered_4FGL_J2248.7-3235_daily_bin1662.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 494

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/124977/ft1_filtered_4FGL_J2248.7-3235_daily_bin1662.fits" evtable="EVENTS" scfile=/scratch/kocevski/124977/ft2_4FGL_J2248.7-3235_daily_bin1662.fits sctable="SC_DATA" outfile=/scratch/kocevski/124977/ltcube_670118401_670377601_4FGL_J2248.7-3235_daily_bin1662.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/124977/ft2_4FGL_J2248.7-3235_daily_bin1662.fits
.....................!
real 12.50
user 12.08
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/124977/ft1_filtered_4FGL_J2248.7-3235_daily_bin1662.fits evtable="EVENTS" scfile=/scratch/kocevski/124977/ft2_4FGL_J2248.7-3235_daily_bin1662.fits sctable="SC_DATA" expcube=/scratch/kocevski/124977/ltcube_670118401_670377601_4FGL_J2248.7-3235_daily_bin1662.fits outfile=/scratch/kocevski/124977/expmap_670118401_670377601_4FGL_J2248.7-3235_daily_bin1662.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/124977/ltcube_670118401_670377601_4FGL_J2248.7-3235_daily_bin1662.fits
.....................!
real 192.20
user 186.71
sys 4.93

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/124977/ft1_filtered_4FGL_J2248.7-3235_daily_bin1662.fits scfile=/scratch/kocevski/124977/ft2_4FGL_J2248.7-3235_daily_bin1662.fits outfile=/scratch/kocevski/124977/cmap_670118401_670377601_4FGL_J2248.7-3235_daily_bin1662.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/124977/ft1_filtered_4FGL_J2248.7-3235_daily_bin1662.fits scfile=/scratch/kocevski/124977/ft2_4FGL_J2248.7-3235_daily_bin1662.fits outfile=/scratch/kocevski/124977/cmap_HighResolution_670118401_670377601_4FGL_J2248.7-3235_daily_bin1662.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.57
user 0.40
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2023       1.0000         .10000E-03   10000.    
     2 'Prefactor '    26.421       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    36.559       1.0000         .10000E-03   10000.    
     5 'Prefactor '    98.816       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.4131       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11424E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.1518       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    33.543       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.864       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .53581E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .32612       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .62591E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10098E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    13.682       1.0000         .10000E-03   10000.    
    21 'Prefactor '    28.396       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .75714       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.4795       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .44714       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=   5401.661     FROM MIGRAD    STATUS=CONVERGED    575 CALLS     2987 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2023        .41199        .87339E-08   -.74640E-04
   2  Prefactor     26.417        20.029        .17025E-06   -.26361E-04
   3  Prefactor     .10000E-03    4.7894        .13438E-06** at limit **
   4  norm          36.550        22.545        .12279E-07   -.53057E-04
   5  Prefactor     98.867        57.829        .61006E-06    .48118E-04
   6  Prefactor     3.4246        49.308        .13581E-05   -.51637E-05
   7  Prefactor     .10000E-03    9.3295       -.80309E-07** at limit **
   8  Prefactor     .10000E-03    56.315        .34395E-05** at limit **
   9  norm          3.1525        2.4015       -.66838E-08   -.23169E-03
  10  Prefactor     .10000E-03    45.941       -.67919E-07** at limit **
  11  Prefactor     33.551        16.692       -.20399E-06   -.14685E-03
  12  Prefactor     .10000E-03    2.2410        .17153E-06** at limit **
  13  norm          .10000E-03    2.0663        .20268E-06** at limit **
  14  Prefactor     10.890        12.646       -.81273E-06   -.39510E-03
  15  Prefactor     .10001E-03    4.9306        .15567E-05** at limit **
  16  norm          .32635        .37525       -.98279E-07   -.16164E-02
  17  Prefactor     .10000E-03    445.19       -.86585E-05** at limit **
  18  Prefactor     .10000E-03    3.7489        .21244E-07** at limit **
  19  norm          .10000E-03    3.5308       -.35138E-06** at limit **
  20  norm          13.678        8.3794        .54164E-07   -.33670E-04
  21  Prefactor     28.392        31.765       -.78268E-06   -.40538E-04
  22  Prefactor     .10000E-03    13.827       -.29117E-07** at limit **
  23  norm          .75995        3.3331        .14043E-05   -.33775E-04
  24  Normalizat    1.4797        .21806       -.24704E-05   -.84405E-04
  25  Prefactor     .44712        .19973        .21601E-05   -.16095E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.20231
  Prefactor  = 26.4171
  Prefactor  = 0.0001
  norm       = 36.5502
  Prefactor  = 98.8671
  Prefactor  = 3.42459
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.15253
  Prefactor  = 0.0001
  Prefactor  = 33.551
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.8902
  Prefactor  = 0.000100008
  norm       = 0.326354
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 13.6776
  Prefactor  = 28.3921
  Prefactor  = 0.0001
  norm       = 0.759951
  Normalizat = 1.47965
  Prefactor  = 0.44712
 **********
 **   18 **HESSE 
 **********

 FCN=   5401.661     FROM HESSE     STATUS=OK           427 CALLS     3414 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2023        .41343        .26823E-04   -1.5489    
   2  Prefactor     26.417        20.021        .77936E-04   -1.4680    
   3  Prefactor     .10000E-03    4.8353        .15704E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          36.550        22.538        .33141E-03   -1.4498    
   5  Prefactor     98.867        57.997        .20220E-03   -1.3716    
   6  Prefactor     3.4246        49.315        .21897E-03   -1.5338    
   7  Prefactor     .10000E-03    9.4171        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    56.500        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.1525        2.3983        .95212E-04   -1.5353    
  10  Prefactor     .10000E-03    46.070        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     33.551        16.864        .69190E-04   -1.4549    
  12  Prefactor     .10000E-03    2.2487        .10744E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.0909        .10313E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.890        12.447        .12155E-03   -1.5048    
  15  Prefactor     .10001E-03    18.532        .27965E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .32635        .36197        .44600E-03   -1.5594    
  17  Prefactor     .10000E-03    449.81        .42083E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.7594        .13892E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    3.6178        .26872E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          13.678        8.3857        .10829E-03   -1.4968    
  21  Prefactor     28.392        31.300        .75183E-04   -1.4642    
  22  Prefactor     .10000E-03    13.836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .75995        3.1853        .23867E-03   -1.5534    
  24  Normalizat    1.4797        .24678        .20941E-03   -.78352    
  25  Prefactor     .44712        .22728        .34582E-03   -1.1447    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.50224e-10
Minuit parameter uncertainties:
  1  0.413427
  2  20.0264
  3  6.38119e-06
  4  22.5428
  5  58.0301
  6  26.0164
  7  2.09679e-05
  8  0.000159783
  9  2.39832
  10  4.14388e-05
  11  16.8666
  12  1.43811e-06
  13  7.28852e-07
  14  12.45
  15  0.000783762
  16  0.361971
  17  8.39376e-05
  18  2.27508e-06
  19  3.4243e-05
  20  8.38647
  21  31.3183
  22  1.01399e-05
  23  3.11179
  24  0.246985
  25  0.227739
Done.

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

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  3.355e+01  1.687e+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:  4.471e-01  2.277e-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:  1.480e+00  2.470e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.98
Ra Dec: 342.193 -32.593
Photon Index (Fixed Index): 2.76 +/- 0.00
Photon Flux (Fixed Index): 1.19e-07 +/- 5.97e-08
Energy Flux (Fixed Index): 2.74e-05 +/- 1.37e-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) = 5401.30286591
delta logL = 0.358490514632

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5401.29728264
delta logL = 0.364073791261

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.859       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3905       1.0000          .0000       10.000    
     3 'Normalizat'    1.4300       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .48885       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=   5401.297     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      257 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.859        167.62        .21418E-02   -.96978E-04
   2  Index         3.3903        3.9360        .14029        .90244E-04
   3  Normalizat    1.4299        .83806E-01    .48019E-01    .25086E-05
   4  Prefactor     .48904        .84005E-01    .74948E-01    .35348E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.8589
  Index      = 3.39033
  Normalizat = 1.42986
  Prefactor  = 0.489041
 **********
 **   18 **HESSE 
 **********

 FCN=   5401.297     FROM HESSE     STATUS=OK            33 CALLS      290 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.859        24.993        .85671E-04   -1.4773    
   2  Index         3.3903        1.0590        .56031E-02   -.32777    
   3  Normalizat    1.4299        .24827        .21227E-03   -.79769    
   4  Prefactor     .48904        .23407        .33188E-03   -1.1248    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0832e-10
Minuit parameter uncertainties:
  1  25.0051
  2  1.06807
  3  0.248477
  4  0.234535
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/124977': 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) = 5401.29728197
delta logL = 0.364074455823

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  2.186e+01  2.501e+01  1.000e-04  1.000e+04 ( 1.000e-12)
312        Index:  3.390e+00  1.068e+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:  4.890e-01  2.345e-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:  1.430e+00  2.485e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.82
Ra Dec: 342.193 -32.593
Photon Index (Free Index): 3.39 +/- 1.07
Photon Flux (Free Index): 1.47e-07 +/- 7.05e-08
Energy Flux (Free Index): 2.52e-05 +/- 1.30e-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/124977/cmap_HighResolution_670118401_670377601_4FGL_J2248.7-3235_daily_bin1662.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.19e-07', energy_flux2='2.52e-05', photon_flux_error='5.97e-08', dlogl='3.64e-01', energy_flux='2.74e-05', photon_flux2='1.47e-07', job_status='DONE', time_completed='2022-03-31 00:47:23.562671', photon_index_error2='1.07', photon_index2='3.39', ts='5.98', fit_tolerance='1e-08', GAL='0.45', photon_index_error='0.00', energy_flux_error2='1.30e-05', EG='1.48', time_epoch_completed='1648712843.56', return_code='0', job_id='124977', GAL2='0.49', EG2='1.43', return_code2='0', energy_flux_error='1.37e-05', photon_flux_error2='7.05e-08', ts2='6.82', photon_index='2.76' WHERE bin_id='1662' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar 31 00:47:23 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 124977: <4FGL_J2248.7-3235_daily_bin1662> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1662> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Thu Mar 31 00:35:30 2022
Job was executed on host(s) <bullet0279>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar 31 00:35:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Mar 31 00:35:31 2022
Terminated at Thu Mar 31 00:47:24 2022
Results reported at Thu Mar 31 00:47:24 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1662 342.193 -32.5926 670118401 670377601 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 :                                   597.00 sec.
    Max Memory :                                 1222 MB
    Average Memory :                             285.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   712 sec.
    Turnaround time :                            714 sec.

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

