/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 9 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 = 7552
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1550.7+0528_daily_bin382
RA = 237.697, Dec = 5.4725
tmin = 338342401, tmax = 338601601
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='743183', job_status='RUN', time_executed='2021-09-12 15:16:25.689689', time_epoch_executed='1631484985.69' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='382'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/743183

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

Retrieving the FT1 file...

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

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

Retrieving 52 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/743183/ft1_4FGL_J1550.7+0528_daily_bin382.fits


Retrieving the FT1 file...

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

Retrieving 52 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/743183/ft2_4FGL_J1550.7+0528_daily_bin382.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/743183/ft1_4FGL_J1550.7+0528_daily_bin382.fits outfile=/scratch/kocevski/743183/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin382.fits ra=237.697 dec=5.4725 rad=12.0 tmin=338342401.0 tmax=338601601.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 6.64
user 6.31
sys 0.30

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/743183/ft2_4FGL_J1550.7+0528_daily_bin382.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/743183/ft2_4FGL_J1550.7+0528_daily_bin382.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/743183/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin382.fits evtable="EVENTS" outfile="/scratch/kocevski/743183/ft1_filtered_4FGL_J1550.7+0528_daily_bin382.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.51
user 0.33
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/743183/ft1_filtered_4FGL_J1550.7+0528_daily_bin382.fits" evtable="EVENTS" scfile=/scratch/kocevski/743183/ft2_4FGL_J1550.7+0528_daily_bin382.fits sctable="SC_DATA" outfile=/scratch/kocevski/743183/ltcube_338342401_338601601_4FGL_J1550.7+0528_daily_bin382.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/743183/ft2_4FGL_J1550.7+0528_daily_bin382.fits
.....................!
real 13.96
user 13.58
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/743183/ft1_filtered_4FGL_J1550.7+0528_daily_bin382.fits evtable="EVENTS" scfile=/scratch/kocevski/743183/ft2_4FGL_J1550.7+0528_daily_bin382.fits sctable="SC_DATA" expcube=/scratch/kocevski/743183/ltcube_338342401_338601601_4FGL_J1550.7+0528_daily_bin382.fits outfile=/scratch/kocevski/743183/expmap_338342401_338601601_4FGL_J1550.7+0528_daily_bin382.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/743183/ltcube_338342401_338601601_4FGL_J1550.7+0528_daily_bin382.fits
.....................!
real 192.02
user 186.02
sys 5.63

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 152 point sources and 0 extended sources

Setting source of interest to:
4FGL J1550.7+0528 @ 237.697 5.4725

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/743183/ft1_filtered_4FGL_J1550.7+0528_daily_bin382.fits scfile=/scratch/kocevski/743183/ft2_4FGL_J1550.7+0528_daily_bin382.fits outfile=/scratch/kocevski/743183/cmap_338342401_338601601_4FGL_J1550.7+0528_daily_bin382.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=237.697 yref=5.4725 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/743183/ft1_filtered_4FGL_J1550.7+0528_daily_bin382.fits scfile=/scratch/kocevski/743183/ft2_4FGL_J1550.7+0528_daily_bin382.fits outfile=/scratch/kocevski/743183/cmap_HighResolution_338342401_338601601_4FGL_J1550.7+0528_daily_bin382.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=237.697 yref=5.4725 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/743183/ft1_filtered_4FGL_J1550.7+0528_daily_bin382.fits evtable="EVENTS" scfile=/scratch/kocevski/743183/ft2_4FGL_J1550.7+0528_daily_bin382.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/743183/Model_4FGL_J1550.7+0528_daily_bin382.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/743183/ft1_filtered_4FGL_J1550.7+0528_daily_bin382.fits.....................!
real 80.91
user 79.57
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/743183/ft1_filtered_4FGL_J1550.7+0528_daily_bin382.fits', '/scratch/kocevski/743183/ft2_4FGL_J1550.7+0528_daily_bin382.fits', expMap='/scratch/kocevski/743183/expmap_338342401_338601601_4FGL_J1550.7+0528_daily_bin382.fits', expCube='/scratch/kocevski/743183/ltcube_338342401_338601601_4FGL_J1550.7+0528_daily_bin382.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/743183/Model_4FGL_J1550.7+0528_daily_bin382.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1550.7+0528'

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.275e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  2.272e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
238         beta:  1.873e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  9.907e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/743183/ft1_filtered_4FGL_J1550.7+0528_daily_bin382.fits
Spacecraft file(s): /scratch/kocevski/743183/ft2_4FGL_J1550.7+0528_daily_bin382.fits
Exposure map: /scratch/kocevski/743183/expmap_338342401_338601601_4FGL_J1550.7+0528_daily_bin382.fits
Exposure cube: /scratch/kocevski/743183/ltcube_338342401_338601601_4FGL_J1550.7+0528_daily_bin382.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/743183/Model_4FGL_J1550.7+0528_daily_bin382.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) = 10105.3819876

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.3900       1.0000         .10000E-03   10000.    
     2 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    6.8793       1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.105       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .13255E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .27133       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.8816       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.8643       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .24363E-01   1.0000         .10000E-03   10000.    
    11 'norm      '    6.1772       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .13894E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    8.8347       1.0000         .10000E-03   10000.    
    14 'norm      '    5.1645       1.0000         .10000E-03   10000.    
    15 'norm      '    9.1703       1.0000         .10000E-03   10000.    
    16 'norm      '    .10501E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    47.940       1.0000         .10000E-03   10000.    
    18 'Prefactor '    33.904       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .18335E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .89603       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0555       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5040E+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=   10105.35     FROM MIGRAD    STATUS=CONVERGED    890 CALLS     2821 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.3899        2.7754        .57375E-03   -.31755E-03
   2  norm          .10000E-03    2.4767        .15438E-02** at limit **
   3  norm          6.8791        4.1241        .15185E-03   -.98823E-04
   4  Prefactor     11.111        21.458        .12022E-03   -.21182E-04
   5  Prefactor     .10000E-03    65.120        .18142E-02** at limit **
   6  Prefactor     .27348        4.2330        .26085E-02    .80106E-03
   7  Prefactor     .10000E-03    4.8609        .18142E-02** at limit **
   8  norm          1.8808        1.8793        .13339E-03   -.10228E-03
   9  Prefactor     4.8632        3.8347        .16470E-03    .84211E-05
  10  Prefactor     .10006E-03    28.655        .17187    ** at limit **
  11  norm          6.1771        3.3954        .66239E-03   -.22810E-03
  12  Prefactor     .10000E-03    21.970        .18142E-02** at limit **
  13  norm          8.8346        6.7283        .13485E-03   -.44513E-04
  14  norm          5.1645        1.8360        .78708E-04   -.62687E-04
  15  norm          9.1718        10.761        .13235E-03   -.26973E-04
  16  norm          .10000E-03    40.464        .18142E-02** at limit **
  17  Prefactor     48.162        73.049        .28957E-03    .24412E-03
  18  Prefactor     33.875        34.502        .68821E-04    .70240E-04
  19  Prefactor     .10000E-03    3.0879        .17237E-02** at limit **
  20  Prefactor     .10000E-03    7.3315        .31888E-02** at limit **
  21  Normalizat    .89588        .25376        .43555E-03    .80395E-05
  22  Prefactor     1.0555        .98325E-01    .16217E-03    .16245E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.38994
  norm       = 0.0001
  norm       = 6.8791
  Prefactor  = 11.1108
  Prefactor  = 0.0001
  Prefactor  = 0.273476
  Prefactor  = 0.0001
  norm       = 1.88084
  Prefactor  = 4.86319
  Prefactor  = 0.000100064
  norm       = 6.17709
  Prefactor  = 0.0001
  norm       = 8.83455
  norm       = 5.16454
  norm       = 9.1718
  norm       = 0.0001
  Prefactor  = 48.1617
  Prefactor  = 33.8749
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Normalizat = 0.895882
  Prefactor  = 1.05552
 **********
 **   18 **HESSE 
 **********

 FCN=   10105.35     FROM HESSE     STATUS=OK           332 CALLS     3153 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.3899        2.7752        .22950E-04   -1.5244    
   2  norm          .10000E-03    2.4769        .30876E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.8791        4.1240        .60742E-05   -1.5183    
   4  Prefactor     11.111        21.461        .48090E-05   -1.5041    
   5  Prefactor     .10000E-03    65.140        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .27348        4.2273        .10434E-03   -1.5603    
   7  Prefactor     .10000E-03    4.8609        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.8808        1.8792        .53355E-05   -1.5434    
   9  Prefactor     4.8632        3.8333        .65881E-05   -1.5267    
  10  Prefactor     .10006E-03    28.880        .17071       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.1771        3.3951        .26495E-04   -1.5211    
  12  Prefactor     .10000E-03    21.970        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          8.8346        6.7281        .53941E-05   -1.5113    
  14  norm          5.1645        1.8360        .31483E-05   -1.5253    
  15  norm          9.1718        10.761        .52939E-05   -1.5102    
  16  norm          .10000E-03    40.464        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     48.162        73.041        .11583E-04   -1.4319    
  18  Prefactor     33.875        34.502        .13764E-04   -1.4543    
  19  Prefactor     .10000E-03    3.0881        .34473E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    7.3991        .63776E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .89588        .25371        .17422E-04   -.96605    
  22  Prefactor     1.0555        .98374E-01    .32433E-04   -.90901    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87613e-09
Minuit parameter uncertainties:
  1  2.77529
  2  2.68695e-07
  3  4.12415
  4  21.4755
  5  0.000313234
  6  2.15019
  7  8.15083e-06
  8  1.87926
  9  3.83345
  10  0.00271708
  11  3.39516
  12  1.17957e-05
  13  6.72865
  14  1.83603
  15  10.7638
  16  1.97554e-05
  17  73.1771
  18  34.5221
  19  1.6297e-06
  20  0.000378027
  21  0.254048
  22  0.0983905
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  6.177e+00  3.395e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  2.272e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
238         beta:  1.873e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  9.907e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  1.056e+00  9.839e-02  0.000e+00  1.000e+01 ( 1.000e+00)
502        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
503        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
500   Normalization:  8.959e-01  2.540e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.81
Ra Dec: 237.697 5.473
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 5.43e-08 +/- 2.98e-08
Energy Flux (Fixed Index): 2.28e-05 +/- 1.25e-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) = 10105.3510521
delta logL = 0.000838582747747

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10105.3507443
delta logL = 0.00114639500134

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.2655       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2402       1.0000          .0000       5.0000    
     3 'Normalizat'    .89777       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0551       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5040E+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=   10105.35     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      236 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.2658        3.9832        .13394E-03   -.46294E-03
   2  alpha         2.2403        .66979        .16513E-01   -.63881E-04
   3  Normalizat    .89775        .24574        .43515E-03   -.46353E-03
   4  Prefactor     1.0551        .98241E-01    .16220E-03   -.13343E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 6.26576
  alpha      = 2.24026
  Normalizat = 0.897751
  Prefactor  = 1.0551
 **********
 **   18 **HESSE 
 **********

 FCN=   10105.35     FROM HESSE     STATUS=OK            25 CALLS      261 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.2658        3.8795        .53574E-05   -1.5207    
   2  alpha         2.2403        .65222        .66053E-03   -.10409    
   3  Normalizat    .89775        .24557        .17406E-04   -.96539    
   4  Prefactor     1.0551        .98243E-01    .32439E-04   -.90915    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.77351e-10
Minuit parameter uncertainties:
  1  3.87963
  2  0.659945
  3  0.24588
  4  0.0982593
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/743183': 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) = 10105.3507443
delta logL = 0.00114642278822

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  6.266e+00  3.880e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  2.240e+00  6.599e-01  0.000e+00  5.000e+00 ( 1.000e+00)
238         beta:  1.873e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  9.907e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  1.055e+00  9.826e-02  0.000e+00  1.000e+01 ( 1.000e+00)
502        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
503        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
500   Normalization:  8.978e-01  2.459e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.81
Ra Dec: 237.697 5.473
Photon Index (Free Index): 2.24 +/- 0.66
Photon Flux (Free Index): 5.28e-08 +/- 4.19e-08
Energy Flux (Free Index): 2.29e-05 +/- 1.32e-05

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/743183/cmap_HighResolution_338342401_338601601_4FGL_J1550.7+0528_daily_bin382.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.43e-08', energy_flux2='2.29e-05', photon_flux_error='2.98e-08', dlogl='1.15e-03', energy_flux='2.28e-05', photon_flux2='5.28e-08', job_status='DONE', time_completed='2021-09-12 15:29:08.685974', photon_index_error2='0.66', photon_index2='2.24', ts='7.81', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='1.32e-05', EG='0.90', time_epoch_completed='1631485748.69', return_code='0', job_id='743183', GAL2='1.06', EG2='0.90', return_code2='0', energy_flux_error='1.25e-05', photon_flux_error2='4.19e-08', ts2='7.81', photon_index='2.27' WHERE bin_id='382' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:29:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0144>
Subject: Job 743183: <4FGL_J1550.7+0528_daily_bin382> in cluster <slac> Done

Job <4FGL_J1550.7+0528_daily_bin382> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 15:15:29 2021
Job was executed on host(s) <bullet0144>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 15:16:07 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 15:16:07 2021
Terminated at Sun Sep 12 15:29:09 2021
Results reported at Sun Sep 12 15:29:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin382 237.697 5.4725 338342401 338601601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1550.7+0528 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   758.09 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             334.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   784 sec.
    Turnaround time :                            820 sec.

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

