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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin411
RA = 237.697, Dec = 5.4725
tmin = 345859201, tmax = 346118401
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='743227', job_status='RUN', time_executed='2021-09-12 15:18:43.054646', time_epoch_executed='1631485123.05' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='411'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/743227

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/743227/ft1_4FGL_J1550.7+0528_daily_bin411.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/743227/ft2_4FGL_J1550.7+0528_daily_bin411.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/743227/ft1_4FGL_J1550.7+0528_daily_bin411.fits outfile=/scratch/kocevski/743227/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin411.fits ra=237.697 dec=5.4725 rad=12.0 tmin=345859201.0 tmax=346118401.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.49
user 3.24
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/743227/ft1_filtered_4FGL_J1550.7+0528_daily_bin411.fits" evtable="EVENTS" scfile=/scratch/kocevski/743227/ft2_4FGL_J1550.7+0528_daily_bin411.fits sctable="SC_DATA" outfile=/scratch/kocevski/743227/ltcube_345859201_346118401_4FGL_J1550.7+0528_daily_bin411.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/743227/ft2_4FGL_J1550.7+0528_daily_bin411.fits
.....................!
real 15.01
user 14.60
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/743227/ft1_filtered_4FGL_J1550.7+0528_daily_bin411.fits evtable="EVENTS" scfile=/scratch/kocevski/743227/ft2_4FGL_J1550.7+0528_daily_bin411.fits sctable="SC_DATA" expcube=/scratch/kocevski/743227/ltcube_345859201_346118401_4FGL_J1550.7+0528_daily_bin411.fits outfile=/scratch/kocevski/743227/expmap_345859201_346118401_4FGL_J1550.7+0528_daily_bin411.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/743227/ltcube_345859201_346118401_4FGL_J1550.7+0528_daily_bin411.fits
.....................!
real 192.48
user 187.05
sys 4.90

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/743227/ft1_filtered_4FGL_J1550.7+0528_daily_bin411.fits scfile=/scratch/kocevski/743227/ft2_4FGL_J1550.7+0528_daily_bin411.fits outfile=/scratch/kocevski/743227/cmap_345859201_346118401_4FGL_J1550.7+0528_daily_bin411.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=237.697 yref=5.4725 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/743227/ft1_filtered_4FGL_J1550.7+0528_daily_bin411.fits scfile=/scratch/kocevski/743227/ft2_4FGL_J1550.7+0528_daily_bin411.fits outfile=/scratch/kocevski/743227/cmap_HighResolution_345859201_346118401_4FGL_J1550.7+0528_daily_bin411.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.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/743227/ft1_filtered_4FGL_J1550.7+0528_daily_bin411.fits evtable="EVENTS" scfile=/scratch/kocevski/743227/ft2_4FGL_J1550.7+0528_daily_bin411.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/743227/Model_4FGL_J1550.7+0528_daily_bin411.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/743227/ft1_filtered_4FGL_J1550.7+0528_daily_bin411.fits.....................!
real 71.46
user 70.00
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8951       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    89.533       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .68656       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10262E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .74116       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    54.556       1.0000         .10000E-03   10000.    
    11 'norm      '    .10115E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.7618       1.0000         .10000E-03   10000.    
    14 'norm      '    4.0213       1.0000         .10000E-03   10000.    
    15 'norm      '    29.797       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10157E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.4017       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0070       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8899.063     FROM MIGRAD    STATUS=CONVERGED    496 CALLS     2397 TOTAL
                     EDM=   .77E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8953        2.0823         .0000        .54222E-03
   2  norm          .10000E-03    2.5905         .0000    ** at limit **
   3  norm          .10000E-03    1.1052         .0000    ** at limit **
   4  Prefactor     89.534        50.435         .0000       -.93038E-04
   5  Prefactor     .10000E-03    12.077         .0000    ** at limit **
   6  Prefactor     .68470        2.4282         .0000        .80469E-03
   7  Prefactor     .10000E-03    61.304         .0000    ** at limit **
   8  norm          .74217        1.8143         .0000        .15223E-02
   9  Prefactor     .10000E-03    1.2618         .0000    ** at limit **
  10  Prefactor     54.555        33.308         .0000        .92732E-04
  11  norm          .10000E-03    4.3279         .0000    ** at limit **
  12  Prefactor     .10000E-03    33.353         .0000    ** at limit **
  13  norm          2.7608        8.9458         .0000        .74187E-02
  14  norm          4.0214        2.0590         .0000        .21777E-03
  15  norm          29.799        16.947         .0000        .86863E-04
  16  norm          .10000E-03    33.356         .0000    ** at limit **
  17  Prefactor     .10001E-03    122.19         .0000    ** at limit **
  18  Prefactor     .10000E-03    14.263         .0000    ** at limit **
  19  Prefactor     .10000E-03    5.8807         .0000    ** at limit **
  20  Prefactor     .10000E-03    3.0031         .0000    ** at limit **
  21  Normalizat    1.4016        .24392         .0000        .56740E-03
  22  Prefactor     1.0070        .94947E-01     .0000        .11620E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 1.89525
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 89.5336
  Prefactor  = 0.0001
  Prefactor  = 0.684702
  Prefactor  = 0.0001
  norm       = 0.742166
  Prefactor  = 0.0001
  Prefactor  = 54.5554
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 2.76082
  norm       = 4.02145
  norm       = 29.7993
  norm       = 0.0001
  Prefactor  = 0.000100011
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.40158
  Prefactor  = 1.00697
 **********
 **   18 **HESSE 
 **********

 FCN=   8899.063     FROM HESSE     STATUS=OK           338 CALLS     2735 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8953        2.0747        .13817E-03   -1.5433    
   2  norm          .10000E-03    2.5953        .14828E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.1086        .96838E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     89.534        50.432        .42465E-04   -1.3813    
   5  Prefactor     .10000E-03    12.087        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .68470        6.9327        .26043E-02   -1.5542    
   7  Prefactor     .10000E-03    64.202        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .74217        1.4804        .18868E-02   -1.5536    
   9  Prefactor     .10000E-03    1.2675        .10345E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     54.555        33.249        .54306E-04   -1.4229    
  11  norm          .10000E-03    4.5042        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    33.372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.7608        8.8249        .12246E-02   -1.5376    
  14  norm          4.0214        2.0538        .92145E-04   -1.5307    
  15  norm          29.799        16.990        .73398E-04   -1.4616    
  16  norm          .10000E-03    33.356        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10001E-03    122.65        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    14.273        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.9123        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.0092        .15965E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.4016        .28204        .37948E-03   -.80583    
  22  Prefactor     1.0070        .11063        .17771E-03   -.92497    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12507e-09
Minuit parameter uncertainties:
  1  2.07482
  2  4.47697e-05
  3  1.1225e-05
  4  50.4558
  5  0.000106376
  6  4.35779
  7  5.42895e-05
  8  1.4805
  9  6.66643e-06
  10  33.2602
  11  1.23529e-05
  12  0.000292381
  13  8.82901
  14  2.05381
  15  16.9931
  16  7.6127e-05
  17  0.00227719
  18  6.31504e-06
  19  5.66531e-05
  20  3.24859e-05
  21  0.28235
  22  0.110653
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.000e-04  1.235e-05  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.007e+00  1.107e-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.402e+00  2.824e-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: 7.78e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.26e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/743227/likelihoodResults_345859201_346118401_4FGL_J1550.7+0528_daily_bin411.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) = 8899.06446985
delta logL = -0.00105236014315

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8899.06341812
delta logL = -6.30770955468e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10232E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2735       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4014       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0071       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=   8899.063     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      207 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.6716        .90712E-02** at limit **
   2  alpha         2.2751        3.5181        .41367       -.19706E-05
   3  Normalizat    1.4016        .23190        .85710E-01    .13527E-03
   4  Prefactor     1.0070        .94579E-01    .43794E-01    .34705E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100002
  alpha      = 2.27511
  Normalizat = 1.40158
  Prefactor  = 1.00697
 **********
 **   18 **HESSE 
 **********

 FCN=   8899.063     FROM HESSE     STATUS=OK            33 CALLS      240 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.7354        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2751        3.5106        .50000       -.90077E-01
   3  Normalizat    1.4016        .26843        .37948E-03   -.80583    
   4  Prefactor     1.0070        .10970        .17771E-03   -.92497    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.26137e-10
Minuit parameter uncertainties:
  1  0.000180863
  2  2.55506
  3  0.268702
  4  0.109722
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/743227': 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) = 8899.06341749
delta logL = 2.52293830272e-09

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.000e-04  1.809e-04  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  2.275e+00  2.555e+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:  1.007e+00  1.097e-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.402e+00  2.687e-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/743227/cmap_HighResolution_345859201_346118401_4FGL_J1550.7+0528_daily_bin411.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.26e-05', job_status='DONE', photon_flux_upper_limit='7.78e-08', time_completed='2021-09-12 15:30:53.090532', job_id='743227', GAL2='1.01', fit_tolerance='1e-08', EG2='1.40', EG='1.40', time_epoch_completed='1631485853.09', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='2.52e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='411' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:30:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 743227: <4FGL_J1550.7+0528_daily_bin411> in cluster <slac> Done

Job <4FGL_J1550.7+0528_daily_bin411> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 15:15:32 2021
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 15:16: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:16:22 2021
Terminated at Sun Sep 12 15:30:53 2021
Results reported at Sun Sep 12 15:30:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin411 237.697 5.4725 345859201 346118401 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 :                                   725.36 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             279.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   871 sec.
    Turnaround time :                            921 sec.

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

