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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin497
RA = 237.697, Dec = 5.4725
tmin = 368150401, tmax = 368409601
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='743355', job_status='RUN', time_executed='2021-09-12 15:20:42.654390', time_epoch_executed='1631485242.65' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='497'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/743355

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/743355/ft1_4FGL_J1550.7+0528_daily_bin497.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/743355/ft2_4FGL_J1550.7+0528_daily_bin497.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/743355/ft1_4FGL_J1550.7+0528_daily_bin497.fits outfile=/scratch/kocevski/743355/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin497.fits ra=237.697 dec=5.4725 rad=12.0 tmin=368150401.0 tmax=368409601.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 2.74
user 2.53
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/743355/ft2_4FGL_J1550.7+0528_daily_bin497.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/743355/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin497.fits evtable="EVENTS" outfile="/scratch/kocevski/743355/ft1_filtered_4FGL_J1550.7+0528_daily_bin497.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.44
user 0.27
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/743355/ft1_filtered_4FGL_J1550.7+0528_daily_bin497.fits" evtable="EVENTS" scfile=/scratch/kocevski/743355/ft2_4FGL_J1550.7+0528_daily_bin497.fits sctable="SC_DATA" outfile=/scratch/kocevski/743355/ltcube_368150401_368409601_4FGL_J1550.7+0528_daily_bin497.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/743355/ft2_4FGL_J1550.7+0528_daily_bin497.fits
.....................!
real 10.56
user 10.17
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/743355/ft1_filtered_4FGL_J1550.7+0528_daily_bin497.fits evtable="EVENTS" scfile=/scratch/kocevski/743355/ft2_4FGL_J1550.7+0528_daily_bin497.fits sctable="SC_DATA" expcube=/scratch/kocevski/743355/ltcube_368150401_368409601_4FGL_J1550.7+0528_daily_bin497.fits outfile=/scratch/kocevski/743355/expmap_368150401_368409601_4FGL_J1550.7+0528_daily_bin497.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/743355/ltcube_368150401_368409601_4FGL_J1550.7+0528_daily_bin497.fits
.....................!
real 158.75
user 153.40
sys 5.00

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/743355/ft1_filtered_4FGL_J1550.7+0528_daily_bin497.fits scfile=/scratch/kocevski/743355/ft2_4FGL_J1550.7+0528_daily_bin497.fits outfile=/scratch/kocevski/743355/cmap_368150401_368409601_4FGL_J1550.7+0528_daily_bin497.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.49
user 0.33
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/743355/ft1_filtered_4FGL_J1550.7+0528_daily_bin497.fits scfile=/scratch/kocevski/743355/ft2_4FGL_J1550.7+0528_daily_bin497.fits outfile=/scratch/kocevski/743355/cmap_HighResolution_368150401_368409601_4FGL_J1550.7+0528_daily_bin497.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.49
user 0.34
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/743355/ft1_filtered_4FGL_J1550.7+0528_daily_bin497.fits evtable="EVENTS" scfile=/scratch/kocevski/743355/ft2_4FGL_J1550.7+0528_daily_bin497.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/743355/Model_4FGL_J1550.7+0528_daily_bin497.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/743355/ft1_filtered_4FGL_J1550.7+0528_daily_bin497.fits.....................!
real 57.32
user 56.12
sys 1.08

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15834E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    6.3862       1.0000         .10000E-03   10000.    
     4 'Prefactor '    54.837       1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.867       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.6890       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .99084       1.0000         .10000E-03   10000.    
     8 'norm      '    5.9925       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.1601       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .46036       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    21.087       1.0000         .10000E-03   10000.    
    14 'norm      '    4.7058       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.5312       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .91109       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=   8555.881     FROM MIGRAD    STATUS=CONVERGED    520 CALLS     2397 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.7979        .40345E-01** at limit **
   2  norm          .10000E-03    1.7449        .90712E-02** at limit **
   3  norm          6.3895        5.4351        .39707E-02    .39004E-03
   4  Prefactor     54.840        50.182        .13542E-02   -.83754E-03
   5  Prefactor     18.861        35.792        .23052E-02    .77071E-03
   6  Prefactor     3.6905        4.4631        .52569E-02    .19656E-02
   7  Prefactor     .81414        26.311        .15917        .14789E-03
   8  norm          5.9924        3.2671        .41007E-02    .23936E-03
   9  Prefactor     8.1615        5.2590        .35087E-02    .68053E-03
  10  Prefactor     .10000E-03    14.071        .90712E-02** at limit **
  11  norm          .46799        2.3815        .75263E-01    .48289E-03
  12  Prefactor     .10000E-03    18.009        .90712E-02** at limit **
  13  norm          21.086        10.604        .21806E-02   -.58705E-04
  14  norm          4.7058        1.7860        .46375E-02   -.67450E-04
  15  norm          .10000E-03    3.3452        .90712E-02** at limit **
  16  norm          .10000E-03    34.150        .90712E-02** at limit **
  17  Prefactor     .10000E-03    74.621        .90712E-02** at limit **
  18  Prefactor     .10000E-03    25.440        .90712E-02** at limit **
  19  Prefactor     .10000E-03    2.6603        .90712E-02** at limit **
  20  Prefactor     .10000E-03    3.9692        .90712E-02** at limit **
  21  Normalizat    1.5314        .24866        .81761E-01   -.11930E-03
  22  Prefactor     .91102        .95500E-01    .45146E-01   -.19070E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 6.38954
  Prefactor  = 54.8403
  Prefactor  = 18.8606
  Prefactor  = 3.69049
  Prefactor  = 0.814143
  norm       = 5.99239
  Prefactor  = 8.16149
  Prefactor  = 0.0001
  norm       = 0.467994
  Prefactor  = 0.0001
  norm       = 21.0859
  norm       = 4.7058
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.53141
  Prefactor  = 0.911019
 **********
 **   18 **HESSE 
 **********

 FCN=   8555.881     FROM HESSE     STATUS=OK           344 CALLS     2741 TOTAL
                     EDM=   .67E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.7868        .23705E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.7451        .11933E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.3895        5.3736        .15883E-03   -1.5202    
   4  Prefactor     54.840        50.223        .54167E-04   -1.4226    
   5  Prefactor     18.861        36.093        .92208E-04   -1.4839    
   6  Prefactor     3.6905        4.4510        .20488E-03   -1.5324    
   7  Prefactor     .81414        324.01        .85597E-02   -1.5528    
   8  norm          5.9924        3.2639        .11770E-03   -1.5218    
   9  Prefactor     8.1615        5.2407        .14035E-03   -1.5137    
  10  Prefactor     .10000E-03    14.080        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .46799        11.310        .25437E-02   -1.5571    
  12  Prefactor     .10000E-03    18.017        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          21.086        10.619        .87223E-04   -1.4789    
  14  norm          4.7058        1.7867        .73731E-04   -1.5274    
  15  norm          .10000E-03    3.3489        .16522E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    34.151        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    74.717        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    25.638        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.6632        .14734E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.0066        .17995E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5314        .28894        .36191E-03   -.76900    
  22  Prefactor     .91102        .11131        .18384E-03   -.95757    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.73786e-08
Minuit parameter uncertainties:
  1  2.6807e-06
  2  8.69439e-06
  3  5.37402
  4  50.2621
  5  36.1349
  6  4.45141
  7  32.6607
  8  3.26404
  9  5.24101
  10  0.000102531
  11  4.60173
  12  0.000147234
  13  10.6196
  14  1.78667
  15  2.71228e-06
  16  0.000277266
  17  0.000581049
  18  0.000143219
  19  1.78192e-06
  20  8.45207e-06
  21  0.289254
  22  0.11134
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  4.680e-01  4.602e+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.110e-01  1.113e-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.531e+00  2.893e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/743355/likelihoodResults_368150401_368409601_4FGL_J1550.7+0528_daily_bin497.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): 102
logL (Free Index) = 8553.85628693
delta logL = 2.02475145129

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8553.80515665
delta logL = 2.07588172368

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13366       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3641       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94780       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=   8553.805     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      300 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .13365        1.9189        .41147E-02   -.47084E-02
   2  alpha         5.0000        3.5535        .46267    ** at limit **
   3  Normalizat    1.3641        .13706        .85607E-01   -.11830E-03
   4  Prefactor     .94778        .54453E-01    .45611E-01   -.21792E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.133649
  alpha      = 5
  Normalizat = 1.36406
  Prefactor  = 0.947784
 **********
 **   18 **HESSE 
 **********

 FCN=   8553.805     FROM HESSE     STATUS=OK            35 CALLS      335 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .13365        .95819E-01    .18635E-03   -1.5635    
   2  alpha         5.0000        .62305        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.3641        .28476        .37903E-03   -.81674    
   4  Prefactor     .94778        .11228        .18047E-03   -.94491    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.62067e-10
Minuit parameter uncertainties:
  1  0.0958193
  2  4.30536e-05
  3  0.285087
  4  0.112305
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/743355': 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) = 8553.80515655
delta logL = 2.07588182899

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.336e-01  9.582e-02  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  5.000e+00  4.305e-05  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.478e-01  1.123e-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.364e+00  2.851e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.48
Ra Dec: 237.697 5.473
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 1.47e-07 +/- 1.05e-07
Energy Flux (Free Index): 2.08e-05 +/- 1.49e-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/743355/cmap_HighResolution_368150401_368409601_4FGL_J1550.7+0528_daily_bin497.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.08e-05', comment='SUCCESS', energy_flux2='2.08e-05', dlogl='2.08e+00', photon_flux2='1.47e-07', job_status='DONE', time_completed='2021-09-12 15:30:46.228728', photon_index_error2='0.00', photon_index2='5.00', ts='0.01', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='9.74e-08', energy_flux_error2='1.49e-05', EG='1.53', time_epoch_completed='1631485846.23', return_code='0', job_id='743355', GAL2='0.95', EG2='1.36', return_code2='0', photon_flux_error2='1.05e-07', ts2='4.48', photon_index='2.27' WHERE bin_id='497' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:30:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0175>
Subject: Job 743355: <4FGL_J1550.7+0528_daily_bin497> in cluster <slac> Done

Job <4FGL_J1550.7+0528_daily_bin497> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 15:15:42 2021
Job was executed on host(s) <bullet0175>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 15:17:15 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:17:15 2021
Terminated at Sun Sep 12 15:30:46 2021
Results reported at Sun Sep 12 15:30:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin497 237.697 5.4725 368150401 368409601 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 :                                   603.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             280.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   811 sec.
    Turnaround time :                            904 sec.

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

