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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1035
RA = 342.193, Dec = -32.5926
tmin = 507600001, tmax = 507859201
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='474488', job_status='RUN', time_executed='2021-09-28 20:42:26.613759', time_epoch_executed='1632886946.61' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1035'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/474488

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/474488/ft1_4FGL_J2248.7-3235_daily_bin1035.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/474488/ft2_4FGL_J2248.7-3235_daily_bin1035.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/474488/ft1_4FGL_J2248.7-3235_daily_bin1035.fits outfile=/scratch/kocevski/474488/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1035.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=507600001.0 tmax=507859201.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.59
user 3.36
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/474488/ft2_4FGL_J2248.7-3235_daily_bin1035.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/474488/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1035.fits evtable="EVENTS" outfile="/scratch/kocevski/474488/ft1_filtered_4FGL_J2248.7-3235_daily_bin1035.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.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/474488/ft1_filtered_4FGL_J2248.7-3235_daily_bin1035.fits" evtable="EVENTS" scfile=/scratch/kocevski/474488/ft2_4FGL_J2248.7-3235_daily_bin1035.fits sctable="SC_DATA" outfile=/scratch/kocevski/474488/ltcube_507600001_507859201_4FGL_J2248.7-3235_daily_bin1035.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/474488/ft2_4FGL_J2248.7-3235_daily_bin1035.fits
.....................!
real 13.09
user 12.75
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/474488/ft1_filtered_4FGL_J2248.7-3235_daily_bin1035.fits evtable="EVENTS" scfile=/scratch/kocevski/474488/ft2_4FGL_J2248.7-3235_daily_bin1035.fits sctable="SC_DATA" expcube=/scratch/kocevski/474488/ltcube_507600001_507859201_4FGL_J2248.7-3235_daily_bin1035.fits outfile=/scratch/kocevski/474488/expmap_507600001_507859201_4FGL_J2248.7-3235_daily_bin1035.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/474488/ltcube_507600001_507859201_4FGL_J2248.7-3235_daily_bin1035.fits
.....................!
real 190.87
user 185.26
sys 5.19

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/474488/ft1_filtered_4FGL_J2248.7-3235_daily_bin1035.fits scfile=/scratch/kocevski/474488/ft2_4FGL_J2248.7-3235_daily_bin1035.fits outfile=/scratch/kocevski/474488/cmap_507600001_507859201_4FGL_J2248.7-3235_daily_bin1035.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/474488/ft1_filtered_4FGL_J2248.7-3235_daily_bin1035.fits scfile=/scratch/kocevski/474488/ft2_4FGL_J2248.7-3235_daily_bin1035.fits outfile=/scratch/kocevski/474488/cmap_HighResolution_507600001_507859201_4FGL_J2248.7-3235_daily_bin1035.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.56
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/474488/ft1_filtered_4FGL_J2248.7-3235_daily_bin1035.fits evtable="EVENTS" scfile=/scratch/kocevski/474488/ft2_4FGL_J2248.7-3235_daily_bin1035.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/474488/Model_4FGL_J2248.7-3235_daily_bin1035.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/474488/ft1_filtered_4FGL_J2248.7-3235_daily_bin1035.fits.....................!
real 53.08
user 51.70
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8136       1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.326       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10134E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    23.580       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.5098       1.0000         .10000E-03   10000.    
     9 'norm      '    1.7001       1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.897       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.3945       1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.523       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .17649E-02   1.0000         .10000E-03   10000.    
    16 'norm      '    1.0434       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.7803       1.0000         .10000E-03   10000.    
    19 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    25.076       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .23928E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    12.732       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.3187       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .51070       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=   7095.269     FROM MIGRAD    STATUS=CONVERGED    591 CALLS     2544 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8137        .47864       -.52341E-08    .12604E-03
   2  Prefactor     12.327        11.900       -.10300E-06   -.22546E-04
   3  Prefactor     .10000E-03    4.7079       -.15495E-07** at limit **
   4  norm          .10000E-03    9.0537        .32719E-05** at limit **
   5  Prefactor     .10000E-03    11.043       -.40956E-05** at limit **
   6  Prefactor     23.581        17.510       -.44037E-06   -.42702E-06
   7  Prefactor     .10000E-03    5.3484        .25486E-06** at limit **
   8  Prefactor     9.5129        17.353       -.14362E-05   -.24552E-04
   9  norm          1.7004        1.6478        .76357E-06   -.15793E-03
  10  Prefactor     14.879        34.855       -.15969E-04   -.14636E-03
  11  Prefactor     .10000E-03    8.3833       -.19076E-05** at limit **
  12  Prefactor     .10000E-03    2.5807       -.17208E-07** at limit **
  13  norm          1.3938        2.3576       -.23662E-06   -.11666E-02
  14  Prefactor     15.504        13.291       -.24254E-06   -.95650E-03
  15  Prefactor     .10008E-03    4.6353        .20860E-05** at limit **
  16  norm          1.0429        .59035       -.99804E-07   -.50431E-02
  17  Prefactor     .10000E-03    19.794       -.33745E-05** at limit **
  18  Prefactor     6.7727        9.3942        .54030E-06   -.87056E-03
  19  norm          .10001E-03    3.3401        .99545E-06** at limit **
  20  norm          25.077        10.508       -.19298E-06   -.49262E-04
  21  Prefactor     .10000E-03    115.00        .13486E-05** at limit **
  22  Prefactor     .10000E-03    35.716        .12086E-05** at limit **
  23  norm          12.729        5.5161       -.54314E-06   -.72143E-03
  24  Normalizat    1.3184        .16612        .11746E-05   -.61103E-03
  25  Prefactor     .51093        .15793       -.32433E-06   -.23362E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.81366
  Prefactor  = 12.3267
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.5812
  Prefactor  = 0.0001
  Prefactor  = 9.51287
  norm       = 1.7004
  Prefactor  = 14.8789
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.39377
  Prefactor  = 15.5043
  Prefactor  = 0.000100081
  norm       = 1.04293
  Prefactor  = 0.0001
  Prefactor  = 6.77267
  norm       = 0.000100006
  norm       = 25.077
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.7293
  Normalizat = 1.31839
  Prefactor  = 0.510933
 **********
 **   18 **HESSE 
 **********

 FCN=   7095.269     FROM HESSE     STATUS=OK           429 CALLS     2973 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8137        .47915        .23325E-04   -1.5372    
   2  Prefactor     12.327        11.899        .11410E-03   -1.5006    
   3  Prefactor     .10000E-03    4.7679        .17836E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    9.0565        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.990        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     23.581        17.524        .82490E-04   -1.4736    
   7  Prefactor     .10000E-03    5.4243        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     9.5129        17.346        .12995E-03   -1.5091    
   9  norm          1.7004        1.6453        .96572E-04   -1.5447    
  10  Prefactor     14.879        34.757        .10377E-03   -1.4936    
  11  Prefactor     .10000E-03    8.4903        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.5959        .13213E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.3938        2.3133        .15845E-03   -1.5472    
  14  Prefactor     15.504        12.792        .10166E-03   -1.4920    
  15  Prefactor     .10008E-03    22.509        .28587E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.0429        .57639        .41156E-04   -1.5504    
  17  Prefactor     .10000E-03    19.768        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.7727        9.1278        .15409E-03   -1.5187    
  19  norm          .10001E-03    11.874        .28440E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          25.077        10.524        .79995E-04   -1.4706    
  21  Prefactor     .10000E-03    115.95        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    35.808        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          12.729        5.2721        .11226E-03   -1.4994    
  24  Normalizat    1.3184        .19653        .21075E-03   -.83019    
  25  Prefactor     .51093        .18601        .31683E-03   -1.1148    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.57002e-09
Minuit parameter uncertainties:
  1  0.479151
  2  11.9014
  3  6.4695e-06
  4  1.17587e-05
  5  6.87877e-07
  6  17.5275
  7  4.87471e-05
  8  17.355
  9  1.64532
  10  34.8041
  11  7.14264e-06
  12  1.59474e-06
  13  2.31346
  14  12.7944
  15  0.00270942
  16  0.576398
  17  3.86433e-06
  18  9.12965
  19  0.000548707
  20  10.5248
  21  0.000432948
  22  3.06166e-05
  23  5.27224
  24  0.196646
  25  0.186227
Done.

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

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  1.000e-04  7.143e-06  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:  5.109e-01  1.862e-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.318e+00  1.966e-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: 6.79e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.37e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/474488/likelihoodResults_507600001_507859201_4FGL_J2248.7-3235_daily_bin1035.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) = 7095.26958591
delta logL = -0.000561317310712

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7095.26902469
delta logL = -9.72395355348e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7544       1.0000          .0000       10.000    
     3 'Normalizat'    1.3183       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .51100       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=   7095.269     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      246 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10031E-03    261.23        .18142E-02** at limit **
   2  Index         2.7170        7.6124        .50000        .51495E-05
   3  Normalizat    1.3184        .22097E-01    .21075E-03    .15039E-04
   4  Prefactor     .51093        .21657E-01    .31683E-03    .12774E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100314
  Index      = 2.71701
  Normalizat = 1.31839
  Prefactor  = 0.510931
 **********
 **   18 **HESSE 
 **********

 FCN=   7095.269     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      275 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10031E-03    991.79        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7170        8.0404        .50000       -.47417    
   3  Normalizat    1.3184        .50318E-01    .42151E-04   -.83019    
   4  Prefactor     .51093        .49313E-01    .12673E-04   -1.1148    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.46857e-08
Minuit parameter uncertainties:
  1  0.0359088
  2  1754.9
  3  0.05032
  4  0.0493168
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/474488': 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): 102
logL (Free Index) = 7095.26902455
delta logL = 4.28472048952e-08

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  1.003e-04  3.591e-02  1.000e-04  1.000e+04 ( 1.000e-12)
312        Index:  2.717e+00  1.755e+03  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:  5.109e-01  4.932e-02  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.318e+00  5.032e-02  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/474488/cmap_HighResolution_507600001_507859201_4FGL_J2248.7-3235_daily_bin1035.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.37e-03', job_status='DONE', photon_flux_upper_limit='6.79e-08', time_completed='2021-09-28 20:54:42.162884', job_id='474488', GAL2='0.51', fit_tolerance='1e-08', EG2='1.32', EG='1.32', time_epoch_completed='1632887682.16', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.51', dlogl='4.28e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='1035' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 20:54:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0304>
Subject: Job 474488: <4FGL_J2248.7-3235_daily_bin1035> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1035> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 20:40:52 2021
Job was executed on host(s) <bullet0304>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 20:40:53 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:40:53 2021
Terminated at Tue Sep 28 20:54:42 2021
Results reported at Tue Sep 28 20:54:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1035 342.193 -32.5926 507600001 507859201 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 :                                   730.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             307.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   829 sec.
    Turnaround time :                            830 sec.

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

