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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin816
RA = 237.697, Dec = 5.4725
tmin = 450835201, tmax = 451094401
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='744869', job_status='RUN', time_executed='2021-09-12 15:25:22.726248', time_epoch_executed='1631485522.73' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='816'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/744869

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/744869/ft1_4FGL_J1550.7+0528_daily_bin816.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/744869/ft2_4FGL_J1550.7+0528_daily_bin816.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/744869/ft1_4FGL_J1550.7+0528_daily_bin816.fits outfile=/scratch/kocevski/744869/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin816.fits ra=237.697 dec=5.4725 rad=12.0 tmin=450835201.0 tmax=451094401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.43
user 3.18
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/744869/ft1_filtered_4FGL_J1550.7+0528_daily_bin816.fits" evtable="EVENTS" scfile=/scratch/kocevski/744869/ft2_4FGL_J1550.7+0528_daily_bin816.fits sctable="SC_DATA" outfile=/scratch/kocevski/744869/ltcube_450835201_451094401_4FGL_J1550.7+0528_daily_bin816.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/744869/ft2_4FGL_J1550.7+0528_daily_bin816.fits
.....................!
real 14.04
user 13.67
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/744869/ft1_filtered_4FGL_J1550.7+0528_daily_bin816.fits evtable="EVENTS" scfile=/scratch/kocevski/744869/ft2_4FGL_J1550.7+0528_daily_bin816.fits sctable="SC_DATA" expcube=/scratch/kocevski/744869/ltcube_450835201_451094401_4FGL_J1550.7+0528_daily_bin816.fits outfile=/scratch/kocevski/744869/expmap_450835201_451094401_4FGL_J1550.7+0528_daily_bin816.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/744869/ltcube_450835201_451094401_4FGL_J1550.7+0528_daily_bin816.fits
.....................!
real 192.10
user 186.25
sys 5.35

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/744869/ft1_filtered_4FGL_J1550.7+0528_daily_bin816.fits scfile=/scratch/kocevski/744869/ft2_4FGL_J1550.7+0528_daily_bin816.fits outfile=/scratch/kocevski/744869/cmap_450835201_451094401_4FGL_J1550.7+0528_daily_bin816.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=237.697 yref=5.4725 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/744869/ft1_filtered_4FGL_J1550.7+0528_daily_bin816.fits scfile=/scratch/kocevski/744869/ft2_4FGL_J1550.7+0528_daily_bin816.fits outfile=/scratch/kocevski/744869/cmap_HighResolution_450835201_451094401_4FGL_J1550.7+0528_daily_bin816.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/744869/ft1_filtered_4FGL_J1550.7+0528_daily_bin816.fits evtable="EVENTS" scfile=/scratch/kocevski/744869/ft2_4FGL_J1550.7+0528_daily_bin816.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/744869/Model_4FGL_J1550.7+0528_daily_bin816.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/744869/ft1_filtered_4FGL_J1550.7+0528_daily_bin816.fits....................!
real 66.80
user 65.48
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.6336       1.0000         .10000E-03   10000.    
     2 'norm      '    11.259       1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.713       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.7260       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.0590       1.0000         .10000E-03   10000.    
     8 'norm      '    1.5254       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .13315E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.9428       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    4.4865       1.0000         .10000E-03   10000.    
    15 'norm      '    44.668       1.0000         .10000E-03   10000.    
    16 'norm      '    .10034E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .44251E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    30.361       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.3483       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3653       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .90408       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8224.019     FROM MIGRAD    STATUS=CONVERGED    487 CALLS     2045 TOTAL
                     EDM=   .83E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.6337        3.9447        .12162E-06    .37591E-05
   2  norm          11.260        7.6348        .14081E-07    .78816E-05
   3  norm          .10000E-03    1.6627        .97701E-08** at limit **
   4  Prefactor     .10000E-03    16.727       -.24003E-07** at limit **
   5  Prefactor     17.750        28.298        .11136E-05    .11094E-03
   6  Prefactor     5.7264        4.2658        .19066E-06   -.45407E-05
   7  Prefactor     5.0619        20.152        .17549E-06   -.37543E-05
   8  norm          1.5254        1.3418       -.23717E-08    .17372E-04
   9  Prefactor     .10000E-03    2.3335       -.24551E-08** at limit **
  10  Prefactor     .10000E-03    20.968        .13253E-06** at limit **
  11  norm          1.9435        3.7381        .78522E-06   -.55746E-05
  12  Prefactor     .10000E-03    32.485       -.21857E-06** at limit **
  13  norm          .10000E-03    3.7168        .25213E-07** at limit **
  14  norm          4.4866        1.9791        .20895E-07   -.56355E-05
  15  norm          44.668        19.565        .20222E-06   -.95793E-05
  16  norm          .10000E-03    51.723        .27729E-06** at limit **
  17  Prefactor     .10004E-03    630.23       -.11557E-04** at limit **
  18  Prefactor     30.361        29.029       -.59071E-06   -.74324E-05
  19  Prefactor     7.3479        9.3122        .27510E-05   -.59673E-04
  20  Prefactor     .10000E-03    2.1477       -.68981E-07** at limit **
  21  Normalizat    1.3654        .24977       -.24383E-05    .48065E-04
  22  Prefactor     .90404        .94819E-01    .36638E-06   -.12214E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.63374
  norm       = 11.2599
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.7503
  Prefactor  = 5.7264
  Prefactor  = 5.06188
  norm       = 1.52536
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.94348
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.4866
  norm       = 44.6682
  norm       = 0.0001
  Prefactor  = 0.000100039
  Prefactor  = 30.361
  Prefactor  = 7.34788
  Prefactor  = 0.0001
  Normalizat = 1.36537
  Prefactor  = 0.904039
 **********
 **   18 **HESSE 
 **********

 FCN=   8224.019     FROM HESSE     STATUS=OK           346 CALLS     2391 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.6337        3.9515        .11045E-03   -1.5087    
   2  norm          11.260        7.6358        .11939E-03   -1.5037    
   3  norm          .10000E-03    1.6699        .11416E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    16.739        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     17.750        28.588        .95163E-04   -1.4865    
   6  Prefactor     5.7264        4.2597        .15522E-03   -1.5229    
   7  Prefactor     5.0619        20.082        .17877E-03   -1.5258    
   8  norm          1.5254        1.3510        .96105E-04   -1.5461    
   9  Prefactor     .10000E-03    7.7170        .26603E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    21.093        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.9435        3.7032        .23048E-03   -1.5429    
  12  Prefactor     .10000E-03    32.530        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    3.7344        .17070E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.4866        1.9793        .82227E-04   -1.5284    
  15  norm          44.668        19.620        .59988E-04   -1.4370    
  16  norm          .10000E-03    51.786        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10004E-03    653.00        .42433E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     30.361        29.040        .72714E-04   -1.4605    
  19  Prefactor     7.3479        9.3903        .73979E-03   -1.5166    
  20  Prefactor     .10000E-03    2.1515        .12981E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.3654        .28485        .36733E-03   -.81636    
  22  Prefactor     .90404        .10996        .17741E-03   -.96000    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.85473e-10
Minuit parameter uncertainties:
  1  3.9516
  2  7.63644
  3  8.13648e-07
  4  4.44265e-06
  5  28.6104
  6  4.25992
  7  20.1084
  8  1.35102
  9  4.52276e-05
  10  5.04161e-05
  11  3.70359
  12  0.000108599
  13  5.14713e-06
  14  1.97936
  15  19.6228
  16  0.000204832
  17  0.0102527
  18  29.0539
  19  9.39216
  20  3.22908e-06
  21  0.285181
  22  0.109983
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.943e+00  3.704e+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.040e-01  1.100e-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.365e+00  2.852e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/744869/likelihoodResults_450835201_451094401_4FGL_J1550.7+0528_daily_bin816.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) = 8223.22171052
delta logL = 0.797175735524

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8223.21212364
delta logL = 0.806762622518

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .94185       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.6956       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2878       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91930       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=   8223.212     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      228 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .94156        9.9845        .12959E-01    .12233E-02
   2  alpha         3.6970        4.0904        .41053        .73703E-04
   3  Normalizat    1.2877        .56542E-01    .85038E-01    .17566E-04
   4  Prefactor     .91934        .22674E-01    .45251E-01    .12969E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.941559
  alpha      = 3.69703
  Normalizat = 1.28766
  Prefactor  = 0.919338
 **********
 **   18 **HESSE 
 **********

 FCN=   8223.212     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      263 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .94156        28.982        .68830E-03   -1.5514    
   2  alpha         3.6970        3.8908        .15411E-01    .49930    
   3  Normalizat    1.2877        .26703        .37652E-03   -.83935    
   4  Prefactor     .91934        .10440        .17602E-03   -.95469    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.20951e-07
Minuit parameter uncertainties:
  1  10.4526
  2  6.48433
  3  0.267321
  4  0.104419
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/744869': 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): 102
logL (Free Index) = 8223.21211955
delta logL = 0.806766709929

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  9.416e-01  1.045e+01  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  3.697e+00  6.484e+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.193e-01  1.044e-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.288e+00  2.673e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.04
Ra Dec: 237.697 5.473
Photon Index (Free Index): 3.70 +/- 6.48
Photon Flux (Free Index): 8.42e-08 +/- 9.46e-08
Energy Flux (Free Index): 1.51e-05 +/- 2.01e-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/744869/cmap_HighResolution_450835201_451094401_4FGL_J1550.7+0528_daily_bin816.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.12e-05', comment='SUCCESS', energy_flux2='1.51e-05', dlogl='8.07e-01', photon_flux2='8.42e-08', job_status='DONE', time_completed='2021-09-12 15:36:31.731948', photon_index_error2='6.48', photon_index2='3.70', ts='0.35', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='9.84e-08', energy_flux_error2='2.01e-05', EG='1.37', time_epoch_completed='1631486191.73', return_code='0', job_id='744869', GAL2='0.92', EG2='1.29', return_code2='102', photon_flux_error2='9.46e-08', ts2='2.04', photon_index='2.27' WHERE bin_id='816' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:36:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0012>
Subject: Job 744869: <4FGL_J1550.7+0528_daily_bin816> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin816 237.697 5.4725 450835201 451094401 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 :                                   668.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             268.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   893 sec.
    Turnaround time :                            948 sec.

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

