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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin608
RA = 237.697, Dec = 5.4725
tmin = 396921601, tmax = 397180801
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='744534', job_status='RUN', time_executed='2021-09-12 15:23:45.483987', time_epoch_executed='1631485425.48' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='608'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/744534

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/744534/ft1_4FGL_J1550.7+0528_daily_bin608.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/744534/ft2_4FGL_J1550.7+0528_daily_bin608.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/744534/ft1_4FGL_J1550.7+0528_daily_bin608.fits outfile=/scratch/kocevski/744534/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin608.fits ra=237.697 dec=5.4725 rad=12.0 tmin=396921601.0 tmax=397180801.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.54
user 4.32
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/744534/ft1_filtered_4FGL_J1550.7+0528_daily_bin608.fits" evtable="EVENTS" scfile=/scratch/kocevski/744534/ft2_4FGL_J1550.7+0528_daily_bin608.fits sctable="SC_DATA" outfile=/scratch/kocevski/744534/ltcube_396921601_397180801_4FGL_J1550.7+0528_daily_bin608.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/744534/ft2_4FGL_J1550.7+0528_daily_bin608.fits
.....................!
real 13.85
user 13.52
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/744534/ft1_filtered_4FGL_J1550.7+0528_daily_bin608.fits evtable="EVENTS" scfile=/scratch/kocevski/744534/ft2_4FGL_J1550.7+0528_daily_bin608.fits sctable="SC_DATA" expcube=/scratch/kocevski/744534/ltcube_396921601_397180801_4FGL_J1550.7+0528_daily_bin608.fits outfile=/scratch/kocevski/744534/expmap_396921601_397180801_4FGL_J1550.7+0528_daily_bin608.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/744534/ltcube_396921601_397180801_4FGL_J1550.7+0528_daily_bin608.fits
.....................!
real 190.44
user 185.99
sys 4.06

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/744534/ft1_filtered_4FGL_J1550.7+0528_daily_bin608.fits scfile=/scratch/kocevski/744534/ft2_4FGL_J1550.7+0528_daily_bin608.fits outfile=/scratch/kocevski/744534/cmap_396921601_397180801_4FGL_J1550.7+0528_daily_bin608.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.55
user 0.39
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/744534/ft1_filtered_4FGL_J1550.7+0528_daily_bin608.fits evtable="EVENTS" scfile=/scratch/kocevski/744534/ft2_4FGL_J1550.7+0528_daily_bin608.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/744534/Model_4FGL_J1550.7+0528_daily_bin608.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/744534/ft1_filtered_4FGL_J1550.7+0528_daily_bin608.fits.....................!
real 67.26
user 65.98
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    3.4207       1.0000         .10000E-03   10000.    
     3 'norm      '    .36335       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    35.096       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.1786       1.0000         .10000E-03   10000.    
     8 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.3466       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .12966E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.1876       1.0000         .10000E-03   10000.    
    12 'Prefactor '    52.526       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.5880       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    29.284       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.5605       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .94039       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=   8162.630     FROM MIGRAD    STATUS=CONVERGED    496 CALLS     2352 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.2610        .13463E-06** at limit **
   2  norm          3.4210        5.8817        .29466E-05    .92052E-04
   3  norm          .36694        2.2737        .72676E-06   -.31124E-03
   4  Prefactor     .10000E-03    11.338        .15474E-06** at limit **
   5  Prefactor     35.053        49.118        .95610E-05    .11900E-03
   6  Prefactor     .10000E-03    1.8163        .28133E-07** at limit **
   7  Prefactor     6.1148        55.171        .87479E-05    .88911E-04
   8  norm          .10000E-03    1.1782        .16383E-07** at limit **
   9  Prefactor     6.3473        5.6103       -.94910E-06   -.28120E-03
  10  Prefactor     .10000E-03    95.713       -.56847E-05** at limit **
  11  norm          2.1926        4.7438        .82568E-05   -.37277E-03
  12  Prefactor     52.514        73.212        .66505E-06    .31312E-05
  13  norm          .10000E-03    4.7862        .61950E-07** at limit **
  14  norm          2.5880        1.5756        .67446E-08   -.88160E-04
  15  norm          .10000E-03    4.4648        .12097E-06** at limit **
  16  norm          .10000E-03    44.204        .17737E-05** at limit **
  17  Prefactor     .10000E-03    25.574       -.27253E-06** at limit **
  18  Prefactor     29.285        36.189        .45238E-06   -.19385E-04
  19  Prefactor     .10000E-03    4.0916        .12590E-06** at limit **
  20  Prefactor     .10000E-03    9.6790        .39931E-06** at limit **
  21  Normalizat    1.5608        .25767       -.17867E-07    .46813E-04
  22  Prefactor     .94021        .98450E-01   -.18142E-05   -.41546E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 3.42095
  norm       = 0.36694
  Prefactor  = 0.0001
  Prefactor  = 35.0526
  Prefactor  = 0.0001
  Prefactor  = 6.11481
  norm       = 0.0001
  Prefactor  = 6.34728
  Prefactor  = 0.0001
  norm       = 2.19257
  Prefactor  = 52.5138
  norm       = 0.0001
  norm       = 2.58802
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 29.2847
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.5608
  Prefactor  = 0.940213
 **********
 **   18 **HESSE 
 **********

 FCN=   8162.630     FROM HESSE     STATUS=OK           338 CALLS     2690 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.2763        .98998E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.4210        5.8676        .10936E-02   -1.5338    
   3  norm          .36694        10.369        .26218E-02   -1.5587    
   4  Prefactor     .10000E-03    11.341        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     35.053        49.463        .67645E-04   -1.4523    
   6  Prefactor     .10000E-03    1.8277        .11887E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.1148        55.811        .16151E-03   -1.5213    
   8  norm          .10000E-03    1.1864        .95745E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.3473        5.6041        .15933E-03   -1.5204    
  10  Prefactor     .10000E-03    96.388        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.1926        4.7826        .13085E-02   -1.5412    
  12  Prefactor     52.514        73.251        .55340E-04   -1.4257    
  13  norm          .10000E-03    4.8163        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.5880        1.5781        .85955E-04   -1.5386    
  15  norm          .10000E-03    4.4699        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    44.209        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    25.577        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     29.285        36.198        .74037E-04   -1.4625    
  19  Prefactor     .10000E-03    4.0977        .17846E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    9.8745        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5608        .30262        .36725E-03   -.76084    
  22  Prefactor     .94021        .11614        .18021E-03   -.94750    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07159e-09
Minuit parameter uncertainties:
  1  6.29416e-06
  2  5.86862
  3  3.90137
  4  7.9209e-06
  5  49.521
  6  1.2912e-06
  7  36.9928
  8  6.44428e-07
  9  5.60458
  10  0.000341249
  11  4.78342
  12  73.3773
  13  6.37117e-06
  14  1.57811
  15  1.12019e-05
  16  0.000131654
  17  1.4438e-05
  18  36.2247
  19  1.34512e-05
  20  8.25175e-05
  21  0.302979
  22  0.116173
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  2.193e+00  4.783e+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.402e-01  1.162e-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.561e+00  3.030e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/744534/likelihoodResults_396921601_397180801_4FGL_J1550.7+0528_daily_bin608.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) = 8162.30763908
delta logL = 0.321976677627

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8162.29198602
delta logL = 0.337629740613

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6794       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.1248       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5259       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94630       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8162.292     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      212 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6807        41.315        .81272E-02    .11497E-02
   2  alpha         3.1255        4.0619        .42907        .75995E-04
   3  Normalizat    1.5259        .66607E-01    .83694E-01    .24829E-04
   4  Prefactor     .94627        .25770E-01    .45592E-01    .26502E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.68074
  alpha      = 3.12547
  Normalizat = 1.52591
  Prefactor  = 0.946272
 **********
 **   18 **HESSE 
 **********

 FCN=   8162.292     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .69E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6807        3.7198        .12953E-03   -1.5449    
   2  alpha         3.1255        1.2183        .17978E-01    .25288    
   3  Normalizat    1.5259        .29427        .37049E-03   -.77053    
   4  Prefactor     .94627        .11510        .17962E-03   -.94542    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.91663e-11
Minuit parameter uncertainties:
  1  3.7203
  2  1.27671
  3  0.294601
  4  0.115133
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/744534': 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) = 8162.29198474
delta logL = 0.337631012416

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.681e+00  3.720e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  3.125e+00  1.277e+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.463e-01  1.151e-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.526e+00  2.946e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.03
Ra Dec: 237.697 5.473
Photon Index (Free Index): 3.13 +/- 1.28
Photon Flux (Free Index): 5.47e-08 +/- 6.53e-08
Energy Flux (Free Index): 1.22e-05 +/- 1.47e-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/744534/cmap_HighResolution_396921601_397180801_4FGL_J1550.7+0528_daily_bin608.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.91e-05', comment='SUCCESS', energy_flux2='1.22e-05', dlogl='3.38e-01', photon_flux2='5.47e-08', job_status='DONE', time_completed='2021-09-12 15:35:12.689504', photon_index_error2='1.28', photon_index2='3.13', ts='0.31', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='1.17e-07', energy_flux_error2='1.47e-05', EG='1.56', time_epoch_completed='1631486112.69', return_code='0', job_id='744534', GAL2='0.95', EG2='1.53', return_code2='0', photon_flux_error2='6.53e-08', ts2='1.03', photon_index='2.27' WHERE bin_id='608' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:35:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0051>
Subject: Job 744534: <4FGL_J1550.7+0528_daily_bin608> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin608 237.697 5.4725 396921601 397180801 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 :                                   686.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             272.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   888 sec.
    Turnaround time :                            896 sec.

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

