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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin979
RA = 237.697, Dec = 5.4725
tmin = 493084801, tmax = 493344001
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='746107', job_status='RUN', time_executed='2021-09-12 15:27:47.446220', time_epoch_executed='1631485667.45' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='979'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/746107

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/746107/ft1_4FGL_J1550.7+0528_daily_bin979.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/746107/ft2_4FGL_J1550.7+0528_daily_bin979.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/746107/ft1_4FGL_J1550.7+0528_daily_bin979.fits outfile=/scratch/kocevski/746107/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin979.fits ra=237.697 dec=5.4725 rad=12.0 tmin=493084801.0 tmax=493344001.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.61
user 3.37
sys 0.21

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/746107/ft1_filtered_4FGL_J1550.7+0528_daily_bin979.fits" evtable="EVENTS" scfile=/scratch/kocevski/746107/ft2_4FGL_J1550.7+0528_daily_bin979.fits sctable="SC_DATA" outfile=/scratch/kocevski/746107/ltcube_493084801_493344001_4FGL_J1550.7+0528_daily_bin979.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/746107/ft2_4FGL_J1550.7+0528_daily_bin979.fits
.....................!
real 15.02
user 14.63
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/746107/ft1_filtered_4FGL_J1550.7+0528_daily_bin979.fits evtable="EVENTS" scfile=/scratch/kocevski/746107/ft2_4FGL_J1550.7+0528_daily_bin979.fits sctable="SC_DATA" expcube=/scratch/kocevski/746107/ltcube_493084801_493344001_4FGL_J1550.7+0528_daily_bin979.fits outfile=/scratch/kocevski/746107/expmap_493084801_493344001_4FGL_J1550.7+0528_daily_bin979.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/746107/ltcube_493084801_493344001_4FGL_J1550.7+0528_daily_bin979.fits
.....................!
real 192.48
user 186.98
sys 5.03

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/746107/ft1_filtered_4FGL_J1550.7+0528_daily_bin979.fits scfile=/scratch/kocevski/746107/ft2_4FGL_J1550.7+0528_daily_bin979.fits outfile=/scratch/kocevski/746107/cmap_493084801_493344001_4FGL_J1550.7+0528_daily_bin979.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/746107/ft1_filtered_4FGL_J1550.7+0528_daily_bin979.fits scfile=/scratch/kocevski/746107/ft2_4FGL_J1550.7+0528_daily_bin979.fits outfile=/scratch/kocevski/746107/cmap_HighResolution_493084801_493344001_4FGL_J1550.7+0528_daily_bin979.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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/746107/ft1_filtered_4FGL_J1550.7+0528_daily_bin979.fits evtable="EVENTS" scfile=/scratch/kocevski/746107/ft2_4FGL_J1550.7+0528_daily_bin979.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/746107/Model_4FGL_J1550.7+0528_daily_bin979.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/746107/ft1_filtered_4FGL_J1550.7+0528_daily_bin979.fits.....................!
real 67.80
user 66.41
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0834       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .24048E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .86959       1.0000         .10000E-03   10000.    
     5 'Prefactor '    47.291       1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.906       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .99833       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    38.075       1.0000         .10000E-03   10000.    
    13 'norm      '    5.4359       1.0000         .10000E-03   10000.    
    14 'norm      '    2.1602       1.0000         .10000E-03   10000.    
    15 'norm      '    16.862       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    31.222       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.2156       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2468       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0368       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=   8340.174     FROM MIGRAD    STATUS=CONVERGED    512 CALLS     2441 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0833        2.8306       -.45921E-06   -.39204E-03
   2  norm          .10000E-03    2.7357       -.52375E-07** at limit **
   3  norm          .10000E-03    3.6148       -.48944E-06** at limit **
   4  Prefactor     .41482        35.890       -.33288E-05    .17912E-04
   5  Prefactor     47.283        43.182       -.12961E-04    .27899E-04
   6  Prefactor     16.910        6.8436       -.92109E-07    .21088E-03
   7  Prefactor     .10000E-03    13.171        .37887E-08** at limit **
   8  norm          .99767        2.3177       -.22064E-06   -.89266E-03
   9  Prefactor     .10000E-03    1.7153       -.67866E-07** at limit **
  10  Prefactor     .10000E-03    10.073       -.11751E-06** at limit **
  11  norm          .10000E-03    2.7334       -.29659E-08** at limit **
  12  Prefactor     38.056        85.863       -.30080E-04    .12071E-04
  13  norm          5.4355        7.4399       -.36954E-05   -.10153E-03
  14  norm          2.1600        1.6515       -.14422E-06   -.45583E-02
  15  norm          16.859        14.734       -.76528E-07    .15315E-04
  16  norm          .10000E-03    64.892        .85340E-06** at limit **
  17  Prefactor     .10000E-03    36.751        .82739E-06** at limit **
  18  Prefactor     31.218        34.393       -.44181E-05   -.20901E-05
  19  Prefactor     7.2137        11.861        .36174E-05   -.56099E-04
  20  Prefactor     .10000E-03    3.7261       -.11042E-06** at limit **
  21  Normalizat    1.2469        .27430        .70803E-05    .38815E-04
  22  Prefactor     1.0369        .10154       -.61441E-06    .57305E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.08334
  norm       = 0.0001
  norm       = 0.000100004
  Prefactor  = 0.414825
  Prefactor  = 47.2829
  Prefactor  = 16.9096
  Prefactor  = 0.0001
  norm       = 0.997671
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 38.0562
  norm       = 5.43554
  norm       = 2.16002
  norm       = 16.8592
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 31.2177
  Prefactor  = 7.21369
  Prefactor  = 0.0001
  Normalizat = 1.24693
  Prefactor  = 1.03685
 **********
 **   18 **HESSE 
 **********

 FCN=   8340.174     FROM HESSE     STATUS=OK           362 CALLS     2803 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0833        2.8130        .16993E-03   -1.5419    
   2  norm          .10000E-03    2.7379        .14752E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    4.0269        .53201E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .41482        39.816        .16005       -1.5579    
   5  Prefactor     47.283        43.030        .58308E-04   -1.4332    
   6  Prefactor     16.910        6.8507        .97409E-04   -1.4885    
   7  Prefactor     .10000E-03    13.208        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .99767        2.1774        .20182E-02   -1.5508    
   9  Prefactor     .10000E-03    1.7303        .11677E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    10.074        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    2.7753        .14737E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     38.056        84.356        .64954E-04   -1.4473    
  13  norm          5.4355        7.3270        .17235E-03   -1.5242    
  14  norm          2.1600        1.6721        .49977E-03   -1.5414    
  15  norm          16.859        14.744        .97535E-04   -1.4887    
  16  norm          .10000E-03    64.906        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    36.757        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     31.218        34.351        .71707E-04   -1.4590    
  19  Prefactor     7.2137        11.798        .14933E-03   -1.5171    
  20  Prefactor     .10000E-03    3.7349        .17214E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2469        .31449        .40864E-03   -.85165    
  22  Prefactor     1.0369        .11751        .17663E-03   -.91511    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.73511e-09
Minuit parameter uncertainties:
  1  2.81313
  2  1.75477e-06
  3  0.000268759
  4  8.13278
  5  43.058
  6  6.85097
  7  1.2284e-06
  8  2.17753
  9  5.35423e-06
  10  5.3076e-06
  11  8.49007e-06
  12  84.6221
  13  7.32822
  14  1.67215
  15  14.7477
  16  1.45531e-05
  17  4.31682e-05
  18  34.3728
  19  11.8021
  20  1.94779e-05
  21  0.314971
  22  0.117537
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.000e-04  8.490e-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:  1.037e+00  1.175e-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.247e+00  3.150e-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: 7.90e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.31e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/746107/likelihoodResults_493084801_493344001_4FGL_J1550.7+0528_daily_bin979.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) = 8340.17525945
delta logL = -0.00171686849535

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8340.1735287
delta logL = 1.38826962939e-05

Fit tolerance = 1e-08

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

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

 FCN=   8340.174     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      306 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10035E-03    .74760        .20006E-01** at limit **
   2  alpha         3.4886        4.0573        .50000        .81163E-06
   3  Normalizat    1.2469        .57176E-02    .40864E-03    .10536E-02
   4  Prefactor     1.0368        .22948E-02    .17663E-03    .16816E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100348
  alpha      = 3.48863
  Normalizat = 1.24694
  Prefactor  = 1.03685
 **********
 **   18 **HESSE 
 **********

 FCN=   8340.174     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      345 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10035E-03    .46275        .23994E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.4886        3.1738        .50000        .40656    
   3  Normalizat    1.2469        .51557E-02    .81727E-04   -.85164    
   4  Prefactor     1.0368        .20693E-02    .35326E-04   -.91511    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.61635e-09
Minuit parameter uncertainties:
  1  0.000802939
  2  70.3002
  3  0.00515571
  4  0.00206926
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/746107': 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): 102
logL (Free Index) = 8340.17352785
delta logL = 1.47373211803e-05

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  1.037e+00  2.069e-03  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.247e+00  5.156e-03  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/746107/cmap_HighResolution_493084801_493344001_4FGL_J1550.7+0528_daily_bin979.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.31e-05', job_status='DONE', photon_flux_upper_limit='7.90e-08', time_completed='2021-09-12 15:39:41.014191', job_id='746107', GAL2='1.04', fit_tolerance='1e-08', EG2='1.25', EG='1.25', time_epoch_completed='1631486381.01', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.47e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='979' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:39:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0297>
Subject: Job 746107: <4FGL_J1550.7+0528_daily_bin979> in cluster <slac> Done

Job <4FGL_J1550.7+0528_daily_bin979> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 12 15:25:23 2021
Job was executed on host(s) <bullet0297>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 15:25:48 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:48 2021
Terminated at Sun Sep 12 15:39:41 2021
Results reported at Sun Sep 12 15:39:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin979 237.697 5.4725 493084801 493344001 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 :                                   711.19 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             272.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   833 sec.
    Turnaround time :                            858 sec.

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

