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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin485
RA = 237.697, Dec = 5.4725
tmin = 365040001, tmax = 365299201
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='743337', job_status='RUN', time_executed='2021-09-12 15:20:15.020895', time_epoch_executed='1631485215.02' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='485'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/743337

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/743337/ft1_4FGL_J1550.7+0528_daily_bin485.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/743337/ft2_4FGL_J1550.7+0528_daily_bin485.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/743337/ft1_4FGL_J1550.7+0528_daily_bin485.fits outfile=/scratch/kocevski/743337/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin485.fits ra=237.697 dec=5.4725 rad=12.0 tmin=365040001.0 tmax=365299201.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.69
user 3.40
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/743337/ft2_4FGL_J1550.7+0528_daily_bin485.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/743337/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin485.fits evtable="EVENTS" outfile="/scratch/kocevski/743337/ft1_filtered_4FGL_J1550.7+0528_daily_bin485.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/743337/ft1_filtered_4FGL_J1550.7+0528_daily_bin485.fits" evtable="EVENTS" scfile=/scratch/kocevski/743337/ft2_4FGL_J1550.7+0528_daily_bin485.fits sctable="SC_DATA" outfile=/scratch/kocevski/743337/ltcube_365040001_365299201_4FGL_J1550.7+0528_daily_bin485.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/743337/ft2_4FGL_J1550.7+0528_daily_bin485.fits
.....................!
real 14.08
user 13.70
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/743337/ft1_filtered_4FGL_J1550.7+0528_daily_bin485.fits evtable="EVENTS" scfile=/scratch/kocevski/743337/ft2_4FGL_J1550.7+0528_daily_bin485.fits sctable="SC_DATA" expcube=/scratch/kocevski/743337/ltcube_365040001_365299201_4FGL_J1550.7+0528_daily_bin485.fits outfile=/scratch/kocevski/743337/expmap_365040001_365299201_4FGL_J1550.7+0528_daily_bin485.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/743337/ltcube_365040001_365299201_4FGL_J1550.7+0528_daily_bin485.fits
.....................!
real 194.36
user 188.78
sys 5.00

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/743337/ft1_filtered_4FGL_J1550.7+0528_daily_bin485.fits scfile=/scratch/kocevski/743337/ft2_4FGL_J1550.7+0528_daily_bin485.fits outfile=/scratch/kocevski/743337/cmap_365040001_365299201_4FGL_J1550.7+0528_daily_bin485.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/743337/ft1_filtered_4FGL_J1550.7+0528_daily_bin485.fits scfile=/scratch/kocevski/743337/ft2_4FGL_J1550.7+0528_daily_bin485.fits outfile=/scratch/kocevski/743337/cmap_HighResolution_365040001_365299201_4FGL_J1550.7+0528_daily_bin485.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.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.4795       1.0000         .10000E-03   10000.    
     2 'norm      '    2.1976       1.0000         .10000E-03   10000.    
     3 'norm      '    3.5974       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.2027       1.0000         .10000E-03   10000.    
     5 'Prefactor '    85.233       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.6214       1.0000         .10000E-03   10000.    
     7 'Prefactor '    30.258       1.0000         .10000E-03   10000.    
     8 'norm      '    2.2569       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.2403       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    8.5822       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.6238       1.0000         .10000E-03   10000.    
    13 'norm      '    7.2360       1.0000         .10000E-03   10000.    
    14 'norm      '    7.8738       1.0000         .10000E-03   10000.    
    15 'norm      '    18.937       1.0000         .10000E-03   10000.    
    16 'norm      '    66.877       1.0000         .10000E-03   10000.    
    17 'Prefactor '    84.862       1.0000         .10000E-03   10000.    
    18 'Prefactor '    30.378       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .34196E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.5156       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .92478       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .95781       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=   8905.313     FROM MIGRAD    STATUS=CONVERGED    485 CALLS     2444 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.4802        3.7365        .14265E-06    .64019E-05
   2  norm          2.1975        3.6721       -.27309E-07   -.15548E-04
   3  norm          3.5973        3.4827       -.25634E-07    .15869E-04
   4  Prefactor     8.1546        27.553        .82324E-08    .54004E-05
   5  Prefactor     85.255        50.199        .59717E-06    .16187E-03
   6  Prefactor     6.6224        5.5949       -.14320E-06    .66975E-05
   7  Prefactor     30.260        26.751       -.21369E-06    .16667E-05
   8  norm          2.2569        2.3730        .19032E-06    .38957E-03
   9  Prefactor     2.2399        3.7483        .27290E-05   -.15076E-02
  10  Prefactor     .10000E-03    11.289        .71255E-07** at limit **
  11  norm          8.5829        5.2307       -.17033E-06   -.38804E-04
  12  Prefactor     7.6209        57.551        .36421E-06   -.18695E-05
  13  norm          7.2389        9.7046       -.14379E-07    .15217E-03
  14  norm          7.8739        2.4400        .13368E-07    .15604E-03
  15  norm          18.937        17.611        .50183E-06    .15564E-03
  16  norm          66.871        80.289       -.11989E-06   -.21668E-04
  17  Prefactor     84.850        68.932        .85446E-07   -.21745E-04
  18  Prefactor     30.359        35.664        .22242E-05    .32537E-03
  19  Prefactor     .10000E-03    6.6697       -.44612E-06** at limit **
  20  Prefactor     3.5126        5.8582        .17832E-05    .23751E-03
  21  Normalizat    .92424        .26529       -.63626E-05    .20578E-03
  22  Prefactor     .95801        .91336E-01    .23229E-05    .17066E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 5.48019
  norm       = 2.19746
  norm       = 3.59727
  Prefactor  = 8.15462
  Prefactor  = 85.2546
  Prefactor  = 6.62237
  Prefactor  = 30.2596
  norm       = 2.25694
  Prefactor  = 2.23989
  Prefactor  = 0.0001
  norm       = 8.58292
  Prefactor  = 7.62086
  norm       = 7.2389
  norm       = 7.87388
  norm       = 18.9374
  norm       = 66.8706
  Prefactor  = 84.8503
  Prefactor  = 30.3592
  Prefactor  = 0.000100004
  Prefactor  = 3.51256
  Normalizat = 0.924244
  Prefactor  = 0.958014
 **********
 **   18 **HESSE 
 **********

 FCN=   8905.313     FROM HESSE     STATUS=OK           350 CALLS     2794 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.4802        3.7279        .14119E-03   -1.5240    
   2  norm          2.1975        3.6498        .22830E-03   -1.5411    
   3  norm          3.5973        3.4795        .16544E-03   -1.5329    
   4  Prefactor     8.1546        27.535        .13998E-03   -1.5137    
   5  Prefactor     85.255        50.376        .43513E-04   -1.3859    
   6  Prefactor     6.6224        5.5954        .15595E-03   -1.5193    
   7  Prefactor     30.260        26.752        .72838E-04   -1.4607    
   8  norm          2.2569        2.3602        .14318E-03   -1.5407    
   9  Prefactor     2.2399        3.9759        .11811E-02   -1.5409    
  10  Prefactor     .10000E-03    11.291        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          8.5829        5.2316        .13683E-03   -1.5122    
  12  Prefactor     7.6209        57.498        .14524E-03   -1.5156    
  13  norm          7.2389        9.6797        .14911E-03   -1.5170    
  14  norm          7.8739        2.4386        .77896E-04   -1.5147    
  15  norm          18.937        17.633        .92038E-04   -1.4837    
  16  norm          66.871        80.298        .24539E-03   -1.4071    
  17  Prefactor     84.850        68.943        .43608E-04   -1.3863    
  18  Prefactor     30.359        35.709        .72695E-04   -1.4605    
  19  Prefactor     .10000E-03    40.681        .45645E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.5126        5.8471        .10781E-02   -1.5333    
  21  Normalizat    .92424        .29552        .44124E-03   -.95613    
  22  Prefactor     .95801        .10789        .17030E-03   -.94142    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.52814e-09
Minuit parameter uncertainties:
  1  3.72803
  2  3.65015
  3  3.47969
  4  27.5776
  5  50.4008
  6  5.59585
  7  26.7625
  8  2.36032
  9  3.97633
  10  3.25213e-05
  11  5.23184
  12  41.9217
  13  9.68182
  14  2.43861
  15  17.6374
  16  80.4288
  17  69.0085
  18  35.7341
  19  0.000818947
  20  5.8481
  21  0.296039
  22  0.10791
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  8.583e+00  5.232e+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:  9.580e-01  1.079e-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:  9.242e-01  2.960e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.94
Ra Dec: 237.697 5.473
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 7.54e-08 +/- 4.60e-08
Energy Flux (Fixed Index): 3.16e-05 +/- 1.93e-05

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) = 8905.00203858
delta logL = 0.311252560334

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8904.99968884
delta logL = 0.313602305509

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.1263       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8677       1.0000          .0000       5.0000    
     3 'Normalizat'    .85487       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97363       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=   8905.000     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      272 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.1232        42.679        .40551E-02    .32147E-03
   2  alpha         2.8688        3.8549        .33324        .84488E-04
   3  Normalizat    .85434        .11236        .10313        .39385E-04
   4  Prefactor     .97385        .32623E-01    .45937E-01   -.33415E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 6.1232
  alpha      = 2.86885
  Normalizat = 0.854344
  Prefactor  = 0.973854
 **********
 **   18 **HESSE 
 **********

 FCN=   8905.000     FROM HESSE     STATUS=OK            33 CALLS      305 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.1232        6.5399        .11063E-03   -1.5213    
   2  alpha         2.8688        .89543        .11431E-01    .14808    
   3  Normalizat    .85434        .29092        .45706E-03   -.98083    
   4  Prefactor     .97385        .10966        .16902E-03   -.93606    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57465e-08
Minuit parameter uncertainties:
  1  6.54067
  2  0.916251
  3  0.291451
  4  0.109681
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/743337': 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) = 8904.99968526
delta logL = 0.313605879826

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  6.123e+00  6.541e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  2.869e+00  9.163e-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:  9.739e-01  1.097e-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:  8.543e-01  2.915e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.67
Ra Dec: 237.697 5.473
Photon Index (Free Index): 2.87 +/- 0.92
Photon Flux (Free Index): 1.30e-07 +/- 9.56e-08
Energy Flux (Free Index): 3.33e-05 +/- 1.68e-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/743337/cmap_HighResolution_365040001_365299201_4FGL_J1550.7+0528_daily_bin485.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.54e-08', energy_flux2='3.33e-05', photon_flux_error='4.60e-08', dlogl='3.14e-01', energy_flux='3.16e-05', photon_flux2='1.30e-07', job_status='DONE', time_completed='2021-09-12 15:31:17.121455', photon_index_error2='0.92', photon_index2='2.87', ts='5.94', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='1.68e-05', EG='0.92', time_epoch_completed='1631485877.12', return_code='0', job_id='743337', GAL2='0.97', EG2='0.85', return_code2='0', energy_flux_error='1.93e-05', photon_flux_error2='9.56e-08', ts2='6.67', photon_index='2.27' WHERE bin_id='485' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:31:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0149>
Subject: Job 743337: <4FGL_J1550.7+0528_daily_bin485> in cluster <slac> Done

Job <4FGL_J1550.7+0528_daily_bin485> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 15:15:41 2021
Job was executed on host(s) <bullet0149>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 15:17:09 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:17:09 2021
Terminated at Sun Sep 12 15:31:18 2021
Results reported at Sun Sep 12 15:31:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin485 237.697 5.4725 365040001 365299201 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 :                                   661.04 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             282.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   848 sec.
    Turnaround time :                            937 sec.

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

