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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin938
RA = 237.697, Dec = 5.4725
tmin = 482457601, tmax = 482716801
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='746048', job_status='RUN', time_executed='2021-09-12 15:28:45.338222', time_epoch_executed='1631485725.34' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/746048

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/746048/ft1_4FGL_J1550.7+0528_daily_bin938.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/746048/ft2_4FGL_J1550.7+0528_daily_bin938.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/746048/ft1_4FGL_J1550.7+0528_daily_bin938.fits outfile=/scratch/kocevski/746048/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin938.fits ra=237.697 dec=5.4725 rad=12.0 tmin=482457601.0 tmax=482716801.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.55
user 3.34
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/746048/ft1_filtered_4FGL_J1550.7+0528_daily_bin938.fits" evtable="EVENTS" scfile=/scratch/kocevski/746048/ft2_4FGL_J1550.7+0528_daily_bin938.fits sctable="SC_DATA" outfile=/scratch/kocevski/746048/ltcube_482457601_482716801_4FGL_J1550.7+0528_daily_bin938.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/746048/ft2_4FGL_J1550.7+0528_daily_bin938.fits
.....................!
real 13.98
user 13.58
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/746048/ft1_filtered_4FGL_J1550.7+0528_daily_bin938.fits evtable="EVENTS" scfile=/scratch/kocevski/746048/ft2_4FGL_J1550.7+0528_daily_bin938.fits sctable="SC_DATA" expcube=/scratch/kocevski/746048/ltcube_482457601_482716801_4FGL_J1550.7+0528_daily_bin938.fits outfile=/scratch/kocevski/746048/expmap_482457601_482716801_4FGL_J1550.7+0528_daily_bin938.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/746048/ltcube_482457601_482716801_4FGL_J1550.7+0528_daily_bin938.fits
.....................!
real 191.63
user 186.63
sys 4.56

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/746048/ft1_filtered_4FGL_J1550.7+0528_daily_bin938.fits scfile=/scratch/kocevski/746048/ft2_4FGL_J1550.7+0528_daily_bin938.fits outfile=/scratch/kocevski/746048/cmap_482457601_482716801_4FGL_J1550.7+0528_daily_bin938.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.54
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/746048/ft1_filtered_4FGL_J1550.7+0528_daily_bin938.fits scfile=/scratch/kocevski/746048/ft2_4FGL_J1550.7+0528_daily_bin938.fits outfile=/scratch/kocevski/746048/cmap_HighResolution_482457601_482716801_4FGL_J1550.7+0528_daily_bin938.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.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/746048/ft1_filtered_4FGL_J1550.7+0528_daily_bin938.fits evtable="EVENTS" scfile=/scratch/kocevski/746048/ft2_4FGL_J1550.7+0528_daily_bin938.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/746048/Model_4FGL_J1550.7+0528_daily_bin938.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/746048/ft1_filtered_4FGL_J1550.7+0528_daily_bin938.fits.....................!
real 65.28
user 63.98
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.3020       1.0000         .10000E-03   10000.    
     2 'norm      '    3.5357       1.0000         .10000E-03   10000.    
     3 'norm      '    5.9877       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.1569       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.5493       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.6864       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    6.1942       1.0000         .10000E-03   10000.    
    12 'Prefactor '    36.219       1.0000         .10000E-03   10000.    
    13 'norm      '    3.9457       1.0000         .10000E-03   10000.    
    14 'norm      '    1.1231       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.945       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    24.455       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1667       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .85168       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=   7714.940     FROM MIGRAD    STATUS=CONVERGED    464 CALLS     2330 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.3019        2.8432       -.28725E-07   -.25475E-03
   2  norm          3.5357        5.0206        .28303E-06   -.12171E-03
   3  norm          5.9877        4.6285       -.26496E-06   -.19381E-03
   4  Prefactor     .10000E-03    22.862        .54298E-05** at limit **
   5  Prefactor     .10000E-03    38.682       -.99851E-05** at limit **
   6  Prefactor     2.1568        2.5241        .92653E-07   -.17859E-04
   7  Prefactor     .10000E-03    16.618       -.14680E-04** at limit **
   8  norm          2.5492        2.4045       -.11278E-06   -.40597E-03
   9  Prefactor     1.6866        2.2967       -.20371E-06   -.21277E-03
  10  Prefactor     .10000E-03    11.306        .15065E-04** at limit **
  11  norm          6.1940        3.8142        .12710E-05    .62997E-04
  12  Prefactor     36.218        75.777       -.12953E-05    .11545E-04
  13  norm          3.9460        7.4489       -.35725E-06   -.24445E-03
  14  norm          1.1231        1.0269        .45527E-07    .32127E-03
  15  norm          .10000E-03    10.579       -.10002E-04** at limit **
  16  norm          .10000E-03    40.151       -.18913E-04** at limit **
  17  Prefactor     10.943        38.551       -.33643E-05   -.57870E-05
  18  Prefactor     .10000E-03    29.831        .28075E-04** at limit **
  19  Prefactor     24.454        14.198       -.12988E-06   -.23796E-03
  20  Prefactor     .10000E-03    3.1782        .28858E-07** at limit **
  21  Normalizat    1.1667        .22338       -.40071E-07    .47100E-04
  22  Prefactor     .85168        .86539E-01    .44472E-07    .94109E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.30186
  norm       = 3.53572
  norm       = 5.98774
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.15684
  Prefactor  = 0.0001
  norm       = 2.54921
  Prefactor  = 1.68657
  Prefactor  = 0.0001
  norm       = 6.19403
  Prefactor  = 36.2183
  norm       = 3.94595
  norm       = 1.12307
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 10.9433
  Prefactor  = 0.0001
  Prefactor  = 24.4536
  Prefactor  = 0.0001
  Normalizat = 1.16665
  Prefactor  = 0.851676
 **********
 **   18 **HESSE 
 **********

 FCN=   7714.940     FROM HESSE     STATUS=OK           346 CALLS     2676 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.3019        2.8415        .13058E-03   -1.5345    
   2  norm          3.5357        5.0110        .21497E-03   -1.5332    
   3  norm          5.9877        4.6226        .15873E-03   -1.5219    
   4  Prefactor     .10000E-03    22.881        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    39.009        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.1568        2.5188        .14636E-03   -1.5414    
   7  Prefactor     .10000E-03    16.668        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.5492        2.3965        .12730E-03   -1.5389    
   9  Prefactor     1.6866        2.2771        .15030E-03   -1.5448    
  10  Prefactor     .10000E-03    11.307        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.1940        3.8114        .12951E-03   -1.5210    
  12  Prefactor     36.218        75.818        .66592E-04   -1.4504    
  13  norm          3.9460        7.4169        .20308E-03   -1.5311    
  14  norm          1.1231        1.1066        .81652E-03   -1.5496    
  15  norm          .10000E-03    10.630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    40.146        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     10.943        38.567        .12110E-03   -1.5046    
  18  Prefactor     .10000E-03    29.846        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     24.454        14.207        .81003E-04   -1.4719    
  20  Prefactor     .10000E-03    3.1865        .15287E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1667        .25654        .35818E-03   -.87640    
  22  Prefactor     .85168        .99746E-01    .16501E-03   -.97851    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.63694e-10
Minuit parameter uncertainties:
  1  2.84159
  2  5.01161
  3  4.62283
  4  3.21877e-07
  5  5.59336e-05
  6  2.51892
  7  7.72413e-06
  8  2.39663
  9  2.27723
  10  5.1225e-07
  11  3.81155
  12  76.021
  13  7.41864
  14  1.10657
  15  1.90781e-05
  16  4.66879e-07
  17  38.655
  18  1.98242e-05
  19  14.2088
  20  3.03079e-07
  21  0.256815
  22  0.0997677
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  6.194e+00  3.812e+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:  8.517e-01  9.977e-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.167e+00  2.568e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.53
Ra Dec: 237.697 5.473
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 5.44e-08 +/- 3.35e-08
Energy Flux (Fixed Index): 2.28e-05 +/- 1.40e-05

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) = 7714.62421504
delta logL = 0.315787291031

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7714.60999105
delta logL = 0.330011287588

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.7897       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7234       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1901       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84749       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.

 FCN=   7714.610     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      206 TOTAL
                     EDM=   .87E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.7864        7.9540        .38496E-02    .52139E-04
   2  alpha         1.7225        1.0042        .43995       -.13905E-04
   3  Normalizat    1.1902        .22201        .80207E-01   -.12507E-03
   4  Prefactor     .84748        .86887E-01    .44332E-01   -.34077E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.78641
  alpha      = 1.72253
  Normalizat = 1.19023
  Prefactor  = 0.847477
 **********
 **   18 **HESSE 
 **********

 FCN=   7714.610     FROM HESSE     STATUS=OK            29 CALLS      235 TOTAL
                     EDM=   .46E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.7864        4.2931        .13928E-03   -1.5187    
   2  alpha         1.7225        .63557        .19499E-01   -.31623    
   3  Normalizat    1.1902        .24702        .35506E-03   -.86905    
   4  Prefactor     .84748        .99307E-01    .16536E-03   -.98001    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.59764e-11
Minuit parameter uncertainties:
  1  4.29326
  2  0.643401
  3  0.247264
  4  0.0993282
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/746048': 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) = 7714.60999006
delta logL = 0.330012272596

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  6.786e+00  4.293e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  1.723e+00  6.434e-01  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.475e-01  9.933e-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.190e+00  2.473e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.20
Ra Dec: 237.697 5.473
Photon Index (Free Index): 1.72 +/- 0.64
Photon Flux (Free Index): 3.25e-08 +/- 2.91e-08
Energy Flux (Free Index): 2.90e-05 +/- 2.20e-05

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/746048/cmap_HighResolution_482457601_482716801_4FGL_J1550.7+0528_daily_bin938.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.44e-08', energy_flux2='2.90e-05', photon_flux_error='3.35e-08', dlogl='3.30e-01', energy_flux='2.28e-05', photon_flux2='3.25e-08', job_status='DONE', time_completed='2021-09-12 15:38:47.593352', photon_index_error2='0.64', photon_index2='1.72', ts='6.53', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', energy_flux_error2='2.20e-05', EG='1.17', time_epoch_completed='1631486327.59', return_code='0', job_id='746048', GAL2='0.85', EG2='1.19', return_code2='0', energy_flux_error='1.40e-05', photon_flux_error2='2.91e-08', ts2='7.20', photon_index='2.27' WHERE bin_id='938' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:38:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 746048: <4FGL_J1550.7+0528_daily_bin938> in cluster <slac> Done

Job <4FGL_J1550.7+0528_daily_bin938> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 12 15:25:19 2021
Job was executed on host(s) <bullet0055>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 15:25:34 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:34 2021
Terminated at Sun Sep 12 15:38:48 2021
Results reported at Sun Sep 12 15:38:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin938 237.697 5.4725 482457601 482716801 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 :                                   600.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             224.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   793 sec.
    Turnaround time :                            809 sec.

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

