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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin929
RA = 237.697, Dec = 5.4725
tmin = 480124801, tmax = 480384001
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='746034', job_status='RUN', time_executed='2021-09-12 15:25:47.865773', time_epoch_executed='1631485547.87' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/746034

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/746034/ft1_4FGL_J1550.7+0528_daily_bin929.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/746034/ft2_4FGL_J1550.7+0528_daily_bin929.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/746034/ft1_4FGL_J1550.7+0528_daily_bin929.fits outfile=/scratch/kocevski/746034/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin929.fits ra=237.697 dec=5.4725 rad=12.0 tmin=480124801.0 tmax=480384001.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.54
user 3.33
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/746034/ft2_4FGL_J1550.7+0528_daily_bin929.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/746034/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin929.fits evtable="EVENTS" outfile="/scratch/kocevski/746034/ft1_filtered_4FGL_J1550.7+0528_daily_bin929.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.53
user 0.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/746034/ft1_filtered_4FGL_J1550.7+0528_daily_bin929.fits" evtable="EVENTS" scfile=/scratch/kocevski/746034/ft2_4FGL_J1550.7+0528_daily_bin929.fits sctable="SC_DATA" outfile=/scratch/kocevski/746034/ltcube_480124801_480384001_4FGL_J1550.7+0528_daily_bin929.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/746034/ft2_4FGL_J1550.7+0528_daily_bin929.fits
.....................!
real 13.85
user 13.46
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/746034/ft1_filtered_4FGL_J1550.7+0528_daily_bin929.fits evtable="EVENTS" scfile=/scratch/kocevski/746034/ft2_4FGL_J1550.7+0528_daily_bin929.fits sctable="SC_DATA" expcube=/scratch/kocevski/746034/ltcube_480124801_480384001_4FGL_J1550.7+0528_daily_bin929.fits outfile=/scratch/kocevski/746034/expmap_480124801_480384001_4FGL_J1550.7+0528_daily_bin929.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/746034/ltcube_480124801_480384001_4FGL_J1550.7+0528_daily_bin929.fits
.....................!
real 190.47
user 185.73
sys 4.32

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/746034/ft1_filtered_4FGL_J1550.7+0528_daily_bin929.fits scfile=/scratch/kocevski/746034/ft2_4FGL_J1550.7+0528_daily_bin929.fits outfile=/scratch/kocevski/746034/cmap_480124801_480384001_4FGL_J1550.7+0528_daily_bin929.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.54
user 0.40
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/746034/ft1_filtered_4FGL_J1550.7+0528_daily_bin929.fits scfile=/scratch/kocevski/746034/ft2_4FGL_J1550.7+0528_daily_bin929.fits outfile=/scratch/kocevski/746034/cmap_HighResolution_480124801_480384001_4FGL_J1550.7+0528_daily_bin929.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/746034/ft1_filtered_4FGL_J1550.7+0528_daily_bin929.fits evtable="EVENTS" scfile=/scratch/kocevski/746034/ft2_4FGL_J1550.7+0528_daily_bin929.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/746034/Model_4FGL_J1550.7+0528_daily_bin929.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/746034/ft1_filtered_4FGL_J1550.7+0528_daily_bin929.fits.....................!
real 81.58
user 80.23
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/746034/ft1_filtered_4FGL_J1550.7+0528_daily_bin929.fits', '/scratch/kocevski/746034/ft2_4FGL_J1550.7+0528_daily_bin929.fits', expMap='/scratch/kocevski/746034/expmap_480124801_480384001_4FGL_J1550.7+0528_daily_bin929.fits', expCube='/scratch/kocevski/746034/ltcube_480124801_480384001_4FGL_J1550.7+0528_daily_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/746034/Model_4FGL_J1550.7+0528_daily_bin929.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/746034/ft1_filtered_4FGL_J1550.7+0528_daily_bin929.fits
Spacecraft file(s): /scratch/kocevski/746034/ft2_4FGL_J1550.7+0528_daily_bin929.fits
Exposure map: /scratch/kocevski/746034/expmap_480124801_480384001_4FGL_J1550.7+0528_daily_bin929.fits
Exposure cube: /scratch/kocevski/746034/ltcube_480124801_480384001_4FGL_J1550.7+0528_daily_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/746034/Model_4FGL_J1550.7+0528_daily_bin929.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) = 10797.0941161

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3923       1.0000         .10000E-03   10000.    
     2 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    5.5110       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.565       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .76324E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.9444       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10479E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .40765       1.0000         .10000E-03   10000.    
    14 'norm      '    2.1297       1.0000         .10000E-03   10000.    
    15 'norm      '    .10150E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.252       1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.467       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.8087       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1105       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0401       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.

 FCN=   10797.09     FROM MIGRAD    STATUS=CONVERGED    492 CALLS     2379 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3920        2.0929       -.84886E-06   -.11826E-02
   2  norm          .10000E-03    1.8293       -.30009E-07** at limit **
   3  norm          5.5108        3.4001       -.36588E-06    .90270E-04
   4  Prefactor     .10000E-03    11.028       -.49945E-05** at limit **
   5  Prefactor     17.569        36.931        .31500E-05    .54190E-04
   6  Prefactor     .10000E-03    1.0326       -.10394E-06** at limit **
   7  Prefactor     .10000E-03    11.036       -.49107E-05** at limit **
   8  norm          .10000E-03    1.4455       -.10838E-06** at limit **
   9  Prefactor     .10041E-03    1.4907       -.11001E-06** at limit **
  10  Prefactor     .10000E-03    12.634        .72259E-05** at limit **
  11  norm          2.9444        3.6540       -.13147E-05   -.71122E-03
  12  Prefactor     .10000E-03    31.630       -.15503E-04** at limit **
  13  norm          .39383        5.1374       -.42135E-05    .44643E-03
  14  norm          2.1299        1.2257        .29037E-08    .15938E-02
  15  norm          .10000E-03    5.5930       -.20352E-06** at limit **
  16  norm          .10000E-03    38.119        .11838E-04** at limit **
  17  Prefactor     11.145        80.801       -.25828E-03    .44111E-04
  18  Prefactor     11.467        24.167       -.33802E-05   -.32400E-03
  19  Prefactor     .10000E-03    9.5220        .32432E-05** at limit **
  20  Prefactor     3.8085        4.9041        .13896E-05   -.23601E-03
  21  Normalizat    1.1105        .21429        .68755E-05    .68131E-03
  22  Prefactor     1.0401        .82882E-01    .22308E-05    .96117E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.39204
  norm       = 0.0001
  norm       = 5.51084
  Prefactor  = 0.0001
  Prefactor  = 17.5694
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100414
  Prefactor  = 0.0001
  norm       = 2.94444
  Prefactor  = 0.0001
  norm       = 0.393828
  norm       = 2.12991
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 11.1454
  Prefactor  = 11.4668
  Prefactor  = 0.0001
  Prefactor  = 3.80847
  Normalizat = 1.11051
  Prefactor  = 1.04012
 **********
 **   18 **HESSE 
 **********

 FCN=   10797.09     FROM HESSE     STATUS=OK           350 CALLS     2729 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3920        2.0633        .17694E-03   -1.5472    
   2  norm          .10000E-03    1.8306        .13725E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          5.5108        3.3943        .14532E-03   -1.5238    
   4  Prefactor     .10000E-03    11.033        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     17.569        37.131        .95564E-04   -1.4869    
   6  Prefactor     .10000E-03    1.0405        .10309E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    11.049        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.4873        .24365E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10041E-03    1.3751        .42560E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    12.640        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.9444        3.6459        .21104E-03   -1.5365    
  12  Prefactor     .10000E-03    31.684        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .39383        40.759        .43530E-02   -1.5582    
  14  norm          2.1299        1.2324        .83764E-04   -1.5416    
  15  norm          .10000E-03    5.6087        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    38.125        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     11.145        81.373        .11943E-03   -1.5040    
  18  Prefactor     11.467        24.176        .59151E-03   -1.5031    
  19  Prefactor     .10000E-03    9.7996        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.8085        4.8941        .20683E-03   -1.5318    
  21  Normalizat    1.1105        .24713        .39785E-03   -.89415    
  22  Prefactor     1.0401        .96001E-01    .16466E-03   -.91404    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.06128e-09
Minuit parameter uncertainties:
  1  2.06341
  2  2.57724e-06
  3  3.39446
  4  2.75809e-05
  5  37.1793
  6  1.04455e-05
  7  2.1855e-05
  8  1.15388e-05
  9  0.00150934
  10  2.4124e-05
  11  3.64619
  12  6.56578e-05
  13  8.01764
  14  1.2324
  15  2.89e-05
  16  1.45294e-05
  17  60.3465
  18  24.1969
  19  7.63568e-05
  20  4.8946
  21  0.247392
  22  0.0960168
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  2.944e+00  3.646e+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.040e+00  9.602e-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:  1.111e+00  2.474e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.87
Ra Dec: 237.697 5.473
Photon Flux Upper Limit: 9.74e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.09e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/746034/likelihoodResults_480124801_480384001_4FGL_J1550.7+0528_daily_bin929.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) = 10796.1904816
delta logL = 0.898723003613

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10796.1783246
delta logL = 0.910879957841

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3475       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.4858       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0418       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0549       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.

 FCN=   10796.18     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      250 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3469        12.596        .94277E-02    .12840E-02
   2  alpha         3.4861        3.9567        .39971        .96678E-04
   3  Normalizat    1.0418        .56154E-01    .92374E-01    .33375E-04
   4  Prefactor     1.0549        .22095E-01    .39630E-01   -.14474E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.34691
  alpha      = 3.48615
  Normalizat = 1.04181
  Prefactor  = 1.05492
 **********
 **   18 **HESSE 
 **********

 FCN=   10796.18     FROM HESSE     STATUS=OK            33 CALLS      283 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3469        3.5537        .80316E-04   -1.5476    
   2  alpha         3.4861        1.4629        .14532E-01    .40548    
   3  Normalizat    1.0418        .24504        .40917E-03   -.91643    
   4  Prefactor     1.0549        .96861E-01    .16357E-03   -.90920    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12398e-10
Minuit parameter uncertainties:
  1  3.55424
  2  1.58587
  3  0.245309
  4  0.0968771
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/746034': 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) = 10796.1783245
delta logL = 0.91088002849

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.347e+00  3.554e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  3.486e+00  1.586e+00  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.688e-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:  1.042e+00  2.453e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.79
Ra Dec: 237.697 5.473
Photon Index (Free Index): 3.49 +/- 1.59
Photon Flux (Free Index): 8.22e-08 +/- 6.26e-08
Energy Flux (Free Index): 1.58e-05 +/- 1.18e-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/746034/cmap_HighResolution_480124801_480384001_4FGL_J1550.7+0528_daily_bin929.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.09e-05', comment='SUCCESS', energy_flux2='1.58e-05', dlogl='9.11e-01', photon_flux2='8.22e-08', job_status='DONE', time_completed='2021-09-12 15:39:18.996417', photon_index_error2='1.59', photon_index2='3.49', ts='0.87', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='9.74e-08', energy_flux_error2='1.18e-05', EG='1.11', time_epoch_completed='1631486359.0', return_code='0', job_id='746034', GAL2='1.05', EG2='1.04', return_code2='0', photon_flux_error2='6.26e-08', ts2='2.79', photon_index='2.27' WHERE bin_id='929' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:39:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 746034: <4FGL_J1550.7+0528_daily_bin929> in cluster <slac> Done

Job <4FGL_J1550.7+0528_daily_bin929> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 12 15:25:17 2021
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 15:25:32 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:25:32 2021
Terminated at Sun Sep 12 15:39:19 2021
Results reported at Sun Sep 12 15:39:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin929 237.697 5.4725 480124801 480384001 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 :                                   808.19 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             331.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   827 sec.
    Turnaround time :                            842 sec.

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

