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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin927
RA = 237.697, Dec = 5.4725
tmin = 479606401, tmax = 479865601
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='746030', job_status='RUN', time_executed='2021-09-12 15:28:07.742253', time_epoch_executed='1631485687.74' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='927'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/746030

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/746030/ft1_4FGL_J1550.7+0528_daily_bin927.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/746030/ft2_4FGL_J1550.7+0528_daily_bin927.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/746030/ft1_4FGL_J1550.7+0528_daily_bin927.fits outfile=/scratch/kocevski/746030/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin927.fits ra=237.697 dec=5.4725 rad=12.0 tmin=479606401.0 tmax=479865601.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.48
user 3.24
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/746030/ft2_4FGL_J1550.7+0528_daily_bin927.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/746030/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin927.fits evtable="EVENTS" outfile="/scratch/kocevski/746030/ft1_filtered_4FGL_J1550.7+0528_daily_bin927.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/746030/ft1_filtered_4FGL_J1550.7+0528_daily_bin927.fits" evtable="EVENTS" scfile=/scratch/kocevski/746030/ft2_4FGL_J1550.7+0528_daily_bin927.fits sctable="SC_DATA" outfile=/scratch/kocevski/746030/ltcube_479606401_479865601_4FGL_J1550.7+0528_daily_bin927.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/746030/ft2_4FGL_J1550.7+0528_daily_bin927.fits
.....................!
real 14.20
user 13.72
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/746030/ft1_filtered_4FGL_J1550.7+0528_daily_bin927.fits evtable="EVENTS" scfile=/scratch/kocevski/746030/ft2_4FGL_J1550.7+0528_daily_bin927.fits sctable="SC_DATA" expcube=/scratch/kocevski/746030/ltcube_479606401_479865601_4FGL_J1550.7+0528_daily_bin927.fits outfile=/scratch/kocevski/746030/expmap_479606401_479865601_4FGL_J1550.7+0528_daily_bin927.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/746030/ltcube_479606401_479865601_4FGL_J1550.7+0528_daily_bin927.fits
.....................!
real 193.44
user 186.82
sys 5.79

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/746030/ft1_filtered_4FGL_J1550.7+0528_daily_bin927.fits scfile=/scratch/kocevski/746030/ft2_4FGL_J1550.7+0528_daily_bin927.fits outfile=/scratch/kocevski/746030/cmap_479606401_479865601_4FGL_J1550.7+0528_daily_bin927.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/746030/ft1_filtered_4FGL_J1550.7+0528_daily_bin927.fits scfile=/scratch/kocevski/746030/ft2_4FGL_J1550.7+0528_daily_bin927.fits outfile=/scratch/kocevski/746030/cmap_HighResolution_479606401_479865601_4FGL_J1550.7+0528_daily_bin927.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.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/746030/ft1_filtered_4FGL_J1550.7+0528_daily_bin927.fits evtable="EVENTS" scfile=/scratch/kocevski/746030/ft2_4FGL_J1550.7+0528_daily_bin927.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/746030/Model_4FGL_J1550.7+0528_daily_bin927.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/746030/ft1_filtered_4FGL_J1550.7+0528_daily_bin927.fits.....................!
real 81.02
user 79.62
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6488       1.0000         .10000E-03   10000.    
     2 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    7.0878       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .13523E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.6007       1.0000         .10000E-03   10000.    
     7 'Prefactor '    17.044       1.0000         .10000E-03   10000.    
     8 'norm      '    .10205E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.1734       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    20.289       1.0000         .10000E-03   10000.    
    13 'norm      '    9.6234       1.0000         .10000E-03   10000.    
    14 'norm      '    3.0848       1.0000         .10000E-03   10000.    
    15 'norm      '    .15294E-02   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    19.381       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    13.907       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2316       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .97277       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=   10432.02     FROM MIGRAD    STATUS=CONVERGED    514 CALLS     2473 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 15.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6494        3.2886       -.11656E-05   -.11386E-03
   2  norm          .10000E-03    4.9856        .15054E-06** at limit **
   3  norm          7.0874        4.6141        .74096E-07   -.17906E-04
   4  Prefactor     .10003E-03    405.84        .63344E-04** at limit **
   5  Prefactor     .10000E-03    25.068        .38543E-06** at limit **
   6  Prefactor     5.6008        4.5657       -.45478E-06   -.45965E-04
   7  Prefactor     17.044        15.446        .24989E-07   -.42665E-04
   8  norm          .10000E-03    1.2044       -.45413E-06** at limit **
   9  Prefactor     4.1733        3.1693       -.66233E-07   -.20504E-04
  10  Prefactor     .10000E-03    8.2369        .34979E-07** at limit **
  11  norm          .10000E-03    1.2251        .43315E-06** at limit **
  12  Prefactor     20.143        51.058        .22071E-05    .49059E-04
  13  norm          9.6245        7.1577       -.21100E-06   -.98946E-04
  14  norm          3.0851        1.5383        .28440E-07   -.19588E-03
  15  norm          .10002E-03    8.3482       -.42850E-05** at limit **
  16  norm          .10000E-03    35.909        .24129E-06** at limit **
  17  Prefactor     .10000E-03    29.608       -.22174E-06** at limit **
  18  Prefactor     19.348        29.738       -.11470E-05   -.75073E-04
  19  Prefactor     .10000E-03    4.7388       -.12831E-05** at limit **
  20  Prefactor     13.907        8.2399        .75236E-07    .16503E-03
  21  Normalizat    1.2316        .22508       -.18436E-06   -.27566E-03
  22  Prefactor     .97278        .85777E-01   -.10015E-06   -.65847E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.64937
  norm       = 0.0001
  norm       = 7.08744
  Prefactor  = 0.000100026
  Prefactor  = 0.0001
  Prefactor  = 5.60078
  Prefactor  = 17.0443
  norm       = 0.000100001
  Prefactor  = 4.17333
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 20.1435
  norm       = 9.62451
  norm       = 3.0851
  norm       = 0.000100022
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.3481
  Prefactor  = 0.0001
  Prefactor  = 13.9068
  Normalizat = 1.23162
  Prefactor  = 0.972782
 **********
 **   18 **HESSE 
 **********

 FCN=   10432.02     FROM HESSE     STATUS=OK           352 CALLS     2825 TOTAL
                     EDM=   .92E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6494        3.2997        .19119E-03   -1.5382    
   2  norm          .10000E-03    5.0788        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          7.0874        4.5964        .15068E-03   -1.5175    
   4  Prefactor     .10003E-03    30.019        .16327       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    25.158        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.6008        4.5567        .16975E-03   -1.5235    
   7  Prefactor     17.044        15.445        .97014E-04   -1.4882    
   8  norm          .10000E-03    3.7630        .21557E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.1733        3.1663        .15193E-03   -1.5299    
  10  Prefactor     .10000E-03    8.2381        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.2356        .11030E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     20.143        51.286        .88921E-04   -1.4810    
  13  norm          9.6245        7.1350        .12918E-03   -1.5087    
  14  norm          3.0851        1.5362        .86083E-04   -1.5357    
  15  norm          .10002E-03    43.319        .50125E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    35.913        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    29.619        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     19.348        29.746        .90978E-04   -1.4828    
  19  Prefactor     .10000E-03    4.7220        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     13.907        8.2399        .10741E-03   -1.4962    
  21  Normalizat    1.2316        .26223        .38933E-03   -.85631    
  22  Prefactor     .97278        .10109        .17213E-03   -.93642    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.17625e-10
Minuit parameter uncertainties:
  1  3.29996
  2  6.6501e-06
  3  4.59667
  4  0.00175589
  5  2.509e-05
  6  4.55702
  7  15.4485
  8  0.000103673
  9  3.16641
  10  1.18576e-06
  11  4.59878e-06
  12  51.3989
  13  7.1356
  14  1.53624
  15  0.0019507
  16  4.54636e-05
  17  3.78689e-05
  18  29.7685
  19  4.58216e-05
  20  8.24053
  21  0.262509
  22  0.10111
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.000e-04  4.599e-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.728e-01  1.011e-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.232e+00  2.625e-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: 4.86e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.04e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/746030/likelihoodResults_479606401_479865601_4FGL_J1550.7+0528_daily_bin927.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) = 10432.0242587
delta logL = -0.003848888231

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10432.0204097
delta logL = 1.39458279591e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2626       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2316       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97278       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=   10432.02     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      239 TOTAL
                     EDM=   .68E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    60.891        .11070E-01** at limit **
   2  alpha         1.9410        3.7227        .16555        .33099E-07
   3  Normalizat    1.2316        .41100E-01    .38933E-03    .25112E-05
   4  Prefactor     .97278        .16485E-01    .17213E-03    .20184E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.94099
  Normalizat = 1.23162
  Prefactor  = 0.972783
 **********
 **   18 **HESSE 
 **********

 FCN=   10432.02     FROM HESSE     STATUS=OK            23 CALLS      262 TOTAL
                     EDM=   .47E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.3186        .11389E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9410        3.9348        .66222E-02   -.22551    
   3  Normalizat    1.2316        .24982        .15573E-04   -.85631    
   4  Prefactor     .97278        .10027        .34427E-04   -.93642    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.71209e-12
Minuit parameter uncertainties:
  1  2.08515e-06
  2  149.68
  3  0.250059
  4  0.100291
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/746030': 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) = 10432.0204074
delta logL = 2.49199547397e-06

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.000e-04  2.085e-06  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  1.941e+00  1.497e+02  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.728e-01  1.003e-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.232e+00  2.501e-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/746030/cmap_HighResolution_479606401_479865601_4FGL_J1550.7+0528_daily_bin927.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.04e-05', job_status='DONE', photon_flux_upper_limit='4.86e-08', time_completed='2021-09-12 15:41:40.030794', job_id='746030', GAL2='0.97', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1631486500.03', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='2.49e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='927' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:41:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0159>
Subject: Job 746030: <4FGL_J1550.7+0528_daily_bin927> in cluster <slac> Done

Job <4FGL_J1550.7+0528_daily_bin927> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 12 15:25:17 2021
Job was executed on host(s) <bullet0159>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 15:25:31 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:25:31 2021
Terminated at Sun Sep 12 15:41:40 2021
Results reported at Sun Sep 12 15:41:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin927 237.697 5.4725 479606401 479865601 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 :                                   810.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             321.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   969 sec.
    Turnaround time :                            983 sec.

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

