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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin858
RA = 237.697, Dec = 5.4725
tmin = 461721601, tmax = 461980801
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='744935', job_status='RUN', time_executed='2021-09-12 15:24:05.012285', time_epoch_executed='1631485445.01' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='858'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/744935

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/744935/ft1_4FGL_J1550.7+0528_daily_bin858.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/744935/ft2_4FGL_J1550.7+0528_daily_bin858.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/744935/ft1_4FGL_J1550.7+0528_daily_bin858.fits outfile=/scratch/kocevski/744935/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin858.fits ra=237.697 dec=5.4725 rad=12.0 tmin=461721601.0 tmax=461980801.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.35
user 3.86
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/744935/ft2_4FGL_J1550.7+0528_daily_bin858.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/744935/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin858.fits evtable="EVENTS" outfile="/scratch/kocevski/744935/ft1_filtered_4FGL_J1550.7+0528_daily_bin858.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.53
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/744935/ft1_filtered_4FGL_J1550.7+0528_daily_bin858.fits" evtable="EVENTS" scfile=/scratch/kocevski/744935/ft2_4FGL_J1550.7+0528_daily_bin858.fits sctable="SC_DATA" outfile=/scratch/kocevski/744935/ltcube_461721601_461980801_4FGL_J1550.7+0528_daily_bin858.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/744935/ft2_4FGL_J1550.7+0528_daily_bin858.fits
.....................!
real 13.47
user 13.07
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/744935/ft1_filtered_4FGL_J1550.7+0528_daily_bin858.fits evtable="EVENTS" scfile=/scratch/kocevski/744935/ft2_4FGL_J1550.7+0528_daily_bin858.fits sctable="SC_DATA" expcube=/scratch/kocevski/744935/ltcube_461721601_461980801_4FGL_J1550.7+0528_daily_bin858.fits outfile=/scratch/kocevski/744935/expmap_461721601_461980801_4FGL_J1550.7+0528_daily_bin858.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/744935/ltcube_461721601_461980801_4FGL_J1550.7+0528_daily_bin858.fits
.....................!
real 191.33
user 184.59
sys 5.70

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/744935/ft1_filtered_4FGL_J1550.7+0528_daily_bin858.fits scfile=/scratch/kocevski/744935/ft2_4FGL_J1550.7+0528_daily_bin858.fits outfile=/scratch/kocevski/744935/cmap_461721601_461980801_4FGL_J1550.7+0528_daily_bin858.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/744935/ft1_filtered_4FGL_J1550.7+0528_daily_bin858.fits scfile=/scratch/kocevski/744935/ft2_4FGL_J1550.7+0528_daily_bin858.fits outfile=/scratch/kocevski/744935/cmap_HighResolution_461721601_461980801_4FGL_J1550.7+0528_daily_bin858.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=237.697 yref=5.4725 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.3602       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .33805       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.8177       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.6802       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .68277       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10162E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .54367       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    7.1422       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    47.025       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10602E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.5521       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .91124       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=   9896.537     FROM MIGRAD    STATUS=CONVERGED    518 CALLS     2094 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.3582        3.2546        .48224E-02    .37147E-03
   2  norm          .10000E-03    3.7133        .90712E-02** at limit **
   3  norm          .35583        2.9621        .50559E-01    .12185E-02
   4  Prefactor     .10000E-03    20.716        .90712E-02** at limit **
   5  Prefactor     5.8187        48.992        .41627E-02    .31239E-03
   6  Prefactor     2.6808        3.5086        .62225E-02    .45567E-03
   7  Prefactor     .10000E-03    7.4214        .90712E-02** at limit **
   8  norm          .68318        1.5131        .33575E-01    .15991E-02
   9  Prefactor     .10000E-03    1.7988        .44364E-01** at limit **
  10  Prefactor     .10000E-03    17.336        .90712E-02** at limit **
  11  norm          .54359        1.6848        .58945E-01    .15091E-02
  12  Prefactor     .10000E-03    38.829        .90712E-02** at limit **
  13  norm          .10000E-03    2.2766        .90712E-02** at limit **
  14  norm          7.1424        2.1035        .37524E-02   -.11643E-03
  15  norm          .10000E-03    6.1094        .90712E-02** at limit **
  16  norm          47.026        57.025        .14618E-02   -.31053E-03
  17  Prefactor     .10000E-03    48.380        .90712E-02** at limit **
  18  Prefactor     .10000E-03    166.61        .90712E-02** at limit **
  19  Prefactor     .10000E-03    3.8657        .90712E-02** at limit **
  20  Prefactor     .10000E-03    2.7957        .90712E-02** at limit **
  21  Normalizat    1.5522        .23134        .83582E-01   -.80490E-04
  22  Prefactor     .91122        .87657E-01    .45148E-01   -.13093E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.35815
  norm       = 0.0001
  norm       = 0.355828
  Prefactor  = 0.0001
  Prefactor  = 5.8187
  Prefactor  = 2.68079
  Prefactor  = 0.0001
  norm       = 0.68318
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.543586
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 7.1424
  norm       = 0.0001
  norm       = 47.0265
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.55216
  Prefactor  = 0.911221
 **********
 **   18 **HESSE 
 **********

 FCN=   9896.537     FROM HESSE     STATUS=OK           344 CALLS     2438 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.3582        3.2227        .14432E-03   -1.5290    
   2  norm          .10000E-03    3.7261        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .35583        8.4990        .31904E-02   -1.5589    
   4  Prefactor     .10000E-03    20.734        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.8187        49.409        .83254E-03   -1.5225    
   6  Prefactor     2.6808        3.4948        .20480E-03   -1.5380    
   7  Prefactor     .10000E-03    7.4243        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .68318        1.1883        .17715E-02   -1.5543    
   9  Prefactor     .10000E-03    4.0333        .25704E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    17.354        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .54359        1.9264        .21868E-02   -1.5561    
  12  Prefactor     .10000E-03    38.874        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.2822        .14657E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          7.1424        2.1038        .76193E-04   -1.5173    
  15  norm          .10000E-03    6.1248        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          47.026        57.029        .58471E-04   -1.4335    
  17  Prefactor     .10000E-03    48.455        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    169.44        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.8771        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.8037        .16244E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5522        .27175        .36999E-03   -.76323    
  22  Prefactor     .91122        .10385        .18039E-03   -.95750    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.74914e-08
Minuit parameter uncertainties:
  1  3.22283
  2  7.9017e-06
  3  3.47811
  4  6.92424e-05
  5  33.9489
  6  3.49503
  7  1.29949e-05
  8  1.18832
  9  3.56464e-07
  10  5.15097e-06
  11  1.92659
  12  3.36398e-05
  13  7.09471e-07
  14  2.10378
  15  8.58299e-06
  16  57.0953
  17  0.000260364
  18  0.000359437
  19  7.86288e-06
  20  1.37776e-06
  21  0.272004
  22  0.103871
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  5.436e-01  1.927e+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.112e-01  1.039e-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.552e+00  2.720e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/744935/likelihoodResults_461721601_461980801_4FGL_J1550.7+0528_daily_bin858.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) = 9896.48239627
delta logL = 0.0542267316141

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9896.47681803
delta logL = 0.0598049683704

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .90471       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6642       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5550       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91000       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=   9896.477     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      291 TOTAL
                     EDM=   .94E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .90449        2.2725        .24937E-02    .39717E-03
   2  alpha         1.6636        1.4324        .55809E-01    .44554E-05
   3  Normalizat    1.5551        .26432        .36969E-03    .13285E-04
   4  Prefactor     .90997        .10303        .18049E-03    .12597E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.904489
  alpha      = 1.66362
  Normalizat = 1.5551
  Prefactor  = 0.909975
 **********
 **   18 **HESSE 
 **********

 FCN=   9896.477     FROM HESSE     STATUS=OK            27 CALLS      318 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .90449        2.2591        .99747E-04   -1.5518    
   2  alpha         1.6636        1.4300        .22324E-02   -.34113    
   3  Normalizat    1.5551        .26453        .14788E-04   -.76242    
   4  Prefactor     .90997        .10312        .72197E-05   -.95793    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.01504e-11
Minuit parameter uncertainties:
  1  2.25935
  2  1.53661
  3  0.264769
  4  0.10314
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/744935': 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) = 9896.47681792
delta logL = 0.0598050809258

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  9.045e-01  2.259e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  1.664e+00  1.537e+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.100e-01  1.031e-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.555e+00  2.648e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.10
Ra Dec: 237.697 5.473

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.67e-05', job_status='DONE', photon_flux_upper_limit='6.37e-08', time_completed='2021-09-12 15:36:26.578754', job_id='744935', GAL2='0.91', fit_tolerance='1e-08', EG2='1.56', EG='1.55', time_epoch_completed='1631486186.58', return_code2='0', ts='0.10', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='5.98e-02', ts2='0.22', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='858' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:36:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0131>
Subject: Job 744935: <4FGL_J1550.7+0528_daily_bin858> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin858 237.697 5.4725 461721601 461980801 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 :                                   738.26 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             271.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   871 sec.
    Turnaround time :                            939 sec.

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

