/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 238 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 = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1550.7+0528_daily_bin590
RA = 237.697, Dec = 5.4725
tmin = 392256001, tmax = 392515201
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='744504', job_status='RUN', time_executed='2021-09-12 15:24:25.730769', time_epoch_executed='1631485465.73' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='590'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/744504

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/744504/ft1_4FGL_J1550.7+0528_daily_bin590.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/744504/ft2_4FGL_J1550.7+0528_daily_bin590.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/744504/ft1_4FGL_J1550.7+0528_daily_bin590.fits outfile=/scratch/kocevski/744504/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin590.fits ra=237.697 dec=5.4725 rad=12.0 tmin=392256001.0 tmax=392515201.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.35
user 3.11
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/744504/ft1_filtered_4FGL_J1550.7+0528_daily_bin590.fits" evtable="EVENTS" scfile=/scratch/kocevski/744504/ft2_4FGL_J1550.7+0528_daily_bin590.fits sctable="SC_DATA" outfile=/scratch/kocevski/744504/ltcube_392256001_392515201_4FGL_J1550.7+0528_daily_bin590.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/744504/ft2_4FGL_J1550.7+0528_daily_bin590.fits
.....................!
real 14.16
user 13.78
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/744504/ft1_filtered_4FGL_J1550.7+0528_daily_bin590.fits evtable="EVENTS" scfile=/scratch/kocevski/744504/ft2_4FGL_J1550.7+0528_daily_bin590.fits sctable="SC_DATA" expcube=/scratch/kocevski/744504/ltcube_392256001_392515201_4FGL_J1550.7+0528_daily_bin590.fits outfile=/scratch/kocevski/744504/expmap_392256001_392515201_4FGL_J1550.7+0528_daily_bin590.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/744504/ltcube_392256001_392515201_4FGL_J1550.7+0528_daily_bin590.fits
.....................!
real 192.50
user 186.28
sys 5.34

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/744504/ft1_filtered_4FGL_J1550.7+0528_daily_bin590.fits scfile=/scratch/kocevski/744504/ft2_4FGL_J1550.7+0528_daily_bin590.fits outfile=/scratch/kocevski/744504/cmap_392256001_392515201_4FGL_J1550.7+0528_daily_bin590.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.56
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/744504/ft1_filtered_4FGL_J1550.7+0528_daily_bin590.fits scfile=/scratch/kocevski/744504/ft2_4FGL_J1550.7+0528_daily_bin590.fits outfile=/scratch/kocevski/744504/cmap_HighResolution_392256001_392515201_4FGL_J1550.7+0528_daily_bin590.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.56
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/744504/ft1_filtered_4FGL_J1550.7+0528_daily_bin590.fits evtable="EVENTS" scfile=/scratch/kocevski/744504/ft2_4FGL_J1550.7+0528_daily_bin590.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/744504/Model_4FGL_J1550.7+0528_daily_bin590.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/744504/ft1_filtered_4FGL_J1550.7+0528_daily_bin590.fits.....................!
real 70.18
user 68.75
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10687E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.1526       1.0000         .10000E-03   10000.    
     3 'norm      '    .47300E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.8101       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.0280       1.0000         .10000E-03   10000.    
     7 'Prefactor '    22.027       1.0000         .10000E-03   10000.    
     8 'norm      '    .96599       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.140       1.0000         .10000E-03   10000.    
    11 'norm      '    6.6086       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10046E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    4.2430       1.0000         .10000E-03   10000.    
    15 'norm      '    25.621       1.0000         .10000E-03   10000.    
    16 'norm      '    109.73       1.0000         .10000E-03   10000.    
    17 'Prefactor '    99.433       1.0000         .10000E-03   10000.    
    18 'Prefactor '    71.429       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10220E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .60566       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1945       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=   8322.068     FROM MIGRAD    STATUS=CONVERGED    491 CALLS     2417 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.4884        .56084E-06** at limit **
   2  norm          3.1526        4.3903        .93313E-07   -.23211E-04
   3  norm          .10001E-03    2.6190        .54853E-06** at limit **
   4  Prefactor     .10000E-03    34.998        .26990E-06** at limit **
   5  Prefactor     1.7297        146.12       -.54048E-06   -.93537E-05
   6  Prefactor     3.0287        5.3753        .10318E-05   -.15589E-03
   7  Prefactor     22.028        21.520        .59406E-07   -.83222E-05
   8  norm          .96721        1.8186        .67857E-06    .66804E-03
   9  Prefactor     .10000E-03    3.2740        .28389E-06** at limit **
  10  Prefactor     14.138        21.667       -.40966E-07   -.95150E-05
  11  norm          6.6088        4.6432        .24580E-06   -.52528E-04
  12  Prefactor     .10000E-03    81.969        .69904E-06** at limit **
  13  norm          .10000E-03    7.6317        .26228E-06** at limit **
  14  norm          4.2432        1.8521        .25964E-07   -.38801E-04
  15  norm          25.621        17.139        .45899E-06   -.21794E-04
  16  norm          109.73        112.12        .30836E-06   -.86462E-06
  17  Prefactor     99.430        75.143        .68556E-06   -.33481E-05
  18  Prefactor     71.422        42.324        .48180E-06   -.14464E-04
  19  Prefactor     .10000E-03    3.1044       -.74679E-08** at limit **
  20  Prefactor     .10000E-03    8.8690        .22225E-06** at limit **
  21  Normalizat    .60576        .26975       -.38383E-05   -.59257E-04
  22  Prefactor     1.1945        .10703        .17778E-06   -.12355E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 3.15264
  norm       = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 1.72975
  Prefactor  = 3.02867
  Prefactor  = 22.0284
  norm       = 0.96721
  Prefactor  = 0.0001
  Prefactor  = 14.138
  norm       = 6.60883
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.24316
  norm       = 25.6209
  norm       = 109.727
  Prefactor  = 99.4302
  Prefactor  = 71.4218
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.605755
  Prefactor  = 1.19445
 **********
 **   18 **HESSE 
 **********

 FCN=   8322.068     FROM HESSE     STATUS=OK           348 CALLS     2765 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.5819        .20844E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.1526        4.3806        .22021E-03   -1.5353    
   3  norm          .10001E-03    8.7335        .27818E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    35.083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.7297        149.24        .31055E-03   -1.5445    
   6  Prefactor     3.0287        5.3003        .23320E-03   -1.5360    
   7  Prefactor     22.028        21.511        .85344E-04   -1.4769    
   8  norm          .96721        1.6709        .18347E-02   -1.5511    
   9  Prefactor     .10000E-03    3.3320        .16096E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.138        21.630        .10652E-03   -1.4956    
  11  norm          6.6088        4.6307        .15610E-03   -1.5194    
  12  Prefactor     .10000E-03    82.180        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    7.8295        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.2432        1.8514        .79627E-04   -1.5296    
  15  norm          25.621        17.096        .79141E-04   -1.4695    
  16  norm          109.73        112.18        .38397E-04   -1.3609    
  17  Prefactor     99.430        75.156        .40315E-04   -1.3710    
  18  Prefactor     71.422        42.301        .47500E-04   -1.4016    
  19  Prefactor     .10000E-03    3.1069        .15695E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    9.2523        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .60576        .28143        .51849E-03   -1.0774    
  22  Prefactor     1.1945        .11321        .15818E-03   -.86502    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0572e-09
Minuit parameter uncertainties:
  1  6.82134e-05
  2  4.38102
  3  0.0004518
  4  1.99494e-05
  5  32.2168
  6  5.30114
  7  21.5181
  8  1.67102
  9  4.57799e-06
  10  21.6423
  11  4.63093
  12  0.000147797
  13  1.51859e-06
  14  1.85147
  15  17.0993
  16  112.398
  17  75.2278
  18  42.3192
  19  1.64392e-06
  20  5.00138e-06
  21  0.282096
  22  0.113234
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  6.609e+00  4.631e+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.194e+00  1.132e-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:  6.058e-01  2.821e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.70
Ra Dec: 237.697 5.473
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 5.81e-08 +/- 4.07e-08
Energy Flux (Fixed Index): 2.44e-05 +/- 1.71e-05

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

Saving results to:
/scratch/kocevski/744504/likelihoodResults_392256001_392515201_4FGL_J1550.7+0528_daily_bin590.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) = 8321.73935585
delta logL = 0.329007701099

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8321.71766662
delta logL = 0.350696938107

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.2511       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8388       1.0000          .0000       5.0000    
     3 'Normalizat'    .57168       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2028       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=   8321.718     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      274 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.2508        4.9345        .11364E-03   -.81235E-04
   2  alpha         2.8388        .77665        .12401E-01    .26932E-03
   3  Normalizat    .57170        .27218        .53270E-03   -.77001E-04
   4  Prefactor     1.2028        .11308        .15768E-03   -.35106E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.2508
  alpha      = 2.83878
  Normalizat = 0.571702
  Prefactor  = 1.20276
 **********
 **   18 **HESSE 
 **********

 FCN=   8321.718     FROM HESSE     STATUS=OK            25 CALLS      299 TOTAL
                     EDM=   .42E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.2508        4.4626        .45455E-05   -1.5296    
   2  alpha         2.8388        .70406        .24803E-02    .13593    
   3  Normalizat    .57170        .27172        .21308E-04   -1.0920    
   4  Prefactor     1.2028        .11293        .31536E-04   -.86246    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.21795e-11
Minuit parameter uncertainties:
  1  4.46295
  2  0.713903
  3  0.272359
  4  0.112952
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/744504': 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) = 8321.71766661
delta logL = 0.350696947273

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  4.251e+00  4.463e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  2.839e+00  7.139e-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.203e+00  1.130e-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:  5.717e-01  2.724e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.44
Ra Dec: 237.697 5.473
Photon Index (Free Index): 2.84 +/- 0.71
Photon Flux (Free Index): 8.61e-08 +/- 6.05e-08
Energy Flux (Free Index): 2.24e-05 +/- 1.46e-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/744504/cmap_HighResolution_392256001_392515201_4FGL_J1550.7+0528_daily_bin590.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.11e-05', comment='SUCCESS', photon_flux='5.81e-08', energy_flux2='2.24e-05', photon_flux_error='4.07e-08', dlogl='3.51e-01', energy_flux='2.44e-05', photon_flux2='8.61e-08', job_status='DONE', time_completed='2021-09-12 15:36:06.977157', photon_index_error2='0.71', photon_index2='2.84', ts='3.70', fit_tolerance='1e-08', GAL='1.19', photon_index_error='0.00', photon_flux_upper_limit='1.46e-07', energy_flux_error2='1.46e-05', EG='0.61', time_epoch_completed='1631486166.98', return_code='0', job_id='744504', GAL2='1.20', EG2='0.57', return_code2='0', energy_flux_error='1.71e-05', photon_flux_error2='6.05e-08', ts2='4.44', photon_index='2.27' WHERE bin_id='590' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:36:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 744504: <4FGL_J1550.7+0528_daily_bin590> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin590 237.697 5.4725 392256001 392515201 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 :                                   700.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             294.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   949 sec.
    Turnaround time :                            953 sec.

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

