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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin503
RA = 237.697, Dec = 5.4725
tmin = 369705601, tmax = 369964801
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='743365', job_status='RUN', time_executed='2021-09-12 15:19:46.467208', time_epoch_executed='1631485186.47' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='503'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/743365

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/743365/ft1_4FGL_J1550.7+0528_daily_bin503.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/743365/ft2_4FGL_J1550.7+0528_daily_bin503.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/743365/ft1_4FGL_J1550.7+0528_daily_bin503.fits outfile=/scratch/kocevski/743365/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin503.fits ra=237.697 dec=5.4725 rad=12.0 tmin=369705601.0 tmax=369964801.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.88
user 3.64
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/743365/ft2_4FGL_J1550.7+0528_daily_bin503.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/743365/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin503.fits evtable="EVENTS" outfile="/scratch/kocevski/743365/ft1_filtered_4FGL_J1550.7+0528_daily_bin503.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/743365/ft1_filtered_4FGL_J1550.7+0528_daily_bin503.fits" evtable="EVENTS" scfile=/scratch/kocevski/743365/ft2_4FGL_J1550.7+0528_daily_bin503.fits sctable="SC_DATA" outfile=/scratch/kocevski/743365/ltcube_369705601_369964801_4FGL_J1550.7+0528_daily_bin503.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/743365/ft2_4FGL_J1550.7+0528_daily_bin503.fits
.....................!
real 14.57
user 14.17
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/743365/ft1_filtered_4FGL_J1550.7+0528_daily_bin503.fits evtable="EVENTS" scfile=/scratch/kocevski/743365/ft2_4FGL_J1550.7+0528_daily_bin503.fits sctable="SC_DATA" expcube=/scratch/kocevski/743365/ltcube_369705601_369964801_4FGL_J1550.7+0528_daily_bin503.fits outfile=/scratch/kocevski/743365/expmap_369705601_369964801_4FGL_J1550.7+0528_daily_bin503.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/743365/ltcube_369705601_369964801_4FGL_J1550.7+0528_daily_bin503.fits
.....................!
real 193.96
user 188.60
sys 4.92

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/743365/ft1_filtered_4FGL_J1550.7+0528_daily_bin503.fits scfile=/scratch/kocevski/743365/ft2_4FGL_J1550.7+0528_daily_bin503.fits outfile=/scratch/kocevski/743365/cmap_369705601_369964801_4FGL_J1550.7+0528_daily_bin503.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/743365/ft1_filtered_4FGL_J1550.7+0528_daily_bin503.fits scfile=/scratch/kocevski/743365/ft2_4FGL_J1550.7+0528_daily_bin503.fits outfile=/scratch/kocevski/743365/cmap_HighResolution_369705601_369964801_4FGL_J1550.7+0528_daily_bin503.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.57
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/743365/ft1_filtered_4FGL_J1550.7+0528_daily_bin503.fits evtable="EVENTS" scfile=/scratch/kocevski/743365/ft2_4FGL_J1550.7+0528_daily_bin503.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/743365/Model_4FGL_J1550.7+0528_daily_bin503.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/743365/ft1_filtered_4FGL_J1550.7+0528_daily_bin503.fits.....................!
real 71.41
user 69.99
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0017       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.9559       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.8566       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.8289       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10054E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    5.0985       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    43.794       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.7794       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .90869       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0468       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=   8718.418     FROM MIGRAD    STATUS=CONVERGED    500 CALLS     2360 TOTAL
                     EDM=   .41E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0020        2.1054        .18998E-07   -.30970E-04
   2  norm          .10000E-03    2.1996       -.65697E-08** at limit **
   3  norm          .10000E-03    1.7656        .79704E-08** at limit **
   4  Prefactor     .10000E-03    13.425       -.16952E-05** at limit **
   5  Prefactor     .10000E-03    13.476       -.19183E-05** at limit **
   6  Prefactor     2.9557        2.7785        .18593E-06   -.93658E-03
   7  Prefactor     .10000E-03    10.602        .37853E-05** at limit **
   8  norm          2.8568        2.0163        .23669E-07    .10835E-03
   9  Prefactor     1.8287        5.0159       -.15672E-06   -.72934E-04
  10  Prefactor     .10000E-03    17.637        .36332E-05** at limit **
  11  norm          .10000E-03    2.3089        .98789E-08** at limit **
  12  Prefactor     .10000E-03    23.955       -.21312E-05** at limit **
  13  norm          .10000E-03    8.8256       -.45540E-05** at limit **
  14  norm          5.0988        1.7751        .17248E-07    .27181E-03
  15  norm          .10000E-03    7.4834       -.34107E-06** at limit **
  16  norm          .10000E-03    94.056       -.37255E-05** at limit **
  17  Prefactor     .10000E-03    64.959        .33019E-05** at limit **
  18  Prefactor     43.800        44.023        .41969E-05   -.30041E-04
  19  Prefactor     .10000E-03    8.4977        .29306E-05** at limit **
  20  Prefactor     2.7797        6.6313       -.32897E-06   -.40515E-03
  21  Normalizat    .90871        .23507       -.62354E-06    .26855E-04
  22  Prefactor     1.0468        .90757E-01    .18679E-07    .33391E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.00204
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.9557
  Prefactor  = 0.0001
  norm       = 2.85679
  Prefactor  = 1.8287
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 5.09877
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 43.7996
  Prefactor  = 0.0001
  Prefactor  = 2.77969
  Normalizat = 0.908714
  Prefactor  = 1.04675
 **********
 **   18 **HESSE 
 **********

 FCN=   8718.418     FROM HESSE     STATUS=OK           340 CALLS     2700 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0020        1.8995        .18952E-02   -1.5508    
   2  norm          .10000E-03    2.2008        .13524E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.7897        .12108E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    13.438        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    13.493        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.9557        4.5256        .11589E-02   -1.5364    
   7  Prefactor     .10000E-03    10.654        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.8568        2.0206        .10843E-03   -1.5370    
   9  Prefactor     1.8287        4.9697        .30864E-03   -1.5438    
  10  Prefactor     .10000E-03    17.693        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    2.3545        .13840E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    23.974        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    9.0234        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.0988        1.7760        .71510E-04   -1.5256    
  15  norm          .10000E-03    7.5188        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    94.191        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    65.058        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     43.800        43.789        .60581E-04   -1.4383    
  19  Prefactor     .10000E-03    8.4406        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.7797        8.1781        .12204E-02   -1.5375    
  21  Normalizat    .90871        .26662        .42554E-03   -.96155    
  22  Prefactor     1.0468        .10410        .15884E-03   -.91187    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22027e-08
Minuit parameter uncertainties:
  1  1.89958
  2  1.43278e-07
  3  5.17268e-07
  4  3.59961e-07
  5  1.33468e-06
  6  4.52615
  7  4.2621e-06
  8  2.02069
  9  4.97084
  10  5.35966e-06
  11  1.91634e-06
  12  1.42547e-06
  13  5.55787e-05
  14  1.77603
  15  2.09341e-06
  16  5.70043e-07
  17  8.27835e-06
  18  43.8213
  19  4.59772e-05
  20  8.18136
  21  0.267012
  22  0.104116
Done.

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

Extracting fit parameters...

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

EG_v02
   Spectrum: FileFunction
500   Normalization:  9.087e-01  2.670e-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: 6.70e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.81e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/743365/likelihoodResults_369705601_369964801_4FGL_J1550.7+0528_daily_bin503.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) = 8718.41969871
delta logL = -0.00202447465745

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8718.41767858
delta logL = -4.34481262346e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10094E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2971       1.0000          .0000       5.0000    
     3 'Normalizat'    .90851       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0467       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=   8718.418     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      197 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.4014        .90712E-02** at limit **
   2  alpha         2.3230        3.6002        .41324       -.54759E-04
   3  Normalizat    .90871        .22593        .96051E-01    .29469E-04
   4  Prefactor     1.0468        .90460E-01    .40109E-01   -.37963E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.32297
  Normalizat = 0.908713
  Prefactor  = 1.04675
 **********
 **   18 **HESSE 
 **********

 FCN=   8718.418     FROM HESSE     STATUS=OK            31 CALLS      228 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.4835        .28373E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3230        3.5086        .16530       -.70870E-01
   3  Normalizat    .90871        .25752        .42554E-03   -.96155    
   4  Prefactor     1.0468        .10346        .15884E-03   -.91187    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.08131e-09
Minuit parameter uncertainties:
  1  4.21551e-05
  2  2.49398
  3  0.257867
  4  0.103483
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/743365': 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) = 8718.41767312
delta logL = 1.10910514195e-06

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.000e-04  4.216e-05  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  2.323e+00  2.494e+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:  1.047e+00  1.035e-01  0.000e+00  1.000e+01 ( 1.000e+00)
502        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
503        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
500   Normalization:  9.087e-01  2.579e-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/743365/cmap_HighResolution_369705601_369964801_4FGL_J1550.7+0528_daily_bin503.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.81e-05', job_status='DONE', photon_flux_upper_limit='6.70e-08', time_completed='2021-09-12 15:31:35.823799', job_id='743365', GAL2='1.05', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1631485895.82', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='1.11e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='503' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:31:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 743365: <4FGL_J1550.7+0528_daily_bin503> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin503 237.697 5.4725 369705601 369964801 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 :                                   708.02 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             263.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   858 sec.
    Turnaround time :                            953 sec.

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

