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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin598
RA = 237.697, Dec = 5.4725
tmin = 394329601, tmax = 394588801
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='744517', job_status='RUN', time_executed='2021-09-12 15:22:37.118635', time_epoch_executed='1631485357.12' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='598'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/744517

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

Retrieving the FT1 file...

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

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

Retrieving 53 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/744517/ft1_4FGL_J1550.7+0528_daily_bin598.fits


Retrieving the FT1 file...

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

Retrieving 53 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/744517/ft2_4FGL_J1550.7+0528_daily_bin598.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/744517/ft1_4FGL_J1550.7+0528_daily_bin598.fits outfile=/scratch/kocevski/744517/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin598.fits ra=237.697 dec=5.4725 rad=12.0 tmin=394329601.0 tmax=394588801.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 7.51
user 7.15
sys 0.30

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/744517/ft1_filtered_4FGL_J1550.7+0528_daily_bin598.fits" evtable="EVENTS" scfile=/scratch/kocevski/744517/ft2_4FGL_J1550.7+0528_daily_bin598.fits sctable="SC_DATA" outfile=/scratch/kocevski/744517/ltcube_394329601_394588801_4FGL_J1550.7+0528_daily_bin598.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/744517/ft2_4FGL_J1550.7+0528_daily_bin598.fits
.....................!
real 13.93
user 13.53
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/744517/ft1_filtered_4FGL_J1550.7+0528_daily_bin598.fits evtable="EVENTS" scfile=/scratch/kocevski/744517/ft2_4FGL_J1550.7+0528_daily_bin598.fits sctable="SC_DATA" expcube=/scratch/kocevski/744517/ltcube_394329601_394588801_4FGL_J1550.7+0528_daily_bin598.fits outfile=/scratch/kocevski/744517/expmap_394329601_394588801_4FGL_J1550.7+0528_daily_bin598.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/744517/ltcube_394329601_394588801_4FGL_J1550.7+0528_daily_bin598.fits
.....................!
real 191.01
user 186.24
sys 4.30

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/744517/ft1_filtered_4FGL_J1550.7+0528_daily_bin598.fits scfile=/scratch/kocevski/744517/ft2_4FGL_J1550.7+0528_daily_bin598.fits outfile=/scratch/kocevski/744517/cmap_394329601_394588801_4FGL_J1550.7+0528_daily_bin598.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.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/744517/ft1_filtered_4FGL_J1550.7+0528_daily_bin598.fits scfile=/scratch/kocevski/744517/ft2_4FGL_J1550.7+0528_daily_bin598.fits outfile=/scratch/kocevski/744517/cmap_HighResolution_394329601_394588801_4FGL_J1550.7+0528_daily_bin598.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.58
user 0.43
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/744517/ft1_filtered_4FGL_J1550.7+0528_daily_bin598.fits evtable="EVENTS" scfile=/scratch/kocevski/744517/ft2_4FGL_J1550.7+0528_daily_bin598.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/744517/Model_4FGL_J1550.7+0528_daily_bin598.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/744517/ft1_filtered_4FGL_J1550.7+0528_daily_bin598.fits.....................!
real 73.78
user 72.40
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.8274       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.5227       1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.262       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    7.1754       1.0000         .10000E-03   10000.    
    14 'norm      '    1.9743       1.0000         .10000E-03   10000.    
    15 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    40.286       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10125E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.2854       1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.320       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3330       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .83608       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=   8959.833     FROM MIGRAD    STATUS=CONVERGED    468 CALLS     2314 TOTAL
                     EDM=   .10E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.3914       -.87219E-07** at limit **
   2  norm          .10000E-03    2.1004       -.25797E-08** at limit **
   3  norm          .10000E-03    1.5451       -.57775E-07** at limit **
   4  Prefactor     9.7699        29.398        .54378E-05    .14272E-06
   5  Prefactor     .10000E-03    26.817        .78398E-06** at limit **
   6  Prefactor     4.5222        4.1623        .70036E-06   -.98600E-05
   7  Prefactor     13.261        16.092       -.76246E-08   -.27209E-05
   8  norm          .10000E-03    .80410       -.12030E-07** at limit **
   9  Prefactor     .10000E-03    1.8909        .87797E-07** at limit **
  10  Prefactor     .10000E-03    20.880       -.72970E-06** at limit **
  11  norm          .10000E-03    1.1902        .11869E-07** at limit **
  12  Prefactor     .10000E-03    24.881        .99080E-06** at limit **
  13  norm          7.1745        6.8620        .18636E-06   -.19801E-06
  14  norm          1.9742        1.1865       -.30996E-09   -.80067E-05
  15  norm          .10000E-03    12.263        .71562E-08** at limit **
  16  norm          40.283        57.557        .28945E-06    .82332E-08
  17  Prefactor     .10000E-03    32.556       -.96551E-06** at limit **
  18  Prefactor     .10000E-03    49.992       -.86451E-06** at limit **
  19  Prefactor     8.2853        7.5096        .45344E-07    .36362E-05
  20  Prefactor     10.320        8.2644        .69170E-07    .10275E-05
  21  Normalizat    1.3333        .21394       -.13961E-06   -.31361E-05
  22  Prefactor     .83597        .82823E-01   -.25267E-06   -.28561E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 9.76992
  Prefactor  = 0.0001
  Prefactor  = 4.52223
  Prefactor  = 13.2605
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 7.1745
  norm       = 1.97425
  norm       = 0.0001
  norm       = 40.2829
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.28531
  Prefactor  = 10.3198
  Normalizat = 1.33328
  Prefactor  = 0.835972
 **********
 **   18 **HESSE 
 **********

 FCN=   8959.833     FROM HESSE     STATUS=OK           338 CALLS     2652 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.4237        .10900E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.1016        .13397E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.5572        .11490E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.7699        29.424        .12783E-03   -1.5083    
   5  Prefactor     .10000E-03    26.877        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.5222        4.1704        .88496E-03   -1.5283    
   7  Prefactor     13.261        16.090        .10999E-03   -1.4980    
   8  norm          .10000E-03    .80728        .82869E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.9227        .12702E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    20.909        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.2015        .10082E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    24.896        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          7.1745        6.8680        .14975E-03   -1.5172    
  14  norm          1.9742        1.1915        .77791E-04   -1.5427    
  15  norm          .10000E-03    12.458        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          40.283        57.564        .63153E-04   -1.4438    
  17  Prefactor     .10000E-03    32.573        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    50.339        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.2853        7.5056        .13928E-03   -1.5132    
  20  Prefactor     10.320        8.2625        .12473E-03   -1.5065    
  21  Normalizat    1.3333        .25140        .34959E-03   -.82578    
  22  Prefactor     .83597        .97240E-01    .16743E-03   -.98416    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19551e-10
Minuit parameter uncertainties:
  1  3.18486e-06
  2  1.19993e-07
  3  2.22963e-06
  4  29.4674
  5  3.5092e-06
  6  4.17071
  7  16.0951
  8  2.39023e-08
  9  5.9834e-07
  10  7.22386e-07
  11  2.15361e-07
  12  2.67482e-06
  13  6.86872
  14  1.1915
  15  4.26434e-06
  16  57.6434
  17  2.49039e-06
  18  1.72607e-05
  19  7.5065
  20  8.26341
  21  0.251634
  22  0.09726
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.000e-04  2.154e-07  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:  8.360e-01  9.726e-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.333e+00  2.516e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/744517/likelihoodResults_394329601_394588801_4FGL_J1550.7+0528_daily_bin598.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) = 8959.83682711
delta logL = -0.00394913772107

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8959.83287809
delta logL = -1.18827301776e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2730       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3333       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83595       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=   8959.833     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      196 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.1896        .90712E-02** at limit **
   2  alpha         2.2742        3.4957        .41368       -.49786E-05
   3  Normalizat    1.3333        .20968        .78980E-01    .61302E-04
   4  Prefactor     .83597        .82152E-01    .44183E-01    .11383E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.27418
  Normalizat = 1.33328
  Prefactor  = 0.835972
 **********
 **   18 **HESSE 
 **********

 FCN=   8959.833     FROM HESSE     STATUS=OK            31 CALLS      227 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.2013        .10082E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2742        3.4957        .50000       -.90453E-01
   3  Normalizat    1.3333        .24618        .34959E-03   -.82578    
   4  Prefactor     .83597        .96605E-01    .16743E-03   -.98416    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.57768e-11
Minuit parameter uncertainties:
  1  6.50349e-06
  2  2.48997
  3  0.246401
  4  0.0966245
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/744517': 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) = 8959.83287797
delta logL = 4.57839632872e-09

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.000e-04  6.503e-06  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  2.274e+00  2.490e+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:  8.360e-01  9.662e-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.333e+00  2.464e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/744517/cmap_HighResolution_394329601_394588801_4FGL_J1550.7+0528_daily_bin598.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.02e-05', job_status='DONE', photon_flux_upper_limit='4.83e-08', time_completed='2021-09-12 15:34:49.325846', job_id='744517', GAL2='0.84', fit_tolerance='1e-08', EG2='1.33', EG='1.33', time_epoch_completed='1631486089.33', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='4.58e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='598' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:34:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 744517: <4FGL_J1550.7+0528_daily_bin598> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin598 237.697 5.4725 394329601 394588801 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 :                                   730.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             259.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   867 sec.
    Turnaround time :                            874 sec.

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

