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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin604
RA = 237.697, Dec = 5.4725
tmin = 395884801, tmax = 396144001
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='744527', job_status='RUN', time_executed='2021-09-12 15:23:49.758490', time_epoch_executed='1631485429.76' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='604'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/744527

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/744527/ft1_4FGL_J1550.7+0528_daily_bin604.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/744527/ft2_4FGL_J1550.7+0528_daily_bin604.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/744527/ft1_4FGL_J1550.7+0528_daily_bin604.fits outfile=/scratch/kocevski/744527/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin604.fits ra=237.697 dec=5.4725 rad=12.0 tmin=395884801.0 tmax=396144001.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.35
user 3.09
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/744527/ft1_filtered_4FGL_J1550.7+0528_daily_bin604.fits" evtable="EVENTS" scfile=/scratch/kocevski/744527/ft2_4FGL_J1550.7+0528_daily_bin604.fits sctable="SC_DATA" outfile=/scratch/kocevski/744527/ltcube_395884801_396144001_4FGL_J1550.7+0528_daily_bin604.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/744527/ft2_4FGL_J1550.7+0528_daily_bin604.fits
.....................!
real 14.53
user 14.11
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/744527/ft1_filtered_4FGL_J1550.7+0528_daily_bin604.fits evtable="EVENTS" scfile=/scratch/kocevski/744527/ft2_4FGL_J1550.7+0528_daily_bin604.fits sctable="SC_DATA" expcube=/scratch/kocevski/744527/ltcube_395884801_396144001_4FGL_J1550.7+0528_daily_bin604.fits outfile=/scratch/kocevski/744527/expmap_395884801_396144001_4FGL_J1550.7+0528_daily_bin604.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/744527/ltcube_395884801_396144001_4FGL_J1550.7+0528_daily_bin604.fits
.....................!
real 192.51
user 185.90
sys 4.87

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/744527/ft1_filtered_4FGL_J1550.7+0528_daily_bin604.fits scfile=/scratch/kocevski/744527/ft2_4FGL_J1550.7+0528_daily_bin604.fits outfile=/scratch/kocevski/744527/cmap_395884801_396144001_4FGL_J1550.7+0528_daily_bin604.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/744527/ft1_filtered_4FGL_J1550.7+0528_daily_bin604.fits scfile=/scratch/kocevski/744527/ft2_4FGL_J1550.7+0528_daily_bin604.fits outfile=/scratch/kocevski/744527/cmap_HighResolution_395884801_396144001_4FGL_J1550.7+0528_daily_bin604.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/744527/ft1_filtered_4FGL_J1550.7+0528_daily_bin604.fits evtable="EVENTS" scfile=/scratch/kocevski/744527/ft2_4FGL_J1550.7+0528_daily_bin604.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/744527/Model_4FGL_J1550.7+0528_daily_bin604.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/744527/ft1_filtered_4FGL_J1550.7+0528_daily_bin604.fits.....................!
real 65.96
user 64.43
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10040E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    9.5477       1.0000         .10000E-03   10000.    
     3 'norm      '    .43383E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.180       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10169E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.1839       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.9063       1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.017       1.0000         .10000E-03   10000.    
    11 'norm      '    1.3855       1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.777       1.0000         .10000E-03   10000.    
    13 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    5.1883       1.0000         .10000E-03   10000.    
    15 'norm      '    8.9760       1.0000         .10000E-03   10000.    
    16 'norm      '    .10190E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.2579       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .43787E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.0662       1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.4582       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.5087       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .91273       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=   8129.546     FROM MIGRAD    STATUS=CONVERGED    487 CALLS     2783 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.2641        .95987E-07** at limit **
   2  norm          9.5473        6.7804        .20086E-07    .14160E-04
   3  norm          .10000E-03    2.9189        .17728E-06** at limit **
   4  Prefactor     11.213        20.385        .14766E-05    .18135E-03
   5  Prefactor     .10000E-03    20.357       -.91122E-07** at limit **
   6  Prefactor     .10000E-03    1.2385       -.18183E-07** at limit **
   7  Prefactor     .10000E-03    14.994        .11853E-07** at limit **
   8  norm          1.1831        2.1339        .39978E-06   -.10393E-03
   9  Prefactor     5.9070        4.1385        .16821E-05   -.78404E-03
  10  Prefactor     11.027        46.635        .23224E-05    .59047E-04
  11  norm          1.3856        1.5874       -.83846E-07   -.14038E-04
  12  Prefactor     11.771        29.859       -.77531E-06   -.62792E-04
  13  norm          .10000E-03    2.5467        .25903E-07** at limit **
  14  norm          5.1888        1.8859        .33185E-08   -.47170E-06
  15  norm          8.9672        13.844        .57976E-06    .80928E-04
  16  norm          .10000E-03    61.911        .10908E-05** at limit **
  17  Prefactor     7.2372        192.64       -.64519E-05   -.49577E-04
  18  Prefactor     .10002E-03    120.24       -.81847E-05** at limit **
  19  Prefactor     6.0521        6.5904       -.15345E-06    .32115E-04
  20  Prefactor     5.4538        7.3887        .17074E-06   -.99152E-05
  21  Normalizat    1.5085        .24235       -.14861E-05    .34040E-04
  22  Prefactor     .91272        .96119E-01    .63841E-07   -.71485E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 9.54725
  norm       = 0.0001
  Prefactor  = 11.2126
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.1831
  Prefactor  = 5.90695
  Prefactor  = 11.0267
  norm       = 1.38563
  Prefactor  = 11.7706
  norm       = 0.0001
  norm       = 5.18876
  norm       = 8.96721
  norm       = 0.000100001
  Prefactor  = 7.23717
  Prefactor  = 0.000100019
  Prefactor  = 6.05205
  Prefactor  = 5.45381
  Normalizat = 1.5085
  Prefactor  = 0.91272
 **********
 **   18 **HESSE 
 **********

 FCN=   8129.546     FROM HESSE     STATUS=OK           348 CALLS     3131 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.6370        .19631E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          9.5473        6.7808        .12969E-03   -1.5090    
   3  norm          .10000E-03    7.3656        .29784E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     11.213        20.619        .11982E-03   -1.5038    
   5  Prefactor     .10000E-03    20.411        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.2427        .97980E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    15.044        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.1831        2.0847        .16857E-03   -1.5490    
   9  Prefactor     5.9070        4.2209        .74926E-03   -1.5222    
  10  Prefactor     11.027        46.786        .12070E-03   -1.5044    
  11  norm          1.3856        1.5878        .11853E-03   -1.5473    
  12  Prefactor     11.771        29.952        .11673E-03   -1.5022    
  13  norm          .10000E-03    2.5566        .14049E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.1888        1.8863        .72638E-04   -1.5252    
  15  norm          8.9672        13.878        .13378E-03   -1.5109    
  16  norm          .10000E-03    62.078        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.2372        201.10        .14889E-03   -1.5170    
  18  Prefactor     .10002E-03    128.10        .42443E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.0521        6.5835        .16301E-03   -1.5216    
  20  Prefactor     5.4538        7.3796        .17199E-03   -1.5241    
  21  Normalizat    1.5085        .28220        .34936E-03   -.77540    
  22  Prefactor     .91272        .11298        .17806E-03   -.95698    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.04734e-10
Minuit parameter uncertainties:
  1  4.97593e-06
  2  6.78139
  3  3.01774e-05
  4  20.6322
  5  2.69897e-05
  6  1.49023e-06
  7  2.90065e-06
  8  2.08478
  9  4.22114
  10  45.4872
  11  1.58788
  12  29.9898
  13  2.61569e-07
  14  1.88633
  15  13.8826
  16  0.000442554
  17  76.5858
  18  0.00316708
  19  6.58426
  20  7.38087
  21  0.282495
  22  0.113011
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.386e+00  1.588e+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.127e-01  1.130e-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.509e+00  2.825e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.30
Ra Dec: 237.697 5.473
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 1.22e-08 +/- 1.40e-08
Energy Flux (Fixed Index): 5.11e-06 +/- 5.85e-06

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

Saving results to:
/scratch/kocevski/744527/likelihoodResults_395884801_396144001_4FGL_J1550.7+0528_daily_bin604.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) = 8127.28074837
delta logL = 2.26572901675

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8127.13179591
delta logL = 2.41468147832

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .59848       1.0000         .10000E-03   10000.    
     2 'alpha     '    .35712       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5157       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91154       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=   8127.132     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      220 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .59550        .73068        .11666E-01   -.24455E-02
   2  alpha         .35386        .68105        .50000        .61198E-04
   3  Normalizat    1.5161        .23223        .78751E-01    .62416E-04
   4  Prefactor     .91135        .95606E-01    .45152E-01    .44918E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.595499
  alpha      = 0.353861
  Normalizat = 1.51614
  Prefactor  = 0.911349
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .59550        1.0113        .62783E-03   -1.5554    
   2  alpha         .35386        .71247        .37124E-01   -1.0323    
   3  Normalizat    1.5161        .27247        .34854E-03   -.77326    
   4  Prefactor     .91135        .11232        .17813E-03   -.95746    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.631e-10
Minuit parameter uncertainties:
  1  1.01136
  2  0.755422
  3  0.272736
  4  0.112347
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/744527': 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) = 8127.13178501
delta logL = 2.41469237448

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  5.955e-01  1.011e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  3.539e-01  7.554e-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.113e-01  1.123e-01  0.000e+00  1.000e+01 ( 1.000e+00)
502        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
503        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
500   Normalization:  1.516e+00  2.727e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.12
Ra Dec: 237.697 5.473
Photon Index (Free Index): 0.35 +/- 0.76
Photon Flux (Free Index): 4.03e-09 +/- 4.11e-09
Energy Flux (Free Index): 4.93e-05 +/- 7.28e-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/744527/cmap_HighResolution_395884801_396144001_4FGL_J1550.7+0528_daily_bin604.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.60e-05', comment='SUCCESS', photon_flux='1.22e-08', energy_flux2='4.93e-05', photon_flux_error='1.40e-08', dlogl='2.41e+00', energy_flux='5.11e-06', photon_flux2='4.03e-09', job_status='DONE', time_completed='2021-09-12 15:36:03.207384', photon_index_error2='0.76', photon_index2='0.35', ts='2.30', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='6.19e-08', energy_flux_error2='7.28e-05', EG='1.51', time_epoch_completed='1631486163.21', return_code='0', job_id='744527', GAL2='0.91', EG2='1.52', return_code2='0', energy_flux_error='5.85e-06', photon_flux_error2='4.11e-09', ts2='7.12', photon_index='2.27' WHERE bin_id='604' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:36:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 744527: <4FGL_J1550.7+0528_daily_bin604> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin604 237.697 5.4725 395884801 396144001 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 :                                   731.19 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             277.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   940 sec.
    Turnaround time :                            947 sec.

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

