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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin434
RA = 237.697, Dec = 5.4725
tmin = 351820801, tmax = 352080001
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='743261', job_status='RUN', time_executed='2021-09-12 15:20:11.751015', time_epoch_executed='1631485211.75' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='434'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/743261

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/743261/ft1_4FGL_J1550.7+0528_daily_bin434.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/743261/ft2_4FGL_J1550.7+0528_daily_bin434.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/743261/ft1_4FGL_J1550.7+0528_daily_bin434.fits outfile=/scratch/kocevski/743261/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin434.fits ra=237.697 dec=5.4725 rad=12.0 tmin=351820801.0 tmax=352080001.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.52
user 2.77
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/743261/ft1_filtered_4FGL_J1550.7+0528_daily_bin434.fits" evtable="EVENTS" scfile=/scratch/kocevski/743261/ft2_4FGL_J1550.7+0528_daily_bin434.fits sctable="SC_DATA" outfile=/scratch/kocevski/743261/ltcube_351820801_352080001_4FGL_J1550.7+0528_daily_bin434.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/743261/ft2_4FGL_J1550.7+0528_daily_bin434.fits
.....................!
real 11.23
user 10.17
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/743261/ft1_filtered_4FGL_J1550.7+0528_daily_bin434.fits evtable="EVENTS" scfile=/scratch/kocevski/743261/ft2_4FGL_J1550.7+0528_daily_bin434.fits sctable="SC_DATA" expcube=/scratch/kocevski/743261/ltcube_351820801_352080001_4FGL_J1550.7+0528_daily_bin434.fits outfile=/scratch/kocevski/743261/expmap_351820801_352080001_4FGL_J1550.7+0528_daily_bin434.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/743261/ltcube_351820801_352080001_4FGL_J1550.7+0528_daily_bin434.fits
.....................!
real 156.48
user 151.14
sys 4.37

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/743261/ft1_filtered_4FGL_J1550.7+0528_daily_bin434.fits scfile=/scratch/kocevski/743261/ft2_4FGL_J1550.7+0528_daily_bin434.fits outfile=/scratch/kocevski/743261/cmap_351820801_352080001_4FGL_J1550.7+0528_daily_bin434.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.47
user 0.32
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/743261/ft1_filtered_4FGL_J1550.7+0528_daily_bin434.fits scfile=/scratch/kocevski/743261/ft2_4FGL_J1550.7+0528_daily_bin434.fits outfile=/scratch/kocevski/743261/cmap_HighResolution_351820801_352080001_4FGL_J1550.7+0528_daily_bin434.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.52
user 0.33
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/743261/ft1_filtered_4FGL_J1550.7+0528_daily_bin434.fits evtable="EVENTS" scfile=/scratch/kocevski/743261/ft2_4FGL_J1550.7+0528_daily_bin434.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/743261/Model_4FGL_J1550.7+0528_daily_bin434.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/743261/ft1_filtered_4FGL_J1550.7+0528_daily_bin434.fits.....................!
real 72.64
user 71.35
sys 1.03

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.3540       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 '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .97382       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.4332       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.9326       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.6007       1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.077       1.0000         .10000E-03   10000.    
    13 'norm      '    10.187       1.0000         .10000E-03   10000.    
    14 'norm      '    3.4473       1.0000         .10000E-03   10000.    
    15 'norm      '    31.521       1.0000         .10000E-03   10000.    
    16 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .14908E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0265       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0139       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=   11624.90     FROM MIGRAD    STATUS=CONVERGED    512 CALLS     2105 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.3541        3.1631        .34675E-02    .23553E-03
   2  norm          .10000E-03    1.6247        .90712E-02** at limit **
   3  norm          .10000E-03    1.3087        .90712E-02** at limit **
   4  Prefactor     .10000E-03    52.638        .90712E-02** at limit **
   5  Prefactor     .10000E-03    11.393        .90712E-02** at limit **
   6  Prefactor     .97422        3.2502        .52046E-01    .13575E-02
   7  Prefactor     .10000E-03    4.6671        .90712E-02** at limit **
   8  norm          2.4332        1.8386        .65582E-02   -.50762E-04
   9  Prefactor     5.9324        3.7770        .41216E-02    .50171E-03
  10  Prefactor     .10000E-03    8.6391        .90712E-02** at limit **
  11  norm          1.6009        2.2417        .83771E-02    .97179E-03
  12  Prefactor     12.078        40.590        .28817E-02    .24365E-04
  13  norm          10.188        7.6321        .31384E-02    .60156E-03
  14  norm          3.4473        1.5312        .54458E-02   -.20216E-04
  15  norm          31.517        14.842        .17842E-02    .20331E-03
  16  norm          .10000E-03    39.998        .90712E-02** at limit **
  17  Prefactor     .10000E-03    31.772        .90712E-02** at limit **
  18  Prefactor     .10000E-03    15.162        .13971    ** at limit **
  19  Prefactor     .10000E-03    4.7970        .90712E-02** at limit **
  20  Prefactor     .10000E-03    9.6516        .90712E-02** at limit **
  21  Normalizat    1.0265        .21687        .92805E-01    .59369E-04
  22  Prefactor     1.0139        .81020E-01    .42809E-01   -.62988E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 8.35407
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.974218
  Prefactor  = 0.0001
  norm       = 2.43319
  Prefactor  = 5.93236
  Prefactor  = 0.0001
  norm       = 1.60086
  Prefactor  = 12.0782
  norm       = 10.1882
  norm       = 3.44732
  norm       = 31.5167
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.02647
  Prefactor  = 1.01388
 **********
 **   18 **HESSE 
 **********

 FCN=   11624.90     FROM HESSE     STATUS=OK           356 CALLS     2461 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.3541        3.1682        .11312E-03   -1.5130    
   2  norm          .10000E-03    1.6253        .13421E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.3226        .12039E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    53.443        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    11.402        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .97422        4.9034        .31640E-02   -1.5511    
   7  Prefactor     .10000E-03    4.6677        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.4332        1.8399        .12298E-03   -1.5396    
   9  Prefactor     5.9324        3.7453        .15599E-03   -1.5221    
  10  Prefactor     .10000E-03    8.6407        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.6009        2.2153        .18457E-03   -1.5455    
  12  Prefactor     12.078        40.568        .11527E-03   -1.5013    
  13  norm          10.188        7.6308        .12554E-03   -1.5069    
  14  norm          3.4473        1.5301        .85525E-04   -1.5337    
  15  norm          31.517        14.864        .71368E-04   -1.4585    
  16  norm          .10000E-03    40.004        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    31.813        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    15.729        .13530       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.8595        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    10.053        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0265        .24896        .41106E-03   -.92149    
  22  Prefactor     1.0139        .94413E-01    .16533E-03   -.92268    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.91888e-10
Minuit parameter uncertainties:
  1  3.16822
  2  2.14446e-07
  3  1.52256e-07
  4  3.81747e-05
  5  1.81053e-05
  6  4.37161
  7  2.09066e-07
  8  1.83998
  9  3.74548
  10  7.47301e-06
  11  2.21545
  12  40.6607
  13  7.63153
  14  1.53012
  15  14.8656
  16  1.09066e-05
  17  9.21865e-06
  18  0.000296136
  19  7.98698e-07
  20  3.84936e-07
  21  0.249245
  22  0.0944287
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.601e+00  2.215e+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.014e+00  9.443e-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.026e+00  2.492e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/743261/likelihoodResults_351820801_352080001_4FGL_J1550.7+0528_daily_bin434.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) = 11624.8569912
delta logL = 0.041809473445

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11624.8542832
delta logL = 0.0445175554687

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8923       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9710       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0301       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0129       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=   11624.85     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      275 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8925        2.6121        .19362E-03   -.17732E-04
   2  alpha         1.9709        .96003        .35700E-01    .83420E-04
   3  Normalizat    1.0301        .23254        .41040E-03   -.57730E-04
   4  Prefactor     1.0129        .93789E-01    .16540E-03   -.11754E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.89246
  alpha      = 1.97092
  Normalizat = 1.03015
  Prefactor  = 1.01288
 **********
 **   18 **HESSE 
 **********

 FCN=   11624.85     FROM HESSE     STATUS=OK            25 CALLS      300 TOTAL
                     EDM=   .51E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8925        2.5738        .77449E-05   -1.5433    
   2  alpha         1.9709        .94729        .71400E-02   -.21324    
   3  Normalizat    1.0301        .23264        .16416E-04   -.92027    
   4  Prefactor     1.0129        .93837E-01    .33079E-04   -.92301    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.13661e-12
Minuit parameter uncertainties:
  1  2.57393
  2  0.972789
  3  0.232871
  4  0.0938523
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/743261': 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) = 11624.8542832
delta logL = 0.0445175598306

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.892e+00  2.574e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  1.971e+00  9.728e-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.013e+00  9.385e-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.030e+00  2.329e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.78
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/743261/cmap_HighResolution_351820801_352080001_4FGL_J1550.7+0528_daily_bin434.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.76e-05', job_status='DONE', photon_flux_upper_limit='6.58e-08', time_completed='2021-09-12 15:32:10.096217', job_id='743261', GAL2='1.01', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1631485930.1', return_code2='0', ts='0.78', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='4.45e-02', ts2='0.87', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='434' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:32:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0168>
Subject: Job 743261: <4FGL_J1550.7+0528_daily_bin434> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin434 237.697 5.4725 351820801 352080001 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 :                                   681.40 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             273.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   927 sec.
    Turnaround time :                            996 sec.

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

