/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 234 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 = 7664
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1550.7+0528_daily_bin393
RA = 237.697, Dec = 5.4725
tmin = 341193601, tmax = 341452801
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='743201', job_status='RUN', time_executed='2021-09-12 15:20:16.419454', time_epoch_executed='1631485216.42' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='393'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/743201

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/743201/ft1_4FGL_J1550.7+0528_daily_bin393.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/743201/ft2_4FGL_J1550.7+0528_daily_bin393.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/743201/ft1_4FGL_J1550.7+0528_daily_bin393.fits outfile=/scratch/kocevski/743201/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin393.fits ra=237.697 dec=5.4725 rad=12.0 tmin=341193601.0 tmax=341452801.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.23
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/743201/ft2_4FGL_J1550.7+0528_daily_bin393.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/743201/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin393.fits evtable="EVENTS" outfile="/scratch/kocevski/743201/ft1_filtered_4FGL_J1550.7+0528_daily_bin393.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/743201/ft1_filtered_4FGL_J1550.7+0528_daily_bin393.fits" evtable="EVENTS" scfile=/scratch/kocevski/743201/ft2_4FGL_J1550.7+0528_daily_bin393.fits sctable="SC_DATA" outfile=/scratch/kocevski/743201/ltcube_341193601_341452801_4FGL_J1550.7+0528_daily_bin393.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/743201/ft2_4FGL_J1550.7+0528_daily_bin393.fits
.....................!
real 12.70
user 12.30
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/743201/ft1_filtered_4FGL_J1550.7+0528_daily_bin393.fits evtable="EVENTS" scfile=/scratch/kocevski/743201/ft2_4FGL_J1550.7+0528_daily_bin393.fits sctable="SC_DATA" expcube=/scratch/kocevski/743201/ltcube_341193601_341452801_4FGL_J1550.7+0528_daily_bin393.fits outfile=/scratch/kocevski/743201/expmap_341193601_341452801_4FGL_J1550.7+0528_daily_bin393.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/743201/ltcube_341193601_341452801_4FGL_J1550.7+0528_daily_bin393.fits
.....................!
real 191.05
user 185.67
sys 5.02

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/743201/ft1_filtered_4FGL_J1550.7+0528_daily_bin393.fits scfile=/scratch/kocevski/743201/ft2_4FGL_J1550.7+0528_daily_bin393.fits outfile=/scratch/kocevski/743201/cmap_341193601_341452801_4FGL_J1550.7+0528_daily_bin393.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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/743201/ft1_filtered_4FGL_J1550.7+0528_daily_bin393.fits scfile=/scratch/kocevski/743201/ft2_4FGL_J1550.7+0528_daily_bin393.fits outfile=/scratch/kocevski/743201/cmap_HighResolution_341193601_341452801_4FGL_J1550.7+0528_daily_bin393.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/743201/ft1_filtered_4FGL_J1550.7+0528_daily_bin393.fits evtable="EVENTS" scfile=/scratch/kocevski/743201/ft2_4FGL_J1550.7+0528_daily_bin393.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/743201/Model_4FGL_J1550.7+0528_daily_bin393.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/743201/ft1_filtered_4FGL_J1550.7+0528_daily_bin393.fits.....................!
real 65.39
user 64.01
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .16543E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.9212       1.0000         .10000E-03   10000.    
     4 'Prefactor '    26.816       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.9806       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    26.988       1.0000         .10000E-03   10000.    
    11 'norm      '    .11803E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    4.6687       1.0000         .10000E-03   10000.    
    14 'norm      '    2.2775       1.0000         .10000E-03   10000.    
    15 'norm      '    .19213E-01   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.5745       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .91806       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=   8062.044     FROM MIGRAD    STATUS=CONVERGED    513 CALLS     2450 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 10.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.5057       -.83451E-06** at limit **
   2  norm          .10000E-03    1.9414        .75979E-09** at limit **
   3  norm          2.9208        3.4413       -.12348E-06   -.10116E-03
   4  Prefactor     26.814        55.268       -.10488E-05   -.26041E-04
   5  Prefactor     .10000E-03    21.524       -.53039E-06** at limit **
   6  Prefactor     .10000E-03    2.1893        .61417E-07** at limit **
   7  Prefactor     .10000E-03    11.747        .32638E-07** at limit **
   8  norm          2.9806        2.3466        .11998E-06    .18287E-04
   9  Prefactor     .10000E-03    1.7725        .24793E-07** at limit **
  10  Prefactor     26.988        31.467        .12132E-06    .57819E-05
  11  norm          .10000E-03    3.4276        .32450E-07** at limit **
  12  Prefactor     .10000E-03    23.072        .80930E-06** at limit **
  13  norm          4.6676        10.668       -.28133E-05   -.27322E-04
  14  norm          2.2774        1.4583        .54261E-07   -.61603E-04
  15  norm          .10000E-03    104.53        .29288E-04** at limit **
  16  norm          .10000E-03    134.50       -.59496E-05** at limit **
  17  Prefactor     .10000E-03    49.826       -.19730E-07** at limit **
  18  Prefactor     .10000E-03    47.157       -.35868E-06** at limit **
  19  Prefactor     .10000E-03    6.3202        .10791E-06** at limit **
  20  Prefactor     .10000E-03    8.2532        .62521E-07** at limit **
  21  Normalizat    1.5744        .24827        .18988E-06   -.11203E-03
  22  Prefactor     .91800        .95416E-01    .40712E-06    .21817E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  norm       = 0.0001
  norm       = 2.92077
  Prefactor  = 26.8135
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.98063
  Prefactor  = 0.0001
  Prefactor  = 26.9884
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.66758
  norm       = 2.27743
  norm       = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.57444
  Prefactor  = 0.918003
 **********
 **   18 **HESSE 
 **********

 FCN=   8062.044     FROM HESSE     STATUS=OK           340 CALLS     2790 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.3302        .20573E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.9416        .12218E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.9208        3.4139        .17459E-03   -1.5366    
   4  Prefactor     26.814        55.161        .77362E-04   -1.4672    
   5  Prefactor     .10000E-03    21.602        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.2220        .12970E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    11.761        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.9806        2.3477        .11648E-03   -1.5363    
   9  Prefactor     .10000E-03    1.8240        .23341E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     26.988        31.468        .77114E-04   -1.4668    
  11  norm          .10000E-03    3.5886        .32448E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    23.085        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.6676        10.694        .93127E-03   -1.5276    
  14  norm          2.2774        1.4613        .84055E-04   -1.5406    
  15  norm          .10000E-03    100.99        .54556E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    134.55        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    49.860        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    47.572        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.3675        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    8.4381        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5744        .28667        .34731E-03   -.75708    
  22  Prefactor     .91800        .11248        .17781E-03   -.95515    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.20514e-10
Minuit parameter uncertainties:
  1  0.000151874
  2  1.29768e-07
  3  3.41416
  4  55.266
  5  1.66236e-05
  6  4.60074e-06
  7  4.17672e-06
  8  2.34775
  9  7.26593e-07
  10  31.4868
  11  1.65665e-06
  12  2.58424e-05
  13  10.6986
  14  1.46135
  15  0.000593593
  16  0.000174211
  17  8.36053e-06
  18  0.000102156
  19  2.35515e-06
  20  8.84726e-06
  21  0.286966
  22  0.112509
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.000e-04  1.657e-06  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.180e-01  1.125e-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.574e+00  2.870e-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: 7.01e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.94e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/743201/likelihoodResults_341193601_341452801_4FGL_J1550.7+0528_daily_bin393.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) = 8062.04540756
delta logL = -0.0013309119031

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8062.00535742
delta logL = 0.0387192266189

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13317E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5558       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92216       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=   8062.005     FROM MIGRAD    STATUS=CONVERGED    119 CALLS      360 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .13321E-01    .74655E-01    .29472E-03    .23830E-02
   2  alpha         5.0000        4.1366        .50000    ** at limit **
   3  Normalizat    1.5558        .28327        .34907E-03   -.70642E-04
   4  Prefactor     .92220        .11292        .17745E-03    .24986E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0133209
  alpha      = 5
  Normalizat = 1.55576
  Prefactor  = 0.922204
 **********
 **   18 **HESSE 
 **********

 FCN=   8062.005     FROM HESSE     STATUS=OK            31 CALLS      391 TOTAL
                     EDM=   .74E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .13321E-01    .55533E-01    .11789E-04   -1.5685    
   2  alpha         5.0000        4.7348        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.5558        .28416        .13963E-04   -.76223    
   4  Prefactor     .92220        .11312        .70981E-05   -.95369    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.40415e-11
Minuit parameter uncertainties:
  1  0.054192
  2  0.000376067
  3  0.284458
  4  0.113145
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/743201': 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) = 8062.00535713
delta logL = 0.038719512615

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.332e-02  5.419e-02  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  5.000e+00  3.761e-04  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.222e-01  1.131e-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.556e+00  2.845e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/743201/cmap_HighResolution_341193601_341452801_4FGL_J1550.7+0528_daily_bin393.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.94e-05', job_status='DONE', photon_flux_upper_limit='7.01e-08', time_completed='2021-09-12 15:31:59.796688', job_id='743201', GAL2='0.92', fit_tolerance='1e-08', EG2='1.56', EG='1.57', time_epoch_completed='1631485919.8', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='3.87e-02', ts2='0.08', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='393' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:31:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0153>
Subject: Job 743201: <4FGL_J1550.7+0528_daily_bin393> in cluster <slac> Done

Job <4FGL_J1550.7+0528_daily_bin393> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 15:15:31 2021
Job was executed on host(s) <bullet0153>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 15:16:14 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:16:14 2021
Terminated at Sun Sep 12 15:32:00 2021
Results reported at Sun Sep 12 15:32:00 2021

Your job looked like:

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

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

