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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin785
RA = 237.697, Dec = 5.4725
tmin = 442800001, tmax = 443059201
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='744818', job_status='RUN', time_executed='2021-09-12 15:23:47.323030', time_epoch_executed='1631485427.32' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='785'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/744818

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/744818/ft1_4FGL_J1550.7+0528_daily_bin785.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/744818/ft2_4FGL_J1550.7+0528_daily_bin785.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/744818/ft1_4FGL_J1550.7+0528_daily_bin785.fits outfile=/scratch/kocevski/744818/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin785.fits ra=237.697 dec=5.4725 rad=12.0 tmin=442800001.0 tmax=443059201.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.47
user 3.24
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/744818/ft1_filtered_4FGL_J1550.7+0528_daily_bin785.fits" evtable="EVENTS" scfile=/scratch/kocevski/744818/ft2_4FGL_J1550.7+0528_daily_bin785.fits sctable="SC_DATA" outfile=/scratch/kocevski/744818/ltcube_442800001_443059201_4FGL_J1550.7+0528_daily_bin785.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/744818/ft2_4FGL_J1550.7+0528_daily_bin785.fits
.....................!
real 13.33
user 12.97
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/744818/ft1_filtered_4FGL_J1550.7+0528_daily_bin785.fits evtable="EVENTS" scfile=/scratch/kocevski/744818/ft2_4FGL_J1550.7+0528_daily_bin785.fits sctable="SC_DATA" expcube=/scratch/kocevski/744818/ltcube_442800001_443059201_4FGL_J1550.7+0528_daily_bin785.fits outfile=/scratch/kocevski/744818/expmap_442800001_443059201_4FGL_J1550.7+0528_daily_bin785.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/744818/ltcube_442800001_443059201_4FGL_J1550.7+0528_daily_bin785.fits
.....................!
real 192.29
user 186.86
sys 5.02

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/744818/ft1_filtered_4FGL_J1550.7+0528_daily_bin785.fits scfile=/scratch/kocevski/744818/ft2_4FGL_J1550.7+0528_daily_bin785.fits outfile=/scratch/kocevski/744818/cmap_442800001_443059201_4FGL_J1550.7+0528_daily_bin785.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.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/744818/ft1_filtered_4FGL_J1550.7+0528_daily_bin785.fits scfile=/scratch/kocevski/744818/ft2_4FGL_J1550.7+0528_daily_bin785.fits outfile=/scratch/kocevski/744818/cmap_HighResolution_442800001_443059201_4FGL_J1550.7+0528_daily_bin785.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/744818/ft1_filtered_4FGL_J1550.7+0528_daily_bin785.fits evtable="EVENTS" scfile=/scratch/kocevski/744818/ft2_4FGL_J1550.7+0528_daily_bin785.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/744818/Model_4FGL_J1550.7+0528_daily_bin785.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/744818/ft1_filtered_4FGL_J1550.7+0528_daily_bin785.fits.....................!
real 74.18
user 72.78
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2977       1.0000         .10000E-03   10000.    
     2 'norm      '    2.2061       1.0000         .10000E-03   10000.    
     3 'norm      '    7.2977       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.0241       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.0679       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.5241       1.0000         .10000E-03   10000.    
     8 'norm      '    3.1120       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.2308       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.6506       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.8418       1.0000         .10000E-03   10000.    
    13 'norm      '    3.6565       1.0000         .10000E-03   10000.    
    14 'norm      '    1.4820       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    101.88       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10268E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3192       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .88827       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=   9071.295     FROM MIGRAD    STATUS=CONVERGED    471 CALLS     2366 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2977        2.4691       -.42348E-06   -.59382E-03
   2  norm          2.2060        4.3882        .31542E-06   -.55249E-03
   3  norm          7.2975        4.3436       -.73982E-08   -.93289E-04
   4  Prefactor     .10000E-03    10.231        .18728E-05** at limit **
   5  Prefactor     7.0172        44.773       -.17641E-04   -.20773E-05
   6  Prefactor     5.0666        4.8816        .73663E-07   -.44128E-03
   7  Prefactor     7.5206        16.387        .34509E-06   -.11345E-04
   8  norm          3.1121        2.2920       -.10439E-06   -.13604E-03
   9  Prefactor     3.2313        4.2785       -.11513E-05   -.74899E-03
  10  Prefactor     .10000E-03    9.4287       -.19800E-05** at limit **
  11  norm          3.6502        3.0392        .13515E-06   -.16662E-05
  12  Prefactor     4.8139        89.451       -.88857E-04    .10384E-05
  13  norm          3.6565        4.4770        .14048E-06   -.61020E-04
  14  norm          1.4819        1.1157        .16483E-06    .41610E-03
  15  norm          .10000E-03    13.403       -.14040E-05** at limit **
  16  norm          .10000E-03    62.583        .11136E-05** at limit **
  17  Prefactor     101.86        98.957       -.19836E-04    .11293E-04
  18  Prefactor     .10000E-03    12.675        .55242E-06** at limit **
  19  Prefactor     .10000E-03    14.411       -.10070E-07** at limit **
  20  Prefactor     .10000E-03    8.2718        .32845E-06** at limit **
  21  Normalizat    1.3193        .22829        .52091E-05    .75794E-05
  22  Prefactor     .88826        .87429E-01    .42594E-06    .34007E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.29768
  norm       = 2.20604
  norm       = 7.2975
  Prefactor  = 0.0001
  Prefactor  = 7.01719
  Prefactor  = 5.06663
  Prefactor  = 7.52063
  norm       = 3.11205
  Prefactor  = 3.2313
  Prefactor  = 0.0001
  norm       = 3.65019
  Prefactor  = 4.81391
  norm       = 3.65648
  norm       = 1.48194
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 101.864
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.31932
  Prefactor  = 0.888256
 **********
 **   18 **HESSE 
 **********

 FCN=   9071.295     FROM HESSE     STATUS=OK           348 CALLS     2714 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2977        2.4586        .14802E-03   -1.5405    
   2  norm          2.2060        4.3605        .27458E-03   -1.5411    
   3  norm          7.2975        4.3351        .14664E-03   -1.5168    
   4  Prefactor     .10000E-03    10.235        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.0172        45.265        .15137E-03   -1.5178    
   6  Prefactor     5.0666        4.8716        .17861E-03   -1.5258    
   7  Prefactor     7.5206        16.369        .14621E-03   -1.5159    
   8  norm          3.1121        2.2887        .11986E-03   -1.5355    
   9  Prefactor     3.2313        4.2726        .21226E-03   -1.5348    
  10  Prefactor     .10000E-03    9.4300        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.6502        3.0336        .14561E-03   -1.5326    
  12  Prefactor     4.8139        89.782        .18282E-03   -1.5269    
  13  norm          3.6565        4.4703        .21125E-03   -1.5326    
  14  norm          1.4819        1.1192        .84820E-04   -1.5464    
  15  norm          .10000E-03    13.561        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    62.632        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     101.86        99.134        .39832E-04   -1.3686    
  18  Prefactor     .10000E-03    12.692        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    15.016        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    8.4657        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.3193        .26632        .36450E-03   -.82991    
  22  Prefactor     .88826        .10255        .17288E-03   -.96553    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.1364e-10
Minuit parameter uncertainties:
  1  2.45873
  2  4.36113
  3  4.33533
  4  9.80663e-06
  5  35.6838
  6  4.87201
  7  16.3787
  8  2.28874
  9  4.27304
  10  2.49527e-06
  11  3.03368
  12  41.6511
  13  4.47068
  14  1.11919
  15  2.4637e-05
  16  1.34145e-05
  17  99.2955
  18  1.64747e-05
  19  6.70218e-05
  20  1.18328e-05
  21  0.266598
  22  0.10257
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  3.650e+00  3.034e+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:  8.883e-01  1.026e-01  0.000e+00  1.000e+01 ( 1.000e+00)
502        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
503        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
500   Normalization:  1.319e+00  2.666e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.49
Ra Dec: 237.697 5.473
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 3.21e-08 +/- 2.67e-08
Energy Flux (Fixed Index): 1.35e-05 +/- 1.12e-05

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

Saving results to:
/scratch/kocevski/744818/likelihoodResults_442800001_443059201_4FGL_J1550.7+0528_daily_bin785.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) = 9071.12149222
delta logL = 0.173112762204

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9071.1173717
delta logL = 0.177233285509

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.9022       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7288       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3334       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88583       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=   9071.117     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      210 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9042        7.5519        .51061E-02    .60498E-04
   2  alpha         1.7286        1.5046        .43950       -.12532E-04
   3  Normalizat    1.3335        .22319        .81975E-01    .17681E-04
   4  Prefactor     .88580        .87572E-01    .44824E-01    .30683E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.90418
  alpha      = 1.72862
  Normalizat = 1.33353
  Prefactor  = 0.885798
 **********
 **   18 **HESSE 
 **********

 FCN=   9071.117     FROM HESSE     STATUS=OK            33 CALLS      243 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9042        3.4943        .15923E-03   -1.5313    
   2  alpha         1.7286        .89217        .28200E-01   -.31367    
   3  Normalizat    1.3335        .25415        .36290E-03   -.82571    
   4  Prefactor     .88580        .10171        .17311E-03   -.96639    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.73698e-10
Minuit parameter uncertainties:
  1  3.49449
  2  0.914554
  3  0.254392
  4  0.10173
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/744818': 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) = 9071.11737131
delta logL = 0.177233672499

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  3.904e+00  3.494e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  1.729e+00  9.146e-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:  8.858e-01  1.017e-01  0.000e+00  1.000e+01 ( 1.000e+00)
502        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
503        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
500   Normalization:  1.334e+00  2.544e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.85
Ra Dec: 237.697 5.473
Photon Index (Free Index): 1.73 +/- 0.91
Photon Flux (Free Index): 1.88e-08 +/- 2.49e-08
Energy Flux (Free Index): 1.66e-05 +/- 1.69e-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/744818/cmap_HighResolution_442800001_443059201_4FGL_J1550.7+0528_daily_bin785.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.10e-05', comment='SUCCESS', photon_flux='3.21e-08', energy_flux2='1.66e-05', photon_flux_error='2.67e-08', dlogl='1.77e-01', energy_flux='1.35e-05', photon_flux2='1.88e-08', job_status='DONE', time_completed='2021-09-12 15:35:51.904060', photon_index_error2='0.91', photon_index2='1.73', ts='3.49', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', photon_flux_upper_limit='9.78e-08', energy_flux_error2='1.69e-05', EG='1.32', time_epoch_completed='1631486151.9', return_code='0', job_id='744818', GAL2='0.89', EG2='1.33', return_code2='0', energy_flux_error='1.12e-05', photon_flux_error2='2.49e-08', ts2='3.85', photon_index='2.27' WHERE bin_id='785' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:35:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0137>
Subject: Job 744818: <4FGL_J1550.7+0528_daily_bin785> in cluster <slac> Done

Job <4FGL_J1550.7+0528_daily_bin785> 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) <bullet0137>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 15:21:28 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:28 2021
Terminated at Sun Sep 12 15:35:52 2021
Results reported at Sun Sep 12 15:35:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin785 237.697 5.4725 442800001 443059201 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 :                                   724.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             296.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   865 sec.
    Turnaround time :                            912 sec.

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

