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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1082
RA = 342.193, Dec = -32.5926
tmin = 519782401, tmax = 520041601
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='474560', job_status='RUN', time_executed='2021-09-28 20:41:27.220156', time_epoch_executed='1632886887.22' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1082'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/474560

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/474560/ft1_4FGL_J2248.7-3235_daily_bin1082.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/474560/ft2_4FGL_J2248.7-3235_daily_bin1082.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/474560/ft1_4FGL_J2248.7-3235_daily_bin1082.fits outfile=/scratch/kocevski/474560/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1082.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=519782401.0 tmax=520041601.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.47
user 3.26
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/474560/ft2_4FGL_J2248.7-3235_daily_bin1082.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/474560/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1082.fits evtable="EVENTS" outfile="/scratch/kocevski/474560/ft1_filtered_4FGL_J2248.7-3235_daily_bin1082.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.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/474560/ft1_filtered_4FGL_J2248.7-3235_daily_bin1082.fits" evtable="EVENTS" scfile=/scratch/kocevski/474560/ft2_4FGL_J2248.7-3235_daily_bin1082.fits sctable="SC_DATA" outfile=/scratch/kocevski/474560/ltcube_519782401_520041601_4FGL_J2248.7-3235_daily_bin1082.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/474560/ft2_4FGL_J2248.7-3235_daily_bin1082.fits
.....................!
real 11.91
user 11.55
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/474560/ft1_filtered_4FGL_J2248.7-3235_daily_bin1082.fits evtable="EVENTS" scfile=/scratch/kocevski/474560/ft2_4FGL_J2248.7-3235_daily_bin1082.fits sctable="SC_DATA" expcube=/scratch/kocevski/474560/ltcube_519782401_520041601_4FGL_J2248.7-3235_daily_bin1082.fits outfile=/scratch/kocevski/474560/expmap_519782401_520041601_4FGL_J2248.7-3235_daily_bin1082.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/474560/ltcube_519782401_520041601_4FGL_J2248.7-3235_daily_bin1082.fits
.....................!
real 189.64
user 185.24
sys 4.08

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/474560/ft1_filtered_4FGL_J2248.7-3235_daily_bin1082.fits scfile=/scratch/kocevski/474560/ft2_4FGL_J2248.7-3235_daily_bin1082.fits outfile=/scratch/kocevski/474560/cmap_519782401_520041601_4FGL_J2248.7-3235_daily_bin1082.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/474560/ft1_filtered_4FGL_J2248.7-3235_daily_bin1082.fits scfile=/scratch/kocevski/474560/ft2_4FGL_J2248.7-3235_daily_bin1082.fits outfile=/scratch/kocevski/474560/cmap_HighResolution_519782401_520041601_4FGL_J2248.7-3235_daily_bin1082.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.53
user 0.39
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/474560/ft1_filtered_4FGL_J2248.7-3235_daily_bin1082.fits evtable="EVENTS" scfile=/scratch/kocevski/474560/ft2_4FGL_J2248.7-3235_daily_bin1082.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/474560/Model_4FGL_J2248.7-3235_daily_bin1082.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/474560/ft1_filtered_4FGL_J2248.7-3235_daily_bin1082.fits.....................!
real 46.72
user 45.52
sys 1.12

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1809       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.4803       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    64.737       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.6306       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .27455       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.379       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    10.672       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    12.984       1.0000         .10000E-03   10000.    
    16 'norm      '    1.2307       1.0000         .10000E-03   10000.    
    17 'Prefactor '    37.284       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    5.7790       1.0000         .10000E-03   10000.    
    20 'norm      '    16.639       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .34415E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0267       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .64931       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=   6133.734     FROM MIGRAD    STATUS=CONVERGED   1009 CALLS     3340 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1809        .48950        .25141E-04    .10400E-03
   2  Prefactor     7.4805        10.280        .73318E-03    .15658E-03
   3  Prefactor     .10000E-03    4.5528        .16164E-02** at limit **
   4  norm          .10000E-03    26.146        .18142E-02** at limit **
   5  Prefactor     64.746        47.499        .49878E-04   -.19319E-03
   6  Prefactor     3.6302        10.908        .21203E-03    .37372E-04
   7  Prefactor     .10000E-03    4.9815        .17019E-02** at limit **
   8  Prefactor     .10000E-03    13.082        .18142E-02** at limit **
   9  norm          .27455        1.0281        .13767E-02    .11827E-02
  10  Prefactor     .10000E-03    44.309        .18142E-02** at limit **
  11  Prefactor     13.379        9.6717        .10951E-03    .46510E-04
  12  Prefactor     .10000E-03    2.6782        .12464E-02** at limit **
  13  norm          10.673        5.4225        .11330E-03    .26781E-03
  14  Prefactor     .10000E-03    17.257        .18142E-02** at limit **
  15  Prefactor     12.987        11.770        .11116E-03    .14042E-03
  16  norm          1.2306        .82766        .43049E-04    .83478E-03
  17  Prefactor     37.279        38.480        .65637E-04    .13787E-03
  18  Prefactor     .10000E-03    7.6082        .18142E-02** at limit **
  19  norm          5.7789        4.0786        .12953E-03   -.12235E-03
  20  norm          16.640        8.1016        .98187E-04   -.45967E-04
  21  Prefactor     .10000E-03    9.3164        .18142E-02** at limit **
  22  Prefactor     .10001E-03    226.34        .76491E-02** at limit **
  23  norm          .10000E-03    .95669        .74696E-03** at limit **
  24  Normalizat    1.0267        .19752        .21831E-03    .34162E-03
  25  Prefactor     .64938        .19095        .26701E-03    .81493E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.18091
  Prefactor  = 7.48051
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 64.7458
  Prefactor  = 3.63023
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.274554
  Prefactor  = 0.000100001
  Prefactor  = 13.3786
  Prefactor  = 0.0001
  norm       = 10.6728
  Prefactor  = 0.0001
  Prefactor  = 12.9874
  norm       = 1.23061
  Prefactor  = 37.2788
  Prefactor  = 0.000100001
  norm       = 5.77892
  norm       = 16.6402
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  norm       = 0.0001
  Normalizat = 1.0267
  Prefactor  = 0.649378
 **********
 **   18 **HESSE 
 **********

 FCN=   6133.734     FROM HESSE     STATUS=OK           403 CALLS     3743 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1809        .48949        .10056E-05   -1.5413    
   2  Prefactor     7.4805        10.280        .29327E-04   -1.5161    
   3  Prefactor     .10000E-03    4.5554        .32328E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    26.166        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     64.746        47.497        .99756E-05   -1.4097    
   6  Prefactor     3.6302        10.907        .84812E-05   -1.5327    
   7  Prefactor     .10000E-03    4.9825        .34037E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    13.084        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .27455        1.0265        .55067E-04   -1.5603    
  10  Prefactor     .10000E-03    44.318        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     13.379        9.6712        .43803E-05   -1.4976    
  12  Prefactor     .10000E-03    2.6786        .24927E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          10.673        5.4220        .45320E-05   -1.5054    
  14  Prefactor     .10000E-03    17.263        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     12.987        11.771        .44465E-05   -1.4987    
  16  norm          1.2306        .82776        .17220E-05   -1.5486    
  17  Prefactor     37.279        38.479        .13127E-04   -1.4486    
  18  Prefactor     .10000E-03    7.6105        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          5.7789        4.0785        .51810E-05   -1.5227    
  20  norm          16.640        8.0996        .39275E-05   -1.4892    
  21  Prefactor     .10000E-03    9.3166        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10001E-03    234.79        .30596E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    .95670        .14939E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.0267        .19765        .43662E-04   -.92141    
  25  Prefactor     .64938        .19115        .10680E-04   -1.0555    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15765e-09
Minuit parameter uncertainties:
  1  0.489495
  2  10.2823
  3  3.77644e-06
  4  0.000256585
  5  47.5252
  6  10.9132
  7  1.07616e-05
  8  0.000251466
  9  1.0266
  10  0.000426442
  11  9.67232
  12  7.95402e-06
  13  5.4222
  14  0.000111686
  15  11.7726
  16  0.827764
  17  38.5048
  18  0.000140889
  19  4.07875
  20  8.10013
  21  0.000107389
  22  0.00224583
  23  5.86114e-07
  24  0.197789
  25  0.191338
Done.

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

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  1.338e+01  9.672e+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:  6.494e-01  1.913e-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.027e+00  1.978e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.20
Ra Dec: 342.193 -32.593
Photon Index (Fixed Index): 2.76 +/- 0.00
Photon Flux (Fixed Index): 4.74e-08 +/- 3.42e-08
Energy Flux (Fixed Index): 1.09e-05 +/- 7.88e-06

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

Saving results to:
/scratch/kocevski/474560/likelihoodResults_519782401_520041601_4FGL_J2248.7-3235_daily_bin1082.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) = 6133.47245329
delta logL = 0.261150343873

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6133.44630515
delta logL = 0.287298484978

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.660       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2653       1.0000          .0000       10.000    
     3 'Normalizat'    1.0452       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63447       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=   6133.446     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      243 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.657        11.194        .10121E-03    .15894E-03
   2  Index         2.2654        .58258        .86418E-02    .31966E-04
   3  Normalizat    1.0452        .18942        .21660E-03    .69137E-03
   4  Prefactor     .63448        .18714        .26974E-03    .52576E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.6574
  Index      = 2.26545
  Normalizat = 1.04517
  Prefactor  = 0.634481
 **********
 **   18 **HESSE 
 **********

 FCN=   6133.446     FROM HESSE     STATUS=OK            25 CALLS      268 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.657        11.215        .40484E-05   -1.4916    
   2  Index         2.2654        .58360        .34567E-03   -.57867    
   3  Normalizat    1.0452        .18960        .43319E-04   -.91532    
   4  Prefactor     .63448        .18729        .53948E-04   -1.0615    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.01204e-10
Minuit parameter uncertainties:
  1  11.2162
  2  0.585509
  3  0.189728
  4  0.187476
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/474560': 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) = 6133.44630506
delta logL = 0.287298568701

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  1.566e+01  1.122e+01  1.000e-04  1.000e+04 ( 1.000e-12)
312        Index:  2.265e+00  5.855e-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:  6.345e-01  1.875e-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.045e+00  1.897e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.75
Ra Dec: 342.193 -32.593
Photon Index (Free Index): 2.27 +/- 0.59
Photon Flux (Free Index): 3.68e-08 +/- 3.14e-08
Energy Flux (Free Index): 1.47e-05 +/- 1.29e-05

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/474560/cmap_HighResolution_519782401_520041601_4FGL_J2248.7-3235_daily_bin1082.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.62e-03', comment='SUCCESS', photon_flux='4.74e-08', energy_flux2='1.47e-05', photon_flux_error='3.42e-08', dlogl='2.87e-01', energy_flux='1.09e-05', photon_flux2='3.68e-08', job_status='DONE', time_completed='2021-09-28 20:53:42.773524', photon_index_error2='0.59', photon_index2='2.27', ts='3.20', fit_tolerance='1e-08', GAL='0.65', photon_index_error='0.00', photon_flux_upper_limit='1.22e-07', energy_flux_error2='1.29e-05', EG='1.03', time_epoch_completed='1632887622.77', return_code='0', job_id='474560', GAL2='0.63', EG2='1.05', return_code2='0', energy_flux_error='7.88e-06', photon_flux_error2='3.14e-08', ts2='3.75', photon_index='2.76' WHERE bin_id='1082' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 20:53:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 474560: <4FGL_J2248.7-3235_daily_bin1082> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1082> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 20:40:58 2021
Job was executed on host(s) <bullet0228>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 20:41:00 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 20:41:00 2021
Terminated at Tue Sep 28 20:53:43 2021
Results reported at Tue Sep 28 20:53:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1082 342.193 -32.5926 519782401 520041601 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 :                                   728.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             330.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   763 sec.
    Turnaround time :                            765 sec.

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

