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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1235
RA = 342.193, Dec = -32.5926
tmin = 559440001, tmax = 559699201
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='474800', job_status='RUN', time_executed='2021-09-28 20:45:09.613299', time_epoch_executed='1632887109.61' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1235'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/474800

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/474800/ft1_4FGL_J2248.7-3235_daily_bin1235.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/474800/ft2_4FGL_J2248.7-3235_daily_bin1235.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/474800/ft1_4FGL_J2248.7-3235_daily_bin1235.fits outfile=/scratch/kocevski/474800/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1235.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=559440001.0 tmax=559699201.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.55
user 3.34
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/474800/ft2_4FGL_J2248.7-3235_daily_bin1235.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/474800/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1235.fits evtable="EVENTS" outfile="/scratch/kocevski/474800/ft1_filtered_4FGL_J2248.7-3235_daily_bin1235.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/474800/ft1_filtered_4FGL_J2248.7-3235_daily_bin1235.fits" evtable="EVENTS" scfile=/scratch/kocevski/474800/ft2_4FGL_J2248.7-3235_daily_bin1235.fits sctable="SC_DATA" outfile=/scratch/kocevski/474800/ltcube_559440001_559699201_4FGL_J2248.7-3235_daily_bin1235.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/474800/ft2_4FGL_J2248.7-3235_daily_bin1235.fits
.....................!
real 11.58
user 11.26
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/474800/ft1_filtered_4FGL_J2248.7-3235_daily_bin1235.fits evtable="EVENTS" scfile=/scratch/kocevski/474800/ft2_4FGL_J2248.7-3235_daily_bin1235.fits sctable="SC_DATA" expcube=/scratch/kocevski/474800/ltcube_559440001_559699201_4FGL_J2248.7-3235_daily_bin1235.fits outfile=/scratch/kocevski/474800/expmap_559440001_559699201_4FGL_J2248.7-3235_daily_bin1235.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/474800/ltcube_559440001_559699201_4FGL_J2248.7-3235_daily_bin1235.fits
.....................!
real 189.79
user 185.52
sys 3.96

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/474800/ft1_filtered_4FGL_J2248.7-3235_daily_bin1235.fits scfile=/scratch/kocevski/474800/ft2_4FGL_J2248.7-3235_daily_bin1235.fits outfile=/scratch/kocevski/474800/cmap_559440001_559699201_4FGL_J2248.7-3235_daily_bin1235.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.52
user 0.36
sys 0.15

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

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/474800/ft1_filtered_4FGL_J2248.7-3235_daily_bin1235.fits evtable="EVENTS" scfile=/scratch/kocevski/474800/ft2_4FGL_J2248.7-3235_daily_bin1235.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/474800/Model_4FGL_J2248.7-3235_daily_bin1235.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/474800/ft1_filtered_4FGL_J2248.7-3235_daily_bin1235.fits.....................!
real 30.30
user 29.08
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2464       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.6244       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    406.48       1.0000         .10000E-03   10000.    
     6 'Prefactor '    34.695       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.9016       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .11151E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    31.456       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.9599       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.961       1.0000         .10000E-03   10000.    
    16 'norm      '    4.4668       1.0000         .10000E-03   10000.    
    17 'Prefactor '    61.591       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    74.873       1.0000         .10000E-03   10000.    
    21 'Prefactor '    115.74       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10282E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .46902       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.3085       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=   2865.728     FROM MIGRAD    STATUS=CONVERGED    551 CALLS     2863 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2463        .57930       -.22065E-07    .25390E-03
   2  Prefactor     8.6207        12.993       -.18682E-06    .33375E-04
   3  Prefactor     .10000E-03    12.077       -.89939E-07** at limit **
   4  norm          .10000E-03    10.189       -.50052E-07** at limit **
   5  Prefactor     406.40        235.08       -.10393E-05   -.56166E-04
   6  Prefactor     34.700        40.348        .11189E-06    .26386E-04
   7  Prefactor     5.9025        14.313        .38969E-06    .25180E-04
   8  Prefactor     .10000E-03    24.688       -.17845E-07** at limit **
   9  norm          .10015E-03    2.1133       -.13440E-06** at limit **
  10  Prefactor     .10000E-03    21.136       -.22792E-06** at limit **
  11  Prefactor     31.457        27.837        .16903E-06    .39500E-05
  12  Prefactor     .10000E-03    23.339       -.14061E-07** at limit **
  13  norm          3.9593        8.1611        .99374E-05   -.25857E-03
  14  Prefactor     .10000E-03    12.135       -.56327E-06** at limit **
  15  Prefactor     10.980        20.861       -.34120E-05   -.17342E-03
  16  norm          4.4660        1.7788       -.33061E-06    .22088E-04
  17  Prefactor     61.452        174.68       -.46988E-05   -.59819E-04
  18  Prefactor     .10000E-03    10.054       -.24239E-06** at limit **
  19  norm          .10000E-03    7.0072        .40783E-06** at limit **
  20  norm          74.855        33.711       -.21613E-06   -.20768E-04
  21  Prefactor     116.10        224.36        .88999E-05    .15757E-03
  22  Prefactor     .10000E-03    147.60       -.35588E-06** at limit **
  23  norm          .10000E-03    10.406        .33978E-05** at limit **
  24  Normalizat    .46801        .35846       -.94957E-05    .19781E-04
  25  Prefactor     1.3095        .31522        .50134E-05   -.13509E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.2463
  Prefactor  = 8.62073
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 406.401
  Prefactor  = 34.7001
  Prefactor  = 5.90247
  Prefactor  = 0.0001
  norm       = 0.000100146
  Prefactor  = 0.0001
  Prefactor  = 31.4574
  Prefactor  = 0.0001
  norm       = 3.9593
  Prefactor  = 0.0001
  Prefactor  = 10.9796
  norm       = 4.46599
  Prefactor  = 61.4517
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 74.8554
  Prefactor  = 116.098
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.46801
  Prefactor  = 1.30948
 **********
 **   18 **HESSE 
 **********

 FCN=   2865.728     FROM HESSE     STATUS=OK           421 CALLS     3284 TOTAL
                     EDM=   .89E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2463        .58038        .26914E-04   -1.5485    
   2  Prefactor     8.6207        13.008        .13650E-03   -1.5121    
   3  Prefactor     .10000E-03    12.115        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    10.193        .16691E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     406.40        235.03        .10128E-03   -1.1648    
   6  Prefactor     34.700        40.332        .68034E-04   -1.4529    
   7  Prefactor     5.9025        14.231        .16530E-03   -1.5222    
   8  Prefactor     .10000E-03    24.692        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10015E-03    19.553        .14870E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    21.144        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     31.457        27.839        .71441E-04   -1.4586    
  12  Prefactor     .10000E-03    23.400        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.9593        8.3070        .95509E-03   -1.5310    
  14  Prefactor     .10000E-03    12.147        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.980        21.679        .12101E-03   -1.5045    
  16  norm          4.4660        1.8387        .32513E-04   -1.5285    
  17  Prefactor     61.452        175.37        .25564E-03   -1.4139    
  18  Prefactor     .10000E-03    10.059        .16558E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    7.0062        .13841E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          74.855        33.684        .46402E-04   -1.3975    
  21  Prefactor     116.10        226.59        .18699E-03   -1.3549    
  22  Prefactor     .10000E-03    148.06        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    10.371        .16831E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .46801        .40434        .39890E-03   -1.1392    
  25  Prefactor     1.3095        .36494        .23631E-03   -.83026    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.93681e-09
Minuit parameter uncertainties:
  1  0.580379
  2  13.0118
  3  6.97799e-07
  4  6.12232e-06
  5  235.584
  6  40.3639
  7  14.2393
  8  5.71401e-05
  9  0.00338284
  10  2.83932e-05
  11  27.8503
  12  3.54013e-05
  13  8.30943
  14  7.27546e-05
  15  21.6942
  16  1.83875
  17  176.872
  18  2.53302e-05
  19  7.119e-06
  20  33.6921
  21  228.315
  22  0.000240851
  23  4.25153e-05
  24  0.40691
  25  0.365656
Done.

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

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  3.146e+01  2.785e+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.309e+00  3.657e-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:  4.680e-01  4.069e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.03
Ra Dec: 342.193 -32.593
Photon Index (Fixed Index): 2.76 +/- 0.00
Photon Flux (Fixed Index): 1.12e-07 +/- 9.86e-08
Energy Flux (Fixed Index): 2.56e-05 +/- 2.27e-05

TS (Fixed Index): 2.03
Ra Dec: 342.193 -32.593
Photon Flux Upper Limit: 3.21e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.54e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/474800/likelihoodResults_559440001_559699201_4FGL_J2248.7-3235_daily_bin1235.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) = 2865.49337848
delta logL = 0.234150888341

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2865.4797047
delta logL = 0.247824669204

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.799       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3862       1.0000          .0000       10.000    
     3 'Normalizat'    .42900       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3373       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=   2865.480     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      297 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.790        26.684        .83888E-04   -.59697E-04
   2  Index         3.3859        1.0006        .65427E-02   -.28622E-04
   3  Normalizat    .42934        .36746        .41544E-03   -.10287E-03
   4  Prefactor     1.3371        .34588        .23412E-03    .37822E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.7903
  Index      = 3.38587
  Normalizat = 0.42934
  Prefactor  = 1.33714
 **********
 **   18 **HESSE 
 **********

 FCN=   2865.480     FROM HESSE     STATUS=OK            25 CALLS      322 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.790        25.369        .33555E-05   -1.4753    
   2  Index         3.3859        .95127        .26171E-03   -.32871    
   3  Normalizat    .42934        .36772        .16618E-04   -1.1581    
   4  Prefactor     1.3371        .34602        .46825E-04   -.82209    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.92063e-10
Minuit parameter uncertainties:
  1  25.3808
  2  0.957793
  3  0.369821
  4  0.346621
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/474800': 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) = 2865.47970376
delta logL = 0.247825603561

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  2.279e+01  2.538e+01  1.000e-04  1.000e+04 ( 1.000e-12)
312        Index:  3.386e+00  9.578e-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.337e+00  3.466e-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:  4.293e-01  3.698e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.60
Ra Dec: 342.193 -32.593
Photon Index (Free Index): 3.39 +/- 0.96
Photon Flux (Free Index): 1.52e-07 +/- 1.25e-07
Energy Flux (Free Index): 2.61e-05 +/- 2.06e-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/474800/cmap_HighResolution_559440001_559699201_4FGL_J2248.7-3235_daily_bin1235.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.54e-02', comment='SUCCESS', photon_flux='1.12e-07', energy_flux2='2.61e-05', photon_flux_error='9.86e-08', dlogl='2.48e-01', energy_flux='2.56e-05', photon_flux2='1.52e-07', job_status='DONE', time_completed='2021-09-28 20:53:10.598477', photon_index_error2='0.96', photon_index2='3.39', ts='2.03', fit_tolerance='1e-08', GAL='1.31', photon_index_error='0.00', photon_flux_upper_limit='3.21e-07', energy_flux_error2='2.06e-05', EG='0.47', time_epoch_completed='1632887590.6', return_code='0', job_id='474800', GAL2='1.34', EG2='0.43', return_code2='0', energy_flux_error='2.27e-05', photon_flux_error2='1.25e-07', ts2='2.60', photon_index='2.76' WHERE bin_id='1235' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 20:53:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 474800: <4FGL_J2248.7-3235_daily_bin1235> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1235> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 20:41:21 2021
Job was executed on host(s) <bullet0230>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 20:41:22 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:22 2021
Terminated at Tue Sep 28 20:53:11 2021
Results reported at Tue Sep 28 20:53:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1235 342.193 -32.5926 559440001 559699201 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 :                                   480.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             241.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   708 sec.
    Turnaround time :                            710 sec.

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

