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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin702
RA = 237.697, Dec = 5.4725
tmin = 421286401, tmax = 421545601
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='744684', job_status='RUN', time_executed='2021-09-12 15:21:07.499650', time_epoch_executed='1631485267.5' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='702'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/744684

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/744684/ft1_4FGL_J1550.7+0528_daily_bin702.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/744684/ft2_4FGL_J1550.7+0528_daily_bin702.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/744684/ft1_4FGL_J1550.7+0528_daily_bin702.fits outfile=/scratch/kocevski/744684/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin702.fits ra=237.697 dec=5.4725 rad=12.0 tmin=421286401.0 tmax=421545601.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.72
user 3.47
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/744684/ft1_filtered_4FGL_J1550.7+0528_daily_bin702.fits" evtable="EVENTS" scfile=/scratch/kocevski/744684/ft2_4FGL_J1550.7+0528_daily_bin702.fits sctable="SC_DATA" outfile=/scratch/kocevski/744684/ltcube_421286401_421545601_4FGL_J1550.7+0528_daily_bin702.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/744684/ft2_4FGL_J1550.7+0528_daily_bin702.fits
.....................!
real 14.06
user 13.71
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/744684/ft1_filtered_4FGL_J1550.7+0528_daily_bin702.fits evtable="EVENTS" scfile=/scratch/kocevski/744684/ft2_4FGL_J1550.7+0528_daily_bin702.fits sctable="SC_DATA" expcube=/scratch/kocevski/744684/ltcube_421286401_421545601_4FGL_J1550.7+0528_daily_bin702.fits outfile=/scratch/kocevski/744684/expmap_421286401_421545601_4FGL_J1550.7+0528_daily_bin702.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/744684/ltcube_421286401_421545601_4FGL_J1550.7+0528_daily_bin702.fits
.....................!
real 192.28
user 187.00
sys 4.85

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/744684/ft1_filtered_4FGL_J1550.7+0528_daily_bin702.fits scfile=/scratch/kocevski/744684/ft2_4FGL_J1550.7+0528_daily_bin702.fits outfile=/scratch/kocevski/744684/cmap_421286401_421545601_4FGL_J1550.7+0528_daily_bin702.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=237.697 yref=5.4725 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.37
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/744684/ft1_filtered_4FGL_J1550.7+0528_daily_bin702.fits evtable="EVENTS" scfile=/scratch/kocevski/744684/ft2_4FGL_J1550.7+0528_daily_bin702.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/744684/Model_4FGL_J1550.7+0528_daily_bin702.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/744684/ft1_filtered_4FGL_J1550.7+0528_daily_bin702.fits.....................!
real 78.09
user 76.63
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.9543       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    46.937       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.8814       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .24991E-01   1.0000         .10000E-03   10000.    
     8 'norm      '    3.8322       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10213E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10531E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.4181       1.0000         .10000E-03   10000.    
    14 'norm      '    7.0259       1.0000         .10000E-03   10000.    
    15 'norm      '    .10196E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    32.112       1.0000         .10000E-03   10000.    
    17 'Prefactor '    47.508       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .23414E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .92403E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2176       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .96194       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.

 FCN=   10212.67     FROM MIGRAD    STATUS=CONVERGED    895 CALLS     3158 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .95718        .95736E-03** at limit **
   2  norm          .10000E-03    1.7403        .13012E-02** at limit **
   3  norm          4.9542        3.5170        .15487E-03    .36705E-04
   4  Prefactor     .10000E-03    26.406        .18142E-02** at limit **
   5  Prefactor     46.894        35.733        .58526E-04   -.39627E-05
   6  Prefactor     3.8808        4.5659        .20481E-03    .97695E-05
   7  Prefactor     .10005E-03    22.272        .13301    ** at limit **
   8  norm          3.8336        2.4330        .12071E-03   -.35791E-04
   9  Prefactor     .10000E-03    1.4876        .11952E-02** at limit **
  10  Prefactor     .10000E-03    19.875        .18142E-02** at limit **
  11  norm          .10000E-03    1.0824        .10232E-02** at limit **
  12  Prefactor     .10000E-03    15.310        .18142E-02** at limit **
  13  norm          1.4141        18.207        .18171E-02    .18707E-04
  14  norm          7.0266        2.1758        .39254E-03   -.55664E-04
  15  norm          .10000E-03    28.033        .18142E-02** at limit **
  16  norm          32.098        61.713        .70710E-04   -.11576E-05
  17  Prefactor     47.528        57.624        .58175E-04   -.82077E-05
  18  Prefactor     .10001E-03    11.929        .12364    ** at limit **
  19  Prefactor     .10000E-03    3.6883        .18142E-02** at limit **
  20  Prefactor     .10000E-03    3.5728        .61279E-01** at limit **
  21  Normalizat    1.2175        .25153        .37837E-03   -.49096E-04
  22  Prefactor     .96206        .97297E-01    .16744E-03   -.10543E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 4.95417
  Prefactor  = 0.0001
  Prefactor  = 46.8945
  Prefactor  = 3.88077
  Prefactor  = 0.000100052
  norm       = 3.83361
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.41413
  norm       = 7.0266
  norm       = 0.0001
  norm       = 32.0983
  Prefactor  = 47.5276
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.21747
  Prefactor  = 0.962058
 **********
 **   18 **HESSE 
 **********

 FCN=   10212.67     FROM HESSE     STATUS=OK           352 CALLS     3510 TOTAL
                     EDM=   .81E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .95734        .19147E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.7404        .26024E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.9542        3.5169        .61947E-05   -1.5263    
   4  Prefactor     .10000E-03    26.409        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     46.894        35.735        .11705E-04   -1.4337    
   6  Prefactor     3.8808        4.5649        .81924E-05   -1.5314    
   7  Prefactor     .10005E-03    22.249        .13310       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.8336        2.4314        .48282E-05   -1.5316    
   9  Prefactor     .10000E-03    1.4879        .23903E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    19.876        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.0825        .20464E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    15.310        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.4141        18.048        .72682E-04   -1.5470    
  14  norm          7.0266        2.1722        .15702E-04   -1.5178    
  15  norm          .10000E-03    28.057        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          32.098        61.717        .14142E-04   -1.4574    
  17  Prefactor     47.528        57.620        .11635E-04   -1.4328    
  18  Prefactor     .10001E-03    11.690        .12656       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.6901        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.5377        .61800E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2175        .25138        .15135E-04   -.86065    
  22  Prefactor     .96206        .97349E-01    .33487E-04   -.94005    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.13501e-12
Minuit parameter uncertainties:
  1  1.46846e-06
  2  1.85264e-07
  3  3.51703
  4  4.49594e-05
  5  35.7513
  6  4.56527
  7  0.00214778
  8  2.43148
  9  1.47756e-06
  10  3.05818e-05
  11  4.75163e-07
  12  6.2892e-06
  13  10.1073
  14  2.17219
  15  5.14923e-06
  16  61.8396
  17  57.6878
  18  0.000580461
  19  1.79359e-06
  20  2.45761e-05
  21  0.251628
  22  0.0973671
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  9.621e-01  9.737e-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.217e+00  2.516e-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: 4.64e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.95e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/744684/likelihoodResults_421286401_421545601_4FGL_J1550.7+0528_daily_bin702.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) = 10212.6732009
delta logL = -0.00438661076441

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10212.6688141
delta logL = 2.20810761675e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2610       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2175       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96206       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.

 FCN=   10212.67     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      233 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    76.736        .10283E-01** at limit **
   2  alpha         1.7205        3.6024        .16557       -.42984E-07
   3  Normalizat    1.2175        .47414E-01    .37837E-03    .65371E-03
   4  Prefactor     .96206        .19036E-01    .16744E-03    .17702E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.72055
  Normalizat = 1.21747
  Prefactor  = 0.962059
 **********
 **   18 **HESSE 
 **********

 FCN=   10212.67     FROM HESSE     STATUS=OK            23 CALLS      256 TOTAL
                     EDM=   .92E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.2396        .10949E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7205        3.3408        .66227E-02   -.31707    
   3  Normalizat    1.2175        .23985        .75674E-04   -.86065    
   4  Prefactor     .96206        .96353E-01    .33487E-04   -.94005    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.17858e-10
Minuit parameter uncertainties:
  1  7.16301e-06
  2  152.647
  3  0.240069
  4  0.0963703
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/744684': 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) = 10212.6688085
delta logL = 5.82326720178e-06

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.000e-04  7.163e-06  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  1.721e+00  1.526e+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:  9.621e-01  9.637e-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.217e+00  2.401e-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/744684/cmap_HighResolution_421286401_421545601_4FGL_J1550.7+0528_daily_bin702.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.95e-05', job_status='DONE', photon_flux_upper_limit='4.64e-08', time_completed='2021-09-12 15:35:40.132710', job_id='744684', GAL2='0.96', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1631486140.13', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='5.82e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='702' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:35:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 744684: <4FGL_J1550.7+0528_daily_bin702> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin702 237.697 5.4725 421286401 421545601 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 :                                   871.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             360.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   882 sec.
    Turnaround time :                            912 sec.

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

