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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin644
RA = 237.697, Dec = 5.4725
tmin = 406252801, tmax = 406512001
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='744591', job_status='RUN', time_executed='2021-09-12 15:23:25.263943', time_epoch_executed='1631485405.26' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='644'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/744591

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/744591/ft1_4FGL_J1550.7+0528_daily_bin644.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/744591/ft2_4FGL_J1550.7+0528_daily_bin644.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/744591/ft1_4FGL_J1550.7+0528_daily_bin644.fits outfile=/scratch/kocevski/744591/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin644.fits ra=237.697 dec=5.4725 rad=12.0 tmin=406252801.0 tmax=406512001.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.94
user 3.68
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/744591/ft1_filtered_4FGL_J1550.7+0528_daily_bin644.fits" evtable="EVENTS" scfile=/scratch/kocevski/744591/ft2_4FGL_J1550.7+0528_daily_bin644.fits sctable="SC_DATA" outfile=/scratch/kocevski/744591/ltcube_406252801_406512001_4FGL_J1550.7+0528_daily_bin644.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/744591/ft2_4FGL_J1550.7+0528_daily_bin644.fits
.....................!
real 14.34
user 13.87
sys 0.42

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/744591/ft1_filtered_4FGL_J1550.7+0528_daily_bin644.fits evtable="EVENTS" scfile=/scratch/kocevski/744591/ft2_4FGL_J1550.7+0528_daily_bin644.fits sctable="SC_DATA" expcube=/scratch/kocevski/744591/ltcube_406252801_406512001_4FGL_J1550.7+0528_daily_bin644.fits outfile=/scratch/kocevski/744591/expmap_406252801_406512001_4FGL_J1550.7+0528_daily_bin644.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/744591/ltcube_406252801_406512001_4FGL_J1550.7+0528_daily_bin644.fits
.....................!
real 191.86
user 186.00
sys 5.31

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/744591/ft1_filtered_4FGL_J1550.7+0528_daily_bin644.fits scfile=/scratch/kocevski/744591/ft2_4FGL_J1550.7+0528_daily_bin644.fits outfile=/scratch/kocevski/744591/cmap_406252801_406512001_4FGL_J1550.7+0528_daily_bin644.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/744591/ft1_filtered_4FGL_J1550.7+0528_daily_bin644.fits scfile=/scratch/kocevski/744591/ft2_4FGL_J1550.7+0528_daily_bin644.fits outfile=/scratch/kocevski/744591/cmap_HighResolution_406252801_406512001_4FGL_J1550.7+0528_daily_bin644.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.56
user 0.38
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9145       1.0000         .10000E-03   10000.    
     2 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .39025       1.0000         .10000E-03   10000.    
     4 'Prefactor '    45.987       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.7821       1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.758       1.0000         .10000E-03   10000.    
     8 'norm      '    .34563       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.5400       1.0000         .10000E-03   10000.    
    10 'Prefactor '    30.705       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    23.136       1.0000         .10000E-03   10000.    
    13 'norm      '    9.8865       1.0000         .10000E-03   10000.    
    14 'norm      '    5.6540       1.0000         .10000E-03   10000.    
    15 'norm      '    20.465       1.0000         .10000E-03   10000.    
    16 'norm      '    .97399E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10454E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    42.050       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    11.741       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .98314       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .94068       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=   7984.256     FROM MIGRAD    STATUS=CONVERGED    470 CALLS     2382 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9155        2.8930        .76981E-06   -.58740E-03
   2  norm          .10000E-03    5.4247        .48079E-08** at limit **
   3  norm          .39360        2.2945       -.12307E-06    .45445E-03
   4  Prefactor     45.964        50.048       -.26264E-04    .55062E-05
   5  Prefactor     .10000E-03    9.9506        .17327E-05** at limit **
   6  Prefactor     3.7831        4.0525       -.15308E-05   -.33820E-03
   7  Prefactor     13.760        19.435       -.68921E-06    .16530E-05
   8  norm          .34653        1.9180       -.21647E-05   -.81551E-03
   9  Prefactor     6.5419        4.5806        .19433E-05   -.20149E-03
  10  Prefactor     30.715        37.093        .97600E-05    .91809E-04
  11  norm          .10000E-03    1.4289        .23885E-07** at limit **
  12  Prefactor     23.120        61.764       -.27855E-04    .39435E-05
  13  norm          9.8811        9.6531        .57110E-05    .21654E-03
  14  norm          5.6548        2.2631       -.20119E-06    .20467E-03
  15  norm          20.455        14.006        .93425E-05    .29327E-04
  16  norm          .10014E-03    494.55       -.39196E-03** at limit **
  17  Prefactor     .10000E-03    96.541        .30340E-05** at limit **
  18  Prefactor     42.070        42.430        .20074E-04    .32887E-04
  19  Prefactor     .10000E-03    10.595       -.29243E-05** at limit **
  20  Prefactor     11.740        9.7684       -.23412E-05    .16293E-04
  21  Normalizat    .98322        .24752       -.43591E-05    .33584E-03
  22  Prefactor     .94066        .93838E-01    .11462E-05    .54138E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.91548
  norm       = 0.0001
  norm       = 0.393604
  Prefactor  = 45.9637
  Prefactor  = 0.0001
  Prefactor  = 3.78311
  Prefactor  = 13.7605
  norm       = 0.346531
  Prefactor  = 6.54188
  Prefactor  = 30.7147
  norm       = 0.0001
  Prefactor  = 23.1202
  norm       = 9.88108
  norm       = 5.65479
  norm       = 20.4551
  norm       = 0.000100142
  Prefactor  = 0.0001
  Prefactor  = 42.0699
  Prefactor  = 0.000100001
  Prefactor  = 11.7395
  Normalizat = 0.98322
  Prefactor  = 0.940659
 **********
 **   18 **HESSE 
 **********

 FCN=   7984.256     FROM HESSE     STATUS=OK           352 CALLS     2734 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9155        2.8558        .17399E-03   -1.5431    
   2  norm          .10000E-03    5.4918        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .39360        8.6366        .25283E-02   -1.5583    
   4  Prefactor     45.964        50.004        .59125E-04   -1.4351    
   5  Prefactor     .10000E-03    9.9545        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.7831        4.0456        .17858E-03   -1.5319    
   7  Prefactor     13.760        19.428        .10799E-03   -1.4966    
   8  norm          .34653        3.9904        .23040E-02   -1.5590    
   9  Prefactor     6.5419        4.5724        .15165E-03   -1.5196    
  10  Prefactor     30.715        37.086        .72307E-04   -1.4599    
  11  norm          .10000E-03    1.4366        .10427E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     23.120        61.813        .83276E-04   -1.4746    
  13  norm          9.8811        9.6172        .12744E-03   -1.5079    
  14  norm          5.6548        2.2621        .80632E-04   -1.5232    
  15  norm          20.455        14.008        .88539E-04   -1.4803    
  16  norm          .10014E-03    495.07        .20780E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    97.077        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     42.070        42.404        .61819E-04   -1.4410    
  19  Prefactor     .10000E-03    10.676        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     11.740        9.7612        .11691E-03   -1.5023    
  21  Normalizat    .98322        .28286        .41147E-03   -.93595    
  22  Prefactor     .94066        .10875        .16655E-03   -.94734    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99737e-09
Minuit parameter uncertainties:
  1  2.85604
  2  9.01344e-06
  3  3.68763
  4  50.0494
  5  7.48507e-07
  6  4.04591
  7  19.4369
  8  2.35172
  9  4.5726
  10  37.1133
  11  1.77038e-06
  12  61.9853
  13  9.61868
  14  2.26211
  15  14.0099
  16  0.0169235
  17  1.57692e-05
  18  42.4341
  19  0.000206709
  20  9.76256
  21  0.283294
  22  0.108775
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.000e-04  1.770e-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.407e-01  1.088e-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.832e-01  2.833e-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: 5.97e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.50e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/744591/likelihoodResults_406252801_406512001_4FGL_J1550.7+0528_daily_bin644.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) = 7984.25912865
delta logL = -0.0033084071847

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7984.25582039
delta logL = -1.47852915688e-07

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.2697       1.0000          .0000       5.0000    
     3 'Normalizat'    .98322       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94063       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=   7984.256     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      236 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.5310        .10429E-02** at limit **
   2  alpha         2.1725        3.8865        .16550       -.73502E-07
   3  Normalizat    .98322        .26964        .41148E-03    .32740E-04
   4  Prefactor     .94066        .10794        .16655E-03    .86651E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.17248
  Normalizat = 0.983216
  Prefactor  = 0.94066
 **********
 **   18 **HESSE 
 **********

 FCN=   7984.256     FROM HESSE     STATUS=OK            23 CALLS      259 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.4430        .20858E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1725        3.3800        .66199E-02   -.13139    
   3  Normalizat    .98322        .26979        .16459E-04   -.93595    
   4  Prefactor     .94066        .10800        .33309E-04   -.94734    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16144e-10
Minuit parameter uncertainties:
  1  2.63232e-05
  2  180.271
  3  0.270166
  4  0.108024
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/744591': 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) = 7984.25582009
delta logL = 1.50999767357e-07

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.000e-04  2.632e-05  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  2.172e+00  1.803e+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.407e-01  1.080e-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.832e-01  2.702e-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/744591/cmap_HighResolution_406252801_406512001_4FGL_J1550.7+0528_daily_bin644.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.50e-05', job_status='DONE', photon_flux_upper_limit='5.97e-08', time_completed='2021-09-12 15:34:41.125015', job_id='744591', GAL2='0.94', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1631486081.13', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.51e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='644' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:34:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 744591: <4FGL_J1550.7+0528_daily_bin644> in cluster <slac> Done

Job <4FGL_J1550.7+0528_daily_bin644> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep 12 15:20:22 2021
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 15:20:38 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:20:38 2021
Terminated at Sun Sep 12 15:34:41 2021
Results reported at Sun Sep 12 15:34:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin644 237.697 5.4725 406252801 406512001 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 :                                   673.20 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             295.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   843 sec.
    Turnaround time :                            859 sec.

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

