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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin851
RA = 237.697, Dec = 5.4725
tmin = 459907201, tmax = 460166401
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='744924', job_status='RUN', time_executed='2021-09-12 15:24:57.633724', time_epoch_executed='1631485497.63' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='851'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/744924

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/744924/ft1_4FGL_J1550.7+0528_daily_bin851.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/744924/ft2_4FGL_J1550.7+0528_daily_bin851.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/744924/ft1_4FGL_J1550.7+0528_daily_bin851.fits outfile=/scratch/kocevski/744924/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin851.fits ra=237.697 dec=5.4725 rad=12.0 tmin=459907201.0 tmax=460166401.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.45
user 3.22
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/744924/ft1_filtered_4FGL_J1550.7+0528_daily_bin851.fits" evtable="EVENTS" scfile=/scratch/kocevski/744924/ft2_4FGL_J1550.7+0528_daily_bin851.fits sctable="SC_DATA" outfile=/scratch/kocevski/744924/ltcube_459907201_460166401_4FGL_J1550.7+0528_daily_bin851.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/744924/ft2_4FGL_J1550.7+0528_daily_bin851.fits
.....................!
real 14.50
user 14.12
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/744924/ft1_filtered_4FGL_J1550.7+0528_daily_bin851.fits evtable="EVENTS" scfile=/scratch/kocevski/744924/ft2_4FGL_J1550.7+0528_daily_bin851.fits sctable="SC_DATA" expcube=/scratch/kocevski/744924/ltcube_459907201_460166401_4FGL_J1550.7+0528_daily_bin851.fits outfile=/scratch/kocevski/744924/expmap_459907201_460166401_4FGL_J1550.7+0528_daily_bin851.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/744924/ltcube_459907201_460166401_4FGL_J1550.7+0528_daily_bin851.fits
.....................!
real 191.92
user 186.30
sys 4.99

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/744924/ft1_filtered_4FGL_J1550.7+0528_daily_bin851.fits scfile=/scratch/kocevski/744924/ft2_4FGL_J1550.7+0528_daily_bin851.fits outfile=/scratch/kocevski/744924/cmap_459907201_460166401_4FGL_J1550.7+0528_daily_bin851.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=237.697 yref=5.4725 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/744924/ft1_filtered_4FGL_J1550.7+0528_daily_bin851.fits scfile=/scratch/kocevski/744924/ft2_4FGL_J1550.7+0528_daily_bin851.fits outfile=/scratch/kocevski/744924/cmap_HighResolution_459907201_460166401_4FGL_J1550.7+0528_daily_bin851.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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/744924/ft1_filtered_4FGL_J1550.7+0528_daily_bin851.fits evtable="EVENTS" scfile=/scratch/kocevski/744924/ft2_4FGL_J1550.7+0528_daily_bin851.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/744924/Model_4FGL_J1550.7+0528_daily_bin851.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/744924/ft1_filtered_4FGL_J1550.7+0528_daily_bin851.fits.....................!
real 66.36
user 64.97
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13692E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.7702       1.0000         .10000E-03   10000.    
     3 'norm      '    2.2900       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    38.066       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.7358       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.4809       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.2430       1.0000         .10000E-03   10000.    
    11 'norm      '    .32481       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    7.3593       1.0000         .10000E-03   10000.    
    14 'norm      '    2.2704       1.0000         .10000E-03   10000.    
    15 'norm      '    8.8828       1.0000         .10000E-03   10000.    
    16 'norm      '    156.10       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.7494       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.4587       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.4794       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .91259       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=   8001.133     FROM MIGRAD    STATUS=CONVERGED    493 CALLS     2397 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.5632        .10634E-06** at limit **
   2  norm          1.7705        5.3944        .68511E-06   -.16529E-03
   3  norm          2.2892        2.6815        .61321E-07   -.26551E-04
   4  Prefactor     .10000E-03    15.260       -.30361E-07** at limit **
   5  Prefactor     38.063        36.392        .68347E-07   -.43608E-04
   6  Prefactor     4.7361        6.2248        .32342E-06   -.13810E-03
   7  Prefactor     .10000E-03    28.273       -.26522E-06** at limit **
   8  norm          .10000E-03    1.4254        .16821E-06** at limit **
   9  Prefactor     2.4816        4.5066        .62407E-06   -.13352E-03
  10  Prefactor     5.2776        52.259        .98355E-05    .18232E-03
  11  norm          .32344        1.9759        .16734E-07   -.20934E-04
  12  Prefactor     .10000E-03    65.831        .74544E-06** at limit **
  13  norm          7.3589        7.6919        .21745E-05   -.37986E-03
  14  norm          2.2705        1.5021       -.98891E-07   -.33752E-04
  15  norm          8.8842        13.872        .22092E-06   -.16730E-04
  16  norm          156.04        129.47       -.53320E-05   -.20788E-03
  17  Prefactor     .10000E-03    17.684        .11793E-06** at limit **
  18  Prefactor     9.7520        19.954       -.87539E-06   -.60333E-05
  19  Prefactor     5.4592        9.0045        .45682E-05   -.40958E-03
  20  Prefactor     .10000E-03    3.2674       -.16389E-06** at limit **
  21  Normalizat    1.4792        .25213       -.22696E-05    .34784E-06
  22  Prefactor     .91264        .96346E-01    .15940E-06   -.18515E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 1.77049
  norm       = 2.28923
  Prefactor  = 0.0001
  Prefactor  = 38.0631
  Prefactor  = 4.73612
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.48157
  Prefactor  = 5.27761
  norm       = 0.323444
  Prefactor  = 0.0001
  norm       = 7.35889
  norm       = 2.27048
  norm       = 8.88415
  norm       = 156.042
  Prefactor  = 0.0001
  Prefactor  = 9.75201
  Prefactor  = 5.45924
  Prefactor  = 0.0001
  Normalizat = 1.47918
  Prefactor  = 0.91264
 **********
 **   18 **HESSE 
 **********

 FCN=   8001.133     FROM HESSE     STATUS=OK           350 CALLS     2747 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.7593        .21627E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.7705        5.3692        .31475E-03   -1.5442    
   3  norm          2.2892        2.6685        .15402E-03   -1.5405    
   4  Prefactor     .10000E-03    15.266        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     38.063        36.539        .64962E-04   -1.4473    
   6  Prefactor     4.7361        6.2162        .18490E-03   -1.5273    
   7  Prefactor     .10000E-03    28.418        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.4892        .20831E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.4816        4.4605        .23676E-03   -1.5393    
  10  Prefactor     5.2776        56.244        .17555E-03   -1.5248    
  11  norm          .32344        10.453        .23807E-02   -1.5594    
  12  Prefactor     .10000E-03    66.028        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          7.3589        7.7341        .73924E-03   -1.5165    
  14  norm          2.2705        1.5041        .85926E-04   -1.5407    
  15  norm          8.8842        13.903        .13448E-03   -1.5112    
  16  norm          156.04        132.86        .16134E-03   -1.3203    
  17  Prefactor     .10000E-03    17.687        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     9.7520        19.947        .12834E-03   -1.5083    
  19  Prefactor     5.4592        9.1398        .85991E-03   -1.5241    
  20  Prefactor     .10000E-03    3.2855        .15793E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.4792        .29146        .35635E-03   -.78365    
  22  Prefactor     .91264        .11265        .17832E-03   -.95701    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.47691e-08
Minuit parameter uncertainties:
  1  2.35188e-05
  2  5.37069
  3  2.6686
  4  5.99831e-07
  5  36.5608
  6  6.21709
  7  3.88099e-05
  8  1.15453e-05
  9  4.46113
  10  34.499
  11  3.67759
  12  0.000283502
  13  7.73519
  14  1.50414
  15  13.9079
  16  133.12
  17  2.50485e-05
  18  19.9611
  19  9.14212
  20  1.24086e-05
  21  0.291793
  22  0.112683
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  3.234e-01  3.678e+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

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  9.126e-01  1.127e-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.479e+00  2.918e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/744924/likelihoodResults_459907201_460166401_4FGL_J1550.7+0528_daily_bin851.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) = 8001.12077757
delta logL = 0.0124079787511

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8001.11280497
delta logL = 0.0203805731908

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .78898       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6722       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4815       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91124       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=   8001.113     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      260 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .78787        4.4685        .36521E-03   -.22634E-03
   2  alpha         1.6719        1.9595        .71148E-01   -.15359E-04
   3  Normalizat    1.4815        .27351        .35611E-03   -.18692E-03
   4  Prefactor     .91124        .11186        .17843E-03   -.41802E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.787873
  alpha      = 1.67192
  Normalizat = 1.48148
  Prefactor  = 0.911243
 **********
 **   18 **HESSE 
 **********

 FCN=   8001.113     FROM HESSE     STATUS=OK            25 CALLS      285 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .78787        4.6214        .14609E-04   -1.5530    
   2  alpha         1.6719        3.3028        .28459E-02   -.33761    
   3  Normalizat    1.4815        .27364        .14245E-04   -.78300    
   4  Prefactor     .91124        .11192        .35686E-04   -.95749    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.16597e-10
Minuit parameter uncertainties:
  1  3.81652
  2  2.36424
  3  0.27391
  4  0.111946
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/744924': 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) = 8001.11280493
delta logL = 0.0203806188329

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  7.879e-01  3.817e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  1.672e+00  2.364e+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.112e-01  1.119e-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.481e+00  2.739e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/744924/cmap_HighResolution_459907201_460166401_4FGL_J1550.7+0528_daily_bin851.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.66e-05', job_status='DONE', photon_flux_upper_limit='8.72e-08', time_completed='2021-09-12 15:36:33.687305', job_id='744924', GAL2='0.91', fit_tolerance='1e-08', EG2='1.48', EG='1.48', time_epoch_completed='1631486193.69', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='2.04e-02', ts2='0.05', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='851' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:36:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0104>
Subject: Job 744924: <4FGL_J1550.7+0528_daily_bin851> in cluster <slac> Done

Job <4FGL_J1550.7+0528_daily_bin851> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep 12 15:20:49 2021
Job was executed on host(s) <bullet0104>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 15:21:52 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:21:52 2021
Terminated at Sun Sep 12 15:36:35 2021
Results reported at Sun Sep 12 15:36:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin851 237.697 5.4725 459907201 460166401 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 :                                   696.23 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             276.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   882 sec.
    Turnaround time :                            946 sec.

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

