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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1142
RA = 342.193, Dec = -32.5926
tmin = 535334401, tmax = 535593601
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='474651', job_status='RUN', time_executed='2021-09-28 20:41:53.489244', time_epoch_executed='1632886913.49' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1142'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/474651

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/474651/ft1_4FGL_J2248.7-3235_daily_bin1142.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/474651/ft2_4FGL_J2248.7-3235_daily_bin1142.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/474651/ft1_4FGL_J2248.7-3235_daily_bin1142.fits outfile=/scratch/kocevski/474651/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1142.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=535334401.0 tmax=535593601.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 5.14
user 4.89
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/474651/ft2_4FGL_J2248.7-3235_daily_bin1142.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/474651/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1142.fits evtable="EVENTS" outfile="/scratch/kocevski/474651/ft1_filtered_4FGL_J2248.7-3235_daily_bin1142.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.50
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/474651/ft1_filtered_4FGL_J2248.7-3235_daily_bin1142.fits" evtable="EVENTS" scfile=/scratch/kocevski/474651/ft2_4FGL_J2248.7-3235_daily_bin1142.fits sctable="SC_DATA" outfile=/scratch/kocevski/474651/ltcube_535334401_535593601_4FGL_J2248.7-3235_daily_bin1142.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/474651/ft2_4FGL_J2248.7-3235_daily_bin1142.fits
.....................!
real 11.79
user 11.42
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/474651/ft1_filtered_4FGL_J2248.7-3235_daily_bin1142.fits evtable="EVENTS" scfile=/scratch/kocevski/474651/ft2_4FGL_J2248.7-3235_daily_bin1142.fits sctable="SC_DATA" expcube=/scratch/kocevski/474651/ltcube_535334401_535593601_4FGL_J2248.7-3235_daily_bin1142.fits outfile=/scratch/kocevski/474651/expmap_535334401_535593601_4FGL_J2248.7-3235_daily_bin1142.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/474651/ltcube_535334401_535593601_4FGL_J2248.7-3235_daily_bin1142.fits
.....................!
real 190.50
user 185.27
sys 4.86

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/474651/ft1_filtered_4FGL_J2248.7-3235_daily_bin1142.fits scfile=/scratch/kocevski/474651/ft2_4FGL_J2248.7-3235_daily_bin1142.fits outfile=/scratch/kocevski/474651/cmap_535334401_535593601_4FGL_J2248.7-3235_daily_bin1142.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/474651/ft1_filtered_4FGL_J2248.7-3235_daily_bin1142.fits scfile=/scratch/kocevski/474651/ft2_4FGL_J2248.7-3235_daily_bin1142.fits outfile=/scratch/kocevski/474651/cmap_HighResolution_535334401_535593601_4FGL_J2248.7-3235_daily_bin1142.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=342.193 yref=-32.5926 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/474651/ft1_filtered_4FGL_J2248.7-3235_daily_bin1142.fits evtable="EVENTS" scfile=/scratch/kocevski/474651/ft2_4FGL_J2248.7-3235_daily_bin1142.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/474651/Model_4FGL_J2248.7-3235_daily_bin1142.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/474651/ft1_filtered_4FGL_J2248.7-3235_daily_bin1142.fits.....................!
real 49.49
user 48.10
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5169       1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.289       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.8601       1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.707       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.2394       1.0000         .10000E-03   10000.    
    10 'Prefactor '    35.063       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.6228       1.0000         .10000E-03   10000.    
    13 'norm      '    .10121E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    22.849       1.0000         .10000E-03   10000.    
    16 'norm      '    4.1118       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    17.681       1.0000         .10000E-03   10000.    
    19 'norm      '    .43525       1.0000         .10000E-03   10000.    
    20 'norm      '    10.940       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10300E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10312E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .82326       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1153       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=   6533.954     FROM MIGRAD    STATUS=CONVERGED    554 CALLS     2861 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5169        .50242       -.15715E-08   -.21338E-03
   2  Prefactor     11.284        21.733        .78936E-06   -.37702E-04
   3  Prefactor     2.8595        5.3303        .32201E-05   -.32703E-03
   4  norm          .10000E-03    20.073       -.54195E-07** at limit **
   5  Prefactor     .10000E-03    12.226        .25778E-06** at limit **
   6  Prefactor     .10000E-03    7.3885        .20119E-06** at limit **
   7  Prefactor     10.706        10.921        .19244E-06   -.34682E-04
   8  Prefactor     .10000E-03    8.6930       -.12954E-06** at limit **
   9  norm          1.2395        1.5908        .82796E-07    .14303E-03
  10  Prefactor     35.066        46.090       -.83498E-08   -.50411E-04
  11  Prefactor     .10000E-03    8.5784        .28893E-06** at limit **
  12  Prefactor     3.6227        4.9003        .14948E-05   -.22223E-03
  13  norm          .10000E-03    3.1537        .17859E-05** at limit **
  14  Prefactor     .10000E-03    5.0018        .15589E-06** at limit **
  15  Prefactor     22.857        17.011       -.59776E-06   -.76276E-03
  16  norm          4.1126        1.3123       -.56577E-07   -.37099E-02
  17  Prefactor     .10000E-03    12.577        .25281E-06** at limit **
  18  Prefactor     17.672        16.580        .90145E-06   -.23147E-03
  19  norm          .43244        6.3879        .18670E-05    .10898E-03
  20  norm          10.939        8.8691        .35586E-06   -.84127E-04
  21  Prefactor     .10000E-03    18.827       -.74103E-06** at limit **
  22  Prefactor     .10000E-03    23.986        .53690E-06** at limit **
  23  norm          .10000E-03    2.5611       -.32503E-06** at limit **
  24  Normalizat    .82350        .18816       -.30035E-05   -.25524E-03
  25  Prefactor     1.1151        .18648        .14658E-05   -.59524E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.51693
  Prefactor  = 11.2837
  Prefactor  = 2.85948
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.7058
  Prefactor  = 0.0001
  norm       = 1.23951
  Prefactor  = 35.0662
  Prefactor  = 0.0001
  Prefactor  = 3.62267
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.8572
  norm       = 4.1126
  Prefactor  = 0.0001
  Prefactor  = 17.6715
  norm       = 0.432445
  norm       = 10.939
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.823499
  Prefactor  = 1.11507
 **********
 **   18 **HESSE 
 **********

 FCN=   6533.954     FROM HESSE     STATUS=OK           427 CALLS     3288 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5169        .50335        .24775E-04   -1.5391    
   2  Prefactor     11.284        21.740        .11924E-03   -1.5036    
   3  Prefactor     2.8595        5.3978        .12019E-02   -1.5370    
   4  norm          .10000E-03    20.182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    12.224        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.3964        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.706        10.915        .12244E-03   -1.5053    
   8  Prefactor     .10000E-03    8.7133        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.2395        1.5684        .10667E-03   -1.5485    
  10  Prefactor     35.066        45.862        .67677E-04   -1.4523    
  11  Prefactor     .10000E-03    8.6550        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.6227        4.9197        .10117E-02   -1.5327    
  13  norm          .10000E-03    9.5415        .26122E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.0052        .17657E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     22.857        17.099        .83797E-04   -1.4751    
  16  norm          4.1126        1.3140        .19880E-04   -1.5302    
  17  Prefactor     .10000E-03    12.573        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     17.672        16.587        .95251E-04   -1.4867    
  19  norm          .43244        6.5935        .39347E-03   -1.5576    
  20  norm          10.939        8.8747        .60563E-03   -1.5046    
  21  Prefactor     .10000E-03    18.857        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    23.987        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    2.6276        .25023E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .82350        .22503        .27663E-03   -.99203    
  25  Prefactor     1.1151        .22705        .24788E-03   -.88986    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.76736e-10
Minuit parameter uncertainties:
  1  0.503354
  2  21.7557
  3  5.39876
  4  0.000165765
  5  3.34597e-05
  6  1.41932e-05
  7  10.9166
  8  2.57378e-05
  9  1.56844
  10  45.9077
  11  0.000111003
  12  4.92029
  13  1.48626e-05
  14  2.75104e-05
  15  17.1025
  16  1.31399
  17  2.94863e-05
  18  16.5916
  19  3.37722
  20  8.87573
  21  1.19046e-05
  22  0.000110292
  23  3.85214e-05
  24  0.225284
  25  0.227246
Done.

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

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  1.000e-04  1.110e-04  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.115e+00  2.272e-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:  8.235e-01  2.253e-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: 8.20e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.48e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/474651/likelihoodResults_535334401_535593601_4FGL_J2248.7-3235_daily_bin1142.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) = 6533.95456468
delta logL = -0.000550618432499

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6533.95401429
delta logL = -2.19913090405e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10112E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7666       1.0000          .0000       10.000    
     3 'Normalizat'    .82340       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1152       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=   6533.954     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      242 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10029E-03    317.73        .18142E-02** at limit **
   2  Index         2.8065        5.0494        .50000       -.44036E-05
   3  Normalizat    .82350        .26997E-01    .27664E-03    .21576E-04
   4  Prefactor     1.1151        .27866E-01    .24788E-03    .19996E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100294
  Index      = 2.80655
  Normalizat = 0.823503
  Prefactor  = 1.11507
 **********
 **   18 **HESSE 
 **********

 FCN=   6533.954     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      271 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10029E-03    1239.1        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8065        5.2686        .50000       -.45414    
   3  Normalizat    .82350        .66878E-01    .11065E-04   -.99203    
   4  Prefactor     1.1151        .69028E-01    .99153E-05   -.88986    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.42667e-08
Minuit parameter uncertainties:
  1  0.0390018
  2  2286.23
  3  0.0668842
  4  0.069034
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/474651': 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) = 6533.95401403
delta logL = 3.51055859937e-08

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  1.003e-04  3.900e-02  1.000e-04  1.000e+04 ( 1.000e-12)
312        Index:  2.807e+00  2.286e+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:  1.115e+00  6.903e-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:  8.235e-01  6.688e-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 -2.355e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.614e-03 [aplpy.core]
Saving /scratch/kocevski/474651/cmap_HighResolution_535334401_535593601_4FGL_J2248.7-3235_daily_bin1142.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.48e-03', job_status='DONE', photon_flux_upper_limit='8.20e-08', time_completed='2021-09-28 20:54:21.273827', job_id='474651', GAL2='1.12', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1632887661.27', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='3.51e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='1142' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 20:54:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 474651: <4FGL_J2248.7-3235_daily_bin1142> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1142> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 20:41:07 2021
Job was executed on host(s) <bullet0211>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 20:41:09 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:09 2021
Terminated at Tue Sep 28 20:54:22 2021
Results reported at Tue Sep 28 20:54:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1142 342.193 -32.5926 535334401 535593601 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 :                                   732.12 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             360.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   792 sec.
    Turnaround time :                            795 sec.

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

