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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin922
RA = 237.697, Dec = 5.4725
tmin = 478310401, tmax = 478569601
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='746022', job_status='RUN', time_executed='2021-09-12 15:27:58.149975', time_epoch_executed='1631485678.15' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='922'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/746022

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/746022/ft1_4FGL_J1550.7+0528_daily_bin922.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/746022/ft2_4FGL_J1550.7+0528_daily_bin922.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/746022/ft1_4FGL_J1550.7+0528_daily_bin922.fits outfile=/scratch/kocevski/746022/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin922.fits ra=237.697 dec=5.4725 rad=12.0 tmin=478310401.0 tmax=478569601.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.54
user 3.32
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/746022/ft1_filtered_4FGL_J1550.7+0528_daily_bin922.fits" evtable="EVENTS" scfile=/scratch/kocevski/746022/ft2_4FGL_J1550.7+0528_daily_bin922.fits sctable="SC_DATA" outfile=/scratch/kocevski/746022/ltcube_478310401_478569601_4FGL_J1550.7+0528_daily_bin922.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/746022/ft2_4FGL_J1550.7+0528_daily_bin922.fits
.....................!
real 12.91
user 12.50
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/746022/ft1_filtered_4FGL_J1550.7+0528_daily_bin922.fits evtable="EVENTS" scfile=/scratch/kocevski/746022/ft2_4FGL_J1550.7+0528_daily_bin922.fits sctable="SC_DATA" expcube=/scratch/kocevski/746022/ltcube_478310401_478569601_4FGL_J1550.7+0528_daily_bin922.fits outfile=/scratch/kocevski/746022/expmap_478310401_478569601_4FGL_J1550.7+0528_daily_bin922.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/746022/ltcube_478310401_478569601_4FGL_J1550.7+0528_daily_bin922.fits
.....................!
real 192.22
user 185.87
sys 5.30

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/746022/ft1_filtered_4FGL_J1550.7+0528_daily_bin922.fits scfile=/scratch/kocevski/746022/ft2_4FGL_J1550.7+0528_daily_bin922.fits outfile=/scratch/kocevski/746022/cmap_478310401_478569601_4FGL_J1550.7+0528_daily_bin922.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.60
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/746022/ft1_filtered_4FGL_J1550.7+0528_daily_bin922.fits scfile=/scratch/kocevski/746022/ft2_4FGL_J1550.7+0528_daily_bin922.fits outfile=/scratch/kocevski/746022/cmap_HighResolution_478310401_478569601_4FGL_J1550.7+0528_daily_bin922.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.54
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/746022/ft1_filtered_4FGL_J1550.7+0528_daily_bin922.fits evtable="EVENTS" scfile=/scratch/kocevski/746022/ft2_4FGL_J1550.7+0528_daily_bin922.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/746022/Model_4FGL_J1550.7+0528_daily_bin922.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/746022/ft1_filtered_4FGL_J1550.7+0528_daily_bin922.fits.....................!
real 72.22
user 70.89
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10118E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    10.807       1.0000         .10000E-03   10000.    
     3 'norm      '    .10103E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    15.958       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.7482       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.7277       1.0000         .10000E-03   10000.    
     8 'norm      '    1.9445       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.1323       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10216E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10618E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    10.561       1.0000         .10000E-03   10000.    
    14 'norm      '    4.9732       1.0000         .10000E-03   10000.    
    15 'norm      '    .29294E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    92.698       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.8511       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11860E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.5888       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3963       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .94078       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=   9191.597     FROM MIGRAD    STATUS=CONVERGED    490 CALLS     2397 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.2303        .50750E-07** at limit **
   2  norm          10.807        6.9735        .19906E-07   -.78881E-05
   3  norm          .10000E-03    1.8310        .14029E-07** at limit **
   4  Prefactor     15.967        24.097       -.38039E-06   -.19879E-04
   5  Prefactor     .10000E-03    9.4279        .37289E-06** at limit **
   6  Prefactor     8.7471        5.0943        .39706E-06   -.70503E-05
   7  Prefactor     2.7194        63.337       -.11028E-05   -.25454E-05
   8  norm          1.9435        1.7986        .59374E-07   -.43136E-05
   9  Prefactor     3.1308        3.4686        .38893E-05    .10190E-02
  10  Prefactor     .10000E-03    14.967       -.10435E-05** at limit **
  11  norm          .10000E-03    1.5875       -.77183E-07** at limit **
  12  Prefactor     .10000E-03    89.422        .13461E-05** at limit **
  13  norm          10.559        8.4905        .25807E-06   -.18750E-03
  14  norm          4.9733        2.0658        .66636E-07   -.54568E-03
  15  norm          .10013E-03    23.028        .18624E-04** at limit **
  16  norm          92.668        101.65        .52091E-05    .31002E-05
  17  Prefactor     .10000E-03    23.648       -.14977E-05** at limit **
  18  Prefactor     4.8652        22.419       -.10089E-05   -.46938E-04
  19  Prefactor     .10000E-03    8.0751       -.10364E-04** at limit **
  20  Prefactor     4.5932        7.5789        .20539E-05    .19863E-03
  21  Normalizat    1.3964        .22448       -.14933E-05   -.33102E-03
  22  Prefactor     .94083        .88588E-01   -.28954E-06   -.30232E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 10.8068
  norm       = 0.0001
  Prefactor  = 15.9669
  Prefactor  = 0.0001
  Prefactor  = 8.74706
  Prefactor  = 2.71936
  norm       = 1.94353
  Prefactor  = 3.13079
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 10.5588
  norm       = 4.97333
  norm       = 0.000100134
  norm       = 92.6678
  Prefactor  = 0.0001
  Prefactor  = 4.86519
  Prefactor  = 0.0001
  Prefactor  = 4.59316
  Normalizat = 1.3964
  Prefactor  = 0.940832
 **********
 **   18 **HESSE 
 **********

 FCN=   9191.597     FROM HESSE     STATUS=OK           350 CALLS     2747 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.3273        .27929E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          10.807        6.9743        .12187E-03   -1.5050    
   3  norm          .10000E-03    1.8657        .12666E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     15.967        24.096        .10026E-03   -1.4909    
   5  Prefactor     .10000E-03    9.4341        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.7471        5.0953        .13552E-03   -1.5116    
   7  Prefactor     2.7194        62.405        .24656E-03   -1.5378    
   8  norm          1.9435        1.8025        .11971E-03   -1.5429    
   9  Prefactor     3.1308        4.1193        .10528E-02   -1.5354    
  10  Prefactor     .10000E-03    14.977        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    8.3549        .23280E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    89.796        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          10.559        8.4881        .12329E-03   -1.5058    
  14  norm          4.9733        2.0595        .85431E-04   -1.5262    
  15  norm          .10013E-03    60.265        .56650E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          92.668        101.68        .20870E-03   -1.3780    
  17  Prefactor     .10000E-03    23.653        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.8652        22.056        .18264E-03   -1.5267    
  19  Prefactor     .10000E-03    19.048        .37739E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.5932        7.7556        .93953E-03   -1.5279    
  21  Normalizat    1.3964        .25579        .36395E-03   -.80733    
  22  Prefactor     .94083        .10241        .17612E-03   -.94729    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.20055e-09
Minuit parameter uncertainties:
  1  7.25516e-06
  2  6.97482
  3  2.19238e-06
  4  24.1111
  5  8.09797e-06
  6  5.09556
  7  26.0841
  8  1.80257
  9  4.11969
  10  9.99414e-06
  11  8.87282e-05
  12  5.57322e-05
  13  8.48905
  14  2.05956
  15  0.00569862
  16  101.875
  17  6.84132e-06
  18  20.7303
  19  0.000194564
  20  7.75727
  21  0.256028
  22  0.102435
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  9.408e-01  1.024e-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.396e+00  2.560e-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.59e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.35e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/746022/likelihoodResults_478310401_478569601_4FGL_J1550.7+0528_daily_bin922.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) = 9191.59717311
delta logL = -0.000565311243918

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9191.59661211
delta logL = -4.30949330621e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .38972E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1591       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3961       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94093       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=   9191.597     FROM MIGRAD    STATUS=FAILED        99 CALLS      273 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .13732E-03    46.862        .46608E-01** at limit **
   2  alpha         1.6117        2.7557        .16658       -.13054E-04
   3  Normalizat    1.3964        .31204E-01    .36395E-03    .22972E-03
   4  Prefactor     .94083        .12792E-01    .17612E-03    .15634E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   9191.594     FROM SIMPLEX   STATUS=PROGRESS     108 CALLS      381 TOTAL
                     EDM=   .15E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .12574        46.862        .53804E-03   -.21887E-01
   2  alpha         1.6081        2.7557        .15979E-03   -.13054E-04
   3  Normalizat    1.3962        .31204E-01    .29267E-05    .22972E-03
   4  Prefactor     .94074        .12792E-01    .16330E-05    .15634E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9191.594     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      453 TOTAL
                     EDM=   .51E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .12898        7.9122         .0000        .56888E-02
   2  alpha         1.6883        3.2354         .0000        .12612E-05
   3  Normalizat    1.3968        .24829         .0000       -.11558E-04
   4  Prefactor     .94043        .10195         .0000       -.26079E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.128977
  alpha      = 1.68832
  Normalizat = 1.3968
  Prefactor  = 0.940433
 **********
 **   18 **HESSE 
 **********

 FCN=   9191.594     FROM HESSE     STATUS=OK            27 CALLS      480 TOTAL
                     EDM=   .54E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .12898        7.1696        .50668E-03   -1.5636    
   2  alpha         1.6883        3.2753        .26653E-02   -.33067    
   3  Normalizat    1.3968        .24845        .29116E-05   -.80721    
   4  Prefactor     .94043        .10196        .70448E-05   -.94742    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.43343e-12
Minuit parameter uncertainties:
  1  1.92274
  2  3.72087
  3  0.248663
  4  0.101976
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/746022': 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) = 9191.59424865
delta logL = 0.0023591496265

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  9.404e-01  1.020e-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.397e+00  2.487e-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/746022/cmap_HighResolution_478310401_478569601_4FGL_J1550.7+0528_daily_bin922.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.35e-05', job_status='DONE', photon_flux_upper_limit='5.59e-08', time_completed='2021-09-12 15:40:37.437370', job_id='746022', GAL2='0.94', fit_tolerance='1e-08', EG2='1.40', EG='1.40', time_epoch_completed='1631486437.44', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='2.36e-03', ts2='0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='922' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:40:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 746022: <4FGL_J1550.7+0528_daily_bin922> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin922 237.697 5.4725 478310401 478569601 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 :                                   755.01 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             312.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   909 sec.
    Turnaround time :                            921 sec.

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

