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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin709
RA = 237.697, Dec = 5.4725
tmin = 423100801, tmax = 423360001
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='744695', job_status='RUN', time_executed='2021-09-12 15:24:52.551461', time_epoch_executed='1631485492.55' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/744695

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/744695/ft1_4FGL_J1550.7+0528_daily_bin709.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/744695/ft2_4FGL_J1550.7+0528_daily_bin709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/744695/ft1_4FGL_J1550.7+0528_daily_bin709.fits outfile=/scratch/kocevski/744695/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin709.fits ra=237.697 dec=5.4725 rad=12.0 tmin=423100801.0 tmax=423360001.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.99
user 4.69
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/744695/ft1_filtered_4FGL_J1550.7+0528_daily_bin709.fits" evtable="EVENTS" scfile=/scratch/kocevski/744695/ft2_4FGL_J1550.7+0528_daily_bin709.fits sctable="SC_DATA" outfile=/scratch/kocevski/744695/ltcube_423100801_423360001_4FGL_J1550.7+0528_daily_bin709.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/744695/ft2_4FGL_J1550.7+0528_daily_bin709.fits
.....................!
real 14.05
user 13.64
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/744695/ft1_filtered_4FGL_J1550.7+0528_daily_bin709.fits evtable="EVENTS" scfile=/scratch/kocevski/744695/ft2_4FGL_J1550.7+0528_daily_bin709.fits sctable="SC_DATA" expcube=/scratch/kocevski/744695/ltcube_423100801_423360001_4FGL_J1550.7+0528_daily_bin709.fits outfile=/scratch/kocevski/744695/expmap_423100801_423360001_4FGL_J1550.7+0528_daily_bin709.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/744695/ltcube_423100801_423360001_4FGL_J1550.7+0528_daily_bin709.fits
.....................!
real 191.46
user 185.69
sys 5.10

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/744695/ft1_filtered_4FGL_J1550.7+0528_daily_bin709.fits scfile=/scratch/kocevski/744695/ft2_4FGL_J1550.7+0528_daily_bin709.fits outfile=/scratch/kocevski/744695/cmap_423100801_423360001_4FGL_J1550.7+0528_daily_bin709.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.53
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/744695/ft1_filtered_4FGL_J1550.7+0528_daily_bin709.fits scfile=/scratch/kocevski/744695/ft2_4FGL_J1550.7+0528_daily_bin709.fits outfile=/scratch/kocevski/744695/cmap_HighResolution_423100801_423360001_4FGL_J1550.7+0528_daily_bin709.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/744695/ft1_filtered_4FGL_J1550.7+0528_daily_bin709.fits evtable="EVENTS" scfile=/scratch/kocevski/744695/ft2_4FGL_J1550.7+0528_daily_bin709.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/744695/Model_4FGL_J1550.7+0528_daily_bin709.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/744695/ft1_filtered_4FGL_J1550.7+0528_daily_bin709.fits.....................!
real 48.58
user 47.27
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17917E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .52782       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10789E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11382E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10224E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .26819E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    25.468       1.0000         .10000E-03   10000.    
    14 'norm      '    3.5395       1.0000         .10000E-03   10000.    
    15 'norm      '    12.745       1.0000         .10000E-03   10000.    
    16 'norm      '    .93715       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10441E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.5720       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .95619       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0087       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=   5161.662     FROM MIGRAD    STATUS=CONVERGED    872 CALLS     2462 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    9.1106        .18838E-02** at limit **
   2  norm          .10000E-03    12.507        .18142E-02** at limit **
   3  norm          .52919        8.2613        .27252E-02    .41530E-03
   4  Prefactor     .10000E-03    107.02        .18142E-02** at limit **
   5  Prefactor     .10000E-03    92.695        .18142E-02** at limit **
   6  Prefactor     .10001E-03    8.5660        .27333E-02** at limit **
   7  Prefactor     .10000E-03    14.591        .18142E-02** at limit **
   8  norm          .10000E-03    2.5948        .11225E-02** at limit **
   9  Prefactor     .10000E-03    2.6220        .11318E-02** at limit **
  10  Prefactor     .10000E-03    31.932        .18142E-02** at limit **
  11  norm          .10000E-03    17.705        .22703E-02** at limit **
  12  Prefactor     .10000E-03    69.475        .18142E-02** at limit **
  13  norm          25.466        16.121        .39689E-03   -.70723E-04
  14  norm          3.5396        2.5293        .93537E-04    .21513E-04
  15  norm          12.745        22.864        .11220E-03   -.57755E-05
  16  norm          .64155        128.62        .29443        .41378E-04
  17  Prefactor     .10000E-03    46.278        .18142E-02** at limit **
  18  Prefactor     .10000E-03    62.636        .18142E-02** at limit **
  19  Prefactor     .10000E-03    9.5075        .18142E-02** at limit **
  20  Prefactor     2.5706        20.250        .25451E-03   -.42569E-04
  21  Normalizat    .95647        .33686        .42224E-03   -.16093E-03
  22  Prefactor     1.0087        .12787        .15768E-03   -.38809E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  norm       = 0.0001
  norm       = 0.529191
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 25.4664
  norm       = 3.53956
  norm       = 12.7449
  norm       = 0.641552
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.57059
  Normalizat = 0.956467
  Prefactor  = 1.00873
 **********
 **   18 **HESSE 
 **********

 FCN=   5161.662     FROM HESSE     STATUS=OK           332 CALLS     2794 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    9.1627        .37675E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    12.515        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .52919        8.2472        .10901E-03   -1.5562    
   4  Prefactor     .10000E-03    107.07        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    92.706        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10001E-03    8.6131        .54665E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    14.591        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.5953        .22449E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.6223        .22635E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    31.933        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    17.906        .45407E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    69.479        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          25.466        16.119        .15876E-04   -1.4698    
  14  norm          3.5396        2.5293        .37415E-05   -1.5332    
  15  norm          12.745        22.862        .44880E-05   -1.4994    
  16  norm          .64155        128.62        .29443       -1.5548    
  17  Prefactor     .10000E-03    46.278        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    62.640        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    9.5079        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.5706        20.246        .10180E-04   -1.5387    
  21  Normalizat    .95647        .33689        .16889E-04   -.94503    
  22  Prefactor     1.0087        .12790        .31535E-04   -.92439    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56376e-09
Minuit parameter uncertainties:
  1  0.000203047
  2  1.13121e-05
  3  4.17849
  4  0.000407531
  5  0.000120221
  6  0.000502134
  7  5.2304e-06
  8  1.08858e-05
  9  9.95289e-07
  10  3.88252e-05
  11  3.16382e-05
  12  0.000275836
  13  16.1222
  14  2.52935
  15  22.8774
  16  18.2061
  17  0.000337941
  18  4.32669e-05
  19  5.68769e-05
  20  14.4349
  21  0.337641
  22  0.12794
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.000e-04  3.164e-05  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.009e+00  1.279e-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.565e-01  3.376e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/744695/likelihoodResults_423100801_423360001_4FGL_J1550.7+0528_daily_bin709.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) = 5161.66194517
delta logL = -0.000268335822511

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5161.6616682
delta logL = 8.63326113176e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13368E-02   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4058       1.0000          .0000       5.0000    
     3 'Normalizat'    .95713       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0085       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=   5161.546     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      259 TOTAL
                     EDM=   .93E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .58492        41.798        .10280E-01    .26137E-02
   2  alpha         3.4402        3.3374        .41189        .75216E-04
   3  Normalizat    .92623        .65822E-01    .96696E-01   -.19958E-03
   4  Prefactor     1.0125        .25189E-01    .43554E-01   -.59235E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.584916
  alpha      = 3.44022
  Normalizat = 0.926234
  Prefactor  = 1.01255
 **********
 **   18 **HESSE 
 **********

 FCN=   5161.546     FROM HESSE     STATUS=OK            31 CALLS      290 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .58492        3.0456        .11725E-03   -1.5555    
   2  alpha         3.4402        3.7622        .29254E-01    .38557    
   3  Normalizat    .92623        .33503        .42840E-03   -.95544    
   4  Prefactor     1.0125        .12726        .15739E-03   -.92312    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.38958e-10
Minuit parameter uncertainties:
  1  2.66937
  2  2.48302
  3  0.335785
  4  0.127302
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/744695': 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) = 5161.54641429
delta logL = 0.115262551014

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  5.849e-01  2.669e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  3.440e+00  2.483e+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.013e+00  1.273e-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.262e-01  3.358e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 237.697 5.473

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/744695/cmap_HighResolution_423100801_423360001_4FGL_J1550.7+0528_daily_bin709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.33e-05', job_status='DONE', photon_flux_upper_limit='1.03e-07', time_completed='2021-09-12 15:34:10.404296', job_id='744695', GAL2='1.01', fit_tolerance='1e-08', EG2='0.93', EG='0.96', time_epoch_completed='1631486050.4', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='1.15e-01', ts2='0.24', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='709' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:34:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 744695: <4FGL_J1550.7+0528_daily_bin709> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin709 237.697 5.4725 423100801 423360001 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 :                                   555.37 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             259.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   791 sec.
    Turnaround time :                            821 sec.

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

