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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin853
RA = 237.697, Dec = 5.4725
tmin = 460425601, tmax = 460684801
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='744927', job_status='RUN', time_executed='2021-09-12 15:25:50.052032', time_epoch_executed='1631485550.05' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='853'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/744927

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/744927/ft1_4FGL_J1550.7+0528_daily_bin853.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/744927/ft2_4FGL_J1550.7+0528_daily_bin853.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/744927/ft1_4FGL_J1550.7+0528_daily_bin853.fits outfile=/scratch/kocevski/744927/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin853.fits ra=237.697 dec=5.4725 rad=12.0 tmin=460425601.0 tmax=460684801.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.34
user 3.12
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/744927/ft1_filtered_4FGL_J1550.7+0528_daily_bin853.fits" evtable="EVENTS" scfile=/scratch/kocevski/744927/ft2_4FGL_J1550.7+0528_daily_bin853.fits sctable="SC_DATA" outfile=/scratch/kocevski/744927/ltcube_460425601_460684801_4FGL_J1550.7+0528_daily_bin853.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/744927/ft2_4FGL_J1550.7+0528_daily_bin853.fits
.....................!
real 18.31
user 17.89
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/744927/ft1_filtered_4FGL_J1550.7+0528_daily_bin853.fits evtable="EVENTS" scfile=/scratch/kocevski/744927/ft2_4FGL_J1550.7+0528_daily_bin853.fits sctable="SC_DATA" expcube=/scratch/kocevski/744927/ltcube_460425601_460684801_4FGL_J1550.7+0528_daily_bin853.fits outfile=/scratch/kocevski/744927/expmap_460425601_460684801_4FGL_J1550.7+0528_daily_bin853.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/744927/ltcube_460425601_460684801_4FGL_J1550.7+0528_daily_bin853.fits
.....................!
real 191.41
user 185.81
sys 4.90

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/744927/ft1_filtered_4FGL_J1550.7+0528_daily_bin853.fits scfile=/scratch/kocevski/744927/ft2_4FGL_J1550.7+0528_daily_bin853.fits outfile=/scratch/kocevski/744927/cmap_460425601_460684801_4FGL_J1550.7+0528_daily_bin853.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/744927/ft1_filtered_4FGL_J1550.7+0528_daily_bin853.fits scfile=/scratch/kocevski/744927/ft2_4FGL_J1550.7+0528_daily_bin853.fits outfile=/scratch/kocevski/744927/cmap_HighResolution_460425601_460684801_4FGL_J1550.7+0528_daily_bin853.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.58
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/744927/ft1_filtered_4FGL_J1550.7+0528_daily_bin853.fits evtable="EVENTS" scfile=/scratch/kocevski/744927/ft2_4FGL_J1550.7+0528_daily_bin853.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/744927/Model_4FGL_J1550.7+0528_daily_bin853.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/744927/ft1_filtered_4FGL_J1550.7+0528_daily_bin853.fits.....................!
real 62.74
user 61.33
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .68113       1.0000         .10000E-03   10000.    
     2 'norm      '    .48562       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .45610E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.5858       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.3687       1.0000         .10000E-03   10000.    
     8 'norm      '    1.5394       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.0766       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.0990       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12145E-02   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    4.8282       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    19.160       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .22560E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .99618       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .99180       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=   7741.108     FROM MIGRAD    STATUS=CONVERGED    498 CALLS     2132 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .68161        2.3344        .17359E-05    .17452E-03
   2  norm          .49282        5.2878        .26420E-06   -.98862E-04
   3  norm          .10000E-03    1.8841       -.86631E-07** at limit **
   4  Prefactor     .10000E-03    27.481        .22040E-06** at limit **
   5  Prefactor     .10126E-03    25.090        .44346E-05** at limit **
   6  Prefactor     4.5868        4.4489        .18138E-06   -.59943E-04
   7  Prefactor     8.3676        18.177       -.53748E-07   -.84749E-05
   8  norm          1.5396        1.8785        .17216E-06    .69236E-05
   9  Prefactor     1.0765        3.2083        .15725E-05    .16028E-03
  10  Prefactor     .10000E-03    11.958        .32042E-08** at limit **
  11  norm          3.0980        3.6979        .12876E-06   -.38389E-04
  12  Prefactor     .10008E-03    256.45       -.93951E-05** at limit **
  13  norm          .10000E-03    1.6330        .77085E-08** at limit **
  14  norm          4.8277        1.7977       -.29881E-07   -.82745E-04
  15  norm          .10000E-03    7.5876        .50160E-07** at limit **
  16  norm          .10000E-03    135.36        .65381E-06** at limit **
  17  Prefactor     .10000E-03    35.194        .31233E-06** at limit **
  18  Prefactor     .10000E-03    31.698       -.47532E-06** at limit **
  19  Prefactor     19.149        12.885        .13186E-06   -.28172E-04
  20  Prefactor     .10000E-03    10.451        .89119E-07** at limit **
  21  Normalizat    .99603        .22637       -.18717E-05   -.28777E-03
  22  Prefactor     .99179        .93035E-01   -.85095E-07   -.52706E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.68161
  norm       = 0.492815
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000101259
  Prefactor  = 4.58679
  Prefactor  = 8.3676
  norm       = 1.53956
  Prefactor  = 1.07653
  Prefactor  = 0.0001
  norm       = 3.09804
  Prefactor  = 0.000100082
  norm       = 0.0001
  norm       = 4.82775
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 19.1491
  Prefactor  = 0.0001
  Normalizat = 0.996029
  Prefactor  = 0.991787
 **********
 **   18 **HESSE 
 **********

 FCN=   7741.108     FROM HESSE     STATUS=OK           346 CALLS     2478 TOTAL
                     EDM=   .59E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .68161        2.3576        .24070E-03   -1.5543    
   2  norm          .49282        18.715        .39344E-02   -1.5568    
   3  norm          .10000E-03    1.9051        .11794E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    27.603        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10126E-03    147.73        .74329E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.5868        4.4344        .17428E-03   -1.5280    
   7  Prefactor     8.3676        18.160        .13858E-03   -1.5129    
   8  norm          1.5396        1.8625        .12948E-03   -1.5460    
   9  Prefactor     1.0765        3.2156        .26240E-03   -1.5500    
  10  Prefactor     .10000E-03    11.963        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.0980        3.6810        .17728E-03   -1.5356    
  12  Prefactor     .10008E-03    272.58        .41258E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.6359        .10980E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.8277        1.7979        .70097E-04   -1.5268    
  15  norm          .10000E-03    7.6354        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    135.69        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    35.260        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    31.862        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     19.149        12.861        .91502E-04   -1.4832    
  20  Prefactor     .10000E-03    10.853        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .99603        .25732        .38554E-03   -.93164    
  22  Prefactor     .99179        .10747        .16259E-03   -.93004    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.85733e-08
Minuit parameter uncertainties:
  1  2.35793
  2  6.07533
  3  6.35299e-06
  4  0.000112186
  5  0.0273477
  6  4.43467
  7  18.1717
  8  1.86261
  9  3.21613
  10  1.63628e-06
  11  3.68128
  12  0.00947106
  13  8.09336e-07
  14  1.79788
  15  1.17108e-05
  16  0.000728136
  17  0.000174012
  18  0.000255384
  19  12.8628
  20  2.23088e-05
  21  0.257642
  22  0.107494
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  3.098e+00  3.681e+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.918e-01  1.075e-01  0.000e+00  1.000e+01 ( 1.000e+00)
502        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
503        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
500   Normalization:  9.960e-01  2.576e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.01
Ra Dec: 237.697 5.473
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 2.72e-08 +/- 3.24e-08
Energy Flux (Fixed Index): 1.14e-05 +/- 1.36e-05

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

Saving results to:
/scratch/kocevski/744927/likelihoodResults_460425601_460684801_4FGL_J1550.7+0528_daily_bin853.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) = 7740.90495795
delta logL = 0.203456628858

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7740.9049426
delta logL = 0.203471983429

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.9319       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7364       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0070       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98901       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=   7740.905     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      240 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9305        239.63        .50861E-02    .32028E-03
   2  alpha         1.7365        4.1186        .43888       -.26758E-06
   3  Normalizat    1.0071        .25494        .86640E-01    .30656E-04
   4  Prefactor     .98896        .85334E-01    .46130E-01    .14444E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.93052
  alpha      = 1.73653
  Normalizat = 1.00711
  Prefactor  = 0.988955
 **********
 **   18 **HESSE 
 **********

 FCN=   7740.905     FROM HESSE     STATUS=OK            33 CALLS      273 TOTAL
                     EDM=   .17E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9305        4.2062        .18145E-03   -1.5311    
   2  alpha         1.7365        .78484        .24711E-01   -.31034    
   3  Normalizat    1.0071        .25241        .38361E-03   -.92793    
   4  Prefactor     .98896        .10712        .16277E-03   -.93099    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65618e-13
Minuit parameter uncertainties:
  1  4.20654
  2  0.799797
  3  0.252707
  4  0.107146
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/744927': 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) = 7740.90494236
delta logL = 0.203472217201

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  3.931e+00  4.207e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  1.737e+00  7.998e-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:  9.890e-01  1.071e-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.007e+00  2.527e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.41
Ra Dec: 237.697 5.473
Photon Index (Free Index): 1.74 +/- 0.80
Photon Flux (Free Index): 1.91e-08 +/- 2.48e-08
Energy Flux (Free Index): 1.66e-05 +/- 2.02e-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/744927/cmap_HighResolution_460425601_460684801_4FGL_J1550.7+0528_daily_bin853.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.38e-05', comment='SUCCESS', photon_flux='2.72e-08', energy_flux2='1.66e-05', photon_flux_error='3.24e-08', dlogl='2.03e-01', energy_flux='1.14e-05', photon_flux2='1.91e-08', job_status='DONE', time_completed='2021-09-12 15:36:50.142884', photon_index_error2='0.80', photon_index2='1.74', ts='1.01', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='1.04e-07', energy_flux_error2='2.02e-05', EG='1.00', time_epoch_completed='1631486210.14', return_code='0', job_id='744927', GAL2='0.99', EG2='1.01', return_code2='0', energy_flux_error='1.36e-05', photon_flux_error2='2.48e-08', ts2='1.41', photon_index='2.27' WHERE bin_id='853' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:36:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0222>
Subject: Job 744927: <4FGL_J1550.7+0528_daily_bin853> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin853 237.697 5.4725 460425601 460684801 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 :                                   658.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             276.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   898 sec.
    Turnaround time :                            960 sec.

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

