/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 156 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 = 7425
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1550.7+0528_daily_bin358
RA = 237.697, Dec = 5.4725
tmin = 332121601, tmax = 332380801
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='743148', job_status='RUN', time_executed='2021-09-12 15:18:38.864457', time_epoch_executed='1631485118.86' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='358'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/743148

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/743148/ft1_4FGL_J1550.7+0528_daily_bin358.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/743148/ft2_4FGL_J1550.7+0528_daily_bin358.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/743148/ft1_4FGL_J1550.7+0528_daily_bin358.fits outfile=/scratch/kocevski/743148/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin358.fits ra=237.697 dec=5.4725 rad=12.0 tmin=332121601.0 tmax=332380801.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 2.76
user 2.52
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/743148/ft1_filtered_4FGL_J1550.7+0528_daily_bin358.fits" evtable="EVENTS" scfile=/scratch/kocevski/743148/ft2_4FGL_J1550.7+0528_daily_bin358.fits sctable="SC_DATA" outfile=/scratch/kocevski/743148/ltcube_332121601_332380801_4FGL_J1550.7+0528_daily_bin358.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/743148/ft2_4FGL_J1550.7+0528_daily_bin358.fits
.....................!
real 13.20
user 12.79
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/743148/ft1_filtered_4FGL_J1550.7+0528_daily_bin358.fits evtable="EVENTS" scfile=/scratch/kocevski/743148/ft2_4FGL_J1550.7+0528_daily_bin358.fits sctable="SC_DATA" expcube=/scratch/kocevski/743148/ltcube_332121601_332380801_4FGL_J1550.7+0528_daily_bin358.fits outfile=/scratch/kocevski/743148/expmap_332121601_332380801_4FGL_J1550.7+0528_daily_bin358.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/743148/ltcube_332121601_332380801_4FGL_J1550.7+0528_daily_bin358.fits
.....................!
real 159.99
user 151.19
sys 3.93

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/743148/ft1_filtered_4FGL_J1550.7+0528_daily_bin358.fits scfile=/scratch/kocevski/743148/ft2_4FGL_J1550.7+0528_daily_bin358.fits outfile=/scratch/kocevski/743148/cmap_332121601_332380801_4FGL_J1550.7+0528_daily_bin358.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.47
user 0.33
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/743148/ft1_filtered_4FGL_J1550.7+0528_daily_bin358.fits scfile=/scratch/kocevski/743148/ft2_4FGL_J1550.7+0528_daily_bin358.fits outfile=/scratch/kocevski/743148/cmap_HighResolution_332121601_332380801_4FGL_J1550.7+0528_daily_bin358.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.48
user 0.33
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/743148/ft1_filtered_4FGL_J1550.7+0528_daily_bin358.fits evtable="EVENTS" scfile=/scratch/kocevski/743148/ft2_4FGL_J1550.7+0528_daily_bin358.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/743148/Model_4FGL_J1550.7+0528_daily_bin358.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/743148/ft1_filtered_4FGL_J1550.7+0528_daily_bin358.fits.....................!
real 52.41
user 50.88
sys 1.06

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    7.4774       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.1340       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .16892       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.0734       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    22.855       1.0000         .10000E-03   10000.    
    13 'norm      '    5.4156       1.0000         .10000E-03   10000.    
    14 'norm      '    1.7567       1.0000         .10000E-03   10000.    
    15 'norm      '    7.4112       1.0000         .10000E-03   10000.    
    16 'norm      '    .10083E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    23.374       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10103E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2328       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .94125       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=   7934.719     FROM MIGRAD    STATUS=CONVERGED    503 CALLS     2133 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.7036        .17480E-06** at limit **
   2  norm          .10000E-03    5.4106       -.10765E-06** at limit **
   3  norm          7.4773        4.9377       -.17422E-05   -.66074E-04
   4  Prefactor     2.1313        235.45       -.44492E-05   -.10050E-04
   5  Prefactor     .10000E-03    16.261        .40500E-05** at limit **
   6  Prefactor     .10000E-03    6.6736       -.10558E-10** at limit **
   7  Prefactor     .10000E-03    19.476       -.45384E-05** at limit **
   8  norm          .16503        1.1328       -.59981E-06   -.11228E-03
   9  Prefactor     .10000E-03    2.3306       -.22580E-08** at limit **
  10  Prefactor     7.0741        16.589       -.14536E-05   -.10037E-04
  11  norm          .10000E-03    1.7856       -.57238E-08** at limit **
  12  Prefactor     22.855        25.224       -.83657E-06    .54239E-05
  13  norm          5.4153        6.2923        .55905E-06   -.98609E-04
  14  norm          1.7567        1.0882        .47368E-08    .24062E-03
  15  norm          7.4108        8.0381       -.67757E-06   -.67541E-03
  16  norm          .10000E-03    311.97       -.37644E-05** at limit **
  17  Prefactor     .10000E-03    26.743        .16651E-05** at limit **
  18  Prefactor     23.371        28.970        .20968E-05   -.41987E-04
  19  Prefactor     .10000E-03    11.037        .66403E-05** at limit **
  20  Prefactor     .10000E-03    11.103       -.76606E-05** at limit **
  21  Normalizat    1.2328        .23091        .47126E-06    .65241E-04
  22  Prefactor     .94124        .92183E-01    .11695E-06    .18619E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 7.47732
  Prefactor  = 2.13132
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.165034
  Prefactor  = 0.0001
  Prefactor  = 7.07413
  norm       = 0.0001
  Prefactor  = 22.8552
  norm       = 5.41531
  norm       = 1.75673
  norm       = 7.41083
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.3713
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.2328
  Prefactor  = 0.941243
 **********
 **   18 **HESSE 
 **********

 FCN=   7934.719     FROM HESSE     STATUS=OK           346 CALLS     2479 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.8046        .28565E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    5.5270        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          7.4773        4.9391        .14666E-03   -1.5161    
   4  Prefactor     2.1313        237.01        .28220E-03   -1.5416    
   5  Prefactor     .10000E-03    16.267        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.9544        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    19.503        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .16503        4.5548        .18205E-02   -1.5627    
   9  Prefactor     .10000E-03    4.7310        .26124E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.0741        16.582        .15083E-03   -1.5176    
  11  norm          .10000E-03    3.5397        .23046E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     22.855        25.224        .83787E-04   -1.4751    
  13  norm          5.4153        6.2536        .17268E-03   -1.5243    
  14  norm          1.7567        1.0950        .71222E-04   -1.5443    
  15  norm          7.4108        8.1664        .73662E-03   -1.5163    
  16  norm          .10000E-03    313.62        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    26.745        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     23.371        28.887        .82852E-04   -1.4741    
  19  Prefactor     .10000E-03    11.035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    11.292        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2328        .26882        .36174E-03   -.85595    
  22  Prefactor     .94124        .10848        .16702E-03   -.94714    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.97792e-08
Minuit parameter uncertainties:
  1  2.78789e-05
  2  1.77855e-07
  3  4.93932
  4  45.1339
  5  5.97721e-06
  6  7.38456e-06
  7  1.50986e-06
  8  1.73364
  9  1.75897e-05
  10  16.5927
  11  5.24969e-06
  12  25.2355
  13  6.25434
  14  1.09504
  15  8.16766
  16  1.76326e-05
  17  2.88284e-06
  18  28.9045
  19  5.5979e-05
  20  5.54339e-05
  21  0.269124
  22  0.1085
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.000e-04  5.250e-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.412e-01  1.085e-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.233e+00  2.691e-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.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.79e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/743148/likelihoodResults_332121601_332380801_4FGL_J1550.7+0528_daily_bin358.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) = 7934.72025619
delta logL = -0.0013448693926

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7934.71891229
delta logL = -9.76789124252e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10358E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2897       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2325       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94137       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=   7934.719     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      246 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.6427        .22937E-02** at limit **
   2  alpha         2.3079        3.5058        .16535       -.25924E-04
   3  Normalizat    1.2328        .26140        .36174E-03    .11968E-03
   4  Prefactor     .94124        .10797        .16702E-03    .28722E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100004
  alpha      = 2.3079
  Normalizat = 1.2328
  Prefactor  = 0.941243
 **********
 **   18 **HESSE 
 **********

 FCN=   7934.719     FROM HESSE     STATUS=OK            23 CALLS      269 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.6456        .45875E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3079        3.5046        .33070E-01   -.76914E-01
   3  Normalizat    1.2328        .26158        .14469E-04   -.85595    
   4  Prefactor     .94124        .10805        .33404E-04   -.94714    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.85738e-09
Minuit parameter uncertainties:
  1  0.00024575
  2  2.49278
  3  0.261861
  4  0.108071
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/743148': 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) = 7934.71891095
delta logL = 3.68685505236e-07

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.000e-04  2.458e-04  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  2.308e+00  2.493e+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:  9.412e-01  1.081e-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.233e+00  2.619e-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/743148/cmap_HighResolution_332121601_332380801_4FGL_J1550.7+0528_daily_bin358.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.79e-05', job_status='DONE', photon_flux_upper_limit='6.65e-08', time_completed='2021-09-12 15:27:55.838249', job_id='743148', GAL2='0.94', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1631485675.84', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='3.69e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='358' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:27:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0168>
Subject: Job 743148: <4FGL_J1550.7+0528_daily_bin358> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin358 237.697 5.4725 332121601 332380801 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 :                                   538.35 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             289.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   720 sec.
    Turnaround time :                            749 sec.

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

