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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin316
RA = 237.697, Dec = 5.4725
tmin = 321235201, tmax = 321494401
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='743083', job_status='RUN', time_executed='2021-09-12 15:18:56.709226', time_epoch_executed='1631485136.71' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='316'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/743083

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/743083/ft1_4FGL_J1550.7+0528_daily_bin316.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/743083/ft2_4FGL_J1550.7+0528_daily_bin316.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/743083/ft1_4FGL_J1550.7+0528_daily_bin316.fits outfile=/scratch/kocevski/743083/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin316.fits ra=237.697 dec=5.4725 rad=12.0 tmin=321235201.0 tmax=321494401.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.62
user 3.38
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/743083/ft2_4FGL_J1550.7+0528_daily_bin316.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/743083/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin316.fits evtable="EVENTS" outfile="/scratch/kocevski/743083/ft1_filtered_4FGL_J1550.7+0528_daily_bin316.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/743083/ft1_filtered_4FGL_J1550.7+0528_daily_bin316.fits" evtable="EVENTS" scfile=/scratch/kocevski/743083/ft2_4FGL_J1550.7+0528_daily_bin316.fits sctable="SC_DATA" outfile=/scratch/kocevski/743083/ltcube_321235201_321494401_4FGL_J1550.7+0528_daily_bin316.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/743083/ft2_4FGL_J1550.7+0528_daily_bin316.fits
.....................!
real 14.04
user 13.68
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/743083/ft1_filtered_4FGL_J1550.7+0528_daily_bin316.fits evtable="EVENTS" scfile=/scratch/kocevski/743083/ft2_4FGL_J1550.7+0528_daily_bin316.fits sctable="SC_DATA" expcube=/scratch/kocevski/743083/ltcube_321235201_321494401_4FGL_J1550.7+0528_daily_bin316.fits outfile=/scratch/kocevski/743083/expmap_321235201_321494401_4FGL_J1550.7+0528_daily_bin316.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/743083/ltcube_321235201_321494401_4FGL_J1550.7+0528_daily_bin316.fits
.....................!
real 193.86
user 188.33
sys 4.69

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/743083/ft1_filtered_4FGL_J1550.7+0528_daily_bin316.fits scfile=/scratch/kocevski/743083/ft2_4FGL_J1550.7+0528_daily_bin316.fits outfile=/scratch/kocevski/743083/cmap_321235201_321494401_4FGL_J1550.7+0528_daily_bin316.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/743083/ft1_filtered_4FGL_J1550.7+0528_daily_bin316.fits scfile=/scratch/kocevski/743083/ft2_4FGL_J1550.7+0528_daily_bin316.fits outfile=/scratch/kocevski/743083/cmap_HighResolution_321235201_321494401_4FGL_J1550.7+0528_daily_bin316.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/743083/ft1_filtered_4FGL_J1550.7+0528_daily_bin316.fits evtable="EVENTS" scfile=/scratch/kocevski/743083/ft2_4FGL_J1550.7+0528_daily_bin316.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/743083/Model_4FGL_J1550.7+0528_daily_bin316.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/743083/ft1_filtered_4FGL_J1550.7+0528_daily_bin316.fits....................!
real 74.83
user 72.71
sys 1.36

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    52.820       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.0754       1.0000         .10000E-03   10000.    
     8 'norm      '    .10378E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.0430       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.5077       1.0000         .10000E-03   10000.    
    12 'Prefactor '    57.306       1.0000         .10000E-03   10000.    
    13 'norm      '    1.2183       1.0000         .10000E-03   10000.    
    14 'norm      '    2.6309       1.0000         .10000E-03   10000.    
    15 'norm      '    17.402       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .28777E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .95729       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1783       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=   9030.342     FROM MIGRAD    STATUS=CONVERGED    485 CALLS     2411 TOTAL
                     EDM=   .33E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.8008        .33016E-07** at limit **
   2  norm          .10000E-03    2.0636        .44528E-07** at limit **
   3  norm          .10000E-03    4.1152        .33351E-07** at limit **
   4  Prefactor     .10000E-03    17.434        .33510E-05** at limit **
   5  Prefactor     52.825        49.103        .50779E-05    .65387E-05
   6  Prefactor     .10000E-03    1.6226        .17895E-07** at limit **
   7  Prefactor     2.0771        34.900       -.90179E-07    .22838E-04
   8  norm          .10000E-03    1.2540       -.12241E-06** at limit **
   9  Prefactor     6.0438        4.3304       -.95581E-06    .66144E-04
  10  Prefactor     .10000E-03    18.482       -.44399E-05** at limit **
  11  norm          3.5081        4.2323       -.32359E-05   -.30684E-04
  12  Prefactor     57.309        53.663        .33643E-05    .93395E-05
  13  norm          1.2197        1.6611        .25152E-06   -.37792E-03
  14  norm          2.6311        1.6045       -.54012E-07    .90999E-05
  15  norm          17.400        14.943        .24296E-06    .33817E-05
  16  norm          .10000E-03    35.100        .16367E-05** at limit **
  17  Prefactor     .10000E-03    73.535       -.30306E-05** at limit **
  18  Prefactor     .10000E-03    87.200        .58503E-05** at limit **
  19  Prefactor     .10000E-03    6.8123       -.86524E-07** at limit **
  20  Prefactor     .10000E-03    3.3851        .52013E-07** at limit **
  21  Normalizat    .95727        .25915       -.37641E-06    .39402E-04
  22  Prefactor     1.1782        .10139        .30394E-06   -.23132E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 52.8253
  Prefactor  = 0.0001
  Prefactor  = 2.0771
  norm       = 0.0001
  Prefactor  = 6.04379
  Prefactor  = 0.0001
  norm       = 3.50808
  Prefactor  = 57.3095
  norm       = 1.21967
  norm       = 2.63114
  norm       = 17.3999
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.957271
  Prefactor  = 1.17821
 **********
 **   18 **HESSE 
 **********

 FCN=   9030.342     FROM HESSE     STATUS=OK           338 CALLS     2749 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.8726        .24884E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.0647        .13332E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    4.2959        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    17.455        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     52.825        49.278        .55186E-04   -1.4253    
   6  Prefactor     .10000E-03    1.6446        .11818E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.0771        34.821        .28670E-03   -1.5420    
   8  norm          .10000E-03    2.9751        .20699E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.0438        4.3216        .15921E-03   -1.5216    
  10  Prefactor     .10000E-03    18.512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.5081        4.2268        .20422E-03   -1.5333    
  12  Prefactor     57.309        53.698        .52994E-04   -1.4192    
  13  norm          1.2197        19.255        .20446E-02   -1.5487    
  14  norm          2.6311        1.6414        .91228E-04   -1.5384    
  15  norm          17.400        14.959        .96011E-04   -1.4873    
  16  norm          .10000E-03    35.101        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    73.630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    89.580        .42814E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.8655        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.3996        .17074E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .95727        .29124        .45620E-03   -.94476    
  22  Prefactor     1.1782        .11384        .16779E-03   -.87004    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04824e-09
Minuit parameter uncertainties:
  1  5.8548e-07
  2  1.28699e-07
  3  2.06143e-06
  4  6.45651e-07
  5  49.3165
  6  3.39173e-06
  7  17.0203
  8  9.29071e-07
  9  4.32187
  10  7.14358e-06
  11  4.22712
  12  53.7437
  13  9.69563
  14  1.64141
  15  14.962
  16  1.77251e-06
  17  1.79378e-07
  18  0.000196004
  19  3.0207e-06
  20  7.12099e-07
  21  0.291719
  22  0.113864
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  3.508e+00  4.227e+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:  1.178e+00  1.139e-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:  9.573e-01  2.917e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.98
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/743083/likelihoodResults_321235201_321494401_4FGL_J1550.7+0528_daily_bin316.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) = 9030.1823145
delta logL = 0.160107654814

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9030.17502944
delta logL = 0.167392711579

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1489       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0064       1.0000          .0000       5.0000    
     3 'Normalizat'    .92408       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1862       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=   9030.175     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      243 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1483        43.527        .70274E-02    .77450E-03
   2  alpha         3.0077        3.9993        .42272        .63727E-04
   3  Normalizat    .92396        .72856E-01    .10458        .28290E-04
   4  Prefactor     1.1861        .26641E-01    .34966E-01   -.36470E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.1483
  alpha      = 3.00767
  Normalizat = 0.923959
  Prefactor  = 1.18613
 **********
 **   18 **HESSE 
 **********

 FCN=   9030.175     FROM HESSE     STATUS=OK            33 CALLS      276 TOTAL
                     EDM=   .39E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1483        5.5155        .13471E-03   -1.5415    
   2  alpha         3.0077        1.6874        .18940E-01    .20449    
   3  Normalizat    .92396        .29067        .46350E-03   -.95623    
   4  Prefactor     1.1861        .11534        .16729E-03   -.86759    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.86166e-08
Minuit parameter uncertainties:
  1  5.5168
  2  1.86183
  3  0.291165
  4  0.115363
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/743083': 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) = 9030.17502752
delta logL = 0.167394633434

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  2.148e+00  5.517e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  3.008e+00  1.862e+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:  1.186e+00  1.154e-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:  9.240e-01  2.912e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.33
Ra Dec: 237.697 5.473
Photon Index (Free Index): 3.01 +/- 1.86
Photon Flux (Free Index): 5.73e-08 +/- 7.18e-08
Energy Flux (Free Index): 1.35e-05 +/- 1.42e-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/743083/cmap_HighResolution_321235201_321494401_4FGL_J1550.7+0528_daily_bin316.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.91e-05', comment='SUCCESS', energy_flux2='1.35e-05', dlogl='1.67e-01', photon_flux2='5.73e-08', job_status='DONE', time_completed='2021-09-12 15:31:08.200749', photon_index_error2='1.86', photon_index2='3.01', ts='0.98', fit_tolerance='1e-08', GAL='1.18', photon_index_error='0.00', photon_flux_upper_limit='1.17e-07', energy_flux_error2='1.42e-05', EG='0.96', time_epoch_completed='1631485868.2', return_code='0', job_id='743083', GAL2='1.19', EG2='0.92', return_code2='0', photon_flux_error2='7.18e-08', ts2='1.33', photon_index='2.27' WHERE bin_id='316' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:31:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 743083: <4FGL_J1550.7+0528_daily_bin316> in cluster <slac> Done

Job <4FGL_J1550.7+0528_daily_bin316> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 15:15:21 2021
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 15:15:37 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:37 2021
Terminated at Sun Sep 12 15:31:09 2021
Results reported at Sun Sep 12 15:31:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin316 237.697 5.4725 321235201 321494401 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 :                                   728.18 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             241.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   931 sec.
    Turnaround time :                            948 sec.

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

