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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin837
RA = 237.697, Dec = 5.4725
tmin = 456278401, tmax = 456537601
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='744902', job_status='RUN', time_executed='2021-09-12 15:21:59.584055', time_epoch_executed='1631485319.58' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='837'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/744902

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/744902/ft1_4FGL_J1550.7+0528_daily_bin837.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/744902/ft2_4FGL_J1550.7+0528_daily_bin837.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/744902/ft1_4FGL_J1550.7+0528_daily_bin837.fits outfile=/scratch/kocevski/744902/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin837.fits ra=237.697 dec=5.4725 rad=12.0 tmin=456278401.0 tmax=456537601.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 5.29
user 4.89
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/744902/ft2_4FGL_J1550.7+0528_daily_bin837.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/744902/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin837.fits evtable="EVENTS" outfile="/scratch/kocevski/744902/ft1_filtered_4FGL_J1550.7+0528_daily_bin837.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.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/744902/ft1_filtered_4FGL_J1550.7+0528_daily_bin837.fits" evtable="EVENTS" scfile=/scratch/kocevski/744902/ft2_4FGL_J1550.7+0528_daily_bin837.fits sctable="SC_DATA" outfile=/scratch/kocevski/744902/ltcube_456278401_456537601_4FGL_J1550.7+0528_daily_bin837.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/744902/ft2_4FGL_J1550.7+0528_daily_bin837.fits
.....................!
real 14.14
user 13.72
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/744902/ft1_filtered_4FGL_J1550.7+0528_daily_bin837.fits evtable="EVENTS" scfile=/scratch/kocevski/744902/ft2_4FGL_J1550.7+0528_daily_bin837.fits sctable="SC_DATA" expcube=/scratch/kocevski/744902/ltcube_456278401_456537601_4FGL_J1550.7+0528_daily_bin837.fits outfile=/scratch/kocevski/744902/expmap_456278401_456537601_4FGL_J1550.7+0528_daily_bin837.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/744902/ltcube_456278401_456537601_4FGL_J1550.7+0528_daily_bin837.fits
.....................!
real 191.24
user 186.53
sys 4.26

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/744902/ft1_filtered_4FGL_J1550.7+0528_daily_bin837.fits scfile=/scratch/kocevski/744902/ft2_4FGL_J1550.7+0528_daily_bin837.fits outfile=/scratch/kocevski/744902/cmap_456278401_456537601_4FGL_J1550.7+0528_daily_bin837.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.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/744902/ft1_filtered_4FGL_J1550.7+0528_daily_bin837.fits scfile=/scratch/kocevski/744902/ft2_4FGL_J1550.7+0528_daily_bin837.fits outfile=/scratch/kocevski/744902/cmap_HighResolution_456278401_456537601_4FGL_J1550.7+0528_daily_bin837.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.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/744902/ft1_filtered_4FGL_J1550.7+0528_daily_bin837.fits evtable="EVENTS" scfile=/scratch/kocevski/744902/ft2_4FGL_J1550.7+0528_daily_bin837.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/744902/Model_4FGL_J1550.7+0528_daily_bin837.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/744902/ft1_filtered_4FGL_J1550.7+0528_daily_bin837.fits.....................!
real 97.59
user 95.65
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0275       1.0000         .10000E-03   10000.    
     2 'norm      '    8.4343       1.0000         .10000E-03   10000.    
     3 'norm      '    .66352       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    36.921       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.5425       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.5988       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.223       1.0000         .10000E-03   10000.    
    11 'norm      '    12.084       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    4.2809       1.0000         .10000E-03   10000.    
    14 'norm      '    4.2295       1.0000         .10000E-03   10000.    
    15 'norm      '    24.324       1.0000         .10000E-03   10000.    
    16 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    20.165       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.8612       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3071       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1190       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=   12801.43     FROM MIGRAD    STATUS=CONVERGED    488 CALLS     2361 TOTAL
                     EDM=   .55E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0276        1.9237        .59351E-07    .70826E-05
   2  norm          8.4345        6.0614       -.24736E-07   -.25347E-06
   3  norm          .66372        1.9167        .19501E-06   -.10467E-04
   4  Prefactor     .10000E-03    11.732        .29838E-08** at limit **
   5  Prefactor     36.926        41.171       -.20090E-06    .60790E-06
   6  Prefactor     1.5426        3.0449        .15852E-06   -.24094E-05
   7  Prefactor     .10000E-03    23.440       -.11257E-06** at limit **
   8  norm          1.5994        2.2703        .53936E-07    .43272E-05
   9  Prefactor     .10000E-03    1.3543       -.17188E-08** at limit **
  10  Prefactor     11.218        28.716        .14099E-06   -.10344E-06
  11  norm          12.083        4.7252        .89660E-08    .32092E-04
  12  Prefactor     .10000E-03    70.643       -.71662E-05** at limit **
  13  norm          4.2811        7.5170        .12657E-05    .66877E-06
  14  norm          4.2295        1.7422       -.27398E-07    .44940E-04
  15  norm          24.325        13.985       -.17815E-07    .80109E-05
  16  norm          .10000E-03    130.72        .68433E-05** at limit **
  17  Prefactor     .10000E-03    52.718        .33479E-05** at limit **
  18  Prefactor     20.167        28.938       -.42529E-07    .12135E-06
  19  Prefactor     .10000E-03    5.1059       -.21634E-07** at limit **
  20  Prefactor     4.8613        4.9232        .12413E-06    .16720E-06
  21  Normalizat    1.3070        .22533       -.30149E-06    .16768E-04
  22  Prefactor     1.1190        .85978E-01    .59318E-07    .17132E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.02762
  norm       = 8.43449
  norm       = 0.663723
  Prefactor  = 0.0001
  Prefactor  = 36.9261
  Prefactor  = 1.54263
  Prefactor  = 0.0001
  norm       = 1.59944
  Prefactor  = 0.0001
  Prefactor  = 11.2175
  norm       = 12.0828
  Prefactor  = 0.0001
  norm       = 4.28106
  norm       = 4.22954
  norm       = 24.3249
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.1673
  Prefactor  = 0.0001
  Prefactor  = 4.86126
  Normalizat = 1.30699
  Prefactor  = 1.11903
 **********
 **   18 **HESSE 
 **********

 FCN=   12801.43     FROM HESSE     STATUS=OK           350 CALLS     2711 TOTAL
                     EDM=   .32E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0276        1.9077        .14481E-03   -1.5423    
   2  norm          8.4345        6.0616        .13803E-03   -1.5127    
   3  norm          .66372        1.8830        .25670E-03   -1.5545    
   4  Prefactor     .10000E-03    11.757        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     36.926        41.441        .65958E-04   -1.4492    
   6  Prefactor     1.5426        3.0215        .26325E-03   -1.5460    
   7  Prefactor     .10000E-03    23.559        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.5994        2.2430        .19384E-03   -1.5455    
   9  Prefactor     .10000E-03    1.3670        .12850E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.218        28.672        .11959E-03   -1.5038    
  11  norm          12.083        4.7257        .11524E-03   -1.5013    
  12  Prefactor     .10000E-03    70.775        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.2811        7.5132        .97361E-03   -1.5294    
  14  norm          4.2295        1.7421        .92078E-04   -1.5297    
  15  norm          24.325        14.006        .81221E-04   -1.4721    
  16  norm          .10000E-03    130.91        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    52.773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     20.167        28.936        .89193E-04   -1.4810    
  19  Prefactor     .10000E-03    5.1255        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.8613        4.9268        .18245E-03   -1.5267    
  21  Normalizat    1.3070        .25460        .42293E-03   -.83358    
  22  Prefactor     1.1190        .97599E-01    .18207E-03   -.88861    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.17047e-12
Minuit parameter uncertainties:
  1  1.90776
  2  6.06203
  3  1.88313
  4  7.99847e-07
  5  41.4736
  6  3.02176
  7  4.76584e-07
  8  2.24316
  9  1.90194e-07
  10  28.7076
  11  4.72589
  12  3.21719e-06
  13  7.51482
  14  1.74208
  15  14.0078
  16  2.08271e-05
  17  5.91526e-06
  18  28.9559
  19  9.12603e-07
  20  4.92722
  21  0.254848
  22  0.0976142
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.208e+01  4.726e+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.119e+00  9.761e-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:  1.307e+00  2.548e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.60
Ra Dec: 237.697 5.473
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 1.06e-07 +/- 4.15e-08
Energy Flux (Fixed Index): 4.45e-05 +/- 1.74e-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) = 12800.0918733
delta logL = 1.34260232193

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12800.0797145
delta logL = 1.3547610871

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.2590       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9907       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2166       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1380       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=   12800.08     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      251 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.2596        28.442        .37218E-02    .35653E-03
   2  alpha         2.9908        3.6809        .23311        .14171E-03
   3  Normalizat    1.2160        .12200        .98379E-01    .36063E-04
   4  Prefactor     1.1382        .38323E-01    .36294E-01   -.48381E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 7.25962
  alpha      = 2.99078
  Normalizat = 1.21597
  Prefactor  = 1.13817
 **********
 **   18 **HESSE 
 **********

 FCN=   12800.08     FROM HESSE     STATUS=OK            33 CALLS      284 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.2596        4.9551        .95376E-04   -1.5169    
   2  alpha         2.9908        .49598        .93402E-02    .19760    
   3  Normalizat    1.2160        .24761        .43590E-03   -.86111    
   4  Prefactor     1.1382        .97655E-01    .18065E-03   -.88256    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.18929e-11
Minuit parameter uncertainties:
  1  4.95534
  2  0.499428
  3  0.247853
  4  0.0976706
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/744902': 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) = 12800.0797107
delta logL = 1.35476492603

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  7.260e+00  4.955e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  2.991e+00  4.994e-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.138e+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:  1.216e+00  2.479e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 16.51
Ra Dec: 237.697 5.473
Photon Index (Free Index): 2.99 +/- 0.50
Photon Flux (Free Index): 1.88e-07 +/- 7.58e-08
Energy Flux (Free Index): 4.49e-05 +/- 1.50e-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/744902/cmap_HighResolution_456278401_456537601_4FGL_J1550.7+0528_daily_bin837.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.06e-07', energy_flux2='4.49e-05', photon_flux_error='4.15e-08', dlogl='1.35e+00', energy_flux='4.45e-05', photon_flux2='1.88e-07', job_status='DONE', time_completed='2021-09-12 15:35:37.758360', photon_index_error2='0.50', photon_index2='2.99', ts='13.60', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', energy_flux_error2='1.50e-05', EG='1.31', time_epoch_completed='1631486137.76', return_code='0', job_id='744902', GAL2='1.14', EG2='1.22', return_code2='0', energy_flux_error='1.74e-05', photon_flux_error2='7.58e-08', ts2='16.51', photon_index='2.27' WHERE bin_id='837' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:35:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 744902: <4FGL_J1550.7+0528_daily_bin837> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin837 237.697 5.4725 456278401 456537601 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 :                                   815.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             354.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   831 sec.
    Turnaround time :                            890 sec.

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

