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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin635
RA = 237.697, Dec = 5.4725
tmin = 403920001, tmax = 404179201
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='744577', job_status='RUN', time_executed='2021-09-12 15:23:50.697355', time_epoch_executed='1631485430.7' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='635'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/744577

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

Retrieving the FT1 file...

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

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

Retrieving 39 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/744577/ft1_4FGL_J1550.7+0528_daily_bin635.fits


Retrieving the FT1 file...

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

Retrieving 39 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/744577/ft2_4FGL_J1550.7+0528_daily_bin635.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/744577/ft1_4FGL_J1550.7+0528_daily_bin635.fits outfile=/scratch/kocevski/744577/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin635.fits ra=237.697 dec=5.4725 rad=12.0 tmin=403920001.0 tmax=404179201.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 8.24
user 7.89
sys 0.31

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/744577/ft1_filtered_4FGL_J1550.7+0528_daily_bin635.fits" evtable="EVENTS" scfile=/scratch/kocevski/744577/ft2_4FGL_J1550.7+0528_daily_bin635.fits sctable="SC_DATA" outfile=/scratch/kocevski/744577/ltcube_403920001_404179201_4FGL_J1550.7+0528_daily_bin635.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/744577/ft2_4FGL_J1550.7+0528_daily_bin635.fits
.....................!
real 10.31
user 9.92
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/744577/ft1_filtered_4FGL_J1550.7+0528_daily_bin635.fits evtable="EVENTS" scfile=/scratch/kocevski/744577/ft2_4FGL_J1550.7+0528_daily_bin635.fits sctable="SC_DATA" expcube=/scratch/kocevski/744577/ltcube_403920001_404179201_4FGL_J1550.7+0528_daily_bin635.fits outfile=/scratch/kocevski/744577/expmap_403920001_404179201_4FGL_J1550.7+0528_daily_bin635.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/744577/ltcube_403920001_404179201_4FGL_J1550.7+0528_daily_bin635.fits
.....................!
real 159.29
user 154.60
sys 4.31

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 152 point sources and 0 extended sources

Setting source of interest to:
4FGL J1550.7+0528 @ 237.697 5.4725

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/744577/ft1_filtered_4FGL_J1550.7+0528_daily_bin635.fits scfile=/scratch/kocevski/744577/ft2_4FGL_J1550.7+0528_daily_bin635.fits outfile=/scratch/kocevski/744577/cmap_403920001_404179201_4FGL_J1550.7+0528_daily_bin635.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.49
user 0.33
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/744577/ft1_filtered_4FGL_J1550.7+0528_daily_bin635.fits scfile=/scratch/kocevski/744577/ft2_4FGL_J1550.7+0528_daily_bin635.fits outfile=/scratch/kocevski/744577/cmap_HighResolution_403920001_404179201_4FGL_J1550.7+0528_daily_bin635.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.49
user 0.33
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/744577/ft1_filtered_4FGL_J1550.7+0528_daily_bin635.fits evtable="EVENTS" scfile=/scratch/kocevski/744577/ft2_4FGL_J1550.7+0528_daily_bin635.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/744577/Model_4FGL_J1550.7+0528_daily_bin635.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/744577/ft1_filtered_4FGL_J1550.7+0528_daily_bin635.fits......................!
real 22.43
user 21.25
sys 1.11

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10322E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    46.946       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10168E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    108.52       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10249E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.9408       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .78838       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=   1945.418     FROM MIGRAD    STATUS=CONVERGED    466 CALLS     2334 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.8176       -.36748E-07** at limit **
   2  norm          .10000E-03    7.1184       -.75069E-06** at limit **
   3  norm          .10000E-03    5.2661        .26979E-07** at limit **
   4  Prefactor     .10000E-03    58.231       -.47424E-05** at limit **
   5  Prefactor     .10000E-03    25.032       -.14929E-04** at limit **
   6  Prefactor     .10000E-03    32.898       -.12188E-04** at limit **
   7  Prefactor     46.942        83.450       -.47292E-05    .21569E-04
   8  norm          .10000E-03    1.6788        .10636E-06** at limit **
   9  Prefactor     .10000E-03    6.5310        .62651E-06** at limit **
  10  Prefactor     .10000E-03    27.758        .19213E-04** at limit **
  11  norm          .10000E-03    5.9009       -.17641E-06** at limit **
  12  Prefactor     .10000E-03    49.682       -.44291E-04** at limit **
  13  norm          .10000E-03    8.2322        .30423E-06** at limit **
  14  norm          .10000E-03    1.1184       -.11636E-06** at limit **
  15  norm          .10000E-03    32.687       -.33911E-05** at limit **
  16  norm          108.06        280.28       -.43913E-03    .10655E-04
  17  Prefactor     .10000E-03    147.52       -.49567E-04** at limit **
  18  Prefactor     .10000E-03    65.299        .30932E-04** at limit **
  19  Prefactor     .10000E-03    30.120        .13717E-04** at limit **
  20  Prefactor     .10003E-03    65.721        .42315E-04** at limit **
  21  Normalizat    1.9403        .51941       -.61234E-05    .77965E-04
  22  Prefactor     .78866        .20927        .10556E-04   -.46159E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 46.9424
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 108.058
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100026
  Normalizat = 1.94034
  Prefactor  = 0.788655
 **********
 **   18 **HESSE 
 **********

 FCN=   1945.418     FROM HESSE     STATUS=OK           322 CALLS     2656 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.8229        .84173E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    7.1184        .11495E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    5.2719        .98864E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    58.245        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    25.036        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    33.913        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     46.942        83.452        .58520E-04   -1.4337    
   8  norm          .10000E-03    1.6802        .55814E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.5446        .11007E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    27.761        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    5.9140        .10460E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    49.695        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    8.2504        .12360E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.1222        .45555E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    32.790        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          108.06        280.75        .19304E-03   -1.3625    
  17  Prefactor     .10000E-03    147.55        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    65.348        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    30.319        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10003E-03    68.621        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.9403        .62322        .33574E-03   -.66054    
  22  Prefactor     .78866        .25103        .19705E-03   -1.0015    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.41751e-09
Minuit parameter uncertainties:
  1  5.23791e-06
  2  1.3172e-06
  3  5.20946e-06
  4  2.23933e-05
  5  8.72118e-06
  6  4.29637e-05
  7  83.6605
  8  3.99239e-06
  9  2.59707e-06
  10  1.94601e-05
  11  7.91428e-06
  12  1.60176e-05
  13  2.53424e-05
  14  3.40017e-06
  15  0.000122335
  16  284.325
  17  0.000106948
  18  0.000201039
  19  0.000431329
  20  0.00268578
  21  0.62584
  22  0.251391
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.000e-04  7.914e-06  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  2.272e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
238         beta:  1.873e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  9.907e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  7.887e-01  2.514e-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.940e+00  6.258e-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: 2.16e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.08e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/744577/likelihoodResults_403920001_404179201_4FGL_J1550.7+0528_daily_bin635.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) = 1945.41908694
delta logL = -0.000793792139802

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1945.41829346
delta logL = -3.07270966005e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2743       1.0000          .0000       5.0000    
     3 'Normalizat'    1.9408       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78851       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=   1945.418     FROM MIGRAD    STATUS=FAILED        85 CALLS      226 TOTAL
                     EDM=   .47E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10018E-03    7.4354        .10463E-02** at limit **
   2  alpha         2.3417        3.6539        .16546       -.11768E-05
   3  Normalizat    1.9403        .62045        .33574E-03    .56718E-06
   4  Prefactor     .78867        .24963        .19705E-03    .18751E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   1945.418     FROM SIMPLEX   STATUS=UNCHANGED    123 CALLS      349 TOTAL
                     EDM=   .15E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10018E-03    7.4354        .33544E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3417        3.6539        .39142E-03   -.63382E-01
   3  Normalizat    1.9403        .62045        .12957E-03   -.66055    
   4  Prefactor     .78867        .24963        .76854E-04   -1.0015    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1945.418     FROM MIGRAD    STATUS=CONVERGED     27 CALLS      376 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.9609        .20925E-03** at limit **
   2  alpha         2.4279        3.2499        .66185E-02    .84598E-07
   3  Normalizat    1.9403        .62113        .13430E-04   -.57565E-05
   4  Prefactor     .78867        .24990        .78819E-05   -.85821E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  alpha      = 2.42794
  Normalizat = 1.94031
  Prefactor  = 0.788669
 **********
 **   18 **HESSE 
 **********

 FCN=   1945.418     FROM HESSE     STATUS=OK            23 CALLS      399 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.9605        .41851E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.4279        2.9312        .13237E-02   -.28826E-01
   3  Normalizat    1.9403        .62154        .26859E-05   -.66055    
   4  Prefactor     .78867        .25010        .15764E-05   -1.0015    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.88464e-10
Minuit parameter uncertainties:
  1  0.000167659
  2  407.362
  3  0.624145
  4  0.25046
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/744577': 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) = 1945.41829308
delta logL = 6.69754172122e-08

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.000e-04  1.677e-04  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  2.428e+00  4.074e+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:  7.887e-01  2.505e-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.940e+00  6.241e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/744577/cmap_HighResolution_403920001_404179201_4FGL_J1550.7+0528_daily_bin635.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.08e-05', job_status='DONE', photon_flux_upper_limit='2.16e-07', time_completed='2021-09-12 15:29:58.375675', job_id='744577', GAL2='0.79', fit_tolerance='1e-08', EG2='1.94', EG='1.94', time_epoch_completed='1631485798.38', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='6.70e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='635' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:29:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0026>
Subject: Job 744577: <4FGL_J1550.7+0528_daily_bin635> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin635 237.697 5.4725 403920001 404179201 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 :                                   363.49 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             182.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   567 sec.
    Turnaround time :                            577 sec.

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

