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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin499
RA = 237.697, Dec = 5.4725
tmin = 368668801, tmax = 368928001
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='743358', job_status='RUN', time_executed='2021-09-12 15:19:14.245578', time_epoch_executed='1631485154.25' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='499'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/743358

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/743358/ft1_4FGL_J1550.7+0528_daily_bin499.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/743358/ft2_4FGL_J1550.7+0528_daily_bin499.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/743358/ft1_4FGL_J1550.7+0528_daily_bin499.fits outfile=/scratch/kocevski/743358/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin499.fits ra=237.697 dec=5.4725 rad=12.0 tmin=368668801.0 tmax=368928001.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.11
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/743358/ft2_4FGL_J1550.7+0528_daily_bin499.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/743358/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin499.fits evtable="EVENTS" outfile="/scratch/kocevski/743358/ft1_filtered_4FGL_J1550.7+0528_daily_bin499.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/743358/ft1_filtered_4FGL_J1550.7+0528_daily_bin499.fits" evtable="EVENTS" scfile=/scratch/kocevski/743358/ft2_4FGL_J1550.7+0528_daily_bin499.fits sctable="SC_DATA" outfile=/scratch/kocevski/743358/ltcube_368668801_368928001_4FGL_J1550.7+0528_daily_bin499.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/743358/ft2_4FGL_J1550.7+0528_daily_bin499.fits
.....................!
real 12.83
user 12.33
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/743358/ft1_filtered_4FGL_J1550.7+0528_daily_bin499.fits evtable="EVENTS" scfile=/scratch/kocevski/743358/ft2_4FGL_J1550.7+0528_daily_bin499.fits sctable="SC_DATA" expcube=/scratch/kocevski/743358/ltcube_368668801_368928001_4FGL_J1550.7+0528_daily_bin499.fits outfile=/scratch/kocevski/743358/expmap_368668801_368928001_4FGL_J1550.7+0528_daily_bin499.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/743358/ltcube_368668801_368928001_4FGL_J1550.7+0528_daily_bin499.fits
.....................!
real 192.37
user 185.49
sys 4.91

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/743358/ft1_filtered_4FGL_J1550.7+0528_daily_bin499.fits scfile=/scratch/kocevski/743358/ft2_4FGL_J1550.7+0528_daily_bin499.fits outfile=/scratch/kocevski/743358/cmap_368668801_368928001_4FGL_J1550.7+0528_daily_bin499.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.56
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/743358/ft1_filtered_4FGL_J1550.7+0528_daily_bin499.fits scfile=/scratch/kocevski/743358/ft2_4FGL_J1550.7+0528_daily_bin499.fits outfile=/scratch/kocevski/743358/cmap_HighResolution_368668801_368928001_4FGL_J1550.7+0528_daily_bin499.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.62
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .65911E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.9061       1.0000         .10000E-03   10000.    
     3 'norm      '    3.3396       1.0000         .10000E-03   10000.    
     4 'Prefactor '    74.807       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10656E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.8452       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.1054       1.0000         .10000E-03   10000.    
    10 'Prefactor '    18.350       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.2187       1.0000         .10000E-03   10000.    
    13 'norm      '    13.723       1.0000         .10000E-03   10000.    
    14 'norm      '    4.8790       1.0000         .10000E-03   10000.    
    15 'norm      '    2.5451       1.0000         .10000E-03   10000.    
    16 'norm      '    66.071       1.0000         .10000E-03   10000.    
    17 'Prefactor '    52.480       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10161E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.0254       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .97690       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1334       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=   8405.740     FROM MIGRAD    STATUS=CONVERGED    495 CALLS     2386 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10004E-03    1.2171        .10279E-05** at limit **
   2  norm          2.9054        5.0309        .21659E-05   -.27359E-03
   3  norm          3.3403        3.2422        .10248E-06   -.13356E-03
   4  Prefactor     74.805        47.313       -.23777E-05   -.77573E-04
   5  Prefactor     .10000E-03    33.390       -.69081E-05** at limit **
   6  Prefactor     .10000E-03    2.9196        .14109E-06** at limit **
   7  Prefactor     .10000E-03    11.623        .16559E-07** at limit **
   8  norm          2.8443        2.5095        .14560E-06   -.11588E-03
   9  Prefactor     2.1047        3.8276       -.35631E-06   -.10182E-02
  10  Prefactor     18.375        39.098       -.63191E-05   -.10776E-04
  11  norm          .10000E-03    .77222       -.29233E-07** at limit **
  12  Prefactor     1.9840        202.57       -.25369E-05   -.20958E-04
  13  norm          13.724        9.8832        .12123E-05   -.16188E-03
  14  norm          4.8800        2.0129       -.18839E-06   -.19169E-03
  15  norm          2.5077        20.377        .22051E-04   -.12425E-03
  16  norm          66.126        73.392        .43384E-04    .36715E-05
  17  Prefactor     52.506        77.511        .21205E-04    .33357E-05
  18  Prefactor     .10000E-03    28.066        .19566E-05** at limit **
  19  Prefactor     .10000E-03    6.1134       -.72219E-06** at limit **
  20  Prefactor     2.0253        9.0017       -.67839E-05   -.37672E-03
  21  Normalizat    .97699        .25258       -.40176E-05   -.19850E-03
  22  Prefactor     1.1334        .10211       -.25009E-07   -.36972E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100043
  norm       = 2.90542
  norm       = 3.34031
  Prefactor  = 74.8054
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.84429
  Prefactor  = 2.10471
  Prefactor  = 18.375
  norm       = 0.0001
  Prefactor  = 1.984
  norm       = 13.724
  norm       = 4.87999
  norm       = 2.50773
  norm       = 66.1263
  Prefactor  = 52.5055
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.02527
  Normalizat = 0.97699
  Prefactor  = 1.13339
 **********
 **   18 **HESSE 
 **********

 FCN=   8405.740     FROM HESSE     STATUS=OK           346 CALLS     2732 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10004E-03    8.0959        .19427E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.9054        5.0055        .23835E-03   -1.5367    
   3  norm          3.3403        3.2383        .15784E-03   -1.5342    
   4  Prefactor     74.805        47.318        .46423E-04   -1.3976    
   5  Prefactor     .10000E-03    33.567        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.9844        .15287E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    11.648        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.8443        2.5051        .12939E-03   -1.5371    
   9  Prefactor     2.1047        3.8171        .23066E-03   -1.5418    
  10  Prefactor     18.375        39.096        .93499E-04   -1.4850    
  11  norm          .10000E-03    .77325        .78674E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.9840        204.14        .27608E-03   -1.5426    
  13  norm          13.724        9.8716        .10812E-03   -1.4967    
  14  norm          4.8800        2.0113        .80042E-04   -1.5266    
  15  norm          2.5077        19.941        .25596E-03   -1.5391    
  16  norm          66.126        73.327        .24688E-03   -1.4080    
  17  Prefactor     52.506        77.495        .55364E-04   -1.4257    
  18  Prefactor     .10000E-03    28.188        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.1366        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.0253        9.1615        .29073E-03   -1.5423    
  21  Normalizat    .97699        .28071        .42368E-03   -.93805    
  22  Prefactor     1.1334        .11528        .16756E-03   -.88406    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.63106e-09
Minuit parameter uncertainties:
  1  0.00118471
  2  5.00627
  3  3.23847
  4  47.3419
  5  0.000122052
  6  2.11372e-05
  7  1.31552e-05
  8  2.50516
  9  3.81758
  10  39.1505
  11  7.03555e-07
  12  40.3913
  13  9.87277
  14  2.0113
  15  14.1495
  16  73.4273
  17  77.6447
  18  2.30805e-05
  19  4.29716e-05
  20  8.61696
  21  0.281135
  22  0.115306
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.000e-04  7.036e-07  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.133e+00  1.153e-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.770e-01  2.811e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/743358/likelihoodResults_368668801_368928001_4FGL_J1550.7+0528_daily_bin499.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8405.74022819
delta logL = -4.3937967348e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8405.74018302
delta logL = 1.22314668261e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2407       1.0000          .0000       5.0000    
     3 'Normalizat'    .97698       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1334       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=   8405.740     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      213 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    24.702        .90712E-02** at limit **
   2  alpha         1.6135        4.1400        .41435       -.72819E-07
   3  Normalizat    .97699        .32462E-01    .95645E-01    .52107E-04
   4  Prefactor     1.1334        .13778E-01    .36436E-01    .42707E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.61349
  Normalizat = 0.976992
  Prefactor  = 1.13339
 **********
 **   18 **HESSE 
 **********

 FCN=   8405.740     FROM HESSE     STATUS=OK            31 CALLS      244 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.6890        .88018E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6135        3.3056        .16574       -.36249    
   3  Normalizat    .97699        .26618        .42368E-03   -.93805    
   4  Prefactor     1.1334        .11342        .16756E-03   -.88406    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30158e-10
Minuit parameter uncertainties:
  1  1.40069e-05
  2  168.743
  3  0.26654
  4  0.113448
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/743358': 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) = 8405.7401713
delta logL = 1.29490399559e-05

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  1.133e+00  1.134e-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.770e-01  2.665e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 237.697 5.473

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/743358/cmap_HighResolution_368668801_368928001_4FGL_J1550.7+0528_daily_bin499.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.63e-05', job_status='DONE', photon_flux_upper_limit='3.88e-08', time_completed='2021-09-12 15:31:03.806804', job_id='743358', GAL2='1.13', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1631485863.81', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='1.29e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='499' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:31:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 743358: <4FGL_J1550.7+0528_daily_bin499> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin499 237.697 5.4725 368668801 368928001 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 :                                   701.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             294.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   829 sec.
    Turnaround time :                            922 sec.

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

