/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 105 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 = 7398
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1550.7+0528_daily_bin311
RA = 237.697, Dec = 5.4725
tmin = 319939201, tmax = 320198401
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='743075', job_status='RUN', time_executed='2021-09-12 15:17:30.209523', time_epoch_executed='1631485050.21' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='311'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/743075

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/743075/ft1_4FGL_J1550.7+0528_daily_bin311.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/743075/ft2_4FGL_J1550.7+0528_daily_bin311.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/743075/ft1_4FGL_J1550.7+0528_daily_bin311.fits outfile=/scratch/kocevski/743075/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin311.fits ra=237.697 dec=5.4725 rad=12.0 tmin=319939201.0 tmax=320198401.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.55
user 3.31
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/743075/ft1_filtered_4FGL_J1550.7+0528_daily_bin311.fits" evtable="EVENTS" scfile=/scratch/kocevski/743075/ft2_4FGL_J1550.7+0528_daily_bin311.fits sctable="SC_DATA" outfile=/scratch/kocevski/743075/ltcube_319939201_320198401_4FGL_J1550.7+0528_daily_bin311.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/743075/ft2_4FGL_J1550.7+0528_daily_bin311.fits
.....................!
real 14.02
user 13.60
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/743075/ft1_filtered_4FGL_J1550.7+0528_daily_bin311.fits evtable="EVENTS" scfile=/scratch/kocevski/743075/ft2_4FGL_J1550.7+0528_daily_bin311.fits sctable="SC_DATA" expcube=/scratch/kocevski/743075/ltcube_319939201_320198401_4FGL_J1550.7+0528_daily_bin311.fits outfile=/scratch/kocevski/743075/expmap_319939201_320198401_4FGL_J1550.7+0528_daily_bin311.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/743075/ltcube_319939201_320198401_4FGL_J1550.7+0528_daily_bin311.fits
.....................!
real 191.71
user 185.71
sys 5.47

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/743075/ft1_filtered_4FGL_J1550.7+0528_daily_bin311.fits scfile=/scratch/kocevski/743075/ft2_4FGL_J1550.7+0528_daily_bin311.fits outfile=/scratch/kocevski/743075/cmap_319939201_320198401_4FGL_J1550.7+0528_daily_bin311.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/743075/ft1_filtered_4FGL_J1550.7+0528_daily_bin311.fits scfile=/scratch/kocevski/743075/ft2_4FGL_J1550.7+0528_daily_bin311.fits outfile=/scratch/kocevski/743075/cmap_HighResolution_319939201_320198401_4FGL_J1550.7+0528_daily_bin311.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.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/743075/ft1_filtered_4FGL_J1550.7+0528_daily_bin311.fits evtable="EVENTS" scfile=/scratch/kocevski/743075/ft2_4FGL_J1550.7+0528_daily_bin311.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/743075/Model_4FGL_J1550.7+0528_daily_bin311.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/743075/ft1_filtered_4FGL_J1550.7+0528_daily_bin311.fits.....................!
real 81.31
user 79.81
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2615       1.0000         .10000E-03   10000.    
     2 'norm      '    2.9654       1.0000         .10000E-03   10000.    
     3 'norm      '    3.0310       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10130E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    42.096       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.7472       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    5.2949       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10255E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    5.4479       1.0000         .10000E-03   10000.    
    14 'norm      '    3.9003       1.0000         .10000E-03   10000.    
    15 'norm      '    19.239       1.0000         .10000E-03   10000.    
    16 'norm      '    10.008       1.0000         .10000E-03   10000.    
    17 'Prefactor '    89.892       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.1679       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .86908       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .98979       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=   10250.35     FROM MIGRAD    STATUS=CONVERGED    463 CALLS     2412 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2614        2.5524        .24758E-06   -.17129E-03
   2  norm          2.9654        3.0279       -.17230E-06   -.31775E-04
   3  norm          3.0310        2.8788        .74141E-07    .57920E-04
   4  Prefactor     .10000E-03    33.742        .82837E-06** at limit **
   5  Prefactor     42.101        38.856        .88348E-06    .50613E-04
   6  Prefactor     7.7472        4.1818        .16612E-05   -.84343E-03
   7  Prefactor     .10000E-03    12.085        .17966E-06** at limit **
   8  norm          .10000E-03    1.1062       -.62050E-08** at limit **
   9  Prefactor     .10000E-03    2.6512       -.13596E-06** at limit **
  10  Prefactor     .10000E-03    18.726        .17078E-05** at limit **
  11  norm          5.2948        3.9531        .22986E-06    .65970E-04
  12  Prefactor     .10000E-03    35.873       -.15075E-05** at limit **
  13  norm          5.4476        9.4090        .49216E-06   -.23651E-04
  14  norm          3.9002        1.6134       -.40739E-08    .70482E-05
  15  norm          19.240        15.829        .25224E-06   -.44909E-05
  16  norm          10.055        182.59        .14460E-04    .63017E-04
  17  Prefactor     89.903        56.880        .12192E-05    .90836E-04
  18  Prefactor     .10000E-03    16.243       -.16301E-05** at limit **
  19  Prefactor     .10000E-03    2.2643       -.16125E-07** at limit **
  20  Prefactor     8.1690        6.2676        .24874E-07   -.78010E-04
  21  Normalizat    .86912        .22358       -.91857E-06   -.37092E-04
  22  Prefactor     .98977        .82449E-01   -.37348E-06    .44413E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.26138
  norm       = 2.9654
  norm       = 3.03103
  Prefactor  = 0.0001
  Prefactor  = 42.101
  Prefactor  = 7.74723
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 5.29483
  Prefactor  = 0.000100001
  norm       = 5.44763
  norm       = 3.90025
  norm       = 19.2399
  norm       = 10.0549
  Prefactor  = 89.9029
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 8.16895
  Normalizat = 0.869122
  Prefactor  = 0.989769
 **********
 **   18 **HESSE 
 **********

 FCN=   10250.35     FROM HESSE     STATUS=OK           342 CALLS     2754 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2614        2.5471        .16051E-03   -1.5407    
   2  norm          2.9654        3.0368        .17387E-03   -1.5364    
   3  norm          3.0310        2.8716        .16014E-03   -1.5360    
   4  Prefactor     .10000E-03    34.015        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     42.101        39.044        .61786E-04   -1.4409    
   6  Prefactor     7.7472        4.2677        .72034E-03   -1.5151    
   7  Prefactor     .10000E-03    12.123        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.1201        .10386E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.7677        .32158E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    18.963        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.2948        3.9511        .16578E-03   -1.5248    
  12  Prefactor     .10000E-03    36.084        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.4476        9.4178        .17216E-03   -1.5241    
  14  norm          3.9002        1.6129        .79659E-04   -1.5313    
  15  norm          19.240        15.865        .91314E-04   -1.4830    
  16  norm          10.055        196.38        .12666E-03   -1.5074    
  17  Prefactor     89.903        57.068        .42381E-04   -1.3809    
  18  Prefactor     .10000E-03    16.470        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.2670        .14877E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     8.1690        6.2693        .14028E-03   -1.5136    
  21  Normalizat    .86912        .25869        .42220E-03   -.97554    
  22  Prefactor     .98977        .95971E-01    .15878E-03   -.93071    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.40376e-10
Minuit parameter uncertainties:
  1  2.54724
  2  3.03698
  3  2.87172
  4  0.00017744
  5  39.0678
  6  4.26791
  7  1.54415e-05
  8  4.27388e-08
  9  8.8405e-06
  10  0.000264496
  11  3.95132
  12  0.000320005
  13  9.4204
  14  1.61289
  15  15.869
  16  89.2102
  17  57.1028
  18  0.000216011
  19  8.92048e-07
  20  6.26985
  21  0.259059
  22  0.0959875
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  5.295e+00  3.951e+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.898e-01  9.599e-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:  8.691e-01  2.591e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.06
Ra Dec: 237.697 5.473
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 4.65e-08 +/- 3.47e-08
Energy Flux (Fixed Index): 1.95e-05 +/- 1.46e-05

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

Saving results to:
/scratch/kocevski/743075/likelihoodResults_319939201_320198401_4FGL_J1550.7+0528_daily_bin311.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) = 10249.5446504
delta logL = 0.809862737615

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10249.5422748
delta logL = 0.812238325851

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6327       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2084       1.0000          .0000       5.0000    
     3 'Normalizat'    .80447       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0040       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=   10249.54     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      278 TOTAL
                     EDM=   .37E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6328        3.4272        .87190E-04    .61283E-04
   2  alpha         3.2084        .80488        .11907E-01    .20820E-04
   3  Normalizat    .80449        .24046        .43734E-03    .32078E-04
   4  Prefactor     1.0040        .94479E-01    .15773E-03    .96726E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.63276
  alpha      = 3.20842
  Normalizat = 0.804485
  Prefactor  = 1.004
 **********
 **   18 **HESSE 
 **********

 FCN=   10249.54     FROM HESSE     STATUS=OK            25 CALLS      303 TOTAL
                     EDM=   .25E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6328        2.7908        .34876E-05   -1.5383    
   2  alpha         3.2084        .65888        .47629E-03    .28731    
   3  Normalizat    .80449        .24003        .17493E-04   -.99903    
   4  Prefactor     1.0040        .94337E-01    .63092E-05   -.92596    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51414e-12
Minuit parameter uncertainties:
  1  2.79092
  2  0.667465
  3  0.24035
  4  0.0943526
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/743075': 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) = 10249.5422748
delta logL = 0.812238343853

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  1.004e+00  9.435e-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:  8.045e-01  2.403e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.81
Ra Dec: 237.697 5.473
Photon Index (Free Index): 3.21 +/- 0.67
Photon Flux (Free Index): 9.87e-08 +/- 6.10e-08
Energy Flux (Free Index): 2.11e-05 +/- 1.20e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/743075/cmap_HighResolution_319939201_320198401_4FGL_J1550.7+0528_daily_bin311.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.03e-05', comment='SUCCESS', photon_flux='4.65e-08', energy_flux2='2.11e-05', photon_flux_error='3.47e-08', dlogl='8.12e-01', energy_flux='1.95e-05', photon_flux2='9.87e-08', job_status='DONE', time_completed='2021-09-12 15:30:51.435110', photon_index_error2='0.67', photon_index2='3.21', ts='3.06', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='1.20e-07', energy_flux_error2='1.20e-05', EG='0.87', time_epoch_completed='1631485851.44', return_code='0', job_id='743075', GAL2='1.00', EG2='0.80', return_code2='0', energy_flux_error='1.46e-05', photon_flux_error2='6.10e-08', ts2='4.81', photon_index='2.27' WHERE bin_id='311' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:30:51 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin311 237.697 5.4725 319939201 320198401 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 :                                   798.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             318.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   916 sec.
    Turnaround time :                            932 sec.

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

