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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin317
RA = 237.697, Dec = 5.4725
tmin = 321494401, tmax = 321753601
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='743084', job_status='RUN', time_executed='2021-09-12 15:15:54.060473', time_epoch_executed='1631484954.06' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='317'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/743084

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/743084/ft1_4FGL_J1550.7+0528_daily_bin317.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/743084/ft2_4FGL_J1550.7+0528_daily_bin317.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/743084/ft1_4FGL_J1550.7+0528_daily_bin317.fits outfile=/scratch/kocevski/743084/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin317.fits ra=237.697 dec=5.4725 rad=12.0 tmin=321494401.0 tmax=321753601.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.99
user 3.73
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/743084/ft1_filtered_4FGL_J1550.7+0528_daily_bin317.fits" evtable="EVENTS" scfile=/scratch/kocevski/743084/ft2_4FGL_J1550.7+0528_daily_bin317.fits sctable="SC_DATA" outfile=/scratch/kocevski/743084/ltcube_321494401_321753601_4FGL_J1550.7+0528_daily_bin317.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/743084/ft2_4FGL_J1550.7+0528_daily_bin317.fits
.....................!
real 14.38
user 13.96
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/743084/ft1_filtered_4FGL_J1550.7+0528_daily_bin317.fits evtable="EVENTS" scfile=/scratch/kocevski/743084/ft2_4FGL_J1550.7+0528_daily_bin317.fits sctable="SC_DATA" expcube=/scratch/kocevski/743084/ltcube_321494401_321753601_4FGL_J1550.7+0528_daily_bin317.fits outfile=/scratch/kocevski/743084/expmap_321494401_321753601_4FGL_J1550.7+0528_daily_bin317.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/743084/ltcube_321494401_321753601_4FGL_J1550.7+0528_daily_bin317.fits
.....................!
real 191.89
user 186.50
sys 4.67

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/743084/ft1_filtered_4FGL_J1550.7+0528_daily_bin317.fits scfile=/scratch/kocevski/743084/ft2_4FGL_J1550.7+0528_daily_bin317.fits outfile=/scratch/kocevski/743084/cmap_321494401_321753601_4FGL_J1550.7+0528_daily_bin317.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.56
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/743084/ft1_filtered_4FGL_J1550.7+0528_daily_bin317.fits scfile=/scratch/kocevski/743084/ft2_4FGL_J1550.7+0528_daily_bin317.fits outfile=/scratch/kocevski/743084/cmap_HighResolution_321494401_321753601_4FGL_J1550.7+0528_daily_bin317.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.57
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/743084/ft1_filtered_4FGL_J1550.7+0528_daily_bin317.fits evtable="EVENTS" scfile=/scratch/kocevski/743084/ft2_4FGL_J1550.7+0528_daily_bin317.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/743084/Model_4FGL_J1550.7+0528_daily_bin317.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/743084/ft1_filtered_4FGL_J1550.7+0528_daily_bin317.fits.....................!
real 69.02
user 67.61
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.7481       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    75.489       1.0000         .10000E-03   10000.    
     5 'Prefactor '    26.740       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.530       1.0000         .10000E-03   10000.    
     8 'norm      '    2.8429       1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.731       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10247E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    5.2234       1.0000         .10000E-03   10000.    
    12 'Prefactor '    92.164       1.0000         .10000E-03   10000.    
    13 'norm      '    13.936       1.0000         .10000E-03   10000.    
    14 'norm      '    3.3082       1.0000         .10000E-03   10000.    
    15 'norm      '    .28956       1.0000         .10000E-03   10000.    
    16 'norm      '    .10291E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .92439E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    32.525       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.8609       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .39688       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2594       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=   8632.195     FROM MIGRAD    STATUS=CONVERGED    515 CALLS     2422 TOTAL
                     EDM=   .84E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.7465        2.3365        .31313E-07   -.14564E-03
   2  norm          .10000E-03    2.3937       -.87200E-08** at limit **
   3  norm          .10000E-03    2.6663        .26982E-08** at limit **
   4  Prefactor     75.445        48.410        .30964E-05   -.12304E-04
   5  Prefactor     26.723        37.752        .13243E-04   -.11190E-03
   6  Prefactor     .10000E-03    2.3366        .33316E-07** at limit **
   7  Prefactor     12.516        29.188        .11398E-04   -.75809E-04
   8  norm          2.8414        2.4693       -.19060E-08   -.98068E-04
   9  Prefactor     11.724        6.1877       -.52511E-07    .43547E-04
  10  Prefactor     .10000E-03    21.268        .47233E-07** at limit **
  11  norm          5.2231        4.0588       -.24277E-06   -.92235E-04
  12  Prefactor     92.157        75.087       -.31553E-05    .56815E-04
  13  norm          13.927        11.685        .42977E-06    .20952E-04
  14  norm          3.3086        1.8115        .63604E-07    .12487E-03
  15  norm          .19260        9.5883        .57359E-06   -.44492E-04
  16  norm          .10000E-03    44.275        .15973E-06** at limit **
  17  Prefactor     .10002E-03    539.84       -.27337E-04** at limit **
  18  Prefactor     32.512        33.489        .15510E-05    .10019E-04
  19  Prefactor     5.8607        9.3039       -.38464E-06   -.47930E-04
  20  Prefactor     .10000E-03    4.6565        .49581E-07** at limit **
  21  Normalizat    .39811        .31777       -.10507E-04   -.17938E-03
  22  Prefactor     1.2591        .12171        .14152E-05    .28524E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.74654
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 75.4447
  Prefactor  = 26.7228
  Prefactor  = 0.0001
  Prefactor  = 12.5161
  norm       = 2.8414
  Prefactor  = 11.7236
  Prefactor  = 0.0001
  norm       = 5.2231
  Prefactor  = 92.1569
  norm       = 13.9274
  norm       = 3.30855
  norm       = 0.192598
  norm       = 0.0001
  Prefactor  = 0.000100022
  Prefactor  = 32.5117
  Prefactor  = 5.8607
  Prefactor  = 0.0001
  Normalizat = 0.398108
  Prefactor  = 1.2591
 **********
 **   18 **HESSE 
 **********

 FCN=   8632.195     FROM HESSE     STATUS=OK           350 CALLS     2772 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7465        2.3227        .12625E-03   -1.5377    
   2  norm          .10000E-03    2.3950        .14039E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.7709        .29615E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     75.445        48.365        .46214E-04   -1.3969    
   5  Prefactor     26.723        37.796        .77470E-04   -1.4674    
   6  Prefactor     .10000E-03    2.3561        .13859E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     12.516        29.017        .11316E-03   -1.5000    
   8  norm          2.8414        2.4591        .13017E-03   -1.5371    
   9  Prefactor     11.724        6.1146        .11696E-03   -1.5023    
  10  Prefactor     .10000E-03    21.306        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.2231        4.0459        .15620E-03   -1.5251    
  12  Prefactor     92.157        74.207        .41860E-04   -1.3785    
  13  norm          13.927        11.510        .10729E-03   -1.4961    
  14  norm          3.3086        1.8107        .88306E-04   -1.5344    
  15  norm          .19260        13.115        .82507E-01   -1.5620    
  16  norm          .10000E-03    44.282        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10002E-03    546.82        .18220E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     32.512        33.450        .70261E-04   -1.4567    
  19  Prefactor     5.8607        9.2866        .16588E-03   -1.5224    
  20  Prefactor     .10000E-03    4.6897        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .39811        .28656        .64712E-03   -1.1740    
  22  Prefactor     1.2591        .11281        .15911E-03   -.84531    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.73274e-09
Minuit parameter uncertainties:
  1  2.32278
  2  1.1077e-06
  3  1.60337e-06
  4  48.3906
  5  37.83
  6  4.83613e-06
  7  29.0499
  8  2.45919
  9  6.11491
  10  1.25892e-05
  11  4.04614
  12  74.2815
  13  11.5115
  14  1.81076
  15  3.17848
  16  2.81074e-06
  17  0.00700221
  18  33.4691
  19  9.28889
  20  8.16302e-06
  21  0.287622
  22  0.112835
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  5.223e+00  4.046e+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:  1.259e+00  1.128e-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:  3.981e-01  2.876e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.52
Ra Dec: 237.697 5.473
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 4.59e-08 +/- 3.56e-08
Energy Flux (Fixed Index): 1.93e-05 +/- 1.49e-05

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

Saving results to:
/scratch/kocevski/743084/likelihoodResults_321494401_321753601_4FGL_J1550.7+0528_daily_bin317.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) = 8632.07872037
delta logL = 0.116638189314

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8632.07691376
delta logL = 0.118444802863

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.5815       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9105       1.0000          .0000       5.0000    
     3 'Normalizat'    .41107       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2570       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=   8632.077     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      258 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.5817        4.3738        .16691E-03   -.11597E-02
   2  alpha         1.9105        .73514        .22679E-01   -.76137E-04
   3  Normalizat    .41108        .26336        .63741E-03    .64672E-04
   4  Prefactor     1.2570        .11145        .15924E-03    .17577E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.58167
  alpha      = 1.91051
  Normalizat = 0.411076
  Prefactor  = 1.25703
 **********
 **   18 **HESSE 
 **********

 FCN=   8632.077     FROM HESSE     STATUS=OK            23 CALLS      281 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.5817        4.3887        .66763E-05   -1.5235    
   2  alpha         1.9105        .73749        .90716E-03   -.23804    
   3  Normalizat    .41108        .26320        .25497E-04   -1.1673    
   4  Prefactor     1.2570        .11141        .63695E-05   -.84594    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.20387e-09
Minuit parameter uncertainties:
  1  4.38891
  2  0.749315
  3  0.263993
  4  0.111428
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/743084': 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) = 8632.07691366
delta logL = 0.118444906961

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  5.582e+00  4.389e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  1.911e+00  7.493e-01  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.257e+00  1.114e-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:  4.111e-01  2.640e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.76
Ra Dec: 237.697 5.473
Photon Index (Free Index): 1.91 +/- 0.75
Photon Flux (Free Index): 3.19e-08 +/- 3.71e-08
Energy Flux (Free Index): 2.12e-05 +/- 1.74e-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/743084/cmap_HighResolution_321494401_321753601_4FGL_J1550.7+0528_daily_bin317.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.38e-05', comment='SUCCESS', photon_flux='4.59e-08', energy_flux2='2.12e-05', photon_flux_error='3.56e-08', dlogl='1.18e-01', energy_flux='1.93e-05', photon_flux2='3.19e-08', job_status='DONE', time_completed='2021-09-12 15:27:53.227248', photon_index_error2='0.75', photon_index2='1.91', ts='3.52', fit_tolerance='1e-08', GAL='1.26', photon_index_error='0.00', photon_flux_upper_limit='1.28e-07', energy_flux_error2='1.74e-05', EG='0.40', time_epoch_completed='1631485673.23', return_code='0', job_id='743084', GAL2='1.26', EG2='0.41', return_code2='0', energy_flux_error='1.49e-05', photon_flux_error2='3.71e-08', ts2='3.76', photon_index='2.27' WHERE bin_id='317' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:27:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0280>
Subject: Job 743084: <4FGL_J1550.7+0528_daily_bin317> in cluster <slac> Done

Job <4FGL_J1550.7+0528_daily_bin317> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 15:15:21 2021
Job was executed on host(s) <bullet0280>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 15:15:37 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:15:37 2021
Terminated at Sun Sep 12 15:27:53 2021
Results reported at Sun Sep 12 15:27:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin317 237.697 5.4725 321494401 321753601 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 :                                   714.25 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             293.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   736 sec.
    Turnaround time :                            752 sec.

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

