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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin780
RA = 237.697, Dec = 5.4725
tmin = 441504001, tmax = 441763201
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='744810', job_status='RUN', time_executed='2021-09-12 15:23:36.339787', time_epoch_executed='1631485416.34' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/744810

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/744810/ft1_4FGL_J1550.7+0528_daily_bin780.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/744810/ft2_4FGL_J1550.7+0528_daily_bin780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/744810/ft1_4FGL_J1550.7+0528_daily_bin780.fits outfile=/scratch/kocevski/744810/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin780.fits ra=237.697 dec=5.4725 rad=12.0 tmin=441504001.0 tmax=441763201.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.39
user 3.15
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/744810/ft1_filtered_4FGL_J1550.7+0528_daily_bin780.fits" evtable="EVENTS" scfile=/scratch/kocevski/744810/ft2_4FGL_J1550.7+0528_daily_bin780.fits sctable="SC_DATA" outfile=/scratch/kocevski/744810/ltcube_441504001_441763201_4FGL_J1550.7+0528_daily_bin780.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/744810/ft2_4FGL_J1550.7+0528_daily_bin780.fits
.....................!
real 13.24
user 12.84
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/744810/ft1_filtered_4FGL_J1550.7+0528_daily_bin780.fits evtable="EVENTS" scfile=/scratch/kocevski/744810/ft2_4FGL_J1550.7+0528_daily_bin780.fits sctable="SC_DATA" expcube=/scratch/kocevski/744810/ltcube_441504001_441763201_4FGL_J1550.7+0528_daily_bin780.fits outfile=/scratch/kocevski/744810/expmap_441504001_441763201_4FGL_J1550.7+0528_daily_bin780.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/744810/ltcube_441504001_441763201_4FGL_J1550.7+0528_daily_bin780.fits
.....................!
real 191.32
user 185.87
sys 5.05

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/744810/ft1_filtered_4FGL_J1550.7+0528_daily_bin780.fits scfile=/scratch/kocevski/744810/ft2_4FGL_J1550.7+0528_daily_bin780.fits outfile=/scratch/kocevski/744810/cmap_441504001_441763201_4FGL_J1550.7+0528_daily_bin780.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/744810/ft1_filtered_4FGL_J1550.7+0528_daily_bin780.fits scfile=/scratch/kocevski/744810/ft2_4FGL_J1550.7+0528_daily_bin780.fits outfile=/scratch/kocevski/744810/cmap_HighResolution_441504001_441763201_4FGL_J1550.7+0528_daily_bin780.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/744810/ft1_filtered_4FGL_J1550.7+0528_daily_bin780.fits evtable="EVENTS" scfile=/scratch/kocevski/744810/ft2_4FGL_J1550.7+0528_daily_bin780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/744810/Model_4FGL_J1550.7+0528_daily_bin780.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/744810/ft1_filtered_4FGL_J1550.7+0528_daily_bin780.fits.....................!
real 70.70
user 69.31
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10043E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11181E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .85594E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    43.700       1.0000         .10000E-03   10000.    
     8 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .24167E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .13011E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.1202       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .15772E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    10.449       1.0000         .10000E-03   10000.    
    14 'norm      '    9.5604       1.0000         .10000E-03   10000.    
    15 'norm      '    1.3287       1.0000         .10000E-03   10000.    
    16 'norm      '    14.240       1.0000         .10000E-03   10000.    
    17 'Prefactor '    55.002       1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.4512       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10165E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    17.853       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .43039       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2676       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=   9179.324     FROM MIGRAD    STATUS=CONVERGED    533 CALLS     2877 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.0024       -.17008E-06** at limit **
   2  norm          .10000E-03    2.6739       -.72429E-07** at limit **
   3  norm          .10000E-03    1.5556       -.12771E-06** at limit **
   4  Prefactor     .10000E-03    32.241        .15803E-06** at limit **
   5  Prefactor     .10583E-03    21.372        .36410E-05** at limit **
   6  Prefactor     .10000E-03    2.8970       -.49278E-06** at limit **
   7  Prefactor     43.640        38.495       -.11835E-07    .61810E-04
   8  norm          .10000E-03    1.4074       -.16810E-06** at limit **
   9  Prefactor     .10000E-03    1.6470       -.51100E-06** at limit **
  10  Prefactor     .10000E-03    33.561       -.13198E-05** at limit **
  11  norm          3.1199        3.7307       -.98404E-07    .71346E-04
  12  Prefactor     .10000E-03    76.618       -.12926E-06** at limit **
  13  norm          10.450        8.6920       -.83048E-06    .22212E-05
  14  norm          9.5600        2.4480       -.52814E-07   -.19672E-03
  15  norm          1.3216        35.611        .16989E-04    .98913E-04
  16  norm          14.475        166.15       -.36960E-04    .29517E-04
  17  Prefactor     54.998        59.827       -.30989E-06   -.16494E-04
  18  Prefactor     9.4812        29.005        .36988E-06    .39993E-04
  19  Prefactor     .10002E-03    7.3261       -.17591E-05** at limit **
  20  Prefactor     17.861        9.9414       -.21414E-06    .21770E-03
  21  Normalizat    .43063        .25593        .76767E-05    .24797E-03
  22  Prefactor     1.2676        .10605       -.12806E-05    .47150E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010583
  Prefactor  = 0.0001
  Prefactor  = 43.6399
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.11989
  Prefactor  = 0.0001
  norm       = 10.4497
  norm       = 9.56001
  norm       = 1.32156
  norm       = 14.4747
  Prefactor  = 54.9979
  Prefactor  = 9.48121
  Prefactor  = 0.000100021
  Prefactor  = 17.8613
  Normalizat = 0.430631
  Prefactor  = 1.26755
 **********
 **   18 **HESSE 
 **********

 FCN=   9179.324     FROM HESSE     STATUS=OK           354 CALLS     3231 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    10.771        .18409E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.6848        .15301E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.5713        .11667E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    32.533        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10583E-03    20.494        .13029       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.9817        .31849E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     43.640        37.913        .60645E-04   -1.4386    
   8  norm          .10000E-03    2.6983        .21874E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.1378        .23108E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    33.643        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.1199        3.6912        .18858E-03   -1.5355    
  12  Prefactor     .10000E-03    76.783        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          10.450        8.5893        .12395E-03   -1.5061    
  14  norm          9.5600        2.4466        .72700E-04   -1.5089    
  15  norm          1.3216        35.887        .19056E-02   -1.5478    
  16  norm          14.475        160.55        .10614E-03   -1.4947    
  17  Prefactor     54.998        59.819        .54086E-04   -1.4223    
  18  Prefactor     9.4812        28.347        .13036E-03   -1.5092    
  19  Prefactor     .10002E-03    41.056        .47706E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     17.861        9.7563        .94791E-04   -1.4862    
  21  Normalizat    .43063        .24852        .58297E-03   -1.1575    
  22  Prefactor     1.2676        .10419        .15449E-03   -.84277    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.0582e-09
Minuit parameter uncertainties:
  1  0.000218937
  2  3.85945e-06
  3  4.04824e-06
  4  0.000120628
  5  0.0218698
  6  2.96582e-05
  7  37.9343
  8  2.8213e-05
  9  7.60651e-05
  10  2.78259e-05
  11  3.69151
  12  0.000291308
  13  8.59032
  14  2.44661
  15  13.782
  16  96.7431
  17  59.8848
  18  28.387
  19  0.00184803
  20  9.75713
  21  0.249158
  22  0.104208
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  3.120e+00  3.692e+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.268e+00  1.042e-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:  4.306e-01  2.492e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.07
Ra Dec: 237.697 5.473
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 2.74e-08 +/- 3.24e-08
Energy Flux (Fixed Index): 1.15e-05 +/- 1.36e-05

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

Saving results to:
/scratch/kocevski/744810/likelihoodResults_441504001_441763201_4FGL_J1550.7+0528_daily_bin780.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) = 9177.67154049
delta logL = 1.65240213202

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9177.64743189
delta logL = 1.67651073635

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .93219       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.8512       1.0000          .0000       5.0000    
     3 'Normalizat'    .33519       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2882       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=   9177.647     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      249 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .92879        6.9743        .11252E-01    .14310E-03
   2  alpha         3.8531        4.0341        .30766        .55142E-04
   3  Normalizat    .33505        .62344E-01    .14849        .63666E-04
   4  Prefactor     1.2882        .27073E-01    .32819E-01   -.13229E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.928786
  alpha      = 3.85309
  Normalizat = 0.335052
  Prefactor  = 1.28825
 **********
 **   18 **HESSE 
 **********

 FCN=   9177.647     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      284 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .92879        14.549        .51232E-03   -1.5515    
   2  alpha         3.8531        4.4255        .12870E-01    .57191    
   3  Normalizat    .33505        .22775        .65649E-03   -1.2080    
   4  Prefactor     1.2882        .98276E-01    .15324E-03   -.83657    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.61803e-10
Minuit parameter uncertainties:
  1  7.35374
  2  4.41739
  3  0.228382
  4  0.09829
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/744810': 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): 102
logL (Free Index) = 9177.64742942
delta logL = 1.67651320224

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  9.288e-01  7.354e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  3.853e+00  4.417e+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.288e+00  9.829e-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:  3.351e-01  2.284e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.64
Ra Dec: 237.697 5.473
Photon Index (Free Index): 3.85 +/- 4.42
Photon Flux (Free Index): 1.11e-07 +/- 7.10e-08
Energy Flux (Free Index): 1.91e-05 +/- 1.87e-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/744810/cmap_HighResolution_441504001_441763201_4FGL_J1550.7+0528_daily_bin780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.29e-05', comment='SUCCESS', photon_flux='2.74e-08', energy_flux2='1.91e-05', photon_flux_error='3.24e-08', dlogl='1.68e+00', energy_flux='1.15e-05', photon_flux2='1.11e-07', job_status='DONE', time_completed='2021-09-12 15:36:41.012160', photon_index_error2='4.42', photon_index2='3.85', ts='1.07', fit_tolerance='1e-08', GAL='1.27', photon_index_error='0.00', photon_flux_upper_limit='1.02e-07', energy_flux_error2='1.87e-05', EG='0.43', time_epoch_completed='1631486201.01', return_code='0', job_id='744810', GAL2='1.29', EG2='0.34', return_code2='102', energy_flux_error='1.36e-05', photon_flux_error2='7.10e-08', ts2='4.64', photon_index='2.27' WHERE bin_id='780' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:36:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 744810: <4FGL_J1550.7+0528_daily_bin780> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin780 237.697 5.4725 441504001 441763201 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 :                                   784.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             320.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   914 sec.
    Turnaround time :                            961 sec.

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

