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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1630
RA = 342.193, Dec = -32.5926
tmin = 661824001, tmax = 662083201
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='500044', job_status='RUN', time_executed='2021-12-25 01:02:35.151772', time_epoch_executed='1640422955.15' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1630'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/500044

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/500044/ft1_4FGL_J2248.7-3235_daily_bin1630.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/500044/ft2_4FGL_J2248.7-3235_daily_bin1630.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/500044/ft1_4FGL_J2248.7-3235_daily_bin1630.fits outfile=/scratch/kocevski/500044/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1630.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=661824001.0 tmax=662083201.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.65
user 4.38
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/500044/ft1_filtered_4FGL_J2248.7-3235_daily_bin1630.fits" evtable="EVENTS" scfile=/scratch/kocevski/500044/ft2_4FGL_J2248.7-3235_daily_bin1630.fits sctable="SC_DATA" outfile=/scratch/kocevski/500044/ltcube_661824001_662083201_4FGL_J2248.7-3235_daily_bin1630.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/500044/ft2_4FGL_J2248.7-3235_daily_bin1630.fits
.....................!
real 13.29
user 12.78
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/500044/ft1_filtered_4FGL_J2248.7-3235_daily_bin1630.fits evtable="EVENTS" scfile=/scratch/kocevski/500044/ft2_4FGL_J2248.7-3235_daily_bin1630.fits sctable="SC_DATA" expcube=/scratch/kocevski/500044/ltcube_661824001_662083201_4FGL_J2248.7-3235_daily_bin1630.fits outfile=/scratch/kocevski/500044/expmap_661824001_662083201_4FGL_J2248.7-3235_daily_bin1630.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/500044/ltcube_661824001_662083201_4FGL_J2248.7-3235_daily_bin1630.fits
.....................!
real 192.58
user 186.23
sys 4.86

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/500044/ft1_filtered_4FGL_J2248.7-3235_daily_bin1630.fits scfile=/scratch/kocevski/500044/ft2_4FGL_J2248.7-3235_daily_bin1630.fits outfile=/scratch/kocevski/500044/cmap_661824001_662083201_4FGL_J2248.7-3235_daily_bin1630.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.60
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/500044/ft1_filtered_4FGL_J2248.7-3235_daily_bin1630.fits scfile=/scratch/kocevski/500044/ft2_4FGL_J2248.7-3235_daily_bin1630.fits outfile=/scratch/kocevski/500044/cmap_HighResolution_661824001_662083201_4FGL_J2248.7-3235_daily_bin1630.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.55
user 0.36
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/500044/ft1_filtered_4FGL_J2248.7-3235_daily_bin1630.fits evtable="EVENTS" scfile=/scratch/kocevski/500044/ft2_4FGL_J2248.7-3235_daily_bin1630.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/500044/Model_4FGL_J2248.7-3235_daily_bin1630.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/500044/ft1_filtered_4FGL_J2248.7-3235_daily_bin1630.fits.....................!
real 51.36
user 49.43
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6434       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.8971       1.0000         .10000E-03   10000.    
     4 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.3228       1.0000         .10000E-03   10000.    
     9 'norm      '    2.0742       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .85086       1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.536       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    20.417       1.0000         .10000E-03   10000.    
    16 'norm      '    .39087       1.0000         .10000E-03   10000.    
    17 'Prefactor '    35.834       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.3312       1.0000         .10000E-03   10000.    
    19 'norm      '    1.0906       1.0000         .10000E-03   10000.    
    20 'norm      '    .10729E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    42.839       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10465E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    5.8362       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .71933       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .92278       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=   6849.039     FROM MIGRAD    STATUS=CONVERGED    609 CALLS     2580 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6433        .39171        .15033E-08   -.70422E-04
   2  Prefactor     .10000E-03    8.3576       -.10306E-08** at limit **
   3  Prefactor     1.8971        3.0563        .27871E-06    .10294E-03
   4  norm          .10000E-03    12.090       -.36173E-06** at limit **
   5  Prefactor     .10000E-03    18.738       -.20858E-07** at limit **
   6  Prefactor     .10000E-03    12.048       -.41977E-06** at limit **
   7  Prefactor     .10000E-03    2.3323       -.84483E-08** at limit **
   8  Prefactor     8.3191        14.542        .12471E-06    .22118E-04
   9  norm          2.0754        1.8888       -.11156E-06   -.16104E-03
  10  Prefactor     .62548        40.624       -.32503E-06    .23854E-04
  11  Prefactor     14.535        8.8439       -.16299E-07   -.87512E-04
  12  Prefactor     .10000E-03    4.5875        .17211E-07** at limit **
  13  norm          .10000E-03    1.5574       -.26532E-07** at limit **
  14  Prefactor     .10000E-03    13.456        .31419E-06** at limit **
  15  Prefactor     20.412        8.8084       -.12600E-06   -.53455E-04
  16  norm          .39051        .54638        .19518E-06    .10943E-02
  17  Prefactor     35.830        31.633       -.96985E-07   -.11990E-03
  18  Prefactor     3.3322        6.1780        .41083E-06    .15798E-03
  19  norm          1.0932        2.5771        .12374E-05    .10803E-02
  20  norm          .10003E-03    6.7837        .28635E-05** at limit **
  21  Prefactor     42.834        40.899       -.93221E-06   -.23550E-03
  22  Prefactor     .10000E-03    62.749        .21299E-06** at limit **
  23  norm          5.8343        5.1653        .96648E-07    .11011E-03
  24  Normalizat    .71960        .14820        .69440E-07   -.35880E-03
  25  Prefactor     .92257        .14681       -.40587E-06   -.31534E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.64335
  Prefactor  = 0.0001
  Prefactor  = 1.89706
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 8.31911
  norm       = 2.07542
  Prefactor  = 0.625483
  Prefactor  = 14.5345
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 20.4118
  norm       = 0.390509
  Prefactor  = 35.8304
  Prefactor  = 3.33219
  norm       = 1.09324
  norm       = 0.000100032
  Prefactor  = 42.8341
  Prefactor  = 0.0001
  norm       = 5.83428
  Normalizat = 0.719601
  Prefactor  = 0.922571
 **********
 **   18 **HESSE 
 **********

 FCN=   6849.039     FROM HESSE     STATUS=OK           439 CALLS     3019 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6433        .39210        .24536E-04   -1.5452    
   2  Prefactor     .10000E-03    8.3956        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.8971        3.0335        .17816E-03   -1.5432    
   4  norm          .10000E-03    12.373        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    18.783        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    12.411        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.3352        .12340E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.3191        14.553        .13896E-03   -1.5131    
   9  norm          2.0754        1.9294        .94840E-04   -1.5420    
  10  Prefactor     .62548        58.774        .11792       -1.5550    
  11  Prefactor     14.535        8.8618        .10505E-03   -1.4945    
  12  Prefactor     .10000E-03    4.6942        .17301E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.5714        .10066E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    13.788        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     20.412        8.4690        .88642E-04   -1.4804    
  16  norm          .39051        .49247        .58883E-03   -1.5583    
  17  Prefactor     35.830        31.723        .66947E-04   -1.4510    
  18  Prefactor     3.3322        6.0901        .22177E-03   -1.5343    
  19  norm          1.0932        2.5627        .22741E-02   -1.5499    
  20  norm          .10003E-03    11.578        .29970E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     42.834        42.148        .61250E-04   -1.4398    
  22  Prefactor     .10000E-03    63.421        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          5.8343        5.2322        .13066E-03   -1.5225    
  24  Normalizat    .71960        .17794        .23905E-03   -1.0312    
  25  Prefactor     .92257        .17603        .22014E-03   -.95357    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.40162e-09
Minuit parameter uncertainties:
  1  0.392099
  2  5.01379e-06
  3  3.03379
  4  0.000264102
  5  4.18575e-05
  6  0.000290065
  7  8.40997e-07
  8  14.5594
  9  1.92942
  10  12.1377
  11  8.86264
  12  3.5462e-06
  13  1.88413e-06
  14  0.000276915
  15  8.46953
  16  0.492477
  17  31.7375
  18  6.09127
  19  2.56299
  20  0.00121234
  21  42.1772
  22  7.27891e-05
  23  5.23265
  24  0.17808
  25  0.176139
Done.

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

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  1.453e+01  8.863e+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:  9.226e-01  1.761e-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.196e-01  1.781e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.56
Ra Dec: 342.193 -32.593
Photon Index (Fixed Index): 2.76 +/- 0.00
Photon Flux (Fixed Index): 5.15e-08 +/- 3.14e-08
Energy Flux (Fixed Index): 1.18e-05 +/- 7.22e-06

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) = 6848.92347216
delta logL = 0.115182763089

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6848.91786275
delta logL = 0.120792167725

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.841       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4378       1.0000          .0000       10.000    
     3 'Normalizat'    .73417       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91186       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=   6848.918     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      298 TOTAL
                     EDM=   .57E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.846        10.191        .50315E-03   -.35994E-04
   2  Index         2.4382        .63022        .91735E-02   -.13114E-04
   3  Normalizat    .73416        .17014        .23692E-03   -.50050E-04
   4  Prefactor     .91186        .17381        .22130E-03   -.56356E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.8455
  Index      = 2.43816
  Normalizat = 0.734159
  Prefactor  = 0.911855
 **********
 **   18 **HESSE 
 **********

 FCN=   6848.918     FROM HESSE     STATUS=OK            23 CALLS      321 TOTAL
                     EDM=   .60E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.846        10.168        .20126E-04   -1.4912    
   2  Index         2.4382        .62857        .36694E-03   -.53794    
   3  Normalizat    .73416        .17037        .94766E-05   -1.0256    
   4  Prefactor     .91186        .17400        .88519E-05   -.95728    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.01298e-12
Minuit parameter uncertainties:
  1  10.1693
  2  0.63084
  3  0.17049
  4  0.174107
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/500044': 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) = 6848.91786248
delta logL = 0.120792440046

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  1.585e+01  1.017e+01  1.000e-04  1.000e+04 ( 1.000e-12)
312        Index:  2.438e+00  6.308e-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:  9.119e-01  1.741e-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.342e-01  1.705e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.76
Ra Dec: 342.193 -32.593
Photon Index (Free Index): 2.44 +/- 0.63
Photon Flux (Free Index): 4.24e-08 +/- 3.39e-08
Energy Flux (Free Index): 1.32e-05 +/- 9.37e-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/500044/cmap_HighResolution_661824001_662083201_4FGL_J2248.7-3235_daily_bin1630.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.15e-08', energy_flux2='1.32e-05', photon_flux_error='3.14e-08', dlogl='1.21e-01', energy_flux='1.18e-05', photon_flux2='4.24e-08', job_status='DONE', time_completed='2021-12-25 01:13:34.501876', photon_index_error2='0.63', photon_index2='2.44', ts='5.56', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='9.37e-06', EG='0.72', time_epoch_completed='1640423614.5', return_code='0', job_id='500044', GAL2='0.91', EG2='0.73', return_code2='0', energy_flux_error='7.22e-06', photon_flux_error2='3.39e-08', ts2='5.76', photon_index='2.76' WHERE bin_id='1630' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 25 01:13:34 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0258>
Subject: Job 500044: <4FGL_J2248.7-3235_daily_bin1630> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1630> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Dec 25 01:00:16 2021
Job was executed on host(s) <bullet0258>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 25 01:00:39 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 25 01:00:39 2021
Terminated at Sat Dec 25 01:13:35 2021
Results reported at Sat Dec 25 01:13:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1630 342.193 -32.5926 661824001 662083201 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 :                                   658.00 sec.
    Max Memory :                                 1134 MB
    Average Memory :                             322.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   775 sec.
    Turnaround time :                            799 sec.

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

