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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1465
RA = 342.193, Dec = -32.5926
tmin = 619056001, tmax = 619315201
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='476182', job_status='RUN', time_executed='2021-09-28 20:47:56.599507', time_epoch_executed='1632887276.6' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1465'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/476182

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/476182/ft1_4FGL_J2248.7-3235_daily_bin1465.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/476182/ft2_4FGL_J2248.7-3235_daily_bin1465.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/476182/ft1_4FGL_J2248.7-3235_daily_bin1465.fits outfile=/scratch/kocevski/476182/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1465.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=619056001.0 tmax=619315201.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.60
user 3.40
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/476182/ft2_4FGL_J2248.7-3235_daily_bin1465.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/476182/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1465.fits evtable="EVENTS" outfile="/scratch/kocevski/476182/ft1_filtered_4FGL_J2248.7-3235_daily_bin1465.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/476182/ft1_filtered_4FGL_J2248.7-3235_daily_bin1465.fits" evtable="EVENTS" scfile=/scratch/kocevski/476182/ft2_4FGL_J2248.7-3235_daily_bin1465.fits sctable="SC_DATA" outfile=/scratch/kocevski/476182/ltcube_619056001_619315201_4FGL_J2248.7-3235_daily_bin1465.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/476182/ft2_4FGL_J2248.7-3235_daily_bin1465.fits
.....................!
real 11.73
user 11.36
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/476182/ft1_filtered_4FGL_J2248.7-3235_daily_bin1465.fits evtable="EVENTS" scfile=/scratch/kocevski/476182/ft2_4FGL_J2248.7-3235_daily_bin1465.fits sctable="SC_DATA" expcube=/scratch/kocevski/476182/ltcube_619056001_619315201_4FGL_J2248.7-3235_daily_bin1465.fits outfile=/scratch/kocevski/476182/expmap_619056001_619315201_4FGL_J2248.7-3235_daily_bin1465.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/476182/ltcube_619056001_619315201_4FGL_J2248.7-3235_daily_bin1465.fits
.....................!
real 190.77
user 185.11
sys 5.34

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/476182/ft1_filtered_4FGL_J2248.7-3235_daily_bin1465.fits scfile=/scratch/kocevski/476182/ft2_4FGL_J2248.7-3235_daily_bin1465.fits outfile=/scratch/kocevski/476182/cmap_619056001_619315201_4FGL_J2248.7-3235_daily_bin1465.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/476182/ft1_filtered_4FGL_J2248.7-3235_daily_bin1465.fits scfile=/scratch/kocevski/476182/ft2_4FGL_J2248.7-3235_daily_bin1465.fits outfile=/scratch/kocevski/476182/cmap_HighResolution_619056001_619315201_4FGL_J2248.7-3235_daily_bin1465.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=342.193 yref=-32.5926 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .25337       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .41586E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    90.858       1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.803       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    5.7702       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.3867       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .47730E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.171       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.4736       1.0000         .10000E-03   10000.    
    16 'norm      '    1.5575       1.0000         .10000E-03   10000.    
    17 'Prefactor '    62.081       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.7445       1.0000         .10000E-03   10000.    
    19 'norm      '    4.5797       1.0000         .10000E-03   10000.    
    20 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    15.703       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10268E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .11266E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0227       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1438       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=   4252.569     FROM MIGRAD    STATUS=CONVERGED    578 CALLS     2897 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .25337        .23728        .85633E-08    .24552E-04
   2  Prefactor     .10000E-03    11.447        .17737E-06** at limit **
   3  Prefactor     .10000E-03    13.182        .32593E-05** at limit **
   4  norm          .10000E-03    16.198        .34215E-06** at limit **
   5  Prefactor     90.803        63.070       -.15558E-06    .84544E-04
   6  Prefactor     14.799        23.349       -.33460E-06   -.78778E-05
   7  Prefactor     .10000E-03    21.627        .20996E-05** at limit **
   8  Prefactor     .10000E-03    10.524        .11887E-06** at limit **
   9  norm          5.7737        3.9655        .21253E-06    .21599E-03
  10  Prefactor     2.0872        920.98        .78875E-05   -.79906E-05
  11  Prefactor     .10009E-03    44.185        .96893E-05** at limit **
  12  Prefactor     .10000E-03    4.0670        .10721E-06** at limit **
  13  norm          .10000E-03    2.5673        .36032E-06** at limit **
  14  Prefactor     13.181        15.967        .16085E-06   -.47384E-04
  15  Prefactor     4.4632        19.303       -.89127E-06    .22624E-04
  16  norm          1.5577        1.0059        .40425E-07   -.14740E-03
  17  Prefactor     62.106        61.269        .64789E-07   -.40274E-04
  18  Prefactor     8.7455        22.819        .11286E-05   -.52988E-04
  19  norm          4.5639        5.9060        .72603E-06    .67702E-03
  20  norm          .10000E-03    8.0783        .76777E-07** at limit **
  21  Prefactor     15.690        46.245        .26512E-05    .16255E-03
  22  Prefactor     .10000E-03    22.294        .58506E-07** at limit **
  23  norm          .10001E-03    5.7244       -.30630E-05** at limit **
  24  Normalizat    1.0228        .26467        .10863E-05    .20045E-03
  25  Prefactor     1.1437        .24329       -.13587E-05   -.12671E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.253374
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 90.8029
  Prefactor  = 14.7993
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.77365
  Prefactor  = 2.08722
  Prefactor  = 0.00010009
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 13.1806
  Prefactor  = 4.46316
  norm       = 1.55768
  Prefactor  = 62.1056
  Prefactor  = 8.74547
  norm       = 4.56389
  norm       = 0.0001
  Prefactor  = 15.6897
  Prefactor  = 0.0001
  norm       = 0.000100009
  Normalizat = 1.02276
  Prefactor  = 1.14365
 **********
 **   18 **HESSE 
 **********

 FCN=   4252.569     FROM HESSE     STATUS=OK           429 CALLS     3326 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .25337        .24868        .29946E-03   -1.5607    
   2  Prefactor     .10000E-03    11.466        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    33.782        .39137E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    16.203        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     90.803        63.098        .21078E-03   -1.3799    
   6  Prefactor     14.799        23.282        .10410E-03   -1.4938    
   7  Prefactor     .10000E-03    21.436        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    10.531        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.7737        4.0700        .90265E-04   -1.5227    
  10  Prefactor     2.0872        1029.1        .26512E-02   -1.5419    
  11  Prefactor     .10009E-03    56.724        .38700E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.0790        .12843E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.5571        .10157E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     13.181        15.875        .11037E-03   -1.4982    
  15  Prefactor     4.4632        18.847        .19037E-03   -1.5285    
  16  norm          1.5577        1.0067        .43249E-04   -1.5458    
  17  Prefactor     62.106        61.262        .25463E-03   -1.4130    
  18  Prefactor     8.7455        22.343        .13555E-03   -1.5116    
  19  norm          4.5639        5.8439        .16561E-03   -1.5281    
  20  norm          .10000E-03    8.1672        .18103E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     15.690        45.642        .10107E-03   -1.4916    
  22  Prefactor     .10000E-03    22.300        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10001E-03    10.540        .26737E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.0228        .29976        .26847E-03   -.92272    
  25  Prefactor     1.1437        .28351        .25079E-03   -.88083    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.11571e-09
Minuit parameter uncertainties:
  1  0.248682
  2  2.69029e-05
  3  0.000114103
  4  2.51756e-05
  5  63.145
  6  23.2965
  7  7.82874e-05
  8  1.84591e-05
  9  4.07023
  10  94.3671
  11  0.00452973
  12  2.81181e-06
  13  2.85508e-05
  14  15.8803
  15  18.3528
  16  1.00675
  17  61.3245
  18  22.3648
  19  5.84462
  20  1.17284e-05
  21  45.7441
  22  5.3329e-06
  23  0.000632158
  24  0.300254
  25  0.283886
Done.

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

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  1.001e-04  4.530e-03  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.144e+00  2.839e-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.023e+00  3.003e-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: 1.23e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.72e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/476182/likelihoodResults_619056001_619315201_4FGL_J2248.7-3235_daily_bin1465.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) = 4252.56863854
delta logL = -8.30394428704e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4252.56855455
delta logL = 9.52471054916e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .88466E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.3815       1.0000          .0000       10.000    
     3 'Normalizat'    1.0228       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1437       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=   4252.569     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      309 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .71656E-03    1.7042        .53506E-01** at limit **
   2  Index         3.5387        6.7097        .50000       -.33632E-05
   3  Normalizat    1.0227        .23420E-02    .26845E-03   -.32609E-04
   4  Prefactor     1.1437        .23088E-02    .25080E-03   -.36128E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000716564
  Index      = 3.53874
  Normalizat = 1.02275
  Prefactor  = 1.14366
 **********
 **   18 **HESSE 
 **********

 FCN=   4252.569     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      348 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .71656E-03    1.6452        .54277E-01   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.5387        6.4777        .50000       -.29658    
   3  Normalizat    1.0227        .23274E-02    .10738E-04   -.92272    
   4  Prefactor     1.1437        .22943E-02    .10032E-04   -.88083    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.73686e-10
Minuit parameter uncertainties:
  1  0.0637
  2  75.1437
  3  0.00232736
  4  0.00229429
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/476182': 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) = 4252.56855422
delta logL = 1.28808005684e-06

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  7.166e-04  6.370e-02  1.000e-04  1.000e+04 ( 1.000e-12)
312        Index:  3.539e+00  7.514e+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.144e+00  2.294e-03  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.023e+00  2.327e-03  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/476182/cmap_HighResolution_619056001_619315201_4FGL_J2248.7-3235_daily_bin1465.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.72e-03', job_status='DONE', photon_flux_upper_limit='1.23e-07', time_completed='2021-09-28 20:57:28.137141', job_id='476182', GAL2='1.14', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1632887848.14', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='1.29e-06', ts2='0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='1465' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 20:57:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 476182: <4FGL_J2248.7-3235_daily_bin1465> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1465> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 20:45:32 2021
Job was executed on host(s) <bullet0227>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 20:45:33 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:33 2021
Terminated at Tue Sep 28 20:57:30 2021
Results reported at Tue Sep 28 20:57:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1465 342.193 -32.5926 619056001 619315201 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 :                                   565.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             276.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   715 sec.
    Turnaround time :                            718 sec.

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

