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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin623
RA = 237.697, Dec = 5.4725
tmin = 400809601, tmax = 401068801
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='744558', job_status='RUN', time_executed='2021-09-12 15:22:01.520952', time_epoch_executed='1631485321.52' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='623'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/744558

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/744558/ft1_4FGL_J1550.7+0528_daily_bin623.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/744558/ft2_4FGL_J1550.7+0528_daily_bin623.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/744558/ft1_4FGL_J1550.7+0528_daily_bin623.fits outfile=/scratch/kocevski/744558/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin623.fits ra=237.697 dec=5.4725 rad=12.0 tmin=400809601.0 tmax=401068801.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.45
user 3.23
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/744558/ft2_4FGL_J1550.7+0528_daily_bin623.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/744558/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin623.fits evtable="EVENTS" outfile="/scratch/kocevski/744558/ft1_filtered_4FGL_J1550.7+0528_daily_bin623.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.52
user 0.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/744558/ft1_filtered_4FGL_J1550.7+0528_daily_bin623.fits" evtable="EVENTS" scfile=/scratch/kocevski/744558/ft2_4FGL_J1550.7+0528_daily_bin623.fits sctable="SC_DATA" outfile=/scratch/kocevski/744558/ltcube_400809601_401068801_4FGL_J1550.7+0528_daily_bin623.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/744558/ft2_4FGL_J1550.7+0528_daily_bin623.fits
.....................!
real 15.31
user 14.93
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/744558/ft1_filtered_4FGL_J1550.7+0528_daily_bin623.fits evtable="EVENTS" scfile=/scratch/kocevski/744558/ft2_4FGL_J1550.7+0528_daily_bin623.fits sctable="SC_DATA" expcube=/scratch/kocevski/744558/ltcube_400809601_401068801_4FGL_J1550.7+0528_daily_bin623.fits outfile=/scratch/kocevski/744558/expmap_400809601_401068801_4FGL_J1550.7+0528_daily_bin623.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/744558/ltcube_400809601_401068801_4FGL_J1550.7+0528_daily_bin623.fits
.....................!
real 192.24
user 187.20
sys 4.26

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/744558/ft1_filtered_4FGL_J1550.7+0528_daily_bin623.fits scfile=/scratch/kocevski/744558/ft2_4FGL_J1550.7+0528_daily_bin623.fits outfile=/scratch/kocevski/744558/cmap_400809601_401068801_4FGL_J1550.7+0528_daily_bin623.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.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/744558/ft1_filtered_4FGL_J1550.7+0528_daily_bin623.fits scfile=/scratch/kocevski/744558/ft2_4FGL_J1550.7+0528_daily_bin623.fits outfile=/scratch/kocevski/744558/cmap_HighResolution_400809601_401068801_4FGL_J1550.7+0528_daily_bin623.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.60
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/744558/ft1_filtered_4FGL_J1550.7+0528_daily_bin623.fits evtable="EVENTS" scfile=/scratch/kocevski/744558/ft2_4FGL_J1550.7+0528_daily_bin623.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/744558/Model_4FGL_J1550.7+0528_daily_bin623.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/744558/ft1_filtered_4FGL_J1550.7+0528_daily_bin623.fits.....................!
real 64.70
user 63.37
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.7148       1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.6385       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .22917E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    33.377       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10116E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.0102       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.3483       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11881E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.0879       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11462E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10177E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.2094       1.0000         .10000E-03   10000.    
    15 'norm      '    .27848E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    57.913       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.9609       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10595E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.4337       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.7190       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .77167       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=   7806.245     FROM MIGRAD    STATUS=CONVERGED    495 CALLS     2450 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.7139        2.3319       -.30953E-06   -.32564E-03
   2  norm          .10000E-03    1.8876       -.16682E-08** at limit **
   3  norm          1.6382        1.9731       -.66926E-07    .65664E-04
   4  Prefactor     .10000E-03    26.028       -.73360E-05** at limit **
   5  Prefactor     33.326        39.088       -.23891E-04    .13760E-04
   6  Prefactor     .10000E-03    1.5864       -.70042E-07** at limit **
   7  Prefactor     .10000E-03    16.961        .23090E-06** at limit **
   8  norm          2.0096        1.8303       -.60816E-07    .85301E-04
   9  Prefactor     1.3519        3.3947       -.17098E-05   -.12076E-02
  10  Prefactor     .10000E-03    33.704        .25552E-04** at limit **
  11  norm          3.0871        3.5755       -.44434E-06   -.28929E-03
  12  Prefactor     .10000E-03    71.246        .60542E-04** at limit **
  13  norm          .10000E-03    5.0290       -.10180E-06** at limit **
  14  norm          1.2093        1.0882       -.96703E-07   -.51585E-04
  15  norm          .10006E-03    6.4340       -.11435E-05** at limit **
  16  norm          57.839        101.05       -.82829E-04    .81038E-07
  17  Prefactor     .10000E-03    49.290       -.57047E-04** at limit **
  18  Prefactor     2.8581        102.91       -.73557E-04   -.90446E-05
  19  Prefactor     .10000E-03    3.8382        .42158E-06** at limit **
  20  Prefactor     6.4341        5.9448        .32748E-05    .15724E-03
  21  Normalizat    1.7194        .23750        .55410E-05    .83503E-04
  22  Prefactor     .77139        .92192E-01    .85783E-06    .56606E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.71395
  norm       = 0.0001
  norm       = 1.63823
  Prefactor  = 0.0001
  Prefactor  = 33.3264
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.00963
  Prefactor  = 1.35193
  Prefactor  = 0.0001
  norm       = 3.08706
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.20933
  norm       = 0.000100061
  norm       = 57.8387
  Prefactor  = 0.0001
  Prefactor  = 2.85809
  Prefactor  = 0.0001
  Prefactor  = 6.43408
  Normalizat = 1.71936
  Prefactor  = 0.771388
 **********
 **   18 **HESSE 
 **********

 FCN=   7806.245     FROM HESSE     STATUS=OK           342 CALLS     2792 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7139        2.3236        .12113E-03   -1.5378    
   2  norm          .10000E-03    1.8879        .11855E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.6382        1.9662        .13267E-03   -1.5452    
   4  Prefactor     .10000E-03    26.126        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     33.326        39.417        .69361E-04   -1.4553    
   6  Prefactor     .10000E-03    1.6048        .10864E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    16.994        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.0096        1.8418        .11091E-03   -1.5424    
   9  Prefactor     1.3519        3.3594        .24558E-03   -1.5475    
  10  Prefactor     .10000E-03    33.772        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.0871        3.5619        .17227E-03   -1.5357    
  12  Prefactor     .10000E-03    71.278        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    5.0846        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.2093        1.0925        .85154E-04   -1.5488    
  15  norm          .10006E-03    57.628        .43004E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          57.839        101.11        .26358E-03   -1.4185    
  17  Prefactor     .10000E-03    49.318        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.8581        103.87        .23599E-03   -1.5370    
  19  Prefactor     .10000E-03    3.8461        .16896E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.4341        5.9460        .15823E-03   -1.5201    
  21  Normalizat    1.7194        .27694        .31934E-03   -.71788    
  22  Prefactor     .77139        .10839        .18125E-03   -1.0079    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.79872e-09
Minuit parameter uncertainties:
  1  2.3237
  2  9.33456e-07
  3  1.96624
  4  5.48664e-05
  5  39.448
  6  9.58399e-06
  7  2.5275e-05
  8  1.8419
  9  3.35991
  10  8.26267e-05
  11  3.56212
  12  0.000311959
  13  2.42895e-05
  14  1.09252
  15  0.00373815
  16  101.417
  17  4.98246e-05
  18  34.5233
  19  8.2978e-05
  20  5.94657
  21  0.277187
  22  0.108415
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  3.087e+00  3.562e+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:  7.714e-01  1.084e-01  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.719e+00  2.772e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.40
Ra Dec: 237.697 5.473
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 2.71e-08 +/- 3.13e-08
Energy Flux (Fixed Index): 1.14e-05 +/- 1.31e-05

TS (Fixed Index): 1.40
Ra Dec: 237.697 5.473
Photon Flux Upper Limit: 1.07e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.48e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/744558/likelihoodResults_400809601_401068801_4FGL_J1550.7+0528_daily_bin623.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) = 7805.83237782
delta logL = 0.412472917991

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7805.80370133
delta logL = 0.441149407113

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .77011       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.8686       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6267       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79424       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=   7805.804     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      261 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .76564        7.2275        .12328E-01    .27817E-03
   2  alpha         3.8719        4.1399        .38213        .42322E-04
   3  Normalizat    1.6265        .56217E-01    .73761E-01   -.13392E-04
   4  Prefactor     .79435        .22540E-01    .43642E-01    .38839E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.765635
  alpha      = 3.87188
  Normalizat = 1.62648
  Prefactor  = 0.794355
 **********
 **   18 **HESSE 
 **********

 FCN=   7805.804     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      296 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .76564        19.976        .56210E-03   -1.5533    
   2  alpha         3.8719        4.1866        .15143E-01    .58087    
   3  Normalizat    1.6265        .22759        .32637E-03   -.74284    
   4  Prefactor     .79435        .89362E-01    .17889E-03   -.99937    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.09964e-10
Minuit parameter uncertainties:
  1  7.82407
  2  5.83996
  3  0.227738
  4  0.0893778
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/744558': 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): 102
logL (Free Index) = 7805.8037
delta logL = 0.441150742884

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  7.656e-01  7.824e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  3.872e+00  5.840e+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:  7.944e-01  8.938e-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.626e+00  2.277e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.38
Ra Dec: 237.697 5.473
Photon Index (Free Index): 3.87 +/- 5.84
Photon Flux (Free Index): 9.46e-08 +/- 9.27e-08
Energy Flux (Free Index): 1.62e-05 +/- 1.70e-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/744558/cmap_HighResolution_400809601_401068801_4FGL_J1550.7+0528_daily_bin623.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.48e-05', comment='SUCCESS', photon_flux='2.71e-08', energy_flux2='1.62e-05', photon_flux_error='3.13e-08', dlogl='4.41e-01', energy_flux='1.14e-05', photon_flux2='9.46e-08', job_status='DONE', time_completed='2021-09-12 15:33:40.166572', photon_index_error2='5.84', photon_index2='3.87', ts='1.40', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', photon_flux_upper_limit='1.07e-07', energy_flux_error2='1.70e-05', EG='1.72', time_epoch_completed='1631486020.17', return_code='0', job_id='744558', GAL2='0.79', EG2='1.63', return_code2='102', energy_flux_error='1.31e-05', photon_flux_error2='9.27e-08', ts2='2.38', photon_index='2.27' WHERE bin_id='623' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:33:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0013>
Subject: Job 744558: <4FGL_J1550.7+0528_daily_bin623> in cluster <slac> Done

Job <4FGL_J1550.7+0528_daily_bin623> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep 12 15:20:19 2021
Job was executed on host(s) <bullet0013>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 15:20:27 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:20:27 2021
Terminated at Sun Sep 12 15:33:40 2021
Results reported at Sun Sep 12 15:33:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin623 237.697 5.4725 400809601 401068801 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 :                                   697.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             298.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   793 sec.
    Turnaround time :                            801 sec.

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

