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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin343
RA = 237.697, Dec = 5.4725
tmin = 328233601, tmax = 328492801
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='743125', job_status='RUN', time_executed='2021-09-12 15:16:01.147614', time_epoch_executed='1631484961.15' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='343'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/743125

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/743125/ft1_4FGL_J1550.7+0528_daily_bin343.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/743125/ft2_4FGL_J1550.7+0528_daily_bin343.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/743125/ft1_4FGL_J1550.7+0528_daily_bin343.fits outfile=/scratch/kocevski/743125/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin343.fits ra=237.697 dec=5.4725 rad=12.0 tmin=328233601.0 tmax=328492801.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.93
user 3.69
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/743125/ft1_filtered_4FGL_J1550.7+0528_daily_bin343.fits" evtable="EVENTS" scfile=/scratch/kocevski/743125/ft2_4FGL_J1550.7+0528_daily_bin343.fits sctable="SC_DATA" outfile=/scratch/kocevski/743125/ltcube_328233601_328492801_4FGL_J1550.7+0528_daily_bin343.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/743125/ft2_4FGL_J1550.7+0528_daily_bin343.fits
.....................!
real 14.25
user 13.87
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/743125/ft1_filtered_4FGL_J1550.7+0528_daily_bin343.fits evtable="EVENTS" scfile=/scratch/kocevski/743125/ft2_4FGL_J1550.7+0528_daily_bin343.fits sctable="SC_DATA" expcube=/scratch/kocevski/743125/ltcube_328233601_328492801_4FGL_J1550.7+0528_daily_bin343.fits outfile=/scratch/kocevski/743125/expmap_328233601_328492801_4FGL_J1550.7+0528_daily_bin343.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/743125/ltcube_328233601_328492801_4FGL_J1550.7+0528_daily_bin343.fits
.....................!
real 191.26
user 186.06
sys 4.79

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/743125/ft1_filtered_4FGL_J1550.7+0528_daily_bin343.fits scfile=/scratch/kocevski/743125/ft2_4FGL_J1550.7+0528_daily_bin343.fits outfile=/scratch/kocevski/743125/cmap_328233601_328492801_4FGL_J1550.7+0528_daily_bin343.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/743125/ft1_filtered_4FGL_J1550.7+0528_daily_bin343.fits scfile=/scratch/kocevski/743125/ft2_4FGL_J1550.7+0528_daily_bin343.fits outfile=/scratch/kocevski/743125/cmap_HighResolution_328233601_328492801_4FGL_J1550.7+0528_daily_bin343.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.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/743125/ft1_filtered_4FGL_J1550.7+0528_daily_bin343.fits evtable="EVENTS" scfile=/scratch/kocevski/743125/ft2_4FGL_J1550.7+0528_daily_bin343.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/743125/Model_4FGL_J1550.7+0528_daily_bin343.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/743125/ft1_filtered_4FGL_J1550.7+0528_daily_bin343.fits.....................!
real 73.73
user 71.78
sys 1.34

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .66006E-01   1.0000         .10000E-03   10000.    
     2 'norm      '    4.4993       1.0000         .10000E-03   10000.    
     3 'norm      '    1.5453       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.3590       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.5302       1.0000         .10000E-03   10000.    
     8 'norm      '    .80925       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    94.703       1.0000         .10000E-03   10000.    
    11 'norm      '    2.9955       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.5611       1.0000         .10000E-03   10000.    
    15 'norm      '    18.690       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .14345E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.8146       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2913       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .98032       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=   8840.262     FROM MIGRAD    STATUS=CONVERGED    858 CALLS     2824 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .70884E-01    24.946        .21116E-02    .16172E-03
   2  norm          4.4994        4.6351        .18981E-03   -.29947E-05
   3  norm          1.5449        3.8667        .27743E-03   -.57615E-04
   4  Prefactor     .10000E-03    71.758        .18142E-02** at limit **
   5  Prefactor     .10000E-03    12.030        .18142E-02** at limit **
   6  Prefactor     1.3599        4.5559        .34582E-03   -.52270E-04
   7  Prefactor     6.5303        18.949        .15705E-03   -.57913E-06
   8  norm          .81326        2.9274        .28380E-03    .11345E-03
   9  Prefactor     .10000E-03    4.2247        .36285E-03** at limit **
  10  Prefactor     94.684        56.675        .20650E-03   -.66065E-05
  11  norm          2.9956        3.2184        .16885E-03   -.12523E-04
  12  Prefactor     .10000E-03    17.542        .18142E-02** at limit **
  13  norm          .10000E-03    3.5391        .17243E-02** at limit **
  14  norm          1.5612        1.1343        .82547E-04   -.11018E-05
  15  norm          18.692        19.471        .92644E-04   -.76082E-05
  16  norm          .10000E-03    32.193        .18142E-02** at limit **
  17  Prefactor     .10000E-03    26.016        .18142E-02** at limit **
  18  Prefactor     .10000E-03    218.37        .91065E-02** at limit **
  19  Prefactor     4.8074        7.4425        .18334E-03   -.15626E-04
  20  Prefactor     .10000E-03    2.0667        .13190E-02** at limit **
  21  Normalizat    1.2909        .29184        .38680E-03   -.32037E-04
  22  Prefactor     .98038        .10859        .17128E-03   -.17085E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0708844
  norm       = 4.49936
  norm       = 1.54492
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.35994
  Prefactor  = 6.53032
  norm       = 0.813257
  Prefactor  = 0.0001
  Prefactor  = 94.6842
  norm       = 2.9956
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.56116
  norm       = 18.6924
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.80736
  Prefactor  = 0.0001
  Normalizat = 1.29088
  Prefactor  = 0.980384
 **********
 **   18 **HESSE 
 **********

 FCN=   8840.262     FROM HESSE     STATUS=OK           322 CALLS     3146 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .70884E-01    24.958        .84463E-04   -1.5655    
   2  norm          4.4994        4.6352        .75925E-05   -1.5284    
   3  norm          1.5449        3.8389        .11097E-04   -1.5459    
   4  Prefactor     .10000E-03    71.773        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    12.030        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.3599        4.5536        .13833E-04   -1.5475    
   7  Prefactor     6.5303        18.946        .62818E-05   -1.5197    
   8  norm          .81326        2.9258        .11352E-04   -1.5528    
   9  Prefactor     .10000E-03    4.2249        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     94.684        56.647        .82600E-05   -1.3759    
  11  norm          2.9956        3.2181        .67541E-05   -1.5362    
  12  Prefactor     .10000E-03    17.542        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    3.5394        .34487E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.5612        1.1343        .33019E-05   -1.5458    
  15  norm          18.692        19.456        .37058E-05   -1.4843    
  16  norm          .10000E-03    32.193        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    26.016        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    227.61        .36426E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.8074        7.4383        .73338E-05   -1.5269    
  20  Prefactor     .10000E-03    2.0668        .26380E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2909        .29001        .15472E-04   -.83839    
  22  Prefactor     .98038        .10843        .34256E-04   -.93386    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2962e-10
Minuit parameter uncertainties:
  1  2.6594
  2  4.63554
  3  3.83951
  4  0.000197666
  5  7.40501e-06
  6  4.55478
  7  18.9639
  8  2.92628
  9  1.09826e-05
  10  56.6796
  11  3.21825
  12  7.94335e-06
  13  2.58873e-06
  14  1.13427
  15  19.4627
  16  9.51668e-05
  17  5.21708e-05
  18  2.71422e-05
  19  7.43969
  20  1.04084e-06
  21  0.290374
  22  0.108458
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  2.996e+00  3.218e+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.804e-01  1.085e-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.291e+00  2.904e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.38
Ra Dec: 237.697 5.473
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 2.63e-08 +/- 2.83e-08
Energy Flux (Fixed Index): 1.10e-05 +/- 1.19e-05

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

Saving results to:
/scratch/kocevski/743125/likelihoodResults_328233601_328492801_4FGL_J1550.7+0528_daily_bin343.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) = 8840.14562915
delta logL = 0.116599805664

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8840.13748124
delta logL = 0.124747721376

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.4088       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7210       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3039       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97752       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=   8840.137     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      198 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4089        3.5463        .54778E-02   -.31238E-02
   2  alpha         1.7211        1.0042        .44014E-01   -.85349E-04
   3  Normalizat    1.3039        .23146        .86975E-01    .98074E-05
   4  Prefactor     .97752        .91168E-01    .45985E-01   -.22515E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.40886
  alpha      = 1.72114
  Normalizat = 1.30393
  Prefactor  = 0.977517
 **********
 **   18 **HESSE 
 **********

 FCN=   8840.137     FROM HESSE     STATUS=OK            29 CALLS      227 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4089        3.5607        .17520E-03   -1.5339    
   2  alpha         1.7211        1.0114        .88028E-02   -.31682    
   3  Normalizat    1.3039        .27111        .38513E-03   -.83449    
   4  Prefactor     .97752        .10703        .17148E-03   -.93483    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.29391e-09
Minuit parameter uncertainties:
  1  3.56092
  2  1.04478
  3  0.271402
  4  0.107055
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/743125': 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) = 8840.13748123
delta logL = 0.124747728038

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  3.409e+00  3.561e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  1.721e+00  1.045e+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.775e-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.304e+00  2.714e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.63
Ra Dec: 237.697 5.473
Photon Index (Free Index): 1.72 +/- 1.04
Photon Flux (Free Index): 1.63e-08 +/- 2.38e-08
Energy Flux (Free Index): 1.46e-05 +/- 1.84e-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/743125/cmap_HighResolution_328233601_328492801_4FGL_J1550.7+0528_daily_bin343.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.02e-05', comment='SUCCESS', photon_flux='2.63e-08', energy_flux2='1.46e-05', photon_flux_error='2.83e-08', dlogl='1.25e-01', energy_flux='1.10e-05', photon_flux2='1.63e-08', job_status='DONE', time_completed='2021-09-12 15:28:38.434326', photon_index_error2='1.04', photon_index2='1.72', ts='1.38', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='9.59e-08', energy_flux_error2='1.84e-05', EG='1.29', time_epoch_completed='1631485718.43', return_code='0', job_id='743125', GAL2='0.98', EG2='1.30', return_code2='0', energy_flux_error='1.19e-05', photon_flux_error2='2.38e-08', ts2='1.63', photon_index='2.27' WHERE bin_id='343' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:28:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 743125: <4FGL_J1550.7+0528_daily_bin343> in cluster <slac> Done

Job <4FGL_J1550.7+0528_daily_bin343> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 15:15:24 2021
Job was executed on host(s) <bullet0240>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 15:15:48 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:15:48 2021
Terminated at Sun Sep 12 15:28:38 2021
Results reported at Sun Sep 12 15:28:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin343 237.697 5.4725 328233601 328492801 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 :                                   752.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             311.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   770 sec.
    Turnaround time :                            794 sec.

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

