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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin976
RA = 237.697, Dec = 5.4725
tmin = 492307201, tmax = 492566401
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='746103', job_status='RUN', time_executed='2021-09-12 15:28:15.239934', time_epoch_executed='1631485695.24' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='976'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/746103

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/746103/ft1_4FGL_J1550.7+0528_daily_bin976.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/746103/ft2_4FGL_J1550.7+0528_daily_bin976.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/746103/ft1_4FGL_J1550.7+0528_daily_bin976.fits outfile=/scratch/kocevski/746103/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin976.fits ra=237.697 dec=5.4725 rad=12.0 tmin=492307201.0 tmax=492566401.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.75
user 3.52
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/746103/ft1_filtered_4FGL_J1550.7+0528_daily_bin976.fits" evtable="EVENTS" scfile=/scratch/kocevski/746103/ft2_4FGL_J1550.7+0528_daily_bin976.fits sctable="SC_DATA" outfile=/scratch/kocevski/746103/ltcube_492307201_492566401_4FGL_J1550.7+0528_daily_bin976.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/746103/ft2_4FGL_J1550.7+0528_daily_bin976.fits
.....................!
real 13.83
user 13.43
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/746103/ft1_filtered_4FGL_J1550.7+0528_daily_bin976.fits evtable="EVENTS" scfile=/scratch/kocevski/746103/ft2_4FGL_J1550.7+0528_daily_bin976.fits sctable="SC_DATA" expcube=/scratch/kocevski/746103/ltcube_492307201_492566401_4FGL_J1550.7+0528_daily_bin976.fits outfile=/scratch/kocevski/746103/expmap_492307201_492566401_4FGL_J1550.7+0528_daily_bin976.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/746103/ltcube_492307201_492566401_4FGL_J1550.7+0528_daily_bin976.fits
.....................!
real 194.45
user 187.20
sys 5.55

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/746103/ft1_filtered_4FGL_J1550.7+0528_daily_bin976.fits scfile=/scratch/kocevski/746103/ft2_4FGL_J1550.7+0528_daily_bin976.fits outfile=/scratch/kocevski/746103/cmap_492307201_492566401_4FGL_J1550.7+0528_daily_bin976.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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/746103/ft1_filtered_4FGL_J1550.7+0528_daily_bin976.fits scfile=/scratch/kocevski/746103/ft2_4FGL_J1550.7+0528_daily_bin976.fits outfile=/scratch/kocevski/746103/cmap_HighResolution_492307201_492566401_4FGL_J1550.7+0528_daily_bin976.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/746103/ft1_filtered_4FGL_J1550.7+0528_daily_bin976.fits evtable="EVENTS" scfile=/scratch/kocevski/746103/ft2_4FGL_J1550.7+0528_daily_bin976.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/746103/Model_4FGL_J1550.7+0528_daily_bin976.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/746103/ft1_filtered_4FGL_J1550.7+0528_daily_bin976.fits.....................!
real 48.72
user 47.34
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .29221       1.0000         .10000E-03   10000.    
     2 'norm      '    .10154E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    30.187       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    16.330       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.001       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .47825E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.5437       1.0000         .10000E-03   10000.    
    15 'norm      '    7.0782       1.0000         .10000E-03   10000.    
    16 'norm      '    .10155E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .81062E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    26.797       1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.737       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .18059E-02   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.6069       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .84494       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=   5520.200     FROM MIGRAD    STATUS=CONVERGED    520 CALLS     2141 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .29096        2.7327        .79629E-06   -.19394E-03
   2  norm          .10000E-03    11.167        .13217E-06** at limit **
   3  norm          .10000E-03    2.8323        .21070E-07** at limit **
   4  Prefactor     30.181        31.708        .19445E-06   -.22621E-04
   5  Prefactor     .10000E-03    42.821        .65714E-06** at limit **
   6  Prefactor     .10000E-03    5.1148        .16558E-06** at limit **
   7  Prefactor     16.345        21.342        .19341E-06   -.67635E-04
   8  norm          .10000E-03    1.0090        .51017E-07** at limit **
   9  Prefactor     10.002        6.2403        .29968E-06   -.37934E-03
  10  Prefactor     .10000E-03    17.403        .58997E-07** at limit **
  11  norm          .11559E-03    2.6121        .18537E-05** at limit **
  12  Prefactor     .10000E-03    87.984        .26813E-06** at limit **
  13  norm          .10000E-03    2.9400        .46124E-07** at limit **
  14  norm          3.5435        2.1129        .48182E-07   -.76189E-04
  15  norm          7.0776        12.533        .39799E-05    .23616E-03
  16  norm          .10000E-03    50.138       -.36394E-06** at limit **
  17  Prefactor     .10035E-03    1272.6       -.72041E-04** at limit **
  18  Prefactor     26.880        35.199        .27589E-06    .44560E-05
  19  Prefactor     13.729        11.312       -.28292E-07    .41016E-04
  20  Prefactor     .10015E-03    6.5672       -.16658E-05** at limit **
  21  Normalizat    1.6069        .27999       -.21694E-05   -.34363E-03
  22  Prefactor     .84491        .11116       -.12793E-05   -.59603E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.290957
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 30.1806
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.3453
  norm       = 0.0001
  Prefactor  = 10.002
  Prefactor  = 0.0001
  norm       = 0.000115591
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.54355
  norm       = 7.0776
  norm       = 0.0001
  Prefactor  = 0.00010035
  Prefactor  = 26.8802
  Prefactor  = 13.7285
  Prefactor  = 0.000100147
  Normalizat = 1.60686
  Prefactor  = 0.844909
 **********
 **   18 **HESSE 
 **********

 FCN=   5520.200     FROM HESSE     STATUS=OK           348 CALLS     2489 TOTAL
                     EDM=   .40E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .29096        5.9574        .23217E-02   -1.5600    
   2  norm          .10000E-03    11.435        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    5.4532        .24125E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     30.181        31.698        .72923E-04   -1.4609    
   5  Prefactor     .10000E-03    43.003        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.2458        .32810E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     16.345        21.337        .99111E-04   -1.4899    
   8  norm          .10000E-03    1.0150        .72891E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.002        6.2378        .12671E-03   -1.5075    
  10  Prefactor     .10000E-03    17.413        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .11559E-03    3.4863        .40534E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    88.469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.9443        .12441E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.5435        2.1123        .81060E-04   -1.5331    
  15  norm          7.0776        12.665        .75390E-03   -1.5176    
  16  norm          .10000E-03    50.302        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10035E-03    1275.5        .36909E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     26.880        35.186        .77388E-04   -1.4671    
  19  Prefactor     13.729        11.272        .10807E-03   -1.4967    
  20  Prefactor     .10015E-03    32.354        .35996E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.6069        .32411        .33794E-03   -.74818    
  22  Prefactor     .84491        .12853        .18019E-03   -.98094    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.02334e-08
Minuit parameter uncertainties:
  1  2.63298
  2  2.48177e-05
  3  3.10125e-05
  4  31.7158
  5  0.000291489
  6  2.60249e-05
  7  21.3464
  8  2.70697e-06
  9  6.23823
  10  1.30432e-05
  11  0.0147461
  12  0.000118994
  13  4.14017e-06
  14  2.1123
  15  12.6693
  16  0.000255674
  17  0.0432029
  18  35.2132
  19  11.2733
  20  0.004362
  21  0.324536
  22  0.128572
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.156e-04  1.475e-02  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:  8.449e-01  1.286e-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.607e+00  3.245e-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: 8.74e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.66e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/746103/likelihoodResults_492307201_492566401_4FGL_J1550.7+0528_daily_bin976.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) = 5520.19982495
delta logL = -4.19941279688e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5520.18721571
delta logL = 0.0125672480826

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .25148       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0831       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6009       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84530       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=   5520.187     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      453 TOTAL
                     EDM=   .51E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .25149        534.14        .16889E-02    .23431E-03
   2  alpha         3.0831        3.2540        .78236E-01    .56638E-05
   3  Normalizat    1.6009        .23165        .33843E-03    .33324E-04
   4  Prefactor     .84530        .10031        .18014E-03    .25371E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.251487
  alpha      = 3.08309
  Normalizat = 1.60092
  Prefactor  = 0.845302
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .25149        3.6877        .67557E-04   -1.5608    
   2  alpha         3.0831        4.0179        .31294E-02    .23540    
   3  Normalizat    1.6009        .31972        .13537E-04   -.74981    
   4  Prefactor     .84530        .12860        .72055E-05   -.98079    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.98021e-12
Minuit parameter uncertainties:
  1  1.9258
  2  3.91715
  3  0.320128
  4  0.128645
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/746103': 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) = 5520.18721571
delta logL = 0.0125672480972

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  2.515e-01  1.926e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  3.083e+00  3.917e+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:  8.453e-01  1.286e-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.601e+00  3.201e-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/746103/cmap_HighResolution_492307201_492566401_4FGL_J1550.7+0528_daily_bin976.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.66e-05', job_status='DONE', photon_flux_upper_limit='8.74e-08', time_completed='2021-09-12 15:37:57.704663', job_id='746103', GAL2='0.85', fit_tolerance='1e-08', EG2='1.60', EG='1.61', time_epoch_completed='1631486277.7', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='1.26e-02', ts2='0.03', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='976' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:37:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0015>
Subject: Job 746103: <4FGL_J1550.7+0528_daily_bin976> in cluster <slac> Done

Job <4FGL_J1550.7+0528_daily_bin976> 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) <bullet0015>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 15:25:46 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:46 2021
Terminated at Sun Sep 12 15:37:58 2021
Results reported at Sun Sep 12 15:37:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin976 237.697 5.4725 492307201 492566401 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 :                                   579.34 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             280.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   732 sec.
    Turnaround time :                            755 sec.

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

