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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin894
RA = 237.697, Dec = 5.4725
tmin = 471052801, tmax = 471312001
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='745980', job_status='RUN', time_executed='2021-09-12 15:28:13.323674', time_epoch_executed='1631485693.32' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='894'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/745980

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/745980/ft1_4FGL_J1550.7+0528_daily_bin894.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/745980/ft2_4FGL_J1550.7+0528_daily_bin894.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/745980/ft1_4FGL_J1550.7+0528_daily_bin894.fits outfile=/scratch/kocevski/745980/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin894.fits ra=237.697 dec=5.4725 rad=12.0 tmin=471052801.0 tmax=471312001.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 4.06
user 3.78
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/745980/ft1_filtered_4FGL_J1550.7+0528_daily_bin894.fits" evtable="EVENTS" scfile=/scratch/kocevski/745980/ft2_4FGL_J1550.7+0528_daily_bin894.fits sctable="SC_DATA" outfile=/scratch/kocevski/745980/ltcube_471052801_471312001_4FGL_J1550.7+0528_daily_bin894.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/745980/ft2_4FGL_J1550.7+0528_daily_bin894.fits
.....................!
real 13.73
user 13.24
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/745980/ft1_filtered_4FGL_J1550.7+0528_daily_bin894.fits evtable="EVENTS" scfile=/scratch/kocevski/745980/ft2_4FGL_J1550.7+0528_daily_bin894.fits sctable="SC_DATA" expcube=/scratch/kocevski/745980/ltcube_471052801_471312001_4FGL_J1550.7+0528_daily_bin894.fits outfile=/scratch/kocevski/745980/expmap_471052801_471312001_4FGL_J1550.7+0528_daily_bin894.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/745980/ltcube_471052801_471312001_4FGL_J1550.7+0528_daily_bin894.fits
.....................!
real 193.07
user 186.88
sys 5.78

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/745980/ft1_filtered_4FGL_J1550.7+0528_daily_bin894.fits scfile=/scratch/kocevski/745980/ft2_4FGL_J1550.7+0528_daily_bin894.fits outfile=/scratch/kocevski/745980/cmap_471052801_471312001_4FGL_J1550.7+0528_daily_bin894.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/745980/ft1_filtered_4FGL_J1550.7+0528_daily_bin894.fits scfile=/scratch/kocevski/745980/ft2_4FGL_J1550.7+0528_daily_bin894.fits outfile=/scratch/kocevski/745980/cmap_HighResolution_471052801_471312001_4FGL_J1550.7+0528_daily_bin894.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/745980/ft1_filtered_4FGL_J1550.7+0528_daily_bin894.fits evtable="EVENTS" scfile=/scratch/kocevski/745980/ft2_4FGL_J1550.7+0528_daily_bin894.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/745980/Model_4FGL_J1550.7+0528_daily_bin894.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/745980/ft1_filtered_4FGL_J1550.7+0528_daily_bin894.fits.....................!
real 82.05
user 80.63
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    4.7768       1.0000         .10000E-03   10000.    
     3 'norm      '    .10476E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10261E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10738E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.720       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10512E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .12826E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.5732       1.0000         .10000E-03   10000.    
    11 'norm      '    2.4847       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11354E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    20.775       1.0000         .10000E-03   10000.    
    14 'norm      '    2.7568       1.0000         .10000E-03   10000.    
    15 'norm      '    10.522       1.0000         .10000E-03   10000.    
    16 'norm      '    .10846E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.7780       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.6896       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.9466       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.6659       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .90005       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=   10120.49     FROM MIGRAD    STATUS=CONVERGED    472 CALLS     2043 TOTAL
                     EDM=   .20E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.6994        .23229E-06** at limit **
   2  norm          4.7773        5.0789        .32852E-08   -.22045E-05
   3  norm          .10000E-03    1.7574        .31326E-06** at limit **
   4  Prefactor     .10000E-03    10.512        .85929E-07** at limit **
   5  Prefactor     .10000E-03    27.229        .33024E-06** at limit **
   6  Prefactor     13.721        5.6207        .10671E-06   -.40248E-04
   7  Prefactor     .10000E-03    8.3713        .74141E-07** at limit **
   8  norm          .10000E-03    1.7747        .12222E-06** at limit **
   9  Prefactor     .10000E-03    1.6683        .17577E-06** at limit **
  10  Prefactor     1.5667        234.08        .34175E-05   -.18956E-05
  11  norm          2.4842        2.5381        .12999E-06    .53732E-05
  12  Prefactor     .10000E-03    28.460        .23268E-06** at limit **
  13  norm          20.749        11.656        .38443E-07   -.61721E-04
  14  norm          2.7568        1.5225        .11386E-07   -.19389E-04
  15  norm          10.551        16.195        .23706E-06   -.53278E-05
  16  norm          .10000E-03    47.665       -.56449E-07** at limit **
  17  Prefactor     1.6853        949.89       -.24583E-04    .96497E-06
  18  Prefactor     .10000E-03    23.521        .47093E-07** at limit **
  19  Prefactor     4.6944        9.1852       -.10142E-06   -.70771E-05
  20  Prefactor     1.9459        5.2547        .81366E-06    .30298E-04
  21  Normalizat    1.6659        .23790       -.96290E-06   -.88266E-04
  22  Prefactor     .90008        .88747E-01   -.31157E-06   -.19056E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 4.77725
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.7211
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.56672
  norm       = 2.48421
  Prefactor  = 0.0001
  norm       = 20.7486
  norm       = 2.75678
  norm       = 10.5511
  norm       = 0.0001
  Prefactor  = 1.68533
  Prefactor  = 0.0001
  Prefactor  = 4.69442
  Prefactor  = 1.94593
  Normalizat = 1.66591
  Prefactor  = 0.90008
 **********
 **   18 **HESSE 
 **********

 FCN=   10120.49     FROM HESSE     STATUS=OK           350 CALLS     2393 TOTAL
                     EDM=   .73E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.7828        .25633E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.7773        5.0794        .18409E-03   -1.5271    
   3  norm          .10000E-03    4.3637        .25710E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    10.518        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    27.313        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.721        5.6278        .10813E-03   -1.4967    
   7  Prefactor     .10000E-03    8.3792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    3.6617        .25330E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.6982        .12703E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.5667        234.37        .33885E-03   -1.5458    
  11  norm          2.4842        2.5301        .15747E-03   -1.5393    
  12  Prefactor     .10000E-03    28.526        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          20.749        11.515        .87876E-04   -1.4797    
  14  norm          2.7568        1.5225        .89147E-04   -1.5376    
  15  norm          10.551        16.216        .12352E-03   -1.5058    
  16  norm          .10000E-03    47.694        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.6853        960.04        .31392E-02   -1.5448    
  18  Prefactor     .10000E-03    23.627        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.6944        9.1616        .18583E-03   -1.5275    
  20  Prefactor     1.9459        5.2545        .29749E-03   -1.5429    
  21  Normalizat    1.6659        .28002        .37045E-03   -.73217    
  22  Prefactor     .90008        .10475        .18479E-03   -.96138    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.33803e-11
Minuit parameter uncertainties:
  1  2.50978e-06
  2  5.07991
  3  6.21572e-05
  4  4.47956e-06
  5  4.22658e-05
  6  5.62801
  7  2.34064e-06
  8  3.93029e-06
  9  3.31699e-06
  10  38.4779
  11  2.53017
  12  4.95032e-05
  13  11.5163
  14  1.52254
  15  16.2232
  16  2.54686e-05
  17  81.7995
  18  1.88135e-05
  19  9.16433
  20  5.25572
  21  0.280288
  22  0.10477
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  2.484e+00  2.530e+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.001e-01  1.048e-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.666e+00  2.803e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.81
Ra Dec: 237.697 5.473
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 2.18e-08 +/- 2.22e-08
Energy Flux (Fixed Index): 9.16e-06 +/- 9.33e-06

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

Saving results to:
/scratch/kocevski/745980/likelihoodResults_471052801_471312001_4FGL_J1550.7+0528_daily_bin894.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) = 10120.4656531
delta logL = 0.0286219368427

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10120.4630199
delta logL = 0.0312551913503

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6602       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0001       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6720       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89886       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=   10120.46     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      191 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6602        2.8227        .62478E-02   -.17618E-02
   2  alpha         2.0001        1.0481        .42243E-01    .30291E-04
   3  Normalizat    1.6720        .23036        .83570E-01    .68086E-04
   4  Prefactor     .89885        .88351E-01    .44990E-01    .13729E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.66018
  alpha      = 2.00015
  Normalizat = 1.67202
  Prefactor  = 0.898846
 **********
 **   18 **HESSE 
 **********

 FCN=   10120.46     FROM HESSE     STATUS=OK            29 CALLS      220 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6602        2.7533        .16515E-03   -1.5382    
   2  alpha         2.0001        1.0285        .84485E-02   -.20130    
   3  Normalizat    1.6720        .27035        .36991E-03   -.73053    
   4  Prefactor     .89885        .10382        .18490E-03   -.96181    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12327e-09
Minuit parameter uncertainties:
  1  2.75348
  2  1.06138
  3  0.270591
  4  0.103838
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/745980': 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) = 10120.4630198
delta logL = 0.0312552136529

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  2.660e+00  2.753e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  2.000e+00  1.061e+00  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:  8.988e-01  1.038e-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.672e+00  2.706e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.88
Ra Dec: 237.697 5.473
Photon Index (Free Index): 2.00 +/- 1.06
Photon Flux (Free Index): 1.68e-08 +/- 2.52e-08
Energy Flux (Free Index): 9.81e-06 +/- 1.07e-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/745980/cmap_HighResolution_471052801_471312001_4FGL_J1550.7+0528_daily_bin894.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.46e-05', comment='SUCCESS', photon_flux='2.18e-08', energy_flux2='9.81e-06', photon_flux_error='2.22e-08', dlogl='3.13e-02', energy_flux='9.16e-06', photon_flux2='1.68e-08', job_status='DONE', time_completed='2021-09-12 15:40:39.890684', photon_index_error2='1.06', photon_index2='2.00', ts='1.81', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='8.26e-08', energy_flux_error2='1.07e-05', EG='1.67', time_epoch_completed='1631486439.89', return_code='0', job_id='745980', GAL2='0.90', EG2='1.67', return_code2='0', energy_flux_error='9.33e-06', photon_flux_error2='2.52e-08', ts2='1.88', photon_index='2.27' WHERE bin_id='894' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:40:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 745980: <4FGL_J1550.7+0528_daily_bin894> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin894 237.697 5.4725 471052801 471312001 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 :                                   745.01 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             302.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   923 sec.
    Turnaround time :                            926 sec.

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

