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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin489
RA = 342.193, Dec = -32.5926
tmin = 366076801, tmax = 366336001
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='472648', job_status='RUN', time_executed='2021-09-28 20:37:51.247471', time_epoch_executed='1632886671.25' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='489'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/472648

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/472648/ft1_4FGL_J2248.7-3235_daily_bin489.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/472648/ft2_4FGL_J2248.7-3235_daily_bin489.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/472648/ft1_4FGL_J2248.7-3235_daily_bin489.fits outfile=/scratch/kocevski/472648/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin489.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=366076801.0 tmax=366336001.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.31
user 5.04
sys 0.25

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/472648/ft1_filtered_4FGL_J2248.7-3235_daily_bin489.fits" evtable="EVENTS" scfile=/scratch/kocevski/472648/ft2_4FGL_J2248.7-3235_daily_bin489.fits sctable="SC_DATA" outfile=/scratch/kocevski/472648/ltcube_366076801_366336001_4FGL_J2248.7-3235_daily_bin489.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/472648/ft2_4FGL_J2248.7-3235_daily_bin489.fits
.....................!
real 11.97
user 11.61
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/472648/ft1_filtered_4FGL_J2248.7-3235_daily_bin489.fits evtable="EVENTS" scfile=/scratch/kocevski/472648/ft2_4FGL_J2248.7-3235_daily_bin489.fits sctable="SC_DATA" expcube=/scratch/kocevski/472648/ltcube_366076801_366336001_4FGL_J2248.7-3235_daily_bin489.fits outfile=/scratch/kocevski/472648/expmap_366076801_366336001_4FGL_J2248.7-3235_daily_bin489.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/472648/ltcube_366076801_366336001_4FGL_J2248.7-3235_daily_bin489.fits
.....................!
real 191.02
user 185.72
sys 4.90

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/472648/ft1_filtered_4FGL_J2248.7-3235_daily_bin489.fits scfile=/scratch/kocevski/472648/ft2_4FGL_J2248.7-3235_daily_bin489.fits outfile=/scratch/kocevski/472648/cmap_366076801_366336001_4FGL_J2248.7-3235_daily_bin489.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.59
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/472648/ft1_filtered_4FGL_J2248.7-3235_daily_bin489.fits scfile=/scratch/kocevski/472648/ft2_4FGL_J2248.7-3235_daily_bin489.fits outfile=/scratch/kocevski/472648/cmap_HighResolution_366076801_366336001_4FGL_J2248.7-3235_daily_bin489.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .95436       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10174E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10123E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.8227       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10251E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.0404       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.1268       1.0000         .10000E-03   10000.    
    13 'norm      '    .44248E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    27.199       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10299E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.9368       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    11.362       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0410       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1391       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5770E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5682.796     FROM MIGRAD    STATUS=CONVERGED    106 CALLS     2411 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .95435        .36665       -.10865E-06   -.10238E-04
   2  Prefactor     .10042E-03    25.754       -.27238E-05** at limit **
   3  Prefactor     .10001E-03    4.6455        .29741E-05** at limit **
   4  norm          .10008E-03    7.7094        .72115E-05** at limit **
   5  Prefactor     .10017E-03    5.6899       -.29975E-05** at limit **
   6  Prefactor     .10000E-03    6.4452        .19519E-05** at limit **
   7  Prefactor     .10000E-03    6.5825        .49190E-05** at limit **
   8  Prefactor     .10007E-03    4.9294       -.10590E-05** at limit **
   9  norm          1.8228        2.2223        .19425E-05    .13468E-03
  10  Prefactor     .10004E-03    24.916       -.33201E-05** at limit **
  11  Prefactor     1.0414        1.2933       -.26332E-06   -.83784E-04
  12  Prefactor     6.1265        5.5083        .75198E-06   -.14595E-02
  13  norm          .12354E-03    318.88       -.67524E-04** at limit **
  14  Prefactor     27.289        11.247        .33889E-05    .97530E-02
  15  Prefactor     .10000E-03    6.7007       -.58639E-05** at limit **
  16  norm          3.9377        1.0852        .11371E-05    .71997E-03
  17  Prefactor     .10016E-03    6.2486        .11723E-05** at limit **
  18  Prefactor     .10000E-03    8.8143       -.51399E-05** at limit **
  19  norm          .10000E-03    8.3412        .28021E-05** at limit **
  20  norm          .10007E-03    4.8250       -.25268E-05** at limit **
  21  Prefactor     .10014E-03    7.0603       -.14200E-05** at limit **
  22  Prefactor     .10031E-03    17.686       -.75305E-05** at limit **
  23  norm          11.363        2.1534        .10878E-05    .86057E-02
  24  Normalizat    1.0410        .24777        .98434E-06    .25991E-04
  25  Prefactor     1.1391        .25172        .20344E-06    .34794E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.954349
  Prefactor  = 0.000100418
  Prefactor  = 0.000100007
  norm       = 0.000100081
  Prefactor  = 0.000100166
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.000100069
  norm       = 1.82277
  Prefactor  = 0.000100036
  Prefactor  = 1.04141
  Prefactor  = 6.12648
  norm       = 0.000123536
  Prefactor  = 27.2895
  Prefactor  = 0.000100002
  norm       = 3.93767
  Prefactor  = 0.000100159
  Prefactor  = 0.000100001
  norm       = 0.000100001
  norm       = 0.000100072
  Prefactor  = 0.000100138
  Prefactor  = 0.000100306
  norm       = 11.3633
  Normalizat = 1.04102
  Prefactor  = 1.1391
 **********
 **   18 **HESSE 
 **********

 FCN=   5682.796     FROM HESSE     STATUS=OK           485 CALLS     2896 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .95435        .36581        .62154E-02   -1.5513    
   2  Prefactor     .10042E-03    49.555        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10001E-03    12.352        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10008E-03    12.542        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10017E-03    13.620        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    19.262        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.5622        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10007E-03    17.416        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.8228        2.2451        .77316E-02   -1.5438    
  10  Prefactor     .10004E-03    50.100        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.0414        9.6545        .75298E-01   -1.5504    
  12  Prefactor     6.1265        5.5657        .40549E-02   -1.5213    
  13  norm          .12354E-03    4.2210        .77587E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     27.289        25.717        .19204E-02   -1.4663    
  15  Prefactor     .10000E-03    15.544        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.9377        1.2206        .50829E-03   -1.5311    
  17  Prefactor     .10016E-03    21.202        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    8.9068        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    8.1548        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10007E-03    16.624        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10014E-03    22.727        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10031E-03    25.498        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          11.363        6.0888        .29713E-02   -1.5034    
  24  Normalizat    1.0410        .20141        .59080E-01   -.91669    
  25  Prefactor     1.1391        .20060        .57489E-01   -.88226    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.09858e-07
Minuit parameter uncertainties:
  1  0.365812
  2  0.00911193
  3  0.000603251
  4  0.00201104
  5  0.00300401
  6  0.000584731
  7  7.4873e-05
  8  0.00219659
  9  2.24524
  10  0.00267023
  11  6.34276
  12  5.56614
  13  0.0199361
  14  25.7269
  15  0.000318093
  16  1.22065
  17  0.00367589
  18  0.000189852
  19  0.000130037
  20  0.00219081
  21  0.00353877
  22  0.00558695
  23  6.08912
  24  0.201553
  25  0.200734
Done.

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

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  1.041e+00  6.343e+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

GAL_V02
   Spectrum: PowerLaw
574    Prefactor:  1.139e+00  2.007e-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.041e+00  2.016e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 342.193 -32.593
Photon Flux Upper Limit: 1.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.00e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/472648/likelihoodResults_366076801_366336001_4FGL_J2248.7-3235_daily_bin489.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): 0
logL (Free Index) = 5682.79030219
delta logL = 0.00553501917602

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5682.79010964
delta logL = 0.00572756743804

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1889       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0455       1.0000          .0000       10.000    
     3 'Normalizat'    1.0392       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1402       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=   5682.790     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      297 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2246        20.115        .41800E-03    .13705E-03
   2  Index         3.0629        2.8280        .20248E-01    .39056E-04
   3  Normalizat    1.0383        .25069        .26158E-03    .49547E-05
   4  Prefactor     1.1407        .25145        .25407E-03   -.18077E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.22458
  Index      = 3.06291
  Normalizat = 1.0383
  Prefactor  = 1.14066
 **********
 **   18 **HESSE 
 **********

 FCN=   5682.790     FROM HESSE     STATUS=OK            25 CALLS      322 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2246        16.878        .16720E-04   -1.5487    
   2  Index         3.0629        2.6249        .80990E-03   -.39783    
   3  Normalizat    1.0383        .25100        .10463E-04   -.91758    
   4  Prefactor     1.1407        .25184        .10163E-04   -.88178    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.56664e-10
Minuit parameter uncertainties:
  1  9.0953
  2  2.79259
  3  0.251291
  4  0.252106
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/472648': 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) = 5682.79006713
delta logL = 0.0057700833604

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  1.225e+00  9.095e+00  1.000e-04  1.000e+04 ( 1.000e-12)
312        Index:  3.063e+00  2.793e+00  0.000e+00  1.000e+01 (-1.000e+00)
313        Scale:  4.468e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
574    Prefactor:  1.141e+00  2.521e-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.038e+00  2.513e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 342.193 -32.593

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/472648/cmap_HighResolution_366076801_366336001_4FGL_J2248.7-3235_daily_bin489.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.00e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2021-09-28 20:48:38.306382', job_id='472648', GAL2='1.14', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1632887318.31', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='5.77e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='489' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 20:48:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 472648: <4FGL_J2248.7-3235_daily_bin489> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin489> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 20:35:15 2021
Job was executed on host(s) <bullet0202>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 20:35:17 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:35:17 2021
Terminated at Tue Sep 28 20:48:39 2021
Results reported at Tue Sep 28 20:48:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin489 342.193 -32.5926 366076801 366336001 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 :                                   645.45 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             323.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   801 sec.
    Turnaround time :                            804 sec.

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

