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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin866
RA = 237.697, Dec = 5.4725
tmin = 463795201, tmax = 464054401
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='744948', job_status='RUN', time_executed='2021-09-12 15:24:46.611982', time_epoch_executed='1631485486.61' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='866'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/744948

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/744948/ft1_4FGL_J1550.7+0528_daily_bin866.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/744948/ft2_4FGL_J1550.7+0528_daily_bin866.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/744948/ft1_4FGL_J1550.7+0528_daily_bin866.fits outfile=/scratch/kocevski/744948/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin866.fits ra=237.697 dec=5.4725 rad=12.0 tmin=463795201.0 tmax=464054401.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.44
user 3.23
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/744948/ft2_4FGL_J1550.7+0528_daily_bin866.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/744948/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin866.fits evtable="EVENTS" outfile="/scratch/kocevski/744948/ft1_filtered_4FGL_J1550.7+0528_daily_bin866.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/744948/ft1_filtered_4FGL_J1550.7+0528_daily_bin866.fits" evtable="EVENTS" scfile=/scratch/kocevski/744948/ft2_4FGL_J1550.7+0528_daily_bin866.fits sctable="SC_DATA" outfile=/scratch/kocevski/744948/ltcube_463795201_464054401_4FGL_J1550.7+0528_daily_bin866.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/744948/ft2_4FGL_J1550.7+0528_daily_bin866.fits
.....................!
real 12.28
user 11.90
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/744948/ft1_filtered_4FGL_J1550.7+0528_daily_bin866.fits evtable="EVENTS" scfile=/scratch/kocevski/744948/ft2_4FGL_J1550.7+0528_daily_bin866.fits sctable="SC_DATA" expcube=/scratch/kocevski/744948/ltcube_463795201_464054401_4FGL_J1550.7+0528_daily_bin866.fits outfile=/scratch/kocevski/744948/expmap_463795201_464054401_4FGL_J1550.7+0528_daily_bin866.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/744948/ltcube_463795201_464054401_4FGL_J1550.7+0528_daily_bin866.fits
.....................!
real 192.79
user 187.59
sys 4.70

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/744948/ft1_filtered_4FGL_J1550.7+0528_daily_bin866.fits scfile=/scratch/kocevski/744948/ft2_4FGL_J1550.7+0528_daily_bin866.fits outfile=/scratch/kocevski/744948/cmap_463795201_464054401_4FGL_J1550.7+0528_daily_bin866.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.54
user 0.37
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15125E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    6.6165       1.0000         .10000E-03   10000.    
     4 'Prefactor '    59.286       1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.843       1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.597       1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.0609       1.0000         .10000E-03   10000.    
     8 'norm      '    2.0361       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11011E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    28.935       1.0000         .10000E-03   10000.    
    11 'norm      '    2.0487       1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.573       1.0000         .10000E-03   10000.    
    13 'norm      '    .43091E-02   1.0000         .10000E-03   10000.    
    14 'norm      '    4.1574       1.0000         .10000E-03   10000.    
    15 'norm      '    .10062E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10768E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10125E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .29194E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10184E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.8461       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81041       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=   8575.726     FROM MIGRAD    STATUS=CONVERGED    498 CALLS     2475 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.5226       -.16077E-06** at limit **
   2  norm          .10000E-03    2.2303        .37744E-07** at limit **
   3  norm          6.6223        4.3972       -.10874E-06    .48382E-05
   4  Prefactor     59.285        48.729       -.17946E-05    .43243E-04
   5  Prefactor     17.854        36.985        .74538E-05    .23355E-04
   6  Prefactor     10.598        6.8550       -.53543E-05    .14790E-03
   7  Prefactor     9.0566        25.562       -.16337E-06    .35811E-04
   8  norm          2.0353        2.8417       -.72452E-06   -.76887E-03
   9  Prefactor     .10018E-03    3.5505       -.65249E-06** at limit **
  10  Prefactor     28.934        27.815       -.52948E-06    .17466E-04
  11  norm          2.0494        3.9500        .16959E-05   -.27567E-03
  12  Prefactor     15.448        60.762       -.22449E-03    .43975E-04
  13  norm          .10137E-03    6.3713        .29367E-06** at limit **
  14  norm          4.1573        2.0619        .10314E-05    .41629E-03
  15  norm          .10000E-03    16.381       -.98136E-05** at limit **
  16  norm          .10000E-03    103.96        .40878E-04** at limit **
  17  Prefactor     .10000E-03    22.250        .11442E-04** at limit **
  18  Prefactor     .10000E-03    46.154       -.28647E-05** at limit **
  19  Prefactor     .10001E-03    5.8453       -.16754E-05** at limit **
  20  Prefactor     .10000E-03    14.692        .42398E-05** at limit **
  21  Normalizat    1.8456        .26371        .98678E-05    .67250E-04
  22  Prefactor     .81065        .95894E-01    .10966E-05    .82429E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 6.62229
  Prefactor  = 59.2852
  Prefactor  = 17.8545
  Prefactor  = 10.5984
  Prefactor  = 9.05663
  norm       = 2.03527
  Prefactor  = 0.00010018
  Prefactor  = 28.9338
  norm       = 2.04943
  Prefactor  = 15.4484
  norm       = 0.000101367
  norm       = 4.15727
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 0.000100001
  Normalizat = 1.84558
  Prefactor  = 0.810653
 **********
 **   18 **HESSE 
 **********

 FCN=   8575.726     FROM HESSE     STATUS=OK           358 CALLS     2833 TOTAL
                     EDM=   .86E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.6308        .28677E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.2313        .13506E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.6223        4.3922        .15325E-03   -1.5193    
   4  Prefactor     59.285        48.767        .52106E-04   -1.4167    
   5  Prefactor     17.854        37.116        .94817E-04   -1.4863    
   6  Prefactor     10.598        6.8251        .12308E-03   -1.5057    
   7  Prefactor     9.0566        25.444        .13315E-03   -1.5106    
   8  norm          2.0353        2.8211        .17273E-03   -1.5423    
   9  Prefactor     .10018E-03    27.266        .32657E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     28.934        27.809        .74481E-04   -1.4632    
  11  norm          2.0494        3.8998        .24071E-03   -1.5422    
  12  Prefactor     15.448        60.840        .10149E-03   -1.4922    
  13  norm          .10137E-03    11.244        .66302E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.1573        2.0622        .89635E-04   -1.5300    
  15  norm          .10000E-03    16.499        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    104.04        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    22.252        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    46.344        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10001E-03    62.863        .43165E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    15.267        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.8456        .30837        .35611E-03   -.68480    
  22  Prefactor     .81065        .11228        .19376E-03   -.99337    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.63048e-09
Minuit parameter uncertainties:
  1  3.44226e-05
  2  2.63806e-06
  3  4.39239
  4  48.8001
  5  37.1644
  6  6.82561
  7  25.4745
  8  2.82125
  9  0.00443677
  10  27.8217
  11  3.90025
  12  61.0858
  13  0.00784104
  14  2.06226
  15  7.34183e-05
  16  0.000152853
  17  3.55284e-05
  18  0.000224568
  19  0.0011355
  20  0.000255577
  21  0.308701
  22  0.112307
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  8.107e-01  1.123e-01  0.000e+00  1.000e+01 ( 1.000e+00)
502        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
503        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
500   Normalization:  1.846e+00  3.087e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.38
Ra Dec: 237.697 5.473
Photon Flux Upper Limit: 1.06e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.45e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/744948/likelihoodResults_463795201_464054401_4FGL_J1550.7+0528_daily_bin866.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) = 8575.45932933
delta logL = 0.2664068392

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8575.43171391
delta logL = 0.294022259561

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6308       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2135       1.0000          .0000       5.0000    
     3 'Normalizat'    1.7997       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81863       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=   8575.432     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      208 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6308        35.094        .82785E-02    .20588E-02
   2  alpha         3.2135        4.1007        .43500        .58970E-04
   3  Normalizat    1.7997        .66119E-01    .81249E-01   -.10227E-03
   4  Prefactor     .81863        .24569E-01    .43959E-01   -.23070E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.63079
  alpha      = 3.21353
  Normalizat = 1.79972
  Prefactor  = 0.818628
 **********
 **   18 **HESSE 
 **********

 FCN=   8575.432     FROM HESSE     STATUS=OK            31 CALLS      239 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6308        3.5755        .12535E-03   -1.5453    
   2  alpha         3.2135        1.3101        .18613E-01    .28944    
   3  Normalizat    1.7997        .29922        .35957E-03   -.69671    
   4  Prefactor     .81863        .11241        .19287E-03   -.99045    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55684e-08
Minuit parameter uncertainties:
  1  3.57596
  2  1.38619
  3  0.299523
  4  0.11244
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/744948': 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) = 8575.4317139
delta logL = 0.294022264869

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  8.186e-01  1.124e-01  0.000e+00  1.000e+01 ( 1.000e+00)
502        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
503        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
500   Normalization:  1.800e+00  2.995e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.38
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/744948/cmap_HighResolution_463795201_464054401_4FGL_J1550.7+0528_daily_bin866.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.45e-05', job_status='DONE', photon_flux_upper_limit='1.06e-07', time_completed='2021-09-12 15:36:33.805054', job_id='744948', GAL2='0.82', fit_tolerance='1e-08', EG2='1.80', EG='1.85', time_epoch_completed='1631486193.81', return_code2='0', ts='0.38', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='2.94e-01', ts2='1.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='866' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:36:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0191>
Subject: Job 744948: <4FGL_J1550.7+0528_daily_bin866> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin866 237.697 5.4725 463795201 464054401 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 :                                   706.26 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             296.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   875 sec.
    Turnaround time :                            943 sec.

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

