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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin963
RA = 237.697, Dec = 5.4725
tmin = 488937601, tmax = 489196801
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='746084', job_status='RUN', time_executed='2021-09-12 15:28:56.841374', time_epoch_executed='1631485736.84' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='963'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/746084

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/746084/ft1_4FGL_J1550.7+0528_daily_bin963.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/746084/ft2_4FGL_J1550.7+0528_daily_bin963.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/746084/ft1_4FGL_J1550.7+0528_daily_bin963.fits outfile=/scratch/kocevski/746084/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin963.fits ra=237.697 dec=5.4725 rad=12.0 tmin=488937601.0 tmax=489196801.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.63
user 3.36
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/746084/ft1_filtered_4FGL_J1550.7+0528_daily_bin963.fits" evtable="EVENTS" scfile=/scratch/kocevski/746084/ft2_4FGL_J1550.7+0528_daily_bin963.fits sctable="SC_DATA" outfile=/scratch/kocevski/746084/ltcube_488937601_489196801_4FGL_J1550.7+0528_daily_bin963.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/746084/ft2_4FGL_J1550.7+0528_daily_bin963.fits
.....................!
real 14.00
user 13.63
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/746084/ft1_filtered_4FGL_J1550.7+0528_daily_bin963.fits evtable="EVENTS" scfile=/scratch/kocevski/746084/ft2_4FGL_J1550.7+0528_daily_bin963.fits sctable="SC_DATA" expcube=/scratch/kocevski/746084/ltcube_488937601_489196801_4FGL_J1550.7+0528_daily_bin963.fits outfile=/scratch/kocevski/746084/expmap_488937601_489196801_4FGL_J1550.7+0528_daily_bin963.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/746084/ltcube_488937601_489196801_4FGL_J1550.7+0528_daily_bin963.fits
.....................!
real 191.91
user 186.17
sys 5.36

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/746084/ft1_filtered_4FGL_J1550.7+0528_daily_bin963.fits scfile=/scratch/kocevski/746084/ft2_4FGL_J1550.7+0528_daily_bin963.fits outfile=/scratch/kocevski/746084/cmap_488937601_489196801_4FGL_J1550.7+0528_daily_bin963.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.58
user 0.38
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8761       1.0000         .10000E-03   10000.    
     2 'norm      '    13.459       1.0000         .10000E-03   10000.    
     3 'norm      '    3.4792       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    64.046       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.3208       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .18884       1.0000         .10000E-03   10000.    
    12 'Prefactor '    40.895       1.0000         .10000E-03   10000.    
    13 'norm      '    .10105E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    5.6501       1.0000         .10000E-03   10000.    
    15 'norm      '    6.2897       1.0000         .10000E-03   10000.    
    16 'norm      '    .10094E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .58946E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10137E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    15.767       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1011       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .97293       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=   8891.088     FROM MIGRAD    STATUS=CONVERGED    478 CALLS     2373 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8759        2.3010       -.19992E-06   -.37666E-03
   2  norm          13.459        7.3359        .29381E-07    .52933E-04
   3  norm          3.4792        3.0357        .21655E-07    .54356E-04
   4  Prefactor     .10000E-03    12.672       -.14776E-05** at limit **
   5  Prefactor     64.040        43.603       -.56269E-05    .15036E-04
   6  Prefactor     3.3211        5.7113       -.40140E-05   -.57739E-03
   7  Prefactor     .10000E-03    8.1033       -.10840E-06** at limit **
   8  norm          .10000E-03    1.5557        .32491E-07** at limit **
   9  Prefactor     .10000E-03    1.8182        .14102E-06** at limit **
  10  Prefactor     .10000E-03    18.331       -.25453E-05** at limit **
  11  norm          .18593        1.7026       -.10998E-05    .38263E-03
  12  Prefactor     40.907        59.750        .16409E-04    .40151E-04
  13  norm          .10000E-03    15.133       -.48320E-06** at limit **
  14  norm          5.6498        2.2055       -.22210E-06    .14881E-03
  15  norm          6.2925        16.679       -.10842E-05   -.11240E-04
  16  norm          .10000E-03    48.749        .46411E-05** at limit **
  17  Prefactor     .10007E-03    374.40       -.28113E-03** at limit **
  18  Prefactor     .10000E-03    13.779        .27955E-05** at limit **
  19  Prefactor     .10000E-03    15.028       -.29684E-06** at limit **
  20  Prefactor     15.767        9.4840        .14808E-06    .31678E-03
  21  Normalizat    1.1011        .24304        .27922E-05    .55407E-03
  22  Prefactor     .97296        .89226E-01    .97006E-07    .14981E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 1.8759
  norm       = 13.4587
  norm       = 3.47924
  Prefactor  = 0.0001
  Prefactor  = 64.0398
  Prefactor  = 3.32109
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.18593
  Prefactor  = 40.9072
  norm       = 0.0001
  norm       = 5.64983
  norm       = 6.29248
  norm       = 0.0001
  Prefactor  = 0.000100068
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.767
  Normalizat = 1.1011
  Prefactor  = 0.972957
 **********
 **   18 **HESSE 
 **********

 FCN=   8891.088     FROM HESSE     STATUS=OK           340 CALLS     2713 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8759        2.2890        .15236E-03   -1.5434    
   2  norm          13.459        7.3368        .10918E-03   -1.4974    
   3  norm          3.4792        3.0338        .14886E-03   -1.5335    
   4  Prefactor     .10000E-03    12.675        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     64.040        43.835        .50144E-04   -1.4106    
   6  Prefactor     3.3211        5.7211        .22213E-03   -1.5343    
   7  Prefactor     .10000E-03    8.1066        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.5969        .22959E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    3.4547        .24419E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    18.349        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .18593        12.251        .23498E-02   -1.5622    
  12  Prefactor     40.907        59.720        .62683E-04   -1.4428    
  13  norm          .10000E-03    15.478        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.6498        2.2034        .83877E-04   -1.5233    
  15  norm          6.2925        16.730        .16006E-03   -1.5206    
  16  norm          .10000E-03    48.762        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10007E-03    373.02        .21073E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    13.791        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    15.458        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     15.767        9.4776        .10087E-03   -1.4914    
  21  Normalizat    1.1011        .28219        .40316E-03   -.89716    
  22  Prefactor     .97296        .10451        .16742E-03   -.93636    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.67917e-09
Minuit parameter uncertainties:
  1  2.28906
  2  7.33727
  3  3.03398
  4  4.22229e-06
  5  43.8568
  6  5.722
  7  5.85336e-06
  8  3.99442e-06
  9  6.64896e-05
  10  6.28997e-06
  11  3.01838
  12  59.8075
  13  9.34325e-05
  14  2.20339
  15  16.7422
  16  3.59556e-06
  17  0.0101306
  18  1.00531e-05
  19  4.22669e-05
  20  9.47854
  21  0.282575
  22  0.104529
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  9.730e-01  1.045e-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.101e+00  2.826e-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: 7.70e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.23e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/746084/likelihoodResults_488937601_489196801_4FGL_J1550.7+0528_daily_bin963.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) = 8891.08797864
delta logL = 0.0001029984669

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8891.08433966
delta logL = 0.00374197618657

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .23654       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6146       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0997       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97303       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8891.084     FROM MIGRAD    STATUS=FAILED        94 CALLS      402 TOTAL
                     EDM=   .55E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .23662        1109.3        .20272E-02    .34572E-02
   2  alpha         2.6144        2.6935        .93161E-01    .24622E-03
   3  Normalizat    1.0997        .20254        .40339E-03   -.80378E-04
   4  Prefactor     .97304        .87607E-01    .16741E-03   -.20527E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8891.084     FROM SIMPLEX   STATUS=UNCHANGED    107 CALLS      509 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .23662        1109.3        .21834E-03    .34572E-02
   2  alpha         2.6144        2.6935        .30757E-02    .24622E-03
   3  Normalizat    1.0997        .20254        .17164E-03   -.80378E-04
   4  Prefactor     .97304        .87607E-01    .56879E-04   -.20527E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8891.084     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      541 TOTAL
                     EDM=   .67E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .23663        6.9821        .40544E-03   -.14833E-03
   2  alpha         2.6144        3.7983        .18632E-01   -.48947E-05
   3  Normalizat    1.0997        .26143        .16135E-04   -.79758E-04
   4  Prefactor     .97304        .10327        .33483E-04   -.20372E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.236628
  alpha      = 2.61442
  Normalizat = 1.09968
  Prefactor  = 0.973038
 **********
 **   18 **HESSE 
 **********

 FCN=   8891.084     FROM HESSE     STATUS=OK            25 CALLS      566 TOTAL
                     EDM=   .80E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .23663        6.1839        .16217E-04   -1.5611    
   2  alpha         2.6144        3.7806        .74529E-03    .45785E-01
   3  Normalizat    1.0997        .26152        .32271E-05   -.89762    
   4  Prefactor     .97304        .10329        .66965E-05   -.93634    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.01549e-11
Minuit parameter uncertainties:
  1  2.41909
  2  3.52094
  3  0.261831
  4  0.103312
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/746084': 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) = 8891.08433965
delta logL = 0.00374198495228

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  2.366e-01  2.419e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  2.614e+00  3.521e+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:  9.730e-01  1.033e-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.100e+00  2.618e-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/746084/cmap_HighResolution_488937601_489196801_4FGL_J1550.7+0528_daily_bin963.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.23e-05', job_status='DONE', photon_flux_upper_limit='7.70e-08', time_completed='2021-09-12 15:41:16.250161', job_id='746084', GAL2='0.97', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1631486476.25', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='3.74e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='963' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:41:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0292>
Subject: Job 746084: <4FGL_J1550.7+0528_daily_bin963> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin963 237.697 5.4725 488937601 489196801 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 :                                   732.16 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             312.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   934 sec.
    Turnaround time :                            956 sec.

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

