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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1036
RA = 342.193, Dec = -32.5926
tmin = 507859201, tmax = 508118401
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='474489', job_status='RUN', time_executed='2021-09-28 20:42:57.146190', time_epoch_executed='1632886977.15' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1036'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/474489

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/474489/ft1_4FGL_J2248.7-3235_daily_bin1036.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/474489/ft2_4FGL_J2248.7-3235_daily_bin1036.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/474489/ft1_4FGL_J2248.7-3235_daily_bin1036.fits outfile=/scratch/kocevski/474489/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1036.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=507859201.0 tmax=508118401.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 4.17
user 3.94
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/474489/ft2_4FGL_J2248.7-3235_daily_bin1036.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/474489/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1036.fits evtable="EVENTS" outfile="/scratch/kocevski/474489/ft1_filtered_4FGL_J2248.7-3235_daily_bin1036.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.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/474489/ft1_filtered_4FGL_J2248.7-3235_daily_bin1036.fits" evtable="EVENTS" scfile=/scratch/kocevski/474489/ft2_4FGL_J2248.7-3235_daily_bin1036.fits sctable="SC_DATA" outfile=/scratch/kocevski/474489/ltcube_507859201_508118401_4FGL_J2248.7-3235_daily_bin1036.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/474489/ft2_4FGL_J2248.7-3235_daily_bin1036.fits
.....................!
real 11.65
user 11.28
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/474489/ft1_filtered_4FGL_J2248.7-3235_daily_bin1036.fits evtable="EVENTS" scfile=/scratch/kocevski/474489/ft2_4FGL_J2248.7-3235_daily_bin1036.fits sctable="SC_DATA" expcube=/scratch/kocevski/474489/ltcube_507859201_508118401_4FGL_J2248.7-3235_daily_bin1036.fits outfile=/scratch/kocevski/474489/expmap_507859201_508118401_4FGL_J2248.7-3235_daily_bin1036.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/474489/ltcube_507859201_508118401_4FGL_J2248.7-3235_daily_bin1036.fits
.....................!
real 189.73
user 185.07
sys 4.26

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/474489/ft1_filtered_4FGL_J2248.7-3235_daily_bin1036.fits scfile=/scratch/kocevski/474489/ft2_4FGL_J2248.7-3235_daily_bin1036.fits outfile=/scratch/kocevski/474489/cmap_507859201_508118401_4FGL_J2248.7-3235_daily_bin1036.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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/474489/ft1_filtered_4FGL_J2248.7-3235_daily_bin1036.fits scfile=/scratch/kocevski/474489/ft2_4FGL_J2248.7-3235_daily_bin1036.fits outfile=/scratch/kocevski/474489/cmap_HighResolution_507859201_508118401_4FGL_J2248.7-3235_daily_bin1036.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/474489/ft1_filtered_4FGL_J2248.7-3235_daily_bin1036.fits evtable="EVENTS" scfile=/scratch/kocevski/474489/ft2_4FGL_J2248.7-3235_daily_bin1036.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/474489/Model_4FGL_J2248.7-3235_daily_bin1036.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/474489/ft1_filtered_4FGL_J2248.7-3235_daily_bin1036.fits.....................!
real 50.09
user 48.76
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0585       1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.115       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    30.609       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    28.424       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    18.629       1.0000         .10000E-03   10000.    
     9 'norm      '    2.1982       1.0000         .10000E-03   10000.    
    10 'Prefactor '    19.105       1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.266       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    10.545       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.1122       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    47.634       1.0000         .10000E-03   10000.    
    21 'Prefactor '    106.63       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .55923       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .72791       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1913       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=   6501.294     FROM MIGRAD    STATUS=CONVERGED    582 CALLS     2983 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0585        .48047        .13124E-07    .12946E-03
   2  Prefactor     11.114        11.928        .10976E-06    .43849E-04
   3  Prefactor     .10000E-03    1.6592        .31774E-07** at limit **
   4  norm          30.607        19.531       -.97262E-06    .15275E-03
   5  Prefactor     .10000E-03    10.250        .77284E-05** at limit **
   6  Prefactor     28.423        19.392       -.13581E-05    .11564E-04
   7  Prefactor     .10053E-03    7.5327       -.49673E-05** at limit **
   8  Prefactor     18.633        24.589        .42891E-05    .26131E-04
   9  norm          2.1981        2.0039       -.47129E-06    .69126E-03
  10  Prefactor     19.110        46.184        .10094E-04    .35543E-03
  11  Prefactor     12.267        10.170        .14185E-06    .53897E-04
  12  Prefactor     .10000E-03    7.7760       -.29399E-05** at limit **
  13  norm          10.545        4.4258        .97676E-06    .30596E-03
  14  Prefactor     .10000E-03    5.2258        .26528E-06** at limit **
  15  Prefactor     1.1110        .78904        .87179E-07   -.86945E-03
  16  norm          .10000E-03    .15509       -.90617E-07** at limit **
  17  Prefactor     .10000E-03    14.371       -.10891E-04** at limit **
  18  Prefactor     .10000E-03    4.3211       -.20417E-06** at limit **
  19  norm          .10000E-03    1.9333        .19241E-07** at limit **
  20  norm          47.634        13.340       -.16888E-07   -.18592E-04
  21  Prefactor     106.63        64.951        .22032E-05    .22840E-03
  22  Prefactor     .10000E-03    26.327        .22422E-04** at limit **
  23  norm          .56146        6.0170       -.13018E-05    .16708E-03
  24  Normalizat    .72776        .17978       -.10674E-05    .58167E-03
  25  Prefactor     1.1915        .17692        .21259E-07    .51251E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.05848
  Prefactor  = 11.1141
  Prefactor  = 0.0001
  norm       = 30.6071
  Prefactor  = 0.0001
  Prefactor  = 28.4227
  Prefactor  = 0.000100533
  Prefactor  = 18.633
  norm       = 2.19808
  Prefactor  = 19.11
  Prefactor  = 12.2668
  Prefactor  = 0.0001
  norm       = 10.5455
  Prefactor  = 0.0001
  Prefactor  = 1.11097
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 47.6343
  Prefactor  = 106.631
  Prefactor  = 0.0001
  norm       = 0.561461
  Normalizat = 0.727757
  Prefactor  = 1.19148
 **********
 **   18 **HESSE 
 **********

 FCN=   6501.294     FROM HESSE     STATUS=OK           421 CALLS     3404 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0585        .48108        .26109E-04   -1.5421    
   2  Prefactor     11.114        11.936        .60085E-03   -1.5041    
   3  Prefactor     .10000E-03    1.6638        .10142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          30.607        19.524        .72420E-04   -1.4601    
   5  Prefactor     .10000E-03    10.229        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     28.423        19.394        .75145E-04   -1.4641    
   7  Prefactor     .10053E-03    34.527        .39500E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     18.633        24.653        .92796E-04   -1.4844    
   9  norm          2.1981        2.0059        .96662E-04   -1.5411    
  10  Prefactor     19.110        45.205        .91632E-04   -1.4833    
  11  Prefactor     12.267        10.193        .11438E-03   -1.5007    
  12  Prefactor     .10000E-03    8.0519        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          10.545        4.6956        .10525E-03   -1.5058    
  14  Prefactor     .10000E-03    5.2346        .17996E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.1110        9.2465        .20956E-02   -1.5497    
  16  norm          .10000E-03    .16020        .61854E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    14.347        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.3431        .16365E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.9353        .10944E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          47.634        13.345        .58098E-04   -1.4327    
  21  Prefactor     106.63        61.184        .38945E-04   -1.3639    
  22  Prefactor     .10000E-03    26.219        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .56146        10.903        .28118E-02   -1.5558    
  24  Normalizat    .72776        .22064        .28706E-03   -1.0281    
  25  Prefactor     1.1915        .21585        .23690E-03   -.86594    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.99003e-08
Minuit parameter uncertainties:
  1  0.481079
  2  11.9387
  3  5.37784e-07
  4  19.5281
  5  5.65775e-06
  6  19.3986
  7  0.00858147
  8  24.6661
  9  2.00597
  10  45.2858
  11  10.1948
  12  9.52082e-06
  13  4.69574
  14  1.8761e-05
  15  6.41124
  16  1.84753e-06
  17  1.81509e-06
  18  1.4176e-05
  19  1.14242e-06
  20  13.3461
  21  61.2206
  22  2.52092e-07
  23  4.94891
  24  0.220911
  25  0.216011
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
574    Prefactor:  1.191e+00  2.160e-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:  7.278e-01  2.209e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.34
Ra Dec: 342.193 -32.593
Photon Index (Fixed Index): 2.76 +/- 0.00
Photon Flux (Fixed Index): 4.35e-08 +/- 3.61e-08
Energy Flux (Fixed Index): 1.00e-05 +/- 8.31e-06

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

Saving results to:
/scratch/kocevski/474489/likelihoodResults_507859201_508118401_4FGL_J2248.7-3235_daily_bin1036.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) = 6501.29332504
delta logL = 0.00034820494875

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6501.29325513
delta logL = 0.00041811772644

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.152       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7871       1.0000          .0000       10.000    
     3 'Normalizat'    .72677       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1921       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6501.293     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      273 TOTAL
                     EDM=   .26E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.131        11.463        .57457E-03    .48148E-04
   2  Index         2.7843        .81526        .10223E-01    .88474E-05
   3  Normalizat    .72703        .20805        .28719E-03    .12034E-04
   4  Prefactor     1.1920        .21309        .23686E-03    .15407E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.1306
  Index      = 2.78435
  Normalizat = 0.727027
  Prefactor  = 1.19203
 **********
 **   18 **HESSE 
 **********

 FCN=   6501.293     FROM HESSE     STATUS=OK            27 CALLS      300 TOTAL
                     EDM=   .31E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.131        11.130        .11491E-03   -1.5011    
   2  Index         2.7843        .79144        .40893E-03   -.45909    
   3  Normalizat    .72703        .20830        .11488E-04   -1.0284    
   4  Prefactor     1.1920        .21328        .94743E-05   -.86577    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.05803e-13
Minuit parameter uncertainties:
  1  11.1318
  2  0.795607
  3  0.208524
  4  0.213439
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/474489': 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) = 6501.2932417
delta logL = 0.000431540436693

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  1.213e+01  1.113e+01  1.000e-04  1.000e+04 ( 1.000e-12)
312        Index:  2.784e+00  7.956e-01  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.192e+00  2.134e-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:  7.270e-01  2.085e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.33
Ra Dec: 342.193 -32.593
Photon Index (Free Index): 2.78 +/- 0.80
Photon Flux (Free Index): 4.40e-08 +/- 3.93e-08
Energy Flux (Free Index): 9.94e-06 +/- 8.45e-06

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/474489/cmap_HighResolution_507859201_508118401_4FGL_J2248.7-3235_daily_bin1036.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.65e-03', comment='SUCCESS', photon_flux='4.35e-08', energy_flux2='9.94e-06', photon_flux_error='3.61e-08', dlogl='4.32e-04', energy_flux='1.00e-05', photon_flux2='4.40e-08', job_status='DONE', time_completed='2021-09-28 20:55:07.967219', photon_index_error2='0.80', photon_index2='2.78', ts='2.34', fit_tolerance='1e-08', GAL='1.19', photon_index_error='0.00', photon_flux_upper_limit='1.22e-07', energy_flux_error2='8.45e-06', EG='0.73', time_epoch_completed='1632887707.97', return_code='0', job_id='474489', GAL2='1.19', EG2='0.73', return_code2='0', energy_flux_error='8.31e-06', photon_flux_error2='3.93e-08', ts2='2.33', photon_index='2.76' WHERE bin_id='1036' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 20:55:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 474489: <4FGL_J2248.7-3235_daily_bin1036> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1036> 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) <bullet0035>, 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:55:08 2021
Results reported at Tue Sep 28 20:55:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1036 342.193 -32.5926 507859201 508118401 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 :                                   725.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             290.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   855 sec.
    Turnaround time :                            856 sec.

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

