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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin873
RA = 237.697, Dec = 5.4725
tmin = 465609601, tmax = 465868801
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='744959', job_status='RUN', time_executed='2021-09-12 15:24:07.792531', time_epoch_executed='1631485447.79' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='873'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/744959

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/744959/ft1_4FGL_J1550.7+0528_daily_bin873.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/744959/ft2_4FGL_J1550.7+0528_daily_bin873.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/744959/ft1_4FGL_J1550.7+0528_daily_bin873.fits outfile=/scratch/kocevski/744959/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin873.fits ra=237.697 dec=5.4725 rad=12.0 tmin=465609601.0 tmax=465868801.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.58
user 3.33
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/744959/ft2_4FGL_J1550.7+0528_daily_bin873.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/744959/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin873.fits evtable="EVENTS" outfile="/scratch/kocevski/744959/ft1_filtered_4FGL_J1550.7+0528_daily_bin873.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.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/744959/ft1_filtered_4FGL_J1550.7+0528_daily_bin873.fits" evtable="EVENTS" scfile=/scratch/kocevski/744959/ft2_4FGL_J1550.7+0528_daily_bin873.fits sctable="SC_DATA" outfile=/scratch/kocevski/744959/ltcube_465609601_465868801_4FGL_J1550.7+0528_daily_bin873.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/744959/ft2_4FGL_J1550.7+0528_daily_bin873.fits
.....................!
real 14.62
user 14.23
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/744959/ft1_filtered_4FGL_J1550.7+0528_daily_bin873.fits evtable="EVENTS" scfile=/scratch/kocevski/744959/ft2_4FGL_J1550.7+0528_daily_bin873.fits sctable="SC_DATA" expcube=/scratch/kocevski/744959/ltcube_465609601_465868801_4FGL_J1550.7+0528_daily_bin873.fits outfile=/scratch/kocevski/744959/expmap_465609601_465868801_4FGL_J1550.7+0528_daily_bin873.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/744959/ltcube_465609601_465868801_4FGL_J1550.7+0528_daily_bin873.fits
.....................!
real 191.11
user 186.17
sys 4.39

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/744959/ft1_filtered_4FGL_J1550.7+0528_daily_bin873.fits scfile=/scratch/kocevski/744959/ft2_4FGL_J1550.7+0528_daily_bin873.fits outfile=/scratch/kocevski/744959/cmap_465609601_465868801_4FGL_J1550.7+0528_daily_bin873.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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/744959/ft1_filtered_4FGL_J1550.7+0528_daily_bin873.fits scfile=/scratch/kocevski/744959/ft2_4FGL_J1550.7+0528_daily_bin873.fits outfile=/scratch/kocevski/744959/cmap_HighResolution_465609601_465868801_4FGL_J1550.7+0528_daily_bin873.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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/744959/ft1_filtered_4FGL_J1550.7+0528_daily_bin873.fits evtable="EVENTS" scfile=/scratch/kocevski/744959/ft2_4FGL_J1550.7+0528_daily_bin873.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/744959/Model_4FGL_J1550.7+0528_daily_bin873.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/744959/ft1_filtered_4FGL_J1550.7+0528_daily_bin873.fits.....................!
real 66.29
user 64.90
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    5.0722       1.0000         .10000E-03   10000.    
     3 'norm      '    1.8533       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    41.487       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.3739       1.0000         .10000E-03   10000.    
     8 'norm      '    3.5392       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .13156E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .18821E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .95911       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    24.942       1.0000         .10000E-03   10000.    
    14 'norm      '    2.1018       1.0000         .10000E-03   10000.    
    15 'norm      '    8.5959       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .22215E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.234       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2676       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .90074       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=   8315.403     FROM MIGRAD    STATUS=CONVERGED    497 CALLS     2394 TOTAL
                     EDM=   .67E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.2487       -.49193E-07** at limit **
   2  norm          5.0725        5.2947       -.11469E-05    .10996E-03
   3  norm          1.8545        3.7822        .76453E-06   -.31183E-04
   4  Prefactor     .10000E-03    19.835        .16046E-06** at limit **
   5  Prefactor     41.502        42.972        .17840E-06    .20709E-04
   6  Prefactor     .10000E-03    1.2235        .13047E-07** at limit **
   7  Prefactor     9.3518        23.889       -.77653E-06    .51414E-04
   8  norm          3.5387        2.3982       -.54922E-07    .48444E-04
   9  Prefactor     .10001E-03    1.7823       -.26985E-06** at limit **
  10  Prefactor     .10000E-03    268.62       -.56924E-05** at limit **
  11  norm          .96289        3.2786        .21604E-05   -.14813E-04
  12  Prefactor     .10000E-03    15.653        .10260E-06** at limit **
  13  norm          24.945        10.908       -.28392E-07    .70123E-05
  14  norm          2.1019        1.5358        .14651E-07   -.85803E-05
  15  norm          8.5990        10.427        .10171E-06   -.84670E-05
  16  norm          .10000E-03    36.048       -.16468E-07** at limit **
  17  Prefactor     .10001E-03    237.51        .37519E-05** at limit **
  18  Prefactor     .10000E-03    17.283       -.26260E-06** at limit **
  19  Prefactor     .10000E-03    13.015       -.59745E-07** at limit **
  20  Prefactor     10.235        8.9296        .15141E-06   -.25124E-05
  21  Normalizat    1.2672        .23829       -.91001E-06    .12551E-04
  22  Prefactor     .90078        .91346E-01    .52207E-07   -.47609E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 5.07253
  norm       = 1.85451
  Prefactor  = 0.0001
  Prefactor  = 41.5025
  Prefactor  = 0.0001
  Prefactor  = 9.35185
  norm       = 3.53873
  Prefactor  = 0.000100009
  Prefactor  = 0.000100004
  norm       = 0.962885
  Prefactor  = 0.0001
  norm       = 24.945
  norm       = 2.10192
  norm       = 8.59901
  norm       = 0.0001
  Prefactor  = 0.000100014
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.2351
  Normalizat = 1.26716
  Prefactor  = 0.900781
 **********
 **   18 **HESSE 
 **********

 FCN=   8315.403     FROM HESSE     STATUS=OK           344 CALLS     2738 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.2766        .99401E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.0725        5.2816        .89266E-03   -1.5257    
   3  norm          1.8545        3.7620        .24477E-03   -1.5436    
   4  Prefactor     .10000E-03    19.865        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     41.502        43.207        .62235E-04   -1.4419    
   6  Prefactor     .10000E-03    1.2363        .98488E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.3518        23.800        .13090E-03   -1.5096    
   8  norm          3.5387        2.3953        .11209E-03   -1.5332    
   9  Prefactor     .10001E-03    27.852        .23112E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    279.00        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .96289        3.2717        .28906E-03   -1.5512    
  12  Prefactor     .10000E-03    15.659        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          24.945        10.929        .80209E-04   -1.4709    
  14  norm          2.1019        1.5359        .93016E-04   -1.5418    
  15  norm          8.5990        10.425        .13672E-03   -1.5121    
  16  norm          .10000E-03    36.049        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10001E-03    242.52        .20132E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    17.336        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    13.277        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     10.235        8.9264        .12525E-03   -1.5068    
  21  Normalizat    1.2672        .27751        .37282E-03   -.84552    
  22  Prefactor     .90078        .10709        .17236E-03   -.96114    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.33496e-10
Minuit parameter uncertainties:
  1  1.60411e-06
  2  5.28213
  3  3.76244
  4  7.25533e-05
  5  43.24
  6  3.84985e-07
  7  23.8244
  8  2.39537
  9  0.00102692
  10  0.00201282
  11  3.27226
  12  4.33142e-05
  13  10.9295
  14  1.53588
  15  10.4274
  16  8.34762e-06
  17  0.00373214
  18  8.98747e-05
  19  1.69536e-06
  20  8.92755
  21  0.277838
  22  0.107118
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  9.629e-01  3.272e+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:  9.008e-01  1.071e-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.267e+00  2.778e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/744959/likelihoodResults_465609601_465868801_4FGL_J1550.7+0528_daily_bin873.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) = 8315.26616644
delta logL = 0.136400773914

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8315.25861798
delta logL = 0.143949235062

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .74551       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.1384       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2498       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90376       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8315.259     FROM MIGRAD    STATUS=FAILED        88 CALLS      243 TOTAL
                     EDM=   .46E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .74548        2.7859        .13671E-03   -.27874E-03
   2  alpha         3.1385        1.8826        .28541E-01    .23072E-03
   3  Normalizat    1.2498        .26695        .37505E-03   -.84876E-05
   4  Prefactor     .90375        .10581        .17209E-03    .71349E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8315.259     FROM SIMPLEX   STATUS=UNCHANGED     78 CALLS      321 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .74548        2.7859        .87273E-04   -1.5535    
   2  alpha         3.1385        1.8826        .30700E-02    .25825    
   3  Normalizat    1.2498        .26695        .35762E-03   -.85077    
   4  Prefactor     .90375        .10581        .14140E-03   -.96010    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8315.259     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      356 TOTAL
                     EDM=   .48E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .74547        2.0666        .54685E-05   -.66526E-04
   2  alpha         3.1385        1.4860        .57081E-02    .10954E-05
   3  Normalizat    1.2498        .26692        .15002E-04   -.18188E-05
   4  Prefactor     .90375        .10574        .68835E-05   -.26426E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.745475
  alpha      = 3.13849
  Normalizat = 1.24981
  Prefactor  = 0.903754
 **********
 **   18 **HESSE 
 **********

 FCN=   8315.259     FROM HESSE     STATUS=OK            25 CALLS      381 TOTAL
                     EDM=   .35E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .74547        1.9840        .10937E-05   -1.5535    
   2  alpha         3.1385        1.4348        .22833E-03    .25826    
   3  Normalizat    1.2498        .26675        .30004E-05   -.85077    
   4  Prefactor     .90375        .10568        .13767E-05   -.96010    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.51156e-12
Minuit parameter uncertainties:
  1  1.98415
  2  1.53618
  3  0.267039
  4  0.105707
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/744959': 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) = 8315.25861798
delta logL = 0.143949241112

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  7.455e-01  1.984e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  3.138e+00  1.536e+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:  9.038e-01  1.057e-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.250e+00  2.670e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.10
Ra Dec: 237.697 5.473

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/744959/cmap_HighResolution_465609601_465868801_4FGL_J1550.7+0528_daily_bin873.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.52e-05', job_status='DONE', photon_flux_upper_limit='8.41e-08', time_completed='2021-09-12 15:35:58.547880', job_id='744959', GAL2='0.90', fit_tolerance='1e-08', EG2='1.25', EG='1.27', time_epoch_completed='1631486158.55', return_code2='0', ts='0.10', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.44e-01', ts2='0.41', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='873' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:35:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0273>
Subject: Job 744959: <4FGL_J1550.7+0528_daily_bin873> in cluster <slac> Done

Job <4FGL_J1550.7+0528_daily_bin873> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep 12 15:20:52 2021
Job was executed on host(s) <bullet0273>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 15:22:01 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:22:01 2021
Terminated at Sun Sep 12 15:35:59 2021
Results reported at Sun Sep 12 15:35:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin873 237.697 5.4725 465609601 465868801 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 :                                   708.16 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             307.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   837 sec.
    Turnaround time :                            907 sec.

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

