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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin534
RA = 237.697, Dec = 5.4725
tmin = 377740801, tmax = 378000001
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='743412', job_status='RUN', time_executed='2021-09-12 15:17:43.064933', time_epoch_executed='1631485063.06' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='534'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/743412

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/743412/ft1_4FGL_J1550.7+0528_daily_bin534.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/743412/ft2_4FGL_J1550.7+0528_daily_bin534.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/743412/ft1_4FGL_J1550.7+0528_daily_bin534.fits outfile=/scratch/kocevski/743412/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin534.fits ra=237.697 dec=5.4725 rad=12.0 tmin=377740801.0 tmax=378000001.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.54
user 4.28
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/743412/ft1_filtered_4FGL_J1550.7+0528_daily_bin534.fits" evtable="EVENTS" scfile=/scratch/kocevski/743412/ft2_4FGL_J1550.7+0528_daily_bin534.fits sctable="SC_DATA" outfile=/scratch/kocevski/743412/ltcube_377740801_378000001_4FGL_J1550.7+0528_daily_bin534.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/743412/ft2_4FGL_J1550.7+0528_daily_bin534.fits
.....................!
real 13.17
user 12.76
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/743412/ft1_filtered_4FGL_J1550.7+0528_daily_bin534.fits evtable="EVENTS" scfile=/scratch/kocevski/743412/ft2_4FGL_J1550.7+0528_daily_bin534.fits sctable="SC_DATA" expcube=/scratch/kocevski/743412/ltcube_377740801_378000001_4FGL_J1550.7+0528_daily_bin534.fits outfile=/scratch/kocevski/743412/expmap_377740801_378000001_4FGL_J1550.7+0528_daily_bin534.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/743412/ltcube_377740801_378000001_4FGL_J1550.7+0528_daily_bin534.fits
.....................!
real 193.52
user 188.41
sys 4.57

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/743412/ft1_filtered_4FGL_J1550.7+0528_daily_bin534.fits scfile=/scratch/kocevski/743412/ft2_4FGL_J1550.7+0528_daily_bin534.fits outfile=/scratch/kocevski/743412/cmap_377740801_378000001_4FGL_J1550.7+0528_daily_bin534.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/743412/ft1_filtered_4FGL_J1550.7+0528_daily_bin534.fits scfile=/scratch/kocevski/743412/ft2_4FGL_J1550.7+0528_daily_bin534.fits outfile=/scratch/kocevski/743412/cmap_HighResolution_377740801_378000001_4FGL_J1550.7+0528_daily_bin534.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.55
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5051       1.0000         .10000E-03   10000.    
     2 'norm      '    4.0569       1.0000         .10000E-03   10000.    
     3 'norm      '    7.1187       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    23.790       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .49326E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.4447       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.4635       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.6741       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.4075       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    7.7012       1.0000         .10000E-03   10000.    
    15 'norm      '    .10070E-03   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 '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2713       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0021       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=   8182.569     FROM MIGRAD    STATUS=CONVERGED    498 CALLS     2372 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5050        1.6291        .24311E-07    .44759E-04
   2  norm          4.0567        5.4558       -.11116E-07    .14540E-04
   3  norm          7.1189        4.4877        .16310E-07    .11678E-03
   4  Prefactor     .10000E-03    13.501       -.31207E-06** at limit **
   5  Prefactor     23.753        32.391        .17973E-05    .14225E-03
   6  Prefactor     .10000E-03    1.9775       -.27186E-06** at limit **
   7  Prefactor     .10000E-03    17.704       -.18263E-06** at limit **
   8  norm          3.4445        2.1325        .49879E-07    .12422E-03
   9  Prefactor     1.4666        4.9708        .33636E-05   -.99219E-05
  10  Prefactor     .10000E-03    10.998       -.51971E-07** at limit **
  11  norm          2.6735        3.6716        .21216E-06    .33384E-03
  12  Prefactor     4.3729        278.88        .84090E-05    .32335E-04
  13  norm          .10000E-03    3.3507        .14201E-06** at limit **
  14  norm          7.7011        2.3321        .11453E-06    .53682E-03
  15  norm          .10000E-03    37.591        .45824E-06** at limit **
  16  norm          .10000E-03    61.349       -.37581E-06** at limit **
  17  Prefactor     .10000E-03    44.846       -.10549E-05** at limit **
  18  Prefactor     .10000E-03    12.590       -.20636E-06** at limit **
  19  Prefactor     .10000E-03    6.0717       -.58133E-06** at limit **
  20  Prefactor     .10000E-03    4.5251       -.53866E-06** at limit **
  21  Normalizat    1.2719        .26834       -.38516E-05    .60238E-03
  22  Prefactor     1.0019        .10917        .24353E-05    .61920E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.50502
  norm       = 4.05666
  norm       = 7.11889
  Prefactor  = 0.0001
  Prefactor  = 23.7533
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 3.44453
  Prefactor  = 1.46657
  Prefactor  = 0.0001
  norm       = 2.67347
  Prefactor  = 4.37293
  norm       = 0.0001
  norm       = 7.70112
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.27195
  Prefactor  = 1.00193
 **********
 **   18 **HESSE 
 **********

 FCN=   8182.569     FROM HESSE     STATUS=OK           338 CALLS     2710 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5050        1.6251        .11652E-03   -1.5463    
   2  norm          4.0567        5.4486        .20019E-03   -1.5305    
   3  norm          7.1189        4.4853        .14738E-03   -1.5174    
   4  Prefactor     .10000E-03    13.512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     23.753        32.474        .82125E-04   -1.4733    
   6  Prefactor     .10000E-03    7.2799        .24433E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    17.750        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.4445        2.1338        .10107E-03   -1.5337    
   9  Prefactor     1.4666        5.0074        .17221E-02   -1.5466    
  10  Prefactor     .10000E-03    11.002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.6735        3.6620        .19347E-03   -1.5381    
  12  Prefactor     4.3729        280.51        .19183E-03   -1.5290    
  13  norm          .10000E-03    3.3603        .16163E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          7.7011        2.3317        .73656E-04   -1.5153    
  15  norm          .10000E-03    38.828        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    61.373        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    44.954        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    12.604        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.1237        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.5730        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2719        .28148        .37388E-03   -.84408    
  22  Prefactor     1.0019        .11188        .17125E-03   -.92665    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.55728e-09
Minuit parameter uncertainties:
  1  1.62514
  2  5.44926
  3  4.48547
  4  3.85915e-05
  5  32.4977
  6  0.000146452
  7  5.15565e-05
  8  2.13382
  9  5.00884
  10  7.18719e-06
  11  3.66226
  12  70.3943
  13  2.03357e-06
  14  2.33171
  15  7.58288e-06
  16  0.000134788
  17  0.000258003
  18  1.35588e-05
  19  4.35558e-05
  20  3.57072e-05
  21  0.281815
  22  0.111908
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  2.673e+00  3.662e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  2.272e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
238         beta:  1.873e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  9.907e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  1.002e+00  1.119e-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.272e+00  2.818e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/743412/likelihoodResults_377740801_378000001_4FGL_J1550.7+0528_daily_bin534.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) = 8180.63386403
delta logL = 1.93537140935

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8180.57920909
delta logL = 1.99002634805

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15006       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.9716       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0962       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0458       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=   8180.579     FROM MIGRAD    STATUS=CONVERGED    135 CALLS      390 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .14203        1.8241        .38976E-02    .51257E-02
   2  alpha         5.0000        3.1511        .46974       -.60363E-05
   3  Normalizat    1.0963        .13999        .89959E-01    .48743E-04
   4  Prefactor     1.0459        .57312E-01    .40161E-01    .22180E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.14203
  alpha      = 4.99997
  Normalizat = 1.09625
  Prefactor  = 1.04587
 **********
 **   18 **HESSE 
 **********

 FCN=   8180.579     FROM HESSE     STATUS=OK            35 CALLS      425 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .14203        .97942E-01    .17608E-04   -1.5633    
   2  alpha         5.0000        .61786        .48069        1.5659    
   3  Normalizat    1.0963        .28456        .39843E-03   -.89872    
   4  Prefactor     1.0459        .11399        .16796E-03   -.91216    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.89491e-11
Minuit parameter uncertainties:
  1  0.0979426
  2  0.00887925
  3  0.284959
  4  0.114013
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/743412': 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) = 8180.57913523
delta logL = 1.99010021022

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.420e-01  9.794e-02  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  5.000e+00  8.879e-03  0.000e+00  5.000e+00 ( 1.000e+00)
238         beta:  1.873e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  9.907e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  1.046e+00  1.140e-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.096e+00  2.850e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.25
Ra Dec: 237.697 5.473
Photon Index (Free Index): 5.00 +/- 0.01
Photon Flux (Free Index): 1.56e-07 +/- 1.09e-07
Energy Flux (Free Index): 2.21e-05 +/- 1.54e-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/743412/cmap_HighResolution_377740801_378000001_4FGL_J1550.7+0528_daily_bin534.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.37e-05', comment='SUCCESS', energy_flux2='2.21e-05', dlogl='1.99e+00', photon_flux2='1.56e-07', job_status='DONE', time_completed='2021-09-12 15:29:41.766433', photon_index_error2='0.01', photon_index2='5.00', ts='0.83', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='1.04e-07', energy_flux_error2='1.54e-05', EG='1.27', time_epoch_completed='1631485781.77', return_code='0', job_id='743412', GAL2='1.05', EG2='1.10', return_code2='0', photon_flux_error2='1.09e-07', ts2='5.25', photon_index='2.27' WHERE bin_id='534' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:29:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0121>
Subject: Job 743412: <4FGL_J1550.7+0528_daily_bin534> in cluster <slac> Done

Job <4FGL_J1550.7+0528_daily_bin534> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 15:15:47 2021
Job was executed on host(s) <bullet0121>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 15:17:30 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:17:30 2021
Terminated at Sun Sep 12 15:29:43 2021
Results reported at Sun Sep 12 15:29:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin534 237.697 5.4725 377740801 378000001 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 :                                   712.11 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             321.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   731 sec.
    Turnaround time :                            836 sec.

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

