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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1383
RA = 342.193, Dec = -32.5926
tmin = 597801601, tmax = 598060801
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='476054', job_status='RUN', time_executed='2021-09-28 20:47:02.587871', time_epoch_executed='1632887222.59' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1383'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/476054

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/476054/ft1_4FGL_J2248.7-3235_daily_bin1383.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/476054/ft2_4FGL_J2248.7-3235_daily_bin1383.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/476054/ft1_4FGL_J2248.7-3235_daily_bin1383.fits outfile=/scratch/kocevski/476054/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1383.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=597801601.0 tmax=598060801.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.35
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/476054/ft1_filtered_4FGL_J2248.7-3235_daily_bin1383.fits" evtable="EVENTS" scfile=/scratch/kocevski/476054/ft2_4FGL_J2248.7-3235_daily_bin1383.fits sctable="SC_DATA" outfile=/scratch/kocevski/476054/ltcube_597801601_598060801_4FGL_J2248.7-3235_daily_bin1383.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/476054/ft2_4FGL_J2248.7-3235_daily_bin1383.fits
.....................!
real 11.73
user 11.36
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/476054/ft1_filtered_4FGL_J2248.7-3235_daily_bin1383.fits evtable="EVENTS" scfile=/scratch/kocevski/476054/ft2_4FGL_J2248.7-3235_daily_bin1383.fits sctable="SC_DATA" expcube=/scratch/kocevski/476054/ltcube_597801601_598060801_4FGL_J2248.7-3235_daily_bin1383.fits outfile=/scratch/kocevski/476054/expmap_597801601_598060801_4FGL_J2248.7-3235_daily_bin1383.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/476054/ltcube_597801601_598060801_4FGL_J2248.7-3235_daily_bin1383.fits
.....................!
real 191.59
user 185.36
sys 5.91

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/476054/ft1_filtered_4FGL_J2248.7-3235_daily_bin1383.fits scfile=/scratch/kocevski/476054/ft2_4FGL_J2248.7-3235_daily_bin1383.fits outfile=/scratch/kocevski/476054/cmap_597801601_598060801_4FGL_J2248.7-3235_daily_bin1383.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/476054/ft1_filtered_4FGL_J2248.7-3235_daily_bin1383.fits scfile=/scratch/kocevski/476054/ft2_4FGL_J2248.7-3235_daily_bin1383.fits outfile=/scratch/kocevski/476054/cmap_HighResolution_597801601_598060801_4FGL_J2248.7-3235_daily_bin1383.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.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/476054/ft1_filtered_4FGL_J2248.7-3235_daily_bin1383.fits evtable="EVENTS" scfile=/scratch/kocevski/476054/ft2_4FGL_J2248.7-3235_daily_bin1383.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/476054/Model_4FGL_J2248.7-3235_daily_bin1383.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/476054/ft1_filtered_4FGL_J2248.7-3235_daily_bin1383.fits.....................!
real 50.75
user 49.45
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7737       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .14334E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.6069       1.0000         .10000E-03   10000.    
     4 'norm      '    .13797E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .16714E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.449       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10504E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    30.637       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12463E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    4.8647       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.6163       1.0000         .10000E-03   10000.    
    16 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10665E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.0139       1.0000         .10000E-03   10000.    
    19 'norm      '    .10083E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    2.8427       1.0000         .10000E-03   10000.    
    21 'Prefactor '    19.355       1.0000         .10000E-03   10000.    
    22 'Prefactor '    7.2548       1.0000         .10000E-03   10000.    
    23 'norm      '    4.6697       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.2676       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .54928       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=   6878.913     FROM MIGRAD    STATUS=CONVERGED    101 CALLS     2445 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7737        .39482        .34341E-07   -.76011E-04
   2  Prefactor     .10216E-03    27.116        .80646E-05** at limit **
   3  Prefactor     1.6047        1.5906       -.35624E-05   -.53406E-03
   4  norm          .10189E-03    25.007        .13326E-04** at limit **
   5  Prefactor     .14328E-03    38.797       -.70094E-05** at limit **
   6  Prefactor     13.451        1.0094       -.10585E-06   -.67335E-05
   7  Prefactor     .10001E-03    6.1353       -.51770E-05** at limit **
   8  Prefactor     .10000E-03    5.3907       -.19952E-05** at limit **
   9  norm          .10001E-03    7.3423        .59322E-05** at limit **
  10  Prefactor     30.622        1.6507       -.39821E-06    .40680E-02
  11  Prefactor     .11444E-03    26.411        .16273E-04** at limit **
  12  Prefactor     .10000E-03    1.2703       -.26191E-05** at limit **
  13  norm          4.8647        3.0812       -.13502E-05   -.12145E-02
  14  Prefactor     .10000E-03    3.7069       -.22887E-05** at limit **
  15  Prefactor     2.6074        1.6717        .13269E-06    .15973E-02
  16  norm          .10000E-03    .69129       -.84745E-06** at limit **
  17  Prefactor     .10052E-03    21.573       -.11599E-05** at limit **
  18  Prefactor     4.0144        4.1180        .77500E-05    .40005E-02
  19  norm          .10000E-03    2.8791        .29655E-06** at limit **
  20  norm          2.8422        1.2202       -.15512E-05   -.11357E-02
  21  Prefactor     19.352        1.1244       -.21013E-06    .13684E-02
  22  Prefactor     7.2548        1.0040       -.26215E-07    .42449E-05
  23  norm          4.6682        3.4986        .46373E-06    .26847E-03
  24  Normalizat    1.2676        .17276       -.47044E-05   -.24381E-05
  25  Prefactor     .54935        .17028        .87482E-05    .88583E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 1.77373
  Prefactor  = 0.00010216
  Prefactor  = 1.60466
  norm       = 0.000101885
  Prefactor  = 0.000143281
  Prefactor  = 13.4505
  Prefactor  = 0.00010001
  Prefactor  = 0.000100002
  norm       = 0.000100006
  Prefactor  = 30.622
  Prefactor  = 0.000114439
  Prefactor  = 0.0001
  norm       = 4.86472
  Prefactor  = 0.0001
  Prefactor  = 2.60744
  norm       = 0.0001
  Prefactor  = 0.000100524
  Prefactor  = 4.01436
  norm       = 0.0001
  norm       = 2.84219
  Prefactor  = 19.352
  Prefactor  = 7.25482
  norm       = 4.66816
  Normalizat = 1.26764
  Prefactor  = 0.549349
 **********
 **   18 **HESSE 
 **********

 FCN=   6878.913     FROM HESSE     STATUS=OK           503 CALLS     2948 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7737        .39458        .54112E-02   -1.5442    
   2  Prefactor     .10216E-03    72.600        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.6047        4.8593        .83563E-02   -1.5455    
   4  norm          .10189E-03    27.206        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .14328E-03    14.712        .12443       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.451        13.564        .27305E-02   -1.4974    
   7  Prefactor     .10001E-03    6.1455        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    5.3864        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10001E-03    1.1303        .45094E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     30.622        37.514        .18097E-02   -1.4601    
  11  Prefactor     .11444E-03    5.8005        .90712E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    1.2693        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.8647        3.4435        .45595E-02   -1.5267    
  14  Prefactor     .10000E-03    3.7075        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.6074        6.9897        .63041E-02   -1.5385    
  16  norm          .10000E-03    .34599        .15118E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10052E-03    22.246        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.0144        4.5526        .50322E-02   -1.5307    
  19  norm          .10000E-03    2.8387        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.8422        4.1900        .60292E-02   -1.5371    
  21  Prefactor     19.352        43.585        .22760E-02   -1.4828    
  22  Prefactor     7.2548        15.462        .37229E-02   -1.5169    
  23  norm          4.6682        4.3639        .46558E-02   -1.5276    
  24  Normalizat    1.2676        .15795        .33412E-01   -.84538    
  25  Prefactor     .54935        .14962        .64082E-01   -1.0976    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29576e-06
Minuit parameter uncertainties:
  1  0.394582
  2  0.0250768
  3  4.86044
  4  0.01433
  5  0.0504802
  6  13.5673
  7  0.000497405
  8  0.000213212
  9  0.000169336
  10  37.5433
  11  0.0183052
  12  8.17497e-06
  13  3.44366
  14  1.55067e-05
  15  6.99189
  16  1.98174e-06
  17  0.00683195
  18  4.55299
  19  9.44345e-06
  20  4.19043
  21  43.6564
  22  15.4706
  23  4.36424
  24  0.158011
  25  0.149731
Done.

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

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  1.144e-04  1.831e-02  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.493e-01  1.497e-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.268e+00  1.580e-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: 7.77e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.14e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/476054/likelihoodResults_597801601_598060801_4FGL_J2248.7-3235_daily_bin1383.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) = 6878.91284793
delta logL = -7.1969475357e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6878.91263745
delta logL = 0.000138505302857

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35973E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.9928       1.0000          .0000       10.000    
     3 'Normalizat'    1.2677       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .54931       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=   6877.980     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      266 TOTAL
                     EDM=   .78E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .69099        7.7436        .98114E-02    .11392E-02
   2  Index         5.4383        3.4497        .21399        .93576E-04
   3  Normalizat    1.1907        .32770E-01    .33410E-01   -.86845E-04
   4  Prefactor     .59902        .32636E-01    .61588E-01   -.60785E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.690989
  Index      = 5.43832
  Normalizat = 1.19067
  Prefactor  = 0.599024
 **********
 **   18 **HESSE 
 **********

 FCN=   6877.980     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      297 TOTAL
                     EDM=   .47E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .69099        22.438        .53867E-04   -1.5542    
   2  Index         5.4383        7.7174        .74047E-02    .87778E-01
   3  Normalizat    1.1907        .15732        .20123E-03   -.86892    
   4  Prefactor     .59902        .15055        .27248E-03   -1.0763    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.71069e-07
Minuit parameter uncertainties:
  1  7.87782
  2  8.44753
  3  0.157383
  4  0.15065
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/476054': 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) = 6877.97988526
delta logL = 0.932890696065

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  6.910e-01  7.878e+00  1.000e-04  1.000e+04 ( 1.000e-12)
312        Index:  5.438e+00  8.448e+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:  5.990e-01  1.507e-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.191e+00  1.574e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.99
Ra Dec: 342.193 -32.593
Photon Index (Free Index): 5.44 +/- 8.45
Photon Flux (Free Index): 5.38e-08 +/- 5.45e-08
Energy Flux (Free Index): 6.93e-06 +/- 9.86e-06

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/476054/cmap_HighResolution_597801601_598060801_4FGL_J2248.7-3235_daily_bin1383.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.14e-03', comment='SUCCESS', energy_flux2='6.93e-06', dlogl='9.33e-01', photon_flux2='5.38e-08', job_status='DONE', time_completed='2021-09-28 20:59:17.271863', photon_index_error2='8.45', photon_index2='5.44', ts='-0.00', fit_tolerance='1e-08', GAL='0.55', photon_index_error='0.00', photon_flux_upper_limit='7.77e-08', energy_flux_error2='9.86e-06', EG='1.27', time_epoch_completed='1632887957.27', return_code='0', job_id='476054', GAL2='0.60', EG2='1.19', return_code2='102', photon_flux_error2='5.45e-08', ts2='1.99', photon_index='2.76' WHERE bin_id='1383' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 20:59:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0265>
Subject: Job 476054: <4FGL_J2248.7-3235_daily_bin1383> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1383> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 20:45:22 2021
Job was executed on host(s) <bullet0265>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 20:45:24 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:45:24 2021
Terminated at Tue Sep 28 20:59:18 2021
Results reported at Tue Sep 28 20:59:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1383 342.193 -32.5926 597801601 598060801 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 :                                   729.39 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             308.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   833 sec.
    Turnaround time :                            836 sec.

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

