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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin597
RA = 237.697, Dec = 5.4725
tmin = 394070401, tmax = 394329601
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='744516', job_status='RUN', time_executed='2021-09-12 15:22:35.020949', time_epoch_executed='1631485355.02' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='597'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/744516

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/744516/ft1_4FGL_J1550.7+0528_daily_bin597.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/744516/ft2_4FGL_J1550.7+0528_daily_bin597.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/744516/ft1_4FGL_J1550.7+0528_daily_bin597.fits outfile=/scratch/kocevski/744516/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin597.fits ra=237.697 dec=5.4725 rad=12.0 tmin=394070401.0 tmax=394329601.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 4.55
user 4.29
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/744516/ft1_filtered_4FGL_J1550.7+0528_daily_bin597.fits evtable="EVENTS" scfile=/scratch/kocevski/744516/ft2_4FGL_J1550.7+0528_daily_bin597.fits sctable="SC_DATA" expcube=/scratch/kocevski/744516/ltcube_394070401_394329601_4FGL_J1550.7+0528_daily_bin597.fits outfile=/scratch/kocevski/744516/expmap_394070401_394329601_4FGL_J1550.7+0528_daily_bin597.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/744516/ltcube_394070401_394329601_4FGL_J1550.7+0528_daily_bin597.fits
.....................!
real 191.89
user 186.70
sys 4.80

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/744516/ft1_filtered_4FGL_J1550.7+0528_daily_bin597.fits scfile=/scratch/kocevski/744516/ft2_4FGL_J1550.7+0528_daily_bin597.fits outfile=/scratch/kocevski/744516/cmap_394070401_394329601_4FGL_J1550.7+0528_daily_bin597.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/744516/ft1_filtered_4FGL_J1550.7+0528_daily_bin597.fits scfile=/scratch/kocevski/744516/ft2_4FGL_J1550.7+0528_daily_bin597.fits outfile=/scratch/kocevski/744516/cmap_HighResolution_394070401_394329601_4FGL_J1550.7+0528_daily_bin597.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/744516/ft1_filtered_4FGL_J1550.7+0528_daily_bin597.fits evtable="EVENTS" scfile=/scratch/kocevski/744516/ft2_4FGL_J1550.7+0528_daily_bin597.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/744516/Model_4FGL_J1550.7+0528_daily_bin597.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/744516/ft1_filtered_4FGL_J1550.7+0528_daily_bin597.fits.....................!
real 83.38
user 81.93
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .36869E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    4.2966       1.0000         .10000E-03   10000.    
     3 'norm      '    3.8898       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.6764       1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.654       1.0000         .10000E-03   10000.    
     8 'norm      '    3.4707       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    68.230       1.0000         .10000E-03   10000.    
    11 'norm      '    .14284E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    75.567       1.0000         .10000E-03   10000.    
    13 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.0707       1.0000         .10000E-03   10000.    
    15 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    13.336       1.0000         .10000E-03   10000.    
    17 'Prefactor '    32.276       1.0000         .10000E-03   10000.    
    18 'Prefactor '    48.582       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.5361       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .59031       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1527       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=   10933.60     FROM MIGRAD    STATUS=CONVERGED    475 CALLS     2447 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .77697        .16373E-06** at limit **
   2  norm          4.2965        4.5419        .96238E-07    .64221E-05
   3  norm          3.8895        3.6410        .10975E-06   -.35278E-04
   4  Prefactor     .10000E-03    15.785        .26155E-06** at limit **
   5  Prefactor     .10000E-03    8.4333        .95635E-07** at limit **
   6  Prefactor     1.6759        3.9211        .21202E-05    .21242E-04
   7  Prefactor     13.653        13.122       -.32380E-07   -.57554E-04
   8  norm          3.4708        2.8398        .19275E-06    .54745E-04
   9  Prefactor     .10000E-03    1.1063        .20639E-06** at limit **
  10  Prefactor     68.224        46.198        .32507E-06    .74027E-06
  11  norm          .10000E-03    1.7196        .56070E-06** at limit **
  12  Prefactor     75.532        61.438        .36747E-06   -.41411E-04
  13  norm          .10000E-03    10.884        .13566E-07** at limit **
  14  norm          1.0725        1.2489        .66207E-06    .16674E-04
  15  norm          .10000E-03    5.6300        .50693E-07** at limit **
  16  norm          13.209        88.324       -.25640E-05   -.23201E-04
  17  Prefactor     32.232        59.405        .49743E-06   -.93516E-05
  18  Prefactor     48.570        33.088        .31213E-06   -.23718E-05
  19  Prefactor     7.5355        6.3405        .43744E-07    .20198E-04
  20  Prefactor     .10000E-03    2.9275       -.17392E-07** at limit **
  21  Normalizat    .59042        .22557       -.62978E-05   -.14137E-03
  22  Prefactor     1.1527        .90748E-01    .11455E-05   -.56551E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100002
  norm       = 4.29647
  norm       = 3.88951
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.67585
  Prefactor  = 13.6534
  norm       = 3.47082
  Prefactor  = 0.0001
  Prefactor  = 68.2244
  norm       = 0.000100004
  Prefactor  = 75.5315
  norm       = 0.0001
  norm       = 1.07247
  norm       = 0.0001
  norm       = 13.2093
  Prefactor  = 32.2317
  Prefactor  = 48.5699
  Prefactor  = 7.53554
  Prefactor  = 0.0001
  Normalizat = 0.590415
  Prefactor  = 1.15269
 **********
 **   18 **HESSE 
 **********

 FCN=   10933.60     FROM HESSE     STATUS=OK           348 CALLS     2795 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    16.201        .17573E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.2965        4.5370        .19436E-03   -1.5293    
   3  norm          3.8895        3.5956        .18436E-03   -1.5314    
   4  Prefactor     .10000E-03    15.829        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.4402        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.6759        3.9529        .29891E-03   -1.5449    
   7  Prefactor     13.653        13.094        .10840E-03   -1.4969    
   8  norm          3.4708        2.8295        .14956E-03   -1.5335    
   9  Prefactor     .10000E-03    1.9583        .21215E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     68.224        46.116        .48593E-04   -1.4054    
  11  norm          .10000E-03    6.1909        .26041E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     75.532        61.307        .46190E-04   -1.3968    
  13  norm          .10000E-03    11.154        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.0725        1.2517        .23467E-03   -1.5501    
  15  norm          .10000E-03    5.6706        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          13.209        89.365        .10968E-03   -1.4981    
  17  Prefactor     32.232        59.478        .70531E-04   -1.4572    
  18  Prefactor     48.570        33.071        .57531E-04   -1.4313    
  19  Prefactor     7.5355        6.3375        .14609E-03   -1.5159    
  20  Prefactor     .10000E-03    2.9447        .17469E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .59042        .23482        .49760E-03   -1.0839    
  22  Prefactor     1.1527        .96010E-01    .15197E-03   -.87800    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.35887e-10
Minuit parameter uncertainties:
  1  0.000343553
  2  4.53739
  3  3.59581
  4  1.18518e-05
  5  5.18903e-06
  6  3.95352
  7  13.097
  8  2.82958
  9  2.37669e-05
  10  46.1406
  11  0.00030874
  12  61.3584
  13  7.64737e-06
  14  1.25174
  15  9.47658e-06
  16  68.8635
  17  59.5873
  18  33.0833
  19  6.33807
  20  2.88556e-06
  21  0.23522
  22  0.0960247
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.000e-04  3.087e-04  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.153e+00  9.602e-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:  5.904e-01  2.352e-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.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.33e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/744516/likelihoodResults_394070401_394329601_4FGL_J1550.7+0528_daily_bin597.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): 102
logL (Free Index) = 10933.5972476
delta logL = -0.000764410824559

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10933.5964841
delta logL = -8.9889181254e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10444E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2465       1.0000          .0000       5.0000    
     3 'Normalizat'    .59017       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1528       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   10933.60     FROM MIGRAD    STATUS=FAILED        95 CALLS      257 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10097E-03    480.73        .26338E-02** at limit **
   2  alpha         2.1241        3.8858        .16569        .35478E-05
   3  Normalizat    .59042        .47043E-01    .49760E-03   -.61961E-04
   4  Prefactor     1.1527        .19711E-01    .15197E-03   -.23102E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   10933.60     FROM SIMPLEX   STATUS=UNCHANGED    141 CALLS      398 TOTAL
                     EDM=   .88E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10097E-03    480.73        .38792E-03** at limit **
   2  alpha         2.1241        3.8858        .11515E-03    .35478E-05
   3  Normalizat    .59042        .47043E-01    .20424E-05   -.61961E-04
   4  Prefactor     1.1527        .19711E-01    .51699E-06   -.23102E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10933.60     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      436 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    8.0817        .52675E-03** at limit **
   2  alpha         2.0907        3.9523        .66275E-01    .65184E-08
   3  Normalizat    .59042        .22673        .19904E-04    .11926E-03
   4  Prefactor     1.1527        .95101E-01    .60786E-05    .37480E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.09068
  Normalizat = 0.590416
  Prefactor  = 1.15269
 **********
 **   18 **HESSE 
 **********

 FCN=   10933.60     FROM HESSE     STATUS=OK            23 CALLS      459 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.9170        .10535E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0907        2.9481        .26510E-02   -.16447    
   3  Normalizat    .59042        .22709        .39808E-05   -1.0839    
   4  Prefactor     1.1527        .95240E-01    .12157E-05   -.87800    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.51094e-11
Minuit parameter uncertainties:
  1  1.79015e-06
  2  154.071
  3  0.227445
  4  0.0952537
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/744516': 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) = 10933.5964825
delta logL = 7.13071131031e-07

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.000e-04  1.790e-06  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  2.091e+00  1.541e+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:  1.153e+00  9.525e-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:  5.904e-01  2.274e-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/744516/cmap_HighResolution_394070401_394329601_4FGL_J1550.7+0528_daily_bin597.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.33e-05', job_status='DONE', photon_flux_upper_limit='5.55e-08', time_completed='2021-09-12 15:36:44.156597', job_id='744516', GAL2='1.15', fit_tolerance='1e-08', EG2='0.59', EG='0.59', time_epoch_completed='1631486204.16', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='7.13e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='597' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:36:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0008>
Subject: Job 744516: <4FGL_J1550.7+0528_daily_bin597> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin597 237.697 5.4725 394070401 394329601 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 :                                   849.19 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   997 sec.
    Turnaround time :                            989 sec.

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

