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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin951
RA = 237.697, Dec = 5.4725
tmin = 485827201, tmax = 486086401
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='746067', job_status='RUN', time_executed='2021-09-12 15:28:50.399272', time_epoch_executed='1631485730.4' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='951'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/746067

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/746067/ft1_4FGL_J1550.7+0528_daily_bin951.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/746067/ft2_4FGL_J1550.7+0528_daily_bin951.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/746067/ft1_4FGL_J1550.7+0528_daily_bin951.fits outfile=/scratch/kocevski/746067/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin951.fits ra=237.697 dec=5.4725 rad=12.0 tmin=485827201.0 tmax=486086401.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.74
user 3.48
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/746067/ft1_filtered_4FGL_J1550.7+0528_daily_bin951.fits" evtable="EVENTS" scfile=/scratch/kocevski/746067/ft2_4FGL_J1550.7+0528_daily_bin951.fits sctable="SC_DATA" outfile=/scratch/kocevski/746067/ltcube_485827201_486086401_4FGL_J1550.7+0528_daily_bin951.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/746067/ft2_4FGL_J1550.7+0528_daily_bin951.fits
.....................!
real 13.93
user 13.57
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/746067/ft1_filtered_4FGL_J1550.7+0528_daily_bin951.fits evtable="EVENTS" scfile=/scratch/kocevski/746067/ft2_4FGL_J1550.7+0528_daily_bin951.fits sctable="SC_DATA" expcube=/scratch/kocevski/746067/ltcube_485827201_486086401_4FGL_J1550.7+0528_daily_bin951.fits outfile=/scratch/kocevski/746067/expmap_485827201_486086401_4FGL_J1550.7+0528_daily_bin951.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/746067/ltcube_485827201_486086401_4FGL_J1550.7+0528_daily_bin951.fits
.....................!
real 191.76
user 186.34
sys 4.73

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/746067/ft1_filtered_4FGL_J1550.7+0528_daily_bin951.fits scfile=/scratch/kocevski/746067/ft2_4FGL_J1550.7+0528_daily_bin951.fits outfile=/scratch/kocevski/746067/cmap_485827201_486086401_4FGL_J1550.7+0528_daily_bin951.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.56
user 0.37
sys 0.17

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/746067/ft1_filtered_4FGL_J1550.7+0528_daily_bin951.fits evtable="EVENTS" scfile=/scratch/kocevski/746067/ft2_4FGL_J1550.7+0528_daily_bin951.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/746067/Model_4FGL_J1550.7+0528_daily_bin951.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/746067/ft1_filtered_4FGL_J1550.7+0528_daily_bin951.fits.....................!
real 80.51
user 78.96
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    6.5781       1.0000         .10000E-03   10000.    
     3 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.962       1.0000         .10000E-03   10000.    
     5 'Prefactor '    35.509       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.0676       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.4358       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.4722       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.0030       1.0000         .10000E-03   10000.    
    13 'norm      '    .10044E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    6.9435       1.0000         .10000E-03   10000.    
    15 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10228E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    18.202       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3260       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .90659       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=   10142.71     FROM MIGRAD    STATUS=CONVERGED    488 CALLS     2370 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.0456        .18785E-07** at limit **
   2  norm          6.5780        5.2481       -.27109E-07    .97517E-05
   3  norm          .10000E-03    2.8642        .14289E-07** at limit **
   4  Prefactor     13.952        36.036       -.93145E-06   -.79189E-04
   5  Prefactor     35.499        44.700       -.47113E-06   -.94053E-04
   6  Prefactor     1.0674        3.7890        .23764E-05   -.12057E-03
   7  Prefactor     .10000E-03    7.2442        .45773E-10** at limit **
   8  norm          2.4362        2.7287        .24358E-06   -.36955E-04
   9  Prefactor     4.4721        3.8050       -.10334E-06   -.50012E-03
  10  Prefactor     .10000E-03    10.777        .42091E-06** at limit **
  11  norm          .10000E-03    1.0671       -.15191E-07** at limit **
  12  Prefactor     7.0037        34.996        .27872E-06    .19891E-05
  13  norm          .10000E-03    12.049       -.39133E-06** at limit **
  14  norm          6.9438        2.1511       -.17711E-07    .18313E-04
  15  norm          .10000E-03    7.1282        .17365E-06** at limit **
  16  norm          .10000E-03    29.709        .90406E-07** at limit **
  17  Prefactor     .10000E-03    81.193        .90722E-07** at limit **
  18  Prefactor     .10000E-03    8.4481       -.23317E-06** at limit **
  19  Prefactor     18.204        11.975        .78761E-07   -.34409E-05
  20  Prefactor     .10000E-03    5.8374        .48022E-07** at limit **
  21  Normalizat    1.3262        .22116        .35138E-07   -.11517E-03
  22  Prefactor     .90647        .83365E-01   -.41599E-06   -.10224E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 6.57797
  norm       = 0.0001
  Prefactor  = 13.9522
  Prefactor  = 35.4994
  Prefactor  = 1.0674
  Prefactor  = 0.0001
  norm       = 2.43618
  Prefactor  = 4.47212
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.00367
  norm       = 0.0001
  norm       = 6.94375
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.2043
  Prefactor  = 0.0001
  Normalizat = 1.32622
  Prefactor  = 0.906471
 **********
 **   18 **HESSE 
 **********

 FCN=   10142.71     FROM HESSE     STATUS=OK           338 CALLS     2708 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.1393        .28087E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.5780        5.2503        .15647E-03   -1.5195    
   3  norm          .10000E-03    2.9610        .33268E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.952        36.171        .10719E-03   -1.4961    
   5  Prefactor     35.499        45.035        .67252E-04   -1.4516    
   6  Prefactor     1.0674        3.8138        .34501E-03   -1.5501    
   7  Prefactor     .10000E-03    7.2493        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.4362        2.7205        .17007E-03   -1.5396    
   9  Prefactor     4.4721        3.8004        .17123E-03   -1.5285    
  10  Prefactor     .10000E-03    10.797        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.0721        .10157E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.0037        34.977        .15160E-03   -1.5179    
  13  norm          .10000E-03    12.431        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          6.9438        2.1495        .79592E-04   -1.5181    
  15  norm          .10000E-03    7.1616        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    29.710        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    81.489        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    8.4553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     18.204        11.970        .93877E-04   -1.4854    
  20  Prefactor     .10000E-03    5.9392        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.3262        .25911        .36859E-03   -.82787    
  22  Prefactor     .90647        .97530E-01    .17120E-03   -.95915    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.70366e-10
Minuit parameter uncertainties:
  1  1.06148e-06
  2  5.25063
  3  1.28102e-06
  4  36.2281
  5  45.0783
  6  3.8147
  7  6.57027e-06
  8  2.7206
  9  3.80057
  10  0.000139747
  11  1.807e-08
  12  31.3317
  13  0.000103835
  14  2.14955
  15  2.61438e-05
  16  4.6528e-05
  17  5.68961e-05
  18  7.19901e-05
  19  11.9719
  20  1.09918e-06
  21  0.259362
  22  0.0975492
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.000e-04  1.807e-08  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.065e-01  9.755e-02  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.326e+00  2.594e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/746067/likelihoodResults_485827201_486086401_4FGL_J1550.7+0528_daily_bin951.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) = 10142.709844
delta logL = -0.00442232888417

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10142.7054221
delta logL = -4.3021827878e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2714       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3262       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90642       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=   10142.71     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      227 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    1.4785        .10157E-02** at limit **
   2  alpha         2.2528        3.0907        .16548        .11509E-05
   3  Normalizat    1.3262        .24356        .36859E-03   -.93765E-05
   4  Prefactor     .90647        .96337E-01    .17120E-03   -.84998E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100009
  alpha      = 2.2528
  Normalizat = 1.32622
  Prefactor  = 0.90647
 **********
 **   18 **HESSE 
 **********

 FCN=   10142.71     FROM HESSE     STATUS=OK            23 CALLS      250 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    1.0727        .20314E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2528        3.3068        .66194E-02   -.99040E-01
   3  Normalizat    1.3262        .24379        .14744E-04   -.82787    
   4  Prefactor     .90647        .96429E-01    .68481E-05   -.95915    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75028e-08
Minuit parameter uncertainties:
  1  0.000196712
  2  208.684
  3  0.243999
  4  0.096447
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/746067': 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) = 10142.7054217
delta logL = 8.80208972376e-09

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  9.065e-01  9.645e-02  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.326e+00  2.440e-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/746067/cmap_HighResolution_485827201_486086401_4FGL_J1550.7+0528_daily_bin951.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.99e-05', job_status='DONE', photon_flux_upper_limit='4.74e-08', time_completed='2021-09-12 15:41:55.197200', job_id='746067', GAL2='0.91', fit_tolerance='1e-08', EG2='1.33', EG='1.33', time_epoch_completed='1631486515.2', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='8.80e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='951' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:41:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 746067: <4FGL_J1550.7+0528_daily_bin951> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin951 237.697 5.4725 485827201 486086401 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 :                                   779.03 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             298.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   977 sec.
    Turnaround time :                            996 sec.

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

