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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin212
RA = 237.697, Dec = 5.4725
tmin = 294278401, tmax = 294537601
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='741881', job_status='RUN', time_executed='2021-09-12 15:14:58.093664', time_epoch_executed='1631484898.09' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='212'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/741881

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/741881/ft1_4FGL_J1550.7+0528_daily_bin212.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/741881/ft2_4FGL_J1550.7+0528_daily_bin212.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/741881/ft1_4FGL_J1550.7+0528_daily_bin212.fits outfile=/scratch/kocevski/741881/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin212.fits ra=237.697 dec=5.4725 rad=12.0 tmin=294278401.0 tmax=294537601.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 2.39
user 2.18
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/741881/ft2_4FGL_J1550.7+0528_daily_bin212.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/741881/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin212.fits evtable="EVENTS" outfile="/scratch/kocevski/741881/ft1_filtered_4FGL_J1550.7+0528_daily_bin212.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/741881/ft1_filtered_4FGL_J1550.7+0528_daily_bin212.fits" evtable="EVENTS" scfile=/scratch/kocevski/741881/ft2_4FGL_J1550.7+0528_daily_bin212.fits sctable="SC_DATA" outfile=/scratch/kocevski/741881/ltcube_294278401_294537601_4FGL_J1550.7+0528_daily_bin212.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/741881/ft2_4FGL_J1550.7+0528_daily_bin212.fits
.....................!
real 14.31
user 13.92
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/741881/ft1_filtered_4FGL_J1550.7+0528_daily_bin212.fits evtable="EVENTS" scfile=/scratch/kocevski/741881/ft2_4FGL_J1550.7+0528_daily_bin212.fits sctable="SC_DATA" expcube=/scratch/kocevski/741881/ltcube_294278401_294537601_4FGL_J1550.7+0528_daily_bin212.fits outfile=/scratch/kocevski/741881/expmap_294278401_294537601_4FGL_J1550.7+0528_daily_bin212.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/741881/ltcube_294278401_294537601_4FGL_J1550.7+0528_daily_bin212.fits
.....................!
real 192.07
user 186.13
sys 5.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/741881/ft1_filtered_4FGL_J1550.7+0528_daily_bin212.fits scfile=/scratch/kocevski/741881/ft2_4FGL_J1550.7+0528_daily_bin212.fits outfile=/scratch/kocevski/741881/cmap_294278401_294537601_4FGL_J1550.7+0528_daily_bin212.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/741881/ft1_filtered_4FGL_J1550.7+0528_daily_bin212.fits scfile=/scratch/kocevski/741881/ft2_4FGL_J1550.7+0528_daily_bin212.fits outfile=/scratch/kocevski/741881/cmap_HighResolution_294278401_294537601_4FGL_J1550.7+0528_daily_bin212.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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/741881/ft1_filtered_4FGL_J1550.7+0528_daily_bin212.fits evtable="EVENTS" scfile=/scratch/kocevski/741881/ft2_4FGL_J1550.7+0528_daily_bin212.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/741881/Model_4FGL_J1550.7+0528_daily_bin212.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/741881/ft1_filtered_4FGL_J1550.7+0528_daily_bin212.fits.....................!
real 71.37
user 69.97
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.5024       1.0000         .10000E-03   10000.    
     2 'norm      '    1.9096       1.0000         .10000E-03   10000.    
     3 'norm      '    2.4258       1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.663       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.9146       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.3224       1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.564       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.3487       1.0000         .10000E-03   10000.    
    11 'norm      '    11.534       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    11.184       1.0000         .10000E-03   10000.    
    14 'norm      '    6.8942       1.0000         .10000E-03   10000.    
    15 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0458       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0737       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=   8645.427     FROM MIGRAD    STATUS=CONVERGED    463 CALLS     2312 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5021        2.8842       -.13801E-07   -.74123E-04
   2  norm          1.9096        4.3687        .49971E-05   -.17359E-04
   3  norm          2.4257        2.8854       -.25158E-07   -.43863E-04
   4  Prefactor     13.639        33.927        .55825E-05    .48128E-05
   5  Prefactor     2.8896        75.026        .10572E-04   -.78778E-05
   6  Prefactor     .10000E-03    1.1979        .17807E-07** at limit **
   7  Prefactor     .10000E-03    11.831       -.26912E-06** at limit **
   8  norm          2.3225        3.0575        .24227E-06   -.44875E-06
   9  Prefactor     12.564        5.5094        .69930E-07   -.23097E-04
  10  Prefactor     2.3526        156.65       -.29644E-05   -.76769E-05
  11  norm          11.534        4.9761        .28483E-07   -.10237E-04
  12  Prefactor     .10000E-03    20.798       -.75654E-06** at limit **
  13  norm          11.183        9.9659        .27185E-07   -.37294E-04
  14  norm          6.8942        2.3700        .17229E-07   -.25281E-04
  15  norm          .10000E-03    5.6145        .94861E-07** at limit **
  16  norm          .10000E-03    34.209        .21202E-05** at limit **
  17  Prefactor     .10000E-03    26.702       -.29083E-05** at limit **
  18  Prefactor     .10000E-03    17.801        .20598E-05** at limit **
  19  Prefactor     .10000E-03    3.3083        .89877E-07** at limit **
  20  Prefactor     .10000E-03    5.0675        .46873E-07** at limit **
  21  Normalizat    1.0458        .25132       -.34161E-06   -.49329E-04
  22  Prefactor     1.0737        .98416E-01   -.47789E-06   -.18951E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.50211
  norm       = 1.9096
  norm       = 2.42568
  Prefactor  = 13.6391
  Prefactor  = 2.88959
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.32247
  Prefactor  = 12.5635
  Prefactor  = 2.35256
  norm       = 11.5339
  Prefactor  = 0.0001
  norm       = 11.1831
  norm       = 6.89423
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.04578
  Prefactor  = 1.07368
 **********
 **   18 **HESSE 
 **********

 FCN=   8645.427     FROM HESSE     STATUS=OK           344 CALLS     2656 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5021        2.8806        .13677E-03   -1.5334    
   2  norm          1.9096        4.3714        .14474E-02   -1.5432    
   3  norm          2.4257        2.8782        .16678E-03   -1.5396    
   4  Prefactor     13.639        33.949        .10836E-03   -1.4969    
   5  Prefactor     2.8896        75.496        .23798E-03   -1.5368    
   6  Prefactor     .10000E-03    1.2021        .99365E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    11.839        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.3225        3.0265        .17513E-03   -1.5403    
   9  Prefactor     12.564        5.5087        .11301E-03   -1.4999    
  10  Prefactor     2.3526        156.33        .26748E-03   -1.5401    
  11  norm          11.534        4.9755        .11796E-03   -1.5029    
  12  Prefactor     .10000E-03    20.800        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          11.183        9.9646        .11980E-03   -1.5039    
  14  norm          6.8942        2.3694        .80149E-04   -1.5183    
  15  norm          .10000E-03    5.6379        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    34.214        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    26.698        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    17.865        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.3132        .16517E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.1011        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0458        .28486        .41698E-03   -.91512    
  22  Prefactor     1.0737        .11229        .16985E-03   -.90312    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.60546e-10
Minuit parameter uncertainties:
  1  2.88069
  2  4.37212
  3  2.87841
  4  33.9971
  5  29.581
  6  1.61854e-07
  7  2.07038e-06
  8  3.02667
  9  5.50893
  10  38.46
  11  4.97567
  12  2.47774e-06
  13  9.96606
  14  2.36946
  15  1.13396e-05
  16  2.05563e-05
  17  1.75534e-06
  18  2.72201e-05
  19  4.92711e-06
  20  1.46913e-05
  21  0.285281
  22  0.112318
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.153e+01  4.976e+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:  1.074e+00  1.123e-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.046e+00  2.853e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.40
Ra Dec: 237.697 5.473
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 1.01e-07 +/- 4.37e-08
Energy Flux (Fixed Index): 4.25e-05 +/- 1.83e-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) = 8645.23030215
delta logL = 0.196870133192

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8645.22460987
delta logL = 0.202562409249

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.4824       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6049       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0071       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0825       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=   8645.225     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      265 TOTAL
                     EDM=   .93E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.4841        55.575        .32535E-02    .10246E-03
   2  alpha         2.6053        3.7858        .28672        .78450E-04
   3  Normalizat    1.0072        .16624        .95661E-01    .44033E-04
   4  Prefactor     1.0825        .43001E-01    .38291E-01    .30978E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.48406
  alpha      = 2.60527
  Normalizat = 1.00719
  Prefactor  = 1.08246
 **********
 **   18 **HESSE 
 **********

 FCN=   8645.225     FROM HESSE     STATUS=OK            33 CALLS      298 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.4841        5.8230        .11087E-03   -1.5092    
   2  alpha         2.6053        .55455        .10637E-01    .42120E-01
   3  Normalizat    1.0072        .27751        .42374E-03   -.92790    
   4  Prefactor     1.0825        .11242        .16920E-03   -.90029    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.97179e-09
Minuit parameter uncertainties:
  1  5.8233
  2  0.559214
  3  0.277907
  4  0.112443
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/741881': 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) = 8645.22460867
delta logL = 0.202563613506

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  9.484e+00  5.823e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  2.605e+00  5.592e-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:  1.082e+00  1.124e-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.007e+00  2.779e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.85
Ra Dec: 237.697 5.473
Photon Index (Free Index): 2.61 +/- 0.56
Photon Flux (Free Index): 1.34e-07 +/- 7.39e-08
Energy Flux (Free Index): 4.11e-05 +/- 1.68e-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/741881/cmap_HighResolution_294278401_294537601_4FGL_J1550.7+0528_daily_bin212.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.01e-07', energy_flux2='4.11e-05', photon_flux_error='4.37e-08', dlogl='2.03e-01', energy_flux='4.25e-05', photon_flux2='1.34e-07', job_status='DONE', time_completed='2021-09-12 15:25:40.904435', photon_index_error2='0.56', photon_index2='2.61', ts='12.40', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='1.68e-05', EG='1.05', time_epoch_completed='1631485540.9', return_code='0', job_id='741881', GAL2='1.08', EG2='1.01', return_code2='0', energy_flux_error='1.83e-05', photon_flux_error2='7.39e-08', ts2='12.85', photon_index='2.27' WHERE bin_id='212' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:25:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0182>
Subject: Job 741881: <4FGL_J1550.7+0528_daily_bin212> in cluster <slac> Done

Job <4FGL_J1550.7+0528_daily_bin212> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep 12 15:10:34 2021
Job was executed on host(s) <bullet0182>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 15:14:47 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:14:47 2021
Terminated at Sun Sep 12 15:25:41 2021
Results reported at Sun Sep 12 15:25:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin212 237.697 5.4725 294278401 294537601 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 :                                   641.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             334.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   654 sec.
    Turnaround time :                            907 sec.

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

