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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin889
RA = 237.697, Dec = 5.4725
tmin = 469756801, tmax = 470016001
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='744979', job_status='RUN', time_executed='2021-09-12 15:24:51.769465', time_epoch_executed='1631485491.77' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='889'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/744979

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/744979/ft1_4FGL_J1550.7+0528_daily_bin889.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/744979/ft2_4FGL_J1550.7+0528_daily_bin889.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/744979/ft1_4FGL_J1550.7+0528_daily_bin889.fits outfile=/scratch/kocevski/744979/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin889.fits ra=237.697 dec=5.4725 rad=12.0 tmin=469756801.0 tmax=470016001.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.27
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/744979/ft1_filtered_4FGL_J1550.7+0528_daily_bin889.fits" evtable="EVENTS" scfile=/scratch/kocevski/744979/ft2_4FGL_J1550.7+0528_daily_bin889.fits sctable="SC_DATA" outfile=/scratch/kocevski/744979/ltcube_469756801_470016001_4FGL_J1550.7+0528_daily_bin889.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/744979/ft2_4FGL_J1550.7+0528_daily_bin889.fits
.....................!
real 13.36
user 12.99
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/744979/ft1_filtered_4FGL_J1550.7+0528_daily_bin889.fits evtable="EVENTS" scfile=/scratch/kocevski/744979/ft2_4FGL_J1550.7+0528_daily_bin889.fits sctable="SC_DATA" expcube=/scratch/kocevski/744979/ltcube_469756801_470016001_4FGL_J1550.7+0528_daily_bin889.fits outfile=/scratch/kocevski/744979/expmap_469756801_470016001_4FGL_J1550.7+0528_daily_bin889.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/744979/ltcube_469756801_470016001_4FGL_J1550.7+0528_daily_bin889.fits
.....................!
real 193.83
user 188.55
sys 4.86

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/744979/ft1_filtered_4FGL_J1550.7+0528_daily_bin889.fits scfile=/scratch/kocevski/744979/ft2_4FGL_J1550.7+0528_daily_bin889.fits outfile=/scratch/kocevski/744979/cmap_469756801_470016001_4FGL_J1550.7+0528_daily_bin889.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.59
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/744979/ft1_filtered_4FGL_J1550.7+0528_daily_bin889.fits scfile=/scratch/kocevski/744979/ft2_4FGL_J1550.7+0528_daily_bin889.fits outfile=/scratch/kocevski/744979/cmap_HighResolution_469756801_470016001_4FGL_J1550.7+0528_daily_bin889.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/744979/ft1_filtered_4FGL_J1550.7+0528_daily_bin889.fits evtable="EVENTS" scfile=/scratch/kocevski/744979/ft2_4FGL_J1550.7+0528_daily_bin889.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/744979/Model_4FGL_J1550.7+0528_daily_bin889.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/744979/ft1_filtered_4FGL_J1550.7+0528_daily_bin889.fits.....................!
real 66.65
user 65.33
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6698       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .43226E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    32.037       1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.525       1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.433       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.4031       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.1121       1.0000         .10000E-03   10000.    
    14 'norm      '    4.0118       1.0000         .10000E-03   10000.    
    15 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    67.203       1.0000         .10000E-03   10000.    
    17 'Prefactor '    106.86       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10354E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .30917E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .77576       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1791       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=   8250.961     FROM MIGRAD    STATUS=CONVERGED    473 CALLS     2372 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6710        1.9937        .41634E-06    .64081E-03
   2  norm          .10000E-03    2.8009        .21457E-07** at limit **
   3  norm          .10000E-03    6.8159        .54181E-05** at limit **
   4  Prefactor     .10000E-03    21.703        .13854E-06** at limit **
   5  Prefactor     32.041        34.413        .68122E-06    .44085E-04
   6  Prefactor     12.526        6.5117        .51395E-07   -.13663E-04
   7  Prefactor     12.431        25.593       -.30610E-06   -.28656E-04
   8  norm          .10000E-03    2.0092        .14200E-07** at limit **
   9  Prefactor     3.4033        4.3385        .12819E-05    .12678E-02
  10  Prefactor     .10000E-03    9.8878        .39310E-06** at limit **
  11  norm          .10000E-03    2.8689       -.32371E-06** at limit **
  12  Prefactor     .10000E-03    21.468        .22528E-07** at limit **
  13  norm          3.1130        5.4010        .10810E-05    .63462E-03
  14  norm          4.0119        1.8378       -.38883E-07   -.22388E-03
  15  norm          .10000E-03    8.1386       -.33033E-06** at limit **
  16  norm          67.138        96.368       -.27430E-05   -.19112E-03
  17  Prefactor     106.85        75.173       -.18311E-06   -.77089E-04
  18  Prefactor     .10000E-03    38.859       -.32689E-06** at limit **
  19  Prefactor     .10014E-03    14.054        .72450E-05** at limit **
  20  Prefactor     .10000E-03    12.275       -.10131E-05** at limit **
  21  Normalizat    .77562        .25051       -.36126E-05   -.43160E-03
  22  Prefactor     1.1791        .10414        .72727E-06   -.81832E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.67102
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.0414
  Prefactor  = 12.5263
  Prefactor  = 12.431
  norm       = 0.0001
  Prefactor  = 3.40334
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.113
  norm       = 4.01187
  norm       = 0.0001
  norm       = 67.1385
  Prefactor  = 106.855
  Prefactor  = 0.000100001
  Prefactor  = 0.000100138
  Prefactor  = 0.000100002
  Normalizat = 0.775624
  Prefactor  = 1.17914
 **********
 **   18 **HESSE 
 **********

 FCN=   8250.961     FROM HESSE     STATUS=OK           340 CALLS     2712 TOTAL
                     EDM=   .74E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6710        1.9720        .13539E-03   -1.5449    
   2  norm          .10000E-03    2.8066        .14847E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    9.5884        .30492E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    21.723        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     32.041        34.570        .70792E-04   -1.4575    
   6  Prefactor     12.526        6.4974        .11318E-03   -1.5000    
   7  Prefactor     12.431        25.543        .11360E-03   -1.5003    
   8  norm          .10000E-03    2.0784        .25120E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.4033        4.5197        .20941E-03   -1.5339    
  10  Prefactor     .10000E-03    9.9120        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    2.9919        .30034E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    21.483        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.1130        5.4825        .22985E-03   -1.5355    
  14  norm          4.0119        1.8362        .80408E-04   -1.5307    
  15  norm          .10000E-03    8.2390        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          67.138        97.891        .24480E-03   -1.4067    
  17  Prefactor     106.85        75.166        .38904E-04   -1.3637    
  18  Prefactor     .10000E-03    39.126        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10014E-03    33.746        .41020E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    12.849        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .77562        .27750        .46029E-03   -1.0098    
  22  Prefactor     1.1791        .11445        .16192E-03   -.86976    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.44277e-09
Minuit parameter uncertainties:
  1  1.97207
  2  2.50667e-06
  3  0.000112408
  4  5.00183e-05
  5  34.5917
  6  6.49773
  7  25.5656
  8  1.2094e-06
  9  4.52011
  10  0.000121474
  11  3.74343e-05
  12  1.1988e-05
  13  5.48339
  14  1.8362
  15  8.21983e-05
  16  98.1267
  17  75.2329
  18  0.000304239
  19  0.00432156
  20  0.00034505
  21  0.278009
  22  0.114472
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.000e-04  3.743e-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.179e+00  1.145e-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:  7.756e-01  2.780e-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: 6.45e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.70e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/744979/likelihoodResults_469756801_470016001_4FGL_J1550.7+0528_daily_bin889.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): 102
logL (Free Index) = 8250.96271701
delta logL = -0.00159522492322

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8250.96112275
delta logL = -9.59096723818e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10797E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2474       1.0000          .0000       5.0000    
     3 'Normalizat'    .77567       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1791       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=   8250.961     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      253 TOTAL
                     EDM=   .60E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    477.33        .30774E-02** at limit **
   2  alpha         1.7002        4.0614        .16568       -.19213E-08
   3  Normalizat    .77563        .78205E-01    .46029E-03    .10043E-03
   4  Prefactor     1.1791        .33521E-01    .16192E-03    .25514E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.70017
  Normalizat = 0.77563
  Prefactor  = 1.17914
 **********
 **   18 **HESSE 
 **********

 FCN=   8250.961     FROM HESSE     STATUS=OK            23 CALLS      276 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.1999        .61549E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7002        3.1438        .66272E-02   -.32566    
   3  Normalizat    .77563        .26416        .18412E-04   -1.0098    
   4  Prefactor     1.1791        .11332        .32385E-04   -.86976    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.77973e-11
Minuit parameter uncertainties:
  1  6.46306e-06
  2  177.352
  3  0.264596
  4  0.113347
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/744979': 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) = 8250.96111699
delta logL = 4.7996018111e-06

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.000e-04  6.463e-06  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  1.700e+00  1.774e+02  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.179e+00  1.133e-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:  7.756e-01  2.646e-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/744979/cmap_HighResolution_469756801_470016001_4FGL_J1550.7+0528_daily_bin889.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.70e-05', job_status='DONE', photon_flux_upper_limit='6.45e-08', time_completed='2021-09-12 15:36:29.075335', job_id='744979', GAL2='1.18', fit_tolerance='1e-08', EG2='0.78', EG='0.78', time_epoch_completed='1631486189.08', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='4.80e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='889' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:36:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0024>
Subject: Job 744979: <4FGL_J1550.7+0528_daily_bin889> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin889 237.697 5.4725 469756801 470016001 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 :                                   695.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             288.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   861 sec.
    Turnaround time :                            935 sec.

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

