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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin514
RA = 237.697, Dec = 5.4725
tmin = 372556801, tmax = 372816001
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='743381', job_status='RUN', time_executed='2021-09-12 15:19:56.500031', time_epoch_executed='1631485196.5' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='514'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/743381

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/743381/ft1_4FGL_J1550.7+0528_daily_bin514.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/743381/ft2_4FGL_J1550.7+0528_daily_bin514.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/743381/ft1_4FGL_J1550.7+0528_daily_bin514.fits outfile=/scratch/kocevski/743381/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin514.fits ra=237.697 dec=5.4725 rad=12.0 tmin=372556801.0 tmax=372816001.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.43
user 3.19
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/743381/ft2_4FGL_J1550.7+0528_daily_bin514.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/743381/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin514.fits evtable="EVENTS" outfile="/scratch/kocevski/743381/ft1_filtered_4FGL_J1550.7+0528_daily_bin514.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.50
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/743381/ft1_filtered_4FGL_J1550.7+0528_daily_bin514.fits" evtable="EVENTS" scfile=/scratch/kocevski/743381/ft2_4FGL_J1550.7+0528_daily_bin514.fits sctable="SC_DATA" outfile=/scratch/kocevski/743381/ltcube_372556801_372816001_4FGL_J1550.7+0528_daily_bin514.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/743381/ft2_4FGL_J1550.7+0528_daily_bin514.fits
.....................!
real 16.20
user 15.77
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/743381/ft1_filtered_4FGL_J1550.7+0528_daily_bin514.fits evtable="EVENTS" scfile=/scratch/kocevski/743381/ft2_4FGL_J1550.7+0528_daily_bin514.fits sctable="SC_DATA" expcube=/scratch/kocevski/743381/ltcube_372556801_372816001_4FGL_J1550.7+0528_daily_bin514.fits outfile=/scratch/kocevski/743381/expmap_372556801_372816001_4FGL_J1550.7+0528_daily_bin514.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/743381/ltcube_372556801_372816001_4FGL_J1550.7+0528_daily_bin514.fits
.....................!
real 191.68
user 186.12
sys 5.14

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/743381/ft1_filtered_4FGL_J1550.7+0528_daily_bin514.fits scfile=/scratch/kocevski/743381/ft2_4FGL_J1550.7+0528_daily_bin514.fits outfile=/scratch/kocevski/743381/cmap_372556801_372816001_4FGL_J1550.7+0528_daily_bin514.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/743381/ft1_filtered_4FGL_J1550.7+0528_daily_bin514.fits scfile=/scratch/kocevski/743381/ft2_4FGL_J1550.7+0528_daily_bin514.fits outfile=/scratch/kocevski/743381/cmap_HighResolution_372556801_372816001_4FGL_J1550.7+0528_daily_bin514.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/743381/ft1_filtered_4FGL_J1550.7+0528_daily_bin514.fits evtable="EVENTS" scfile=/scratch/kocevski/743381/ft2_4FGL_J1550.7+0528_daily_bin514.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/743381/Model_4FGL_J1550.7+0528_daily_bin514.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/743381/ft1_filtered_4FGL_J1550.7+0528_daily_bin514.fits.....................!
real 62.34
user 60.87
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .29939       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    5.0100       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.3554       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10239E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.0711       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.8430       1.0000         .10000E-03   10000.    
    13 'norm      '    10.563       1.0000         .10000E-03   10000.    
    14 'norm      '    4.3841       1.0000         .10000E-03   10000.    
    15 'norm      '    23.550       1.0000         .10000E-03   10000.    
    16 'norm      '    55.539       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.5315       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.199       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1138       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0212       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=   7532.080     FROM MIGRAD    STATUS=CONVERGED    512 CALLS     2394 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .30062        1.5843       -.33192E-06   -.82343E-04
   2  norm          .10000E-03    2.8810        .19637E-07** at limit **
   3  norm          5.0093        4.3667        .19296E-05   -.71229E-03
   4  Prefactor     6.4649        35.935        .36472E-05   -.43168E-04
   5  Prefactor     .10000E-03    25.270       -.29912E-07** at limit **
   6  Prefactor     .10000E-03    3.6734        .81729E-08** at limit **
   7  Prefactor     .10000E-03    40.089       -.16007E-06** at limit **
   8  norm          .10000E-03    1.2631        .37189E-07** at limit **
   9  Prefactor     .10000E-03    3.7555        .46959E-07** at limit **
  10  Prefactor     .10000E-03    12.776       -.28965E-07** at limit **
  11  norm          3.0711        3.3737        .10150E-06   -.26235E-04
  12  Prefactor     3.8567        87.485       -.17068E-05   -.20490E-04
  13  norm          10.563        9.4250        .31979E-06    .29190E-04
  14  norm          4.3841        1.8384       -.22634E-06    .49275E-03
  15  norm          23.545        14.769       -.18898E-06   -.85995E-04
  16  norm          55.452        84.583       -.87271E-05   -.17199E-03
  17  Prefactor     1.2456        484.53        .51296E-05    .10928E-05
  18  Prefactor     .10000E-03    30.462        .28143E-06** at limit **
  19  Prefactor     13.198        10.738        .51950E-06    .14366E-03
  20  Prefactor     .10000E-03    2.5358        .63682E-07** at limit **
  21  Normalizat    1.1137        .25520       -.71265E-06    .30328E-04
  22  Prefactor     1.0213        .10229        .68828E-07   -.13188E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.300618
  norm       = 0.0001
  norm       = 5.00925
  Prefactor  = 6.4649
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.07105
  Prefactor  = 3.85665
  norm       = 10.5626
  norm       = 4.38412
  norm       = 23.5449
  norm       = 55.4523
  Prefactor  = 1.24557
  Prefactor  = 0.0001
  Prefactor  = 13.1981
  Prefactor  = 0.0001
  Normalizat = 1.11369
  Prefactor  = 1.02125
 **********
 **   18 **HESSE 
 **********

 FCN=   7532.080     FROM HESSE     STATUS=OK           346 CALLS     2740 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .30062        7.4173        .20553E-02   -1.5598    
   2  norm          .10000E-03    2.8831        .14387E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          5.0093        4.5286        .83572E-03   -1.5260    
   4  Prefactor     6.4649        36.130        .79608E-03   -1.5199    
   5  Prefactor     .10000E-03    25.396        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.7396        .16231E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    40.343        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.2850        .95201E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    3.9063        .32816E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    12.779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.0711        3.3652        .16158E-03   -1.5357    
  12  Prefactor     3.8567        88.014        .20587E-03   -1.5315    
  13  norm          10.563        9.4440        .12328E-03   -1.5058    
  14  norm          4.3841        1.8428        .36876E-03   -1.5289    
  15  norm          23.545        14.808        .82543E-04   -1.4737    
  16  norm          55.452        90.027        .26913E-03   -1.4217    
  17  Prefactor     1.2456        496.41        .34486E-03   -1.5485    
  18  Prefactor     .10000E-03    30.596        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     13.198        10.754        .11025E-03   -1.4981    
  20  Prefactor     .10000E-03    2.5390        .13495E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1137        .29588        .39339E-03   -.89314    
  22  Prefactor     1.0213        .11939        .16841E-03   -.92024    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08742e-08
Minuit parameter uncertainties:
  1  2.98641
  2  9.31824e-07
  3  4.5289
  4  30.5946
  5  3.54137e-06
  6  8.33354e-07
  7  2.78222e-05
  8  3.17366e-07
  9  1.98049e-06
  10  3.49937e-06
  11  3.36541
  12  36.9087
  13  9.44538
  14  1.84285
  15  14.8105
  16  90.2487
  17  50.1542
  18  2.74997e-05
  19  10.7556
  20  6.33308e-07
  21  0.296318
  22  0.119417
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  3.071e+00  3.365e+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.021e+00  1.194e-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.114e+00  2.963e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.51
Ra Dec: 237.697 5.473
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 2.70e-08 +/- 2.96e-08
Energy Flux (Fixed Index): 1.13e-05 +/- 1.24e-05

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

Saving results to:
/scratch/kocevski/743381/likelihoodResults_372556801_372816001_4FGL_J1550.7+0528_daily_bin514.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) = 7532.02861655
delta logL = 0.0515142345821

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7532.01898388
delta logL = 0.0611469091891

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6210       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6245       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1007       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0238       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=   7532.019     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      239 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6214        3.4935        .14024E-03   -.47763E-03
   2  alpha         2.6246        1.0274        .20093E-01   -.33446E-04
   3  Normalizat    1.1008        .28876        .39543E-03    .18966E-03
   4  Prefactor     1.0238        .11858        .16822E-03    .54427E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.62141
  alpha      = 2.62463
  Normalizat = 1.10076
  Prefactor  = 1.02382
 **********
 **   18 **HESSE 
 **********

 FCN=   7532.019     FROM HESSE     STATUS=OK            25 CALLS      264 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6214        3.2950        .56098E-05   -1.5384    
   2  alpha         2.6246        .97136        .80373E-03    .49873E-01
   3  Normalizat    1.1008        .28859        .15817E-04   -.89727    
   4  Prefactor     1.0238        .11859        .33644E-04   -.91940    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.36283e-10
Minuit parameter uncertainties:
  1  3.29524
  2  0.997693
  3  0.289006
  4  0.118622
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/743381': 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) = 7532.01898382
delta logL = 0.0611469718315

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  2.621e+00  3.295e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  2.625e+00  9.977e-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.024e+00  1.186e-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.101e+00  2.890e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.64
Ra Dec: 237.697 5.473
Photon Index (Free Index): 2.62 +/- 1.00
Photon Flux (Free Index): 3.80e-08 +/- 4.96e-08
Energy Flux (Free Index): 1.15e-05 +/- 1.19e-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/743381/cmap_HighResolution_372556801_372816001_4FGL_J1550.7+0528_daily_bin514.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.40e-05', comment='SUCCESS', photon_flux='2.70e-08', energy_flux2='1.15e-05', photon_flux_error='2.96e-08', dlogl='6.11e-02', energy_flux='1.13e-05', photon_flux2='3.80e-08', job_status='DONE', time_completed='2021-09-12 15:31:00.689288', photon_index_error2='1.00', photon_index2='2.62', ts='1.51', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='1.05e-07', energy_flux_error2='1.19e-05', EG='1.11', time_epoch_completed='1631485860.69', return_code='0', job_id='743381', GAL2='1.02', EG2='1.10', return_code2='0', energy_flux_error='1.24e-05', photon_flux_error2='4.96e-08', ts2='1.64', photon_index='2.27' WHERE bin_id='514' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:31:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0256>
Subject: Job 743381: <4FGL_J1550.7+0528_daily_bin514> in cluster <slac> Done

Job <4FGL_J1550.7+0528_daily_bin514> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 15:15:44 2021
Job was executed on host(s) <bullet0256>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 15:17:22 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:17:22 2021
Terminated at Sun Sep 12 15:31:01 2021
Results reported at Sun Sep 12 15:31:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin514 237.697 5.4725 372556801 372816001 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 :                                   662.02 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             283.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   818 sec.
    Turnaround time :                            917 sec.

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

