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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin950
RA = 237.697, Dec = 5.4725
tmin = 485568001, tmax = 485827201
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='746066', job_status='RUN', time_executed='2021-09-12 15:28:22.256133', time_epoch_executed='1631485702.26' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='950'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/746066

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/746066/ft1_4FGL_J1550.7+0528_daily_bin950.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/746066/ft2_4FGL_J1550.7+0528_daily_bin950.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/746066/ft1_4FGL_J1550.7+0528_daily_bin950.fits outfile=/scratch/kocevski/746066/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin950.fits ra=237.697 dec=5.4725 rad=12.0 tmin=485568001.0 tmax=485827201.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.97
user 3.72
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/746066/ft2_4FGL_J1550.7+0528_daily_bin950.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/746066/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin950.fits evtable="EVENTS" outfile="/scratch/kocevski/746066/ft1_filtered_4FGL_J1550.7+0528_daily_bin950.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/746066/ft1_filtered_4FGL_J1550.7+0528_daily_bin950.fits" evtable="EVENTS" scfile=/scratch/kocevski/746066/ft2_4FGL_J1550.7+0528_daily_bin950.fits sctable="SC_DATA" outfile=/scratch/kocevski/746066/ltcube_485568001_485827201_4FGL_J1550.7+0528_daily_bin950.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/746066/ft2_4FGL_J1550.7+0528_daily_bin950.fits
.....................!
real 14.69
user 13.91
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/746066/ft1_filtered_4FGL_J1550.7+0528_daily_bin950.fits evtable="EVENTS" scfile=/scratch/kocevski/746066/ft2_4FGL_J1550.7+0528_daily_bin950.fits sctable="SC_DATA" expcube=/scratch/kocevski/746066/ltcube_485568001_485827201_4FGL_J1550.7+0528_daily_bin950.fits outfile=/scratch/kocevski/746066/expmap_485568001_485827201_4FGL_J1550.7+0528_daily_bin950.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/746066/ltcube_485568001_485827201_4FGL_J1550.7+0528_daily_bin950.fits
.....................!
real 192.67
user 187.01
sys 4.96

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/746066/ft1_filtered_4FGL_J1550.7+0528_daily_bin950.fits scfile=/scratch/kocevski/746066/ft2_4FGL_J1550.7+0528_daily_bin950.fits outfile=/scratch/kocevski/746066/cmap_485568001_485827201_4FGL_J1550.7+0528_daily_bin950.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/746066/ft1_filtered_4FGL_J1550.7+0528_daily_bin950.fits scfile=/scratch/kocevski/746066/ft2_4FGL_J1550.7+0528_daily_bin950.fits outfile=/scratch/kocevski/746066/cmap_HighResolution_485568001_485827201_4FGL_J1550.7+0528_daily_bin950.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.57
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/746066/ft1_filtered_4FGL_J1550.7+0528_daily_bin950.fits evtable="EVENTS" scfile=/scratch/kocevski/746066/ft2_4FGL_J1550.7+0528_daily_bin950.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/746066/Model_4FGL_J1550.7+0528_daily_bin950.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/746066/ft1_filtered_4FGL_J1550.7+0528_daily_bin950.fits.....................!
real 75.55
user 74.16
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    13.359       1.0000         .10000E-03   10000.    
     3 'norm      '    1.6221       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    80.771       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.2191       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .62561E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.5537       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.4390       1.0000         .10000E-03   10000.    
    14 'norm      '    7.7268       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .22827E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .33022       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .37169E-02   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .87495       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0544       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=   9727.503     FROM MIGRAD    STATUS=CONVERGED    490 CALLS     2398 TOTAL
                     EDM=   .98E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.0192       -.41809E-07** at limit **
   2  norm          13.358        7.8314       -.33650E-06    .11685E-04
   3  norm          1.6220        1.6365        .76322E-07    .41505E-03
   4  Prefactor     .10000E-03    56.933        .66308E-06** at limit **
   5  Prefactor     80.770        51.505       -.83423E-06   -.13182E-04
   6  Prefactor     5.2198        3.8480       -.70572E-07   -.41055E-03
   7  Prefactor     .10000E-03    7.8754       -.81424E-07** at limit **
   8  norm          .10000E-03    .83503       -.21053E-07** at limit **
   9  Prefactor     .10000E-03    1.1440        .29400E-07** at limit **
  10  Prefactor     .10000E-03    12.843       -.24888E-06** at limit **
  11  norm          1.5539        2.3396       -.24287E-06   -.74620E-03
  12  Prefactor     .10000E-03    45.779       -.12092E-04** at limit **
  13  norm          1.4358        11.794        .61629E-05   -.58739E-03
  14  norm          7.7278        2.2924       -.18608E-06   -.20768E-03
  15  norm          .10000E-03    15.335        .53754E-07** at limit **
  16  norm          .10000E-03    150.90        .68851E-04** at limit **
  17  Prefactor     .10000E-03    188.06       -.86507E-04** at limit **
  18  Prefactor     .10000E-03    43.229        .10000E-04** at limit **
  19  Prefactor     .34199        5.4740       -.43758E-06   -.15099E-03
  20  Prefactor     .10000E-03    3.7452        .11518E-06** at limit **
  21  Normalizat    .87492        .21943       -.46683E-06    .24417E-04
  22  Prefactor     1.0545        .85780E-01    .61056E-07    .11799E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 13.3582
  norm       = 1.62201
  Prefactor  = 0.0001
  Prefactor  = 80.7702
  Prefactor  = 5.21981
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.55392
  Prefactor  = 0.0001
  norm       = 1.43578
  norm       = 7.72779
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.341985
  Prefactor  = 0.000100003
  Normalizat = 0.874919
  Prefactor  = 1.05447
 **********
 **   18 **HESSE 
 **********

 FCN=   9727.503     FROM HESSE     STATUS=OK           346 CALLS     2744 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.0448        .19433E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          13.358        7.8314        .10959E-03   -1.4977    
   3  norm          1.6220        1.6519        .12362E-03   -1.5453    
   4  Prefactor     .10000E-03    57.232        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     80.770        51.734        .44689E-04   -1.3908    
   6  Prefactor     5.2198        3.8395        .15832E-03   -1.5251    
   7  Prefactor     .10000E-03    7.8848        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .84174        .87982E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.0104        .20346E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    12.847        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.5539        2.3123        .17951E-03   -1.5459    
  12  Prefactor     .10000E-03    45.922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.4358        11.318        .35970E-03   -1.5468    
  14  norm          7.7278        2.2785        .77070E-04   -1.5152    
  15  norm          .10000E-03    15.496        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    151.68        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    189.25        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    43.471        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .34199        63.936        .43390E-02   -1.5591    
  20  Prefactor     .10000E-03    63.747        .36115E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .87492        .24611        .42607E-03   -.97347    
  22  Prefactor     1.0545        .97658E-01    .15865E-03   -.90935    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.24227e-09
Minuit parameter uncertainties:
  1  5.3322e-07
  2  7.83198
  3  1.65195
  4  1.60466e-05
  5  51.7629
  6  3.83968
  7  1.99856e-06
  8  3.57716e-06
  9  2.93671e-05
  10  4.89278e-06
  11  2.31239
  12  1.18338e-05
  13  8.064
  14  2.2785
  15  1.15363e-05
  16  0.000159674
  17  0.00105266
  18  7.39567e-06
  19  9.36086
  20  0.000810839
  21  0.246431
  22  0.0976742
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.554e+00  2.312e+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.054e+00  9.767e-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:  8.749e-01  2.464e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/746066/likelihoodResults_485568001_485827201_4FGL_J1550.7+0528_daily_bin950.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) = 9727.3785749
delta logL = 0.12414946575

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9727.37771079
delta logL = 0.125013582139

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0362       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7312       1.0000          .0000       5.0000    
     3 'Normalizat'    .88139       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0526       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=   9727.378     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      306 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0346        2.6867        .18186E-03    .19379E-04
   2  alpha         1.7306        .95659        .35401E-01   -.32305E-04
   3  Normalizat    .88141        .23636        .42459E-03    .74971E-06
   4  Prefactor     1.0526        .96611E-01    .15875E-03    .20051E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.03456
  alpha      = 1.7306
  Normalizat = 0.881414
  Prefactor  = 1.0526
 **********
 **   18 **HESSE 
 **********

 FCN=   9727.378     FROM HESSE     STATUS=OK            27 CALLS      333 TOTAL
                     EDM=   .47E-14    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0346        2.6830        .36372E-04   -1.5423    
   2  alpha         1.7306        .95586        .70801E-02   -.31284    
   3  Normalizat    .88141        .23648        .16984E-04   -.97116    
   4  Prefactor     1.0526        .96665E-01    .63502E-05   -.90996    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.71876e-15
Minuit parameter uncertainties:
  1  2.68316
  2  0.983662
  3  0.236756
  4  0.0966806
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/746066': 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) = 9727.37771016
delta logL = 0.125014206847

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  2.035e+00  2.683e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  1.731e+00  9.837e-01  0.000e+00  5.000e+00 ( 1.000e+00)
238         beta:  1.873e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  9.907e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  1.053e+00  9.668e-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:  8.814e-01  2.368e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.70
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/746066/cmap_HighResolution_485568001_485827201_4FGL_J1550.7+0528_daily_bin950.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.97e-05', job_status='DONE', photon_flux_upper_limit='7.08e-08', time_completed='2021-09-12 15:41:12.978619', job_id='746066', GAL2='1.05', fit_tolerance='1e-08', EG2='0.88', EG='0.87', time_epoch_completed='1631486472.98', return_code2='0', ts='0.70', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='1.25e-01', ts2='0.95', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='950' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:41:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0166>
Subject: Job 746066: <4FGL_J1550.7+0528_daily_bin950> in cluster <slac> Done

Job <4FGL_J1550.7+0528_daily_bin950> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 12 15:25:20 2021
Job was executed on host(s) <bullet0166>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 15:25:39 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:25:39 2021
Terminated at Sun Sep 12 15:41:13 2021
Results reported at Sun Sep 12 15:41:13 2021

Your job looked like:

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

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

