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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1201
RA = 342.193, Dec = -32.5926
tmin = 550627201, tmax = 550886401
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='474745', job_status='RUN', time_executed='2021-09-28 20:44:15.889964', time_epoch_executed='1632887055.89' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1201'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/474745

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/474745/ft1_4FGL_J2248.7-3235_daily_bin1201.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/474745/ft2_4FGL_J2248.7-3235_daily_bin1201.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/474745/ft1_4FGL_J2248.7-3235_daily_bin1201.fits outfile=/scratch/kocevski/474745/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1201.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=550627201.0 tmax=550886401.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.92
user 3.68
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/474745/ft1_filtered_4FGL_J2248.7-3235_daily_bin1201.fits" evtable="EVENTS" scfile=/scratch/kocevski/474745/ft2_4FGL_J2248.7-3235_daily_bin1201.fits sctable="SC_DATA" outfile=/scratch/kocevski/474745/ltcube_550627201_550886401_4FGL_J2248.7-3235_daily_bin1201.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/474745/ft2_4FGL_J2248.7-3235_daily_bin1201.fits
.....................!
real 11.73
user 11.35
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/474745/ft1_filtered_4FGL_J2248.7-3235_daily_bin1201.fits evtable="EVENTS" scfile=/scratch/kocevski/474745/ft2_4FGL_J2248.7-3235_daily_bin1201.fits sctable="SC_DATA" expcube=/scratch/kocevski/474745/ltcube_550627201_550886401_4FGL_J2248.7-3235_daily_bin1201.fits outfile=/scratch/kocevski/474745/expmap_550627201_550886401_4FGL_J2248.7-3235_daily_bin1201.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/474745/ltcube_550627201_550886401_4FGL_J2248.7-3235_daily_bin1201.fits
.....................!
real 190.95
user 185.31
sys 5.30

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/474745/ft1_filtered_4FGL_J2248.7-3235_daily_bin1201.fits scfile=/scratch/kocevski/474745/ft2_4FGL_J2248.7-3235_daily_bin1201.fits outfile=/scratch/kocevski/474745/cmap_550627201_550886401_4FGL_J2248.7-3235_daily_bin1201.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/474745/ft1_filtered_4FGL_J2248.7-3235_daily_bin1201.fits scfile=/scratch/kocevski/474745/ft2_4FGL_J2248.7-3235_daily_bin1201.fits outfile=/scratch/kocevski/474745/cmap_HighResolution_550627201_550886401_4FGL_J2248.7-3235_daily_bin1201.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.36
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/474745/ft1_filtered_4FGL_J2248.7-3235_daily_bin1201.fits evtable="EVENTS" scfile=/scratch/kocevski/474745/ft2_4FGL_J2248.7-3235_daily_bin1201.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/474745/Model_4FGL_J2248.7-3235_daily_bin1201.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/474745/ft1_filtered_4FGL_J2248.7-3235_daily_bin1201.fits.....................!
real 45.99
user 44.69
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3787       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    20.438       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.8292       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10521E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.3874       1.0000         .10000E-03   10000.    
     9 'norm      '    1.9191       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    34.338       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.0872       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .90481E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.7887       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .59511E-01   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    110.91       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .13157E-01   1.0000         .10000E-03   10000.    
    23 'norm      '    12.643       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .96005       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0945       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=   5909.750     FROM MIGRAD    STATUS=CONVERGED   1083 CALLS     3529 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3788        .45382        .28812E-04   -.63923E-04
   2  Prefactor     .10000E-03    8.5922        .18142E-02** at limit **
   3  Prefactor     .10000E-03    2.4821        .11796E-02** at limit **
   4  norm          20.445        20.139        .44298E-03   -.67753E-05
   5  Prefactor     .10000E-03    18.733        .18142E-02** at limit **
   6  Prefactor     9.8138        18.101        .12781E-03   -.56837E-04
   7  Prefactor     .10000E-03    27.512        .18142E-02** at limit **
   8  Prefactor     2.3813        23.022        .26508E-03   -.26419E-04
   9  norm          1.9192        2.0637        .11126E-03   -.47104E-04
  10  Prefactor     .10000E-03    62.076        .18142E-02** at limit **
  11  Prefactor     34.330        18.503        .68386E-04   -.90935E-04
  12  Prefactor     .10000E-03    7.7381        .36285E-03** at limit **
  13  norm          1.0902        3.6602        .25226E-03    .25143E-03
  14  Prefactor     .10000E-03    6.1965        .18142E-02** at limit **
  15  Prefactor     .10005E-03    32.956        .39634E-02** at limit **
  16  norm          1.7907        .79745        .42316E-04    .17710E-02
  17  Prefactor     1.4297        467.74        .37266E-03   -.13210E-04
  18  Prefactor     .10000E-03    5.6160        .17747E-02** at limit **
  19  norm          .10000E-03    1.6488        .96349E-03** at limit **
  20  norm          .10000E-03    3.4514        .13924E-02** at limit **
  21  Prefactor     110.87        72.523        .19097E-03    .52506E-04
  22  Prefactor     .10001E-03    37.905        .13824    ** at limit **
  23  norm          12.647        7.7657        .11265E-03   -.18357E-03
  24  Normalizat    .95905        .25044        .27105E-03   -.13057E-03
  25  Prefactor     1.0951        .23824        .25470E-03   -.16508E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.37881
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 20.4452
  Prefactor  = 0.0001
  Prefactor  = 9.81384
  Prefactor  = 0.0001
  Prefactor  = 2.38126
  norm       = 1.91924
  Prefactor  = 0.0001
  Prefactor  = 34.3298
  Prefactor  = 0.0001
  norm       = 1.09017
  Prefactor  = 0.0001
  Prefactor  = 0.000100052
  norm       = 1.79065
  Prefactor  = 1.42974
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 110.868
  Prefactor  = 0.000100012
  norm       = 12.6471
  Normalizat = 0.959053
  Prefactor  = 1.09512
 **********
 **   18 **HESSE 
 **********

 FCN=   5909.750     FROM HESSE     STATUS=OK           411 CALLS     3940 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3788        .45382        .11525E-05   -1.5473    
   2  Prefactor     .10000E-03    8.5926        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.4824        .23592E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          20.445        20.138        .17719E-04   -1.4803    
   5  Prefactor     .10000E-03    18.734        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.8138        18.100        .51126E-05   -1.5081    
   7  Prefactor     .10000E-03    27.534        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.3813        23.017        .10603E-04   -1.5399    
   9  norm          1.9192        2.0636        .44505E-05   -1.5431    
  10  Prefactor     .10000E-03    62.081        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     34.330        18.505        .27354E-05   -1.4535    
  12  Prefactor     .10000E-03    7.7384        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.0902        3.6588        .10090E-04   -1.5499    
  14  Prefactor     .10000E-03    6.1966        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10005E-03    33.248        .79268E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.7907        .79554        .16926E-05   -1.5440    
  17  Prefactor     1.4297        467.59        .14906E-04   -1.5469    
  18  Prefactor     .10000E-03    5.6169        .35494E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.6488        .19270E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    3.4517        .27847E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     110.87        72.530        .76388E-05   -1.3598    
  22  Prefactor     .10001E-03    37.866        .13835       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          12.647        7.7662        .45062E-05   -1.4997    
  24  Normalizat    .95905        .25072        .10842E-04   -.94415    
  25  Prefactor     1.0951        .23852        .50941E-04   -.89623    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.86472e-09
Minuit parameter uncertainties:
  1  0.45382
  2  8.1597e-06
  3  5.03722e-07
  4  20.145
  5  2.6913e-05
  6  18.1104
  7  0.0001425
  8  14.8139
  9  2.06369
  10  3.46306e-05
  11  18.5078
  12  5.64941e-05
  13  3.65953
  14  2.36276e-05
  15  0.00263644
  16  0.795549
  17  52.126
  18  2.50166e-05
  19  1.0639e-05
  20  4.32586e-06
  21  72.5884
  22  0.00136455
  23  7.76684
  24  0.251025
  25  0.238756
Done.

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

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  3.433e+01  1.851e+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.095e+00  2.388e-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:  9.591e-01  2.510e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.68
Ra Dec: 342.193 -32.593
Photon Index (Fixed Index): 2.76 +/- 0.00
Photon Flux (Fixed Index): 1.22e-07 +/- 6.55e-08
Energy Flux (Fixed Index): 2.80e-05 +/- 1.51e-05

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) = 5909.73222328
delta logL = 0.0180629125234

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5909.72332569
delta logL = 0.0269605081148

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    31.704       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9021       1.0000          .0000       10.000    
     3 'Normalizat'    .94748       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1049       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=   5909.723     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      247 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.693        21.914        .71162E-04    .54797E-04
   2  Index         2.9037        .65305        .67500E-02    .26121E-03
   3  Normalizat    .94713        .24548        .27255E-03   -.10666E-03
   4  Prefactor     1.1052        .23930        .25371E-03    .11243E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.6931
  Index      = 2.90369
  Normalizat = 0.947127
  Prefactor  = 1.10521
 **********
 **   18 **HESSE 
 **********

 FCN=   5909.723     FROM HESSE     STATUS=OK            25 CALLS      272 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.693        21.243        .28465E-05   -1.4581    
   2  Index         2.9037        .63262        .13500E-02   -.43263    
   3  Normalizat    .94713        .24579        .10902E-04   -.94823    
   4  Prefactor     1.1052        .23947        .10148E-04   -.89300    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.95392e-10
Minuit parameter uncertainties:
  1  21.2483
  2  0.634691
  3  0.246085
  4  0.239703
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/474745': 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) = 5909.72332122
delta logL = 0.0269649714355

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  3.169e+01  2.125e+01  1.000e-04  1.000e+04 ( 1.000e-12)
312        Index:  2.904e+00  6.347e-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.105e+00  2.397e-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:  9.471e-01  2.461e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.72
Ra Dec: 342.193 -32.593
Photon Index (Free Index): 2.90 +/- 0.63
Photon Flux (Free Index): 1.29e-07 +/- 7.29e-08
Energy Flux (Free Index): 2.70e-05 +/- 1.49e-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/474745/cmap_HighResolution_550627201_550886401_4FGL_J2248.7-3235_daily_bin1201.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.22e-07', energy_flux2='2.70e-05', photon_flux_error='6.55e-08', dlogl='2.70e-02', energy_flux='2.80e-05', photon_flux2='1.29e-07', job_status='DONE', time_completed='2021-09-28 20:55:06.736748', photon_index_error2='0.63', photon_index2='2.90', ts='5.68', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', energy_flux_error2='1.49e-05', EG='0.96', time_epoch_completed='1632887706.74', return_code='0', job_id='474745', GAL2='1.11', EG2='0.95', return_code2='0', energy_flux_error='1.51e-05', photon_flux_error2='7.29e-08', ts2='5.72', photon_index='2.76' WHERE bin_id='1201' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 20:55:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 474745: <4FGL_J2248.7-3235_daily_bin1201> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1201> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 20:41:16 2021
Job was executed on host(s) <bullet0253>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 20:41:17 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:17 2021
Terminated at Tue Sep 28 20:55:07 2021
Results reported at Tue Sep 28 20:55:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1201 342.193 -32.5926 550627201 550886401 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 :                                   648.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   830 sec.
    Turnaround time :                            831 sec.

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

