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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin355
RA = 237.697, Dec = 5.4725
tmin = 331344001, tmax = 331603201
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='743144', job_status='RUN', time_executed='2021-09-12 15:16:13.536912', time_epoch_executed='1631484973.54' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='355'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/743144

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/743144/ft1_4FGL_J1550.7+0528_daily_bin355.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/743144/ft2_4FGL_J1550.7+0528_daily_bin355.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/743144/ft1_4FGL_J1550.7+0528_daily_bin355.fits outfile=/scratch/kocevski/743144/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin355.fits ra=237.697 dec=5.4725 rad=12.0 tmin=331344001.0 tmax=331603201.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.38
user 3.07
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/743144/ft1_filtered_4FGL_J1550.7+0528_daily_bin355.fits" evtable="EVENTS" scfile=/scratch/kocevski/743144/ft2_4FGL_J1550.7+0528_daily_bin355.fits sctable="SC_DATA" outfile=/scratch/kocevski/743144/ltcube_331344001_331603201_4FGL_J1550.7+0528_daily_bin355.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/743144/ft2_4FGL_J1550.7+0528_daily_bin355.fits
.....................!
real 13.34
user 12.91
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/743144/ft1_filtered_4FGL_J1550.7+0528_daily_bin355.fits evtable="EVENTS" scfile=/scratch/kocevski/743144/ft2_4FGL_J1550.7+0528_daily_bin355.fits sctable="SC_DATA" expcube=/scratch/kocevski/743144/ltcube_331344001_331603201_4FGL_J1550.7+0528_daily_bin355.fits outfile=/scratch/kocevski/743144/expmap_331344001_331603201_4FGL_J1550.7+0528_daily_bin355.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/743144/ltcube_331344001_331603201_4FGL_J1550.7+0528_daily_bin355.fits
.....................!
real 192.30
user 186.25
sys 4.96

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/743144/ft1_filtered_4FGL_J1550.7+0528_daily_bin355.fits scfile=/scratch/kocevski/743144/ft2_4FGL_J1550.7+0528_daily_bin355.fits outfile=/scratch/kocevski/743144/cmap_331344001_331603201_4FGL_J1550.7+0528_daily_bin355.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/743144/ft1_filtered_4FGL_J1550.7+0528_daily_bin355.fits scfile=/scratch/kocevski/743144/ft2_4FGL_J1550.7+0528_daily_bin355.fits outfile=/scratch/kocevski/743144/cmap_HighResolution_331344001_331603201_4FGL_J1550.7+0528_daily_bin355.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/743144/ft1_filtered_4FGL_J1550.7+0528_daily_bin355.fits evtable="EVENTS" scfile=/scratch/kocevski/743144/ft2_4FGL_J1550.7+0528_daily_bin355.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/743144/Model_4FGL_J1550.7+0528_daily_bin355.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/743144/ft1_filtered_4FGL_J1550.7+0528_daily_bin355.fits.....................!
real 63.26
user 61.53
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4885       1.0000         .10000E-03   10000.    
     2 'norm      '    2.0478       1.0000         .10000E-03   10000.    
     3 'norm      '    1.5891       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .36198E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.023       1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.6997       1.0000         .10000E-03   10000.    
    10 'Prefactor '    27.334       1.0000         .10000E-03   10000.    
    11 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    4.9047       1.0000         .10000E-03   10000.    
    14 'norm      '    3.4715       1.0000         .10000E-03   10000.    
    15 'norm      '    14.023       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    49.278       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.5046       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .84478       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=   7671.290     FROM MIGRAD    STATUS=CONVERGED    480 CALLS     2361 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4882        2.1578       -.87051E-08   -.14252E-03
   2  norm          2.0479        4.3137        .38026E-05   -.27511E-04
   3  norm          1.5890        1.6690       -.34520E-07   -.69174E-04
   4  Prefactor     .10005E-03    151.89        .54942E-07** at limit **
   5  Prefactor     .10000E-03    64.928        .25550E-06** at limit **
   6  Prefactor     .10000E-03    2.8160       -.24703E-07** at limit **
   7  Prefactor     12.024        22.431        .31624E-07   -.85713E-05
   8  norm          .10000E-03    1.2921       -.56695E-07** at limit **
   9  Prefactor     5.7004        4.6661        .18046E-06   -.99390E-04
  10  Prefactor     27.336        30.238       -.26746E-07    .54312E-05
  11  norm          .10000E-03    2.6939        .31109E-08** at limit **
  12  Prefactor     .10000E-03    24.515       -.41047E-06** at limit **
  13  norm          4.9067        9.4869        .45990E-06   -.36231E-04
  14  norm          3.4715        1.7904       -.47031E-08   -.53653E-04
  15  norm          14.025        13.916        .97536E-07   -.35080E-04
  16  norm          .10000E-03    36.228       -.13569E-05** at limit **
  17  Prefactor     49.282        60.972       -.45948E-07    .12514E-04
  18  Prefactor     .10000E-03    29.316        .12891E-05** at limit **
  19  Prefactor     .10000E-03    3.2378        .19403E-08** at limit **
  20  Prefactor     .10000E-03    5.2958        .45176E-07** at limit **
  21  Normalizat    1.5045        .24026       -.37974E-06   -.24289E-03
  22  Prefactor     .84479        .95250E-01   -.36682E-06   -.49993E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.4882
  norm       = 2.0479
  norm       = 1.58899
  Prefactor  = 0.000100046
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.0239
  norm       = 0.0001
  Prefactor  = 5.70036
  Prefactor  = 27.3361
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.90671
  norm       = 3.47155
  norm       = 14.0254
  norm       = 0.000100001
  Prefactor  = 49.282
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.50447
  Prefactor  = 0.844792
 **********
 **   18 **HESSE 
 **********

 FCN=   7671.290     FROM HESSE     STATUS=OK           338 CALLS     2699 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4882        2.1546        .11631E-03   -1.5392    
   2  norm          2.0479        4.3147        .12983E-02   -1.5422    
   3  norm          1.5890        1.6815        .11316E-03   -1.5456    
   4  Prefactor     .10005E-03    158.16        .42617E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    65.827        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.8914        .28688E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     12.024        22.414        .11553E-03   -1.5014    
   8  norm          .10000E-03    1.3098        .97123E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.7004        4.6656        .16245E-03   -1.5230    
  10  Prefactor     27.336        30.255        .76625E-04   -1.4662    
  11  norm          .10000E-03    2.8016        .28048E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    24.545        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.9067        9.4906        .18162E-03   -1.5265    
  14  norm          3.4715        1.7892        .80916E-04   -1.5335    
  15  norm          14.025        13.928        .10696E-03   -1.4959    
  16  norm          .10000E-03    36.410        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     49.282        60.991        .57125E-04   -1.4303    
  18  Prefactor     .10000E-03    29.630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.2440        .15391E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.3425        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5045        .28256        .33966E-03   -.77653    
  22  Prefactor     .84479        .11211        .17702E-03   -.98098    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.10044e-10
Minuit parameter uncertainties:
  1  2.1547
  2  4.31533
  3  1.68157
  4  0.0053878
  5  5.52481e-05
  6  1.02185e-06
  7  22.4297
  8  3.4629e-06
  9  4.66594
  10  30.272
  11  1.26397e-06
  12  8.95131e-05
  13  9.49347
  14  1.78921
  15  13.9309
  16  0.000356945
  17  61.0687
  18  0.000369559
  19  6.60486e-07
  20  7.82043e-06
  21  0.282853
  22  0.112136
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.000e-04  1.264e-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:  8.448e-01  1.121e-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.504e+00  2.829e-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.37e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.67e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/743144/likelihoodResults_331344001_331603201_4FGL_J1550.7+0528_daily_bin355.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) = 7671.29208586
delta logL = -0.00170371202421

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7671.29038213
delta logL = 1.34386937134e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2614       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5045       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84481       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=   7671.290     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      244 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    329.72        .28179E-02** at limit **
   2  alpha         2.0752        3.3186        .16556       -.69353E-08
   3  Normalizat    1.5045        .79581E-01    .33966E-03    .96899E-04
   4  Prefactor     .84479        .32408E-01    .17702E-03    .19241E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.07524
  Normalizat = 1.50447
  Prefactor  = 0.844793
 **********
 **   18 **HESSE 
 **********

 FCN=   7671.290     FROM HESSE     STATUS=OK            23 CALLS      267 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.9198        .56357E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0752        3.2396        .66225E-02   -.17073    
   3  Normalizat    1.5045        .27410        .13586E-04   -.77653    
   4  Prefactor     .84479        .11169        .35405E-04   -.98098    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76934e-11
Minuit parameter uncertainties:
  1  4.86914e-06
  2  168.782
  3  0.274374
  4  0.111718
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/743144': 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) = 7671.29038143
delta logL = 7.14866473572e-07

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.000e-04  4.869e-06  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  2.075e+00  1.688e+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:  8.448e-01  1.117e-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.504e+00  2.744e-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/743144/cmap_HighResolution_331344001_331603201_4FGL_J1550.7+0528_daily_bin355.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.67e-05', job_status='DONE', photon_flux_upper_limit='6.37e-08', time_completed='2021-09-12 15:27:30.865582', job_id='743144', GAL2='0.84', fit_tolerance='1e-08', EG2='1.50', EG='1.50', time_epoch_completed='1631485650.87', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='7.15e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='355' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:27:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 743144: <4FGL_J1550.7+0528_daily_bin355> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin355 237.697 5.4725 331344001 331603201 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 :                                   669.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             311.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   697 sec.
    Turnaround time :                            725 sec.

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

