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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin620
RA = 237.697, Dec = 5.4725
tmin = 400032001, tmax = 400291201
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='744553', job_status='RUN', time_executed='2021-09-12 15:23:11.609629', time_epoch_executed='1631485391.61' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='620'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/744553

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/744553/ft1_4FGL_J1550.7+0528_daily_bin620.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/744553/ft2_4FGL_J1550.7+0528_daily_bin620.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/744553/ft1_4FGL_J1550.7+0528_daily_bin620.fits outfile=/scratch/kocevski/744553/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin620.fits ra=237.697 dec=5.4725 rad=12.0 tmin=400032001.0 tmax=400291201.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 4.41
user 4.14
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/744553/ft1_filtered_4FGL_J1550.7+0528_daily_bin620.fits" evtable="EVENTS" scfile=/scratch/kocevski/744553/ft2_4FGL_J1550.7+0528_daily_bin620.fits sctable="SC_DATA" outfile=/scratch/kocevski/744553/ltcube_400032001_400291201_4FGL_J1550.7+0528_daily_bin620.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/744553/ft2_4FGL_J1550.7+0528_daily_bin620.fits
.....................!
real 13.04
user 12.68
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/744553/ft1_filtered_4FGL_J1550.7+0528_daily_bin620.fits evtable="EVENTS" scfile=/scratch/kocevski/744553/ft2_4FGL_J1550.7+0528_daily_bin620.fits sctable="SC_DATA" expcube=/scratch/kocevski/744553/ltcube_400032001_400291201_4FGL_J1550.7+0528_daily_bin620.fits outfile=/scratch/kocevski/744553/expmap_400032001_400291201_4FGL_J1550.7+0528_daily_bin620.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/744553/ltcube_400032001_400291201_4FGL_J1550.7+0528_daily_bin620.fits
.....................!
real 192.50
user 187.14
sys 4.79

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/744553/ft1_filtered_4FGL_J1550.7+0528_daily_bin620.fits scfile=/scratch/kocevski/744553/ft2_4FGL_J1550.7+0528_daily_bin620.fits outfile=/scratch/kocevski/744553/cmap_400032001_400291201_4FGL_J1550.7+0528_daily_bin620.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.61
user 0.38
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/744553/ft1_filtered_4FGL_J1550.7+0528_daily_bin620.fits scfile=/scratch/kocevski/744553/ft2_4FGL_J1550.7+0528_daily_bin620.fits outfile=/scratch/kocevski/744553/cmap_HighResolution_400032001_400291201_4FGL_J1550.7+0528_daily_bin620.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=237.697 yref=5.4725 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.57
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/744553/ft1_filtered_4FGL_J1550.7+0528_daily_bin620.fits evtable="EVENTS" scfile=/scratch/kocevski/744553/ft2_4FGL_J1550.7+0528_daily_bin620.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/744553/Model_4FGL_J1550.7+0528_daily_bin620.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/744553/ft1_filtered_4FGL_J1550.7+0528_daily_bin620.fits.....................!
real 65.51
user 64.12
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .97075       1.0000         .10000E-03   10000.    
     2 'norm      '    .10152E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    5.1838       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.8304       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .77305E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10150E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.8024       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .11274E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10404E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10249E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.4283       1.0000         .10000E-03   10000.    
    15 'norm      '    .11928E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .34889       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.7513       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .18397E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10328E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2036       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0720       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7830.711     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     2037 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .96953        2.0756        .46356E-06    .26117E-05
   2  norm          .10000E-03    2.2004       -.44972E-06** at limit **
   3  norm          5.1835        3.6619        .36100E-08   -.15652E-04
   4  Prefactor     9.8291        7.5976        .80792E-05    .26215E-02
   5  Prefactor     .10000E-03    90.922       -.50786E-04** at limit **
   6  Prefactor     .10000E-03    1.3804        .64567E-06** at limit **
   7  Prefactor     .10000E-03    29.123       -.49221E-05** at limit **
   8  norm          .10000E-03    2.0871        .80157E-06** at limit **
   9  Prefactor     5.7953        4.1830       -.39047E-07    .58836E-05
  10  Prefactor     .10002E-03    16.007        .36629E-04** at limit **
  11  norm          .10000E-03    10.750        .28637E-05** at limit **
  12  Prefactor     .10000E-03    18.508        .32136E-05** at limit **
  13  norm          .10000E-03    10.567        .94385E-06** at limit **
  14  norm          1.4281        1.2429        .17485E-06    .58582E-04
  15  norm          .10002E-03    16.001       -.35793E-04** at limit **
  16  norm          .10056E-03    8812.4       -.71046E-04** at limit **
  17  Prefactor     .10083E-03    26.054        .48070E-05** at limit **
  18  Prefactor     5.7342        32.791        .55664E-04   -.10306E-02
  19  Prefactor     .10167E-03    26.306        .11609E-04** at limit **
  20  Prefactor     .10028E-03    29.735       -.18097E-04** at limit **
  21  Normalizat    1.2039        .27462       -.28911E-05   -.19104E-03
  22  Prefactor     1.0720        .11430       -.17969E-05   -.85910E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.96953
  norm       = 0.0001
  norm       = 5.18352
  Prefactor  = 9.82907
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  norm       = 0.0001
  Prefactor  = 5.7953
  Prefactor  = 0.000100018
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.42812
  norm       = 0.000100018
  norm       = 0.000100559
  Prefactor  = 0.000100832
  Prefactor  = 5.73421
  Prefactor  = 0.000101669
  Prefactor  = 0.000100282
  Normalizat = 1.20394
  Prefactor  = 1.07198
 **********
 **   18 **HESSE 
 **********

 FCN=   7830.711     FROM HESSE     STATUS=OK           404 CALLS     2441 TOTAL
                     EDM=   .77E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .96953        2.2153        .42057E-01   -1.5511    
   2  norm          .10000E-03    2.1987        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          5.1835        3.6790        .44141E-02   -1.5253    
   4  Prefactor     9.8291        22.245        .31952E-02   -1.5081    
   5  Prefactor     .10000E-03    91.047        .10461E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.3743        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    29.089        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.0274        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.7953        4.1996        .41683E-02   -1.5226    
  10  Prefactor     .10002E-03    16.233        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    2.5804        .44022E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    18.543        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    10.426        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.4281        1.2282        .90395E-02   -1.5469    
  15  norm          .10002E-03    16.035        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10056E-03    74.238        .27890       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10083E-03    37.212        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.7342        39.990        .41870E-02   -1.5229    
  19  Prefactor     .10167E-03    5.7048        .10151       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10028E-03    5.1373        .90712E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2039        .24152        .86362E-01   -.86481    
  22  Prefactor     1.0720        .99583E-01    .38765E-01   -.90367    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.65675e-08
Minuit parameter uncertainties:
  1  2.21552
  2  3.70364e-06
  3  3.67918
  4  22.2641
  5  0.000523436
  6  1.12928e-06
  7  0.000649694
  8  6.78431e-06
  9  4.19982
  10  0.00107947
  11  8.97564e-06
  12  5.92808e-05
  13  2.58229e-05
  14  1.22826
  15  0.00105982
  16  0.0129049
  17  0.0111337
  18  30.3149
  19  0.00617221
  20  0.00240598
  21  0.24174
  22  0.0995999
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.000e-04  8.976e-06  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.072e+00  9.960e-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.204e+00  2.417e-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.62e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.20e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/744553/likelihoodResults_400032001_400291201_4FGL_J1550.7+0528_daily_bin620.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) = 7830.71113522
delta logL = -0.000446589335297

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7830.71068825
delta logL = 3.75494892069e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10104E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2218       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2040       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0720       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=   7830.711     FROM MIGRAD    STATUS=FAILED       105 CALLS      271 TOTAL
                     EDM=   .20E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10284E-03    817.34        .28007E-02** at limit **
   2  alpha         2.0163        2.6716        .16591        .33627E-05
   3  Normalizat    1.2039        .51520E-01    .38242E-03   -.15756E-05
   4  Prefactor     1.0720        .21604E-01    .16756E-03    .46137E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7830.711     FROM SIMPLEX   STATUS=UNCHANGED    146 CALLS      417 TOTAL
                     EDM=   .89E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10284E-03    817.34        .63813E-03** at limit **
   2  alpha         2.0163        2.6716        .26672E-04    .33627E-05
   3  Normalizat    1.2039        .51520E-01    .18723E-05   -.15756E-05
   4  Prefactor     1.0720        .21604E-01    .77714E-06    .46137E-05
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7830.711     FROM MIGRAD    STATUS=CONVERGED     39 CALLS      456 TOTAL
                     EDM=   .16E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    20.170        .56013E-03** at limit **
   2  alpha         1.9717        3.8309        .66365E-01    .34261E-09
   3  Normalizat    1.2039        .27202        .15297E-04    .11891E-05
   4  Prefactor     1.0720        .11412        .67024E-05    .10177E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.97166
  Normalizat = 1.20394
  Prefactor  = 1.07198
 **********
 **   18 **HESSE 
 **********

 FCN=   7830.711     FROM HESSE     STATUS=OK            23 CALLS      479 TOTAL
                     EDM=   .17E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    15.307        .11203E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9717        3.2073        .26546E-02   -.21294    
   3  Normalizat    1.2039        .27212        .30594E-05   -.86481    
   4  Prefactor     1.0720        .11417        .13405E-05   -.90367    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68052e-13
Minuit parameter uncertainties:
  1  7.46699e-06
  2  182.832
  3  0.272443
  4  0.114195
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/744553': 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) = 7830.71068725
delta logL = 1.37476308737e-06

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.000e-04  7.467e-06  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  1.972e+00  1.828e+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.072e+00  1.142e-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.204e+00  2.724e-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/744553/cmap_HighResolution_400032001_400291201_4FGL_J1550.7+0528_daily_bin620.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.20e-05', job_status='DONE', photon_flux_upper_limit='7.62e-08', time_completed='2021-09-12 15:34:28.842909', job_id='744553', GAL2='1.07', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1631486068.84', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='1.37e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='620' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:34:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0148>
Subject: Job 744553: <4FGL_J1550.7+0528_daily_bin620> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin620 237.697 5.4725 400032001 400291201 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 :                                   675.32 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             296.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   842 sec.
    Turnaround time :                            850 sec.

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

