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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin631
RA = 237.697, Dec = 5.4725
tmin = 402883201, tmax = 403142401
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='744570', job_status='RUN', time_executed='2021-09-12 15:23:20.161626', time_epoch_executed='1631485400.16' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='631'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/744570

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/744570/ft1_4FGL_J1550.7+0528_daily_bin631.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/744570/ft2_4FGL_J1550.7+0528_daily_bin631.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/744570/ft1_4FGL_J1550.7+0528_daily_bin631.fits outfile=/scratch/kocevski/744570/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin631.fits ra=237.697 dec=5.4725 rad=12.0 tmin=402883201.0 tmax=403142401.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.62
user 4.34
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/744570/ft1_filtered_4FGL_J1550.7+0528_daily_bin631.fits" evtable="EVENTS" scfile=/scratch/kocevski/744570/ft2_4FGL_J1550.7+0528_daily_bin631.fits sctable="SC_DATA" outfile=/scratch/kocevski/744570/ltcube_402883201_403142401_4FGL_J1550.7+0528_daily_bin631.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/744570/ft2_4FGL_J1550.7+0528_daily_bin631.fits
.....................!
real 13.54
user 13.08
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/744570/ft1_filtered_4FGL_J1550.7+0528_daily_bin631.fits evtable="EVENTS" scfile=/scratch/kocevski/744570/ft2_4FGL_J1550.7+0528_daily_bin631.fits sctable="SC_DATA" expcube=/scratch/kocevski/744570/ltcube_402883201_403142401_4FGL_J1550.7+0528_daily_bin631.fits outfile=/scratch/kocevski/744570/expmap_402883201_403142401_4FGL_J1550.7+0528_daily_bin631.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/744570/ltcube_402883201_403142401_4FGL_J1550.7+0528_daily_bin631.fits
.....................!
real 192.92
user 185.79
sys 6.23

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/744570/ft1_filtered_4FGL_J1550.7+0528_daily_bin631.fits scfile=/scratch/kocevski/744570/ft2_4FGL_J1550.7+0528_daily_bin631.fits outfile=/scratch/kocevski/744570/cmap_402883201_403142401_4FGL_J1550.7+0528_daily_bin631.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/744570/ft1_filtered_4FGL_J1550.7+0528_daily_bin631.fits scfile=/scratch/kocevski/744570/ft2_4FGL_J1550.7+0528_daily_bin631.fits outfile=/scratch/kocevski/744570/cmap_HighResolution_402883201_403142401_4FGL_J1550.7+0528_daily_bin631.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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/744570/ft1_filtered_4FGL_J1550.7+0528_daily_bin631.fits evtable="EVENTS" scfile=/scratch/kocevski/744570/ft2_4FGL_J1550.7+0528_daily_bin631.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/744570/Model_4FGL_J1550.7+0528_daily_bin631.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/744570/ft1_filtered_4FGL_J1550.7+0528_daily_bin631.fits.....................!
real 77.29
user 75.25
sys 1.55

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.3013       1.0000         .10000E-03   10000.    
     4 'Prefactor '    18.115       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10279E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .60099       1.0000         .10000E-03   10000.    
     7 'Prefactor '    21.331       1.0000         .10000E-03   10000.    
     8 'norm      '    2.8397       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.3022       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.6837       1.0000         .10000E-03   10000.    
    14 'norm      '    2.0561       1.0000         .10000E-03   10000.    
    15 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .42852E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.0601       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2096       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .91852       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=   9533.622     FROM MIGRAD    STATUS=CONVERGED    875 CALLS     2808 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    4.1641        .18470E-02** at limit **
   2  norm          .10000E-03    1.6160        .12119E-02** at limit **
   3  norm          4.3012        3.1875        .14564E-03   -.66819E-04
   4  Prefactor     18.102        36.380        .94103E-04   -.10728E-03
   5  Prefactor     .10000E-03    69.408        .18142E-02** at limit **
   6  Prefactor     .60344        5.4665        .23995E-02   -.46083E-03
   7  Prefactor     21.336        18.533        .86723E-04   -.66804E-04
   8  norm          2.8395        2.0251        .11327E-03   -.57209E-04
   9  Prefactor     .10000E-03    2.6040        .30161E-03** at limit **
  10  Prefactor     .10000E-03    25.238        .18142E-02** at limit **
  11  norm          3.3023        2.9352        .15232E-03   -.16793E-03
  12  Prefactor     .10000E-03    14.633        .18142E-02** at limit **
  13  norm          3.6849        8.6682        .10522E-02   -.18878E-03
  14  norm          2.0560        1.3137        .86276E-04   -.96984E-04
  15  norm          .10000E-03    4.3521        .18142E-02** at limit **
  16  norm          .10000E-03    101.72        .18142E-02** at limit **
  17  Prefactor     .10001E-03    35.660        .19267    ** at limit **
  18  Prefactor     .10000E-03    11.892        .18142E-02** at limit **
  19  Prefactor     1.0620        14.714        .47614E-03    .58260E-05
  20  Prefactor     .10000E-03    4.0284        .18142E-02** at limit **
  21  Normalizat    1.2095        .24542        .36321E-03   -.30775E-03
  22  Prefactor     .91848        .95000E-01    .16279E-03   -.52561E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100007
  norm       = 0.0001
  norm       = 4.30116
  Prefactor  = 18.1024
  Prefactor  = 0.0001
  Prefactor  = 0.603437
  Prefactor  = 21.3363
  norm       = 2.83947
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.30226
  Prefactor  = 0.0001
  norm       = 3.68495
  norm       = 2.05604
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.000100013
  Prefactor  = 0.0001
  Prefactor  = 1.06201
  Prefactor  = 0.0001
  Normalizat = 1.20952
  Prefactor  = 0.918484
 **********
 **   18 **HESSE 
 **********

 FCN=   9533.622     FROM HESSE     STATUS=OK           332 CALLS     3140 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    4.2002        .36940E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.6160        .24239E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.3012        3.1871        .58256E-05   -1.5293    
   4  Prefactor     18.102        36.378        .18821E-04   -1.4857    
   5  Prefactor     .10000E-03    69.430        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .60344        5.4426        .95981E-04   -1.5553    
   7  Prefactor     21.336        18.532        .17345E-04   -1.4784    
   8  norm          2.8395        2.0248        .45309E-05   -1.5371    
   9  Prefactor     .10000E-03    2.6041        .60321E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    25.239        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.3023        2.9351        .60930E-05   -1.5345    
  12  Prefactor     .10000E-03    14.633        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.6849        8.6594        .42087E-04   -1.5324    
  14  norm          2.0560        1.3134        .34510E-05   -1.5421    
  15  norm          .10000E-03    4.3525        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    101.72        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10001E-03    35.950        .19122       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    11.893        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.0620        14.707        .19046E-04   -1.5502    
  20  Prefactor     .10000E-03    4.0298        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2095        .24519        .14528E-04   -.86309    
  22  Prefactor     .91848        .95060E-01    .32558E-04   -.95498    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.74972e-09
Minuit parameter uncertainties:
  1  0.000351301
  2  6.28199e-07
  3  3.18727
  4  36.4227
  5  0.000175732
  6  3.62466
  7  18.5369
  8  2.02482
  9  1.63215e-05
  10  4.8656e-06
  11  2.93527
  12  3.07652e-05
  13  8.66236
  14  1.31347
  15  1.39317e-05
  16  0.000740101
  17  0.00138063
  18  8.31916e-05
  19  7.90608
  20  7.68891e-05
  21  0.245421
  22  0.0950774
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  3.302e+00  2.935e+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.185e-01  9.508e-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.210e+00  2.454e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.23
Ra Dec: 237.697 5.473
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 2.90e-08 +/- 2.58e-08
Energy Flux (Fixed Index): 1.22e-05 +/- 1.08e-05

TS (Fixed Index): 2.23
Ra Dec: 237.697 5.473
Photon Flux Upper Limit: 9.09e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.81e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/744570/likelihoodResults_402883201_403142401_4FGL_J1550.7+0528_daily_bin631.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) = 9533.24197306
delta logL = 0.380321473589

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9533.23448819
delta logL = 0.387806348557

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2059       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9983       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1769       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92498       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9533.234     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      287 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2059        2.9975        .51406E-03   -.56301E-03
   2  alpha         2.9983        .95993        .14859E-01    .13508E-04
   3  Normalizat    1.1769        .24318        .36749E-03    .86003E-05
   4  Prefactor     .92497        .95483E-01    .16225E-03    .22058E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.20587
  alpha      = 2.99831
  Normalizat = 1.17692
  Prefactor  = 0.924969
 **********
 **   18 **HESSE 
 **********

 FCN=   9533.234     FROM HESSE     STATUS=OK            25 CALLS      312 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2059        2.5108        .20563E-04   -1.5411    
   2  alpha         2.9983        .80982        .59434E-03    .20067    
   3  Normalizat    1.1769        .24265        .14699E-04   -.87319    
   4  Prefactor     .92497        .95390E-01    .32449E-04   -.95274    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1503e-10
Minuit parameter uncertainties:
  1  2.51087
  2  0.825345
  3  0.24288
  4  0.0954077
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/744570': 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) = 9533.23448818
delta logL = 0.387806355291

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  2.206e+00  2.511e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  2.998e+00  8.253e-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:  9.250e-01  9.541e-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.177e+00  2.429e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.04
Ra Dec: 237.697 5.473
Photon Index (Free Index): 3.00 +/- 0.83
Photon Flux (Free Index): 5.80e-08 +/- 5.17e-08
Energy Flux (Free Index): 1.38e-05 +/- 1.02e-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/744570/cmap_HighResolution_402883201_403142401_4FGL_J1550.7+0528_daily_bin631.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.81e-05', comment='SUCCESS', photon_flux='2.90e-08', energy_flux2='1.38e-05', photon_flux_error='2.58e-08', dlogl='3.88e-01', energy_flux='1.22e-05', photon_flux2='5.80e-08', job_status='DONE', time_completed='2021-09-12 15:36:49.332384', photon_index_error2='0.83', photon_index2='3.00', ts='2.23', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='9.09e-08', energy_flux_error2='1.02e-05', EG='1.21', time_epoch_completed='1631486209.33', return_code='0', job_id='744570', GAL2='0.92', EG2='1.18', return_code2='0', energy_flux_error='1.08e-05', photon_flux_error2='5.17e-08', ts2='3.04', photon_index='2.27' WHERE bin_id='631' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:36:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0256>
Subject: Job 744570: <4FGL_J1550.7+0528_daily_bin631> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin631 237.697 5.4725 402883201 403142401 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 :                                   806.36 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             281.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   978 sec.
    Turnaround time :                            989 sec.

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

