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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin710
RA = 237.697, Dec = 5.4725
tmin = 423360001, tmax = 423619201
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='744697', job_status='RUN', time_executed='2021-09-12 15:24:00.940359', time_epoch_executed='1631485440.94' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/744697

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/744697/ft1_4FGL_J1550.7+0528_daily_bin710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/744697/ft2_4FGL_J1550.7+0528_daily_bin710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/744697/ft1_4FGL_J1550.7+0528_daily_bin710.fits outfile=/scratch/kocevski/744697/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin710.fits ra=237.697 dec=5.4725 rad=12.0 tmin=423360001.0 tmax=423619201.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 5.77
user 5.51
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/744697/ft2_4FGL_J1550.7+0528_daily_bin710.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/744697/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin710.fits evtable="EVENTS" outfile="/scratch/kocevski/744697/ft1_filtered_4FGL_J1550.7+0528_daily_bin710.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.52
user 0.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/744697/ft1_filtered_4FGL_J1550.7+0528_daily_bin710.fits" evtable="EVENTS" scfile=/scratch/kocevski/744697/ft2_4FGL_J1550.7+0528_daily_bin710.fits sctable="SC_DATA" outfile=/scratch/kocevski/744697/ltcube_423360001_423619201_4FGL_J1550.7+0528_daily_bin710.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/744697/ft2_4FGL_J1550.7+0528_daily_bin710.fits
.....................!
real 14.08
user 13.70
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/744697/ft1_filtered_4FGL_J1550.7+0528_daily_bin710.fits evtable="EVENTS" scfile=/scratch/kocevski/744697/ft2_4FGL_J1550.7+0528_daily_bin710.fits sctable="SC_DATA" expcube=/scratch/kocevski/744697/ltcube_423360001_423619201_4FGL_J1550.7+0528_daily_bin710.fits outfile=/scratch/kocevski/744697/expmap_423360001_423619201_4FGL_J1550.7+0528_daily_bin710.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/744697/ltcube_423360001_423619201_4FGL_J1550.7+0528_daily_bin710.fits
.....................!
real 191.81
user 185.81
sys 5.41

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/744697/ft1_filtered_4FGL_J1550.7+0528_daily_bin710.fits scfile=/scratch/kocevski/744697/ft2_4FGL_J1550.7+0528_daily_bin710.fits outfile=/scratch/kocevski/744697/cmap_423360001_423619201_4FGL_J1550.7+0528_daily_bin710.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/744697/ft1_filtered_4FGL_J1550.7+0528_daily_bin710.fits scfile=/scratch/kocevski/744697/ft2_4FGL_J1550.7+0528_daily_bin710.fits outfile=/scratch/kocevski/744697/cmap_HighResolution_423360001_423619201_4FGL_J1550.7+0528_daily_bin710.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.55
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/744697/ft1_filtered_4FGL_J1550.7+0528_daily_bin710.fits evtable="EVENTS" scfile=/scratch/kocevski/744697/ft2_4FGL_J1550.7+0528_daily_bin710.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/744697/Model_4FGL_J1550.7+0528_daily_bin710.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/744697/ft1_filtered_4FGL_J1550.7+0528_daily_bin710.fits.....................!
real 39.79
user 38.49
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.8604       1.0000         .10000E-03   10000.    
     2 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .12042E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .13380E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .39643E-01   1.0000         .10000E-03   10000.    
     8 'norm      '    9.7131       1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.8085       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .13570E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .21301E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .16338E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    36.313       1.0000         .10000E-03   10000.    
    14 'norm      '    12.140       1.0000         .10000E-03   10000.    
    15 'norm      '    88.096       1.0000         .10000E-03   10000.    
    16 'norm      '    .10476E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .12573E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .12607E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10133E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .23233       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0647       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=   3697.305     FROM MIGRAD    STATUS=CONVERGED    506 CALLS     2667 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 11.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.8580        5.3242       -.26602E-06   -.45666E-04
   2  norm          .10000E-03    4.9561       -.32743E-08** at limit **
   3  norm          .10000E-03    1.2960       -.52786E-08** at limit **
   4  Prefactor     .10000E-03    67.682       -.10642E-06** at limit **
   5  Prefactor     .10000E-03    89.122        .87014E-07** at limit **
   6  Prefactor     .10000E-03    2.3820       -.31819E-07** at limit **
   7  Prefactor     .10015E-03    940.30       -.33879E-05** at limit **
   8  norm          9.7114        9.2412       -.56706E-07   -.39975E-04
   9  Prefactor     9.7929        8.7239       -.55717E-06    .94127E-03
  10  Prefactor     .10000E-03    186.38       -.10685E-07** at limit **
  11  norm          .10001E-03    7.4078       -.20481E-06** at limit **
  12  Prefactor     .10000E-03    219.34        .16116E-06** at limit **
  13  norm          36.309        35.659       -.16634E-06   -.36151E-04
  14  norm          12.140        7.7688       -.58502E-08   -.20902E-04
  15  norm          88.099        75.457       -.47230E-06   -.15079E-04
  16  norm          .10000E-03    113.20       -.12627E-06** at limit **
  17  Prefactor     .10000E-03    98.265       -.12630E-07** at limit **
  18  Prefactor     .10000E-03    178.88       -.78238E-07** at limit **
  19  Prefactor     .10000E-03    17.050       -.10984E-07** at limit **
  20  Prefactor     .10000E-03    23.919       -.82765E-08** at limit **
  21  Normalizat    .23213        .42509        .90734E-05    .13511E-03
  22  Prefactor     1.0647        .13991       -.13573E-05    .45287E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.85802
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100148
  norm       = 9.71135
  Prefactor  = 9.79287
  Prefactor  = 0.0001
  norm       = 0.000100008
  Prefactor  = 0.0001
  norm       = 36.3089
  norm       = 12.1405
  norm       = 88.099
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.23213
  Prefactor  = 1.06467
 **********
 **   18 **HESSE 
 **********

 FCN=   3697.305     FROM HESSE     STATUS=OK           332 CALLS     2999 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.8580        5.3162        .95819E-04   -1.5113    
   2  norm          .10000E-03    4.9617        .13221E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.2979        .67583E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    67.789        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    89.226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.3935        .91585E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10015E-03    951.31        .36878E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          9.7114        9.2398        .12858E-03   -1.5085    
   9  Prefactor     9.7929        8.5103        .12795E-03   -1.5082    
  10  Prefactor     .10000E-03    186.43        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10001E-03    18.564        .30764E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    219.67        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          36.309        35.629        .66506E-04   -1.4502    
  14  norm          12.140        7.7689        .11497E-03   -1.5011    
  15  norm          88.099        75.429        .42807E-04   -1.3828    
  16  norm          .10000E-03    113.37        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    98.301        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    179.07        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    17.058        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    23.971        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .23213        .42572        .82239E-03   -1.2715    
  22  Prefactor     1.0647        .14083        .14301E-03   -.90604    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40006e-09
Minuit parameter uncertainties:
  1  5.31648
  2  3.46825e-07
  3  1.45105e-07
  4  9.22048e-06
  5  2.55177e-05
  6  4.2527e-06
  7  0.0241472
  8  9.24114
  9  8.51138
  10  2.12673e-05
  11  0.000752634
  12  0.000175337
  13  35.6496
  14  7.76952
  15  75.5113
  16  0.000135094
  17  9.62419e-06
  18  5.71754e-05
  19  1.3329e-06
  20  2.99896e-06
  21  0.431885
  22  0.140877
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.000e-04  7.526e-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.065e+00  1.409e-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:  2.321e-01  4.319e-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: 1.63e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.84e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/744697/likelihoodResults_423360001_423619201_4FGL_J1550.7+0528_daily_bin710.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) = 3697.30493923
delta logL = -0.00025568052024

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3697.13132917
delta logL = 0.173354380344

Fit tolerance = 1e-08

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

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

 FCN=   3697.131     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      280 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .89746        37.191        .12799E-01    .27437E-04
   2  alpha         3.7013        4.1645        .49820        .45154E-04
   3  Normalizat    .16552        .70304E-01    .22421        .52746E-04
   4  Prefactor     1.0737        .26454E-01    .38686E-01   -.48227E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.897464
  alpha      = 3.70126
  Normalizat = 0.165519
  Prefactor  = 1.07371
 **********
 **   18 **HESSE 
 **********

 FCN=   3697.131     FROM HESSE     STATUS=OK            35 CALLS      315 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .89746        4.3315        .97745E-04   -1.5519    
   2  alpha         3.7013        3.7908        .21020E-01    .50123    
   3  Normalizat    .16552        .40617        .94802E-02   -1.3206    
   4  Prefactor     1.0737        .14343        .14238E-03   -.90311    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.10125e-09
Minuit parameter uncertainties:
  1  3.94351
  2  2.38137
  3  0.413847
  4  0.143485
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/744697': 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) = 3697.13132906
delta logL = 0.173354492825

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  8.975e-01  3.944e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  3.701e+00  2.381e+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:  1.074e+00  1.435e-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.655e-01  4.138e-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/744697/cmap_HighResolution_423360001_423619201_4FGL_J1550.7+0528_daily_bin710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.84e-05', job_status='DONE', photon_flux_upper_limit='1.63e-07', time_completed='2021-09-12 15:32:20.138030', job_id='744697', GAL2='1.07', fit_tolerance='1e-08', EG2='0.17', EG='0.23', time_epoch_completed='1631485940.14', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='1.73e-01', ts2='0.39', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='710' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:32:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0266>
Subject: Job 744697: <4FGL_J1550.7+0528_daily_bin710> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin710 237.697 5.4725 423360001 423619201 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 :                                   498.21 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             266.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   681 sec.
    Turnaround time :                            709 sec.

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

