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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin981
RA = 237.697, Dec = 5.4725
tmin = 493603201, tmax = 493862401
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='746109', job_status='RUN', time_executed='2021-09-12 15:26:18.663723', time_epoch_executed='1631485578.66' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='981'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/746109

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/746109/ft1_4FGL_J1550.7+0528_daily_bin981.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/746109/ft2_4FGL_J1550.7+0528_daily_bin981.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/746109/ft1_4FGL_J1550.7+0528_daily_bin981.fits outfile=/scratch/kocevski/746109/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin981.fits ra=237.697 dec=5.4725 rad=12.0 tmin=493603201.0 tmax=493862401.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.30
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/746109/ft1_filtered_4FGL_J1550.7+0528_daily_bin981.fits" evtable="EVENTS" scfile=/scratch/kocevski/746109/ft2_4FGL_J1550.7+0528_daily_bin981.fits sctable="SC_DATA" outfile=/scratch/kocevski/746109/ltcube_493603201_493862401_4FGL_J1550.7+0528_daily_bin981.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/746109/ft2_4FGL_J1550.7+0528_daily_bin981.fits
.....................!
real 13.92
user 13.55
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/746109/ft1_filtered_4FGL_J1550.7+0528_daily_bin981.fits evtable="EVENTS" scfile=/scratch/kocevski/746109/ft2_4FGL_J1550.7+0528_daily_bin981.fits sctable="SC_DATA" expcube=/scratch/kocevski/746109/ltcube_493603201_493862401_4FGL_J1550.7+0528_daily_bin981.fits outfile=/scratch/kocevski/746109/expmap_493603201_493862401_4FGL_J1550.7+0528_daily_bin981.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/746109/ltcube_493603201_493862401_4FGL_J1550.7+0528_daily_bin981.fits
.....................!
real 193.82
user 188.34
sys 5.01

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/746109/ft1_filtered_4FGL_J1550.7+0528_daily_bin981.fits scfile=/scratch/kocevski/746109/ft2_4FGL_J1550.7+0528_daily_bin981.fits outfile=/scratch/kocevski/746109/cmap_493603201_493862401_4FGL_J1550.7+0528_daily_bin981.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/746109/ft1_filtered_4FGL_J1550.7+0528_daily_bin981.fits scfile=/scratch/kocevski/746109/ft2_4FGL_J1550.7+0528_daily_bin981.fits outfile=/scratch/kocevski/746109/cmap_HighResolution_493603201_493862401_4FGL_J1550.7+0528_daily_bin981.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.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/746109/ft1_filtered_4FGL_J1550.7+0528_daily_bin981.fits evtable="EVENTS" scfile=/scratch/kocevski/746109/ft2_4FGL_J1550.7+0528_daily_bin981.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/746109/Model_4FGL_J1550.7+0528_daily_bin981.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/746109/ft1_filtered_4FGL_J1550.7+0528_daily_bin981.fits.....................!
real 76.43
user 74.97
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.3857       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.3398       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    117.80       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.4753       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.6581       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .21168E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    6.1098       1.0000         .10000E-03   10000.    
    14 'norm      '    6.8905       1.0000         .10000E-03   10000.    
    15 'norm      '    8.0021       1.0000         .10000E-03   10000.    
    16 'norm      '    .10121E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    81.484       1.0000         .10000E-03   10000.    
    18 'Prefactor '    18.565       1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.266       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .27266E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1683       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .99962       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=   9497.687     FROM MIGRAD    STATUS=CONVERGED    483 CALLS     2369 TOTAL
                     EDM=   .92E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.3855        3.2665       -.45190E-07   -.16856E-03
   2  norm          .10000E-03    1.8050        .16960E-08** at limit **
   3  norm          3.3400        2.9383        .10631E-06    .38668E-04
   4  Prefactor     .10000E-03    9.6057        .11081E-06** at limit **
   5  Prefactor     117.78        57.536        .17990E-05    .79571E-04
   6  Prefactor     7.4756        5.2268       -.86178E-07    .16994E-04
   7  Prefactor     .10000E-03    18.862        .41735E-06** at limit **
   8  norm          .10000E-03    1.2684        .79758E-07** at limit **
   9  Prefactor     1.6586        3.4332        .60894E-05   -.53399E-03
  10  Prefactor     .10000E-03    28.310        .30184E-06** at limit **
  11  norm          .10000E-03    2.9948        .28090E-06** at limit **
  12  Prefactor     .10001E-03    120.41        .95237E-05** at limit **
  13  norm          6.1070        8.1656       -.47324E-07   -.10587E-03
  14  norm          6.8895        2.1370       -.43956E-08   -.29548E-03
  15  norm          7.9961        17.020       -.79320E-06   -.11060E-03
  16  norm          .10001E-03    105.69       -.93738E-05** at limit **
  17  Prefactor     81.487        70.312        .24788E-06   -.31127E-04
  18  Prefactor     18.504        45.384        .14398E-04    .20285E-03
  19  Prefactor     12.269        13.152       -.19282E-05   -.29449E-03
  20  Prefactor     .10006E-03    5.1763        .34464E-05** at limit **
  21  Normalizat    1.1686        .24873       -.78756E-06   -.99845E-04
  22  Prefactor     .99945        .91479E-01   -.93912E-06   -.42918E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.38551
  norm       = 0.0001
  norm       = 3.33998
  Prefactor  = 0.0001
  Prefactor  = 117.784
  Prefactor  = 7.47555
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.65858
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100007
  norm       = 6.10703
  norm       = 6.88946
  norm       = 7.99614
  norm       = 0.000100008
  Prefactor  = 81.4869
  Prefactor  = 18.5036
  Prefactor  = 12.2688
  Prefactor  = 0.000100058
  Normalizat = 1.16862
  Prefactor  = 0.999449
 **********
 **   18 **HESSE 
 **********

 FCN=   9497.687     FROM HESSE     STATUS=OK           340 CALLS     2709 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.3855        3.2674        .12092E-03   -1.5203    
   2  norm          .10000E-03    1.8051        .12787E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.3400        2.9369        .15167E-03   -1.5342    
   4  Prefactor     .10000E-03    9.6073        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     117.78        57.902        .37074E-04   -1.3533    
   6  Prefactor     7.4756        5.2278        .14669E-03   -1.5161    
   7  Prefactor     .10000E-03    18.938        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.2924        .10710E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.6586        3.4791        .12612E-02   -1.5450    
  10  Prefactor     .10000E-03    28.370        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    3.0593        .16463E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10001E-03    121.53        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          6.1070        8.1626        .16242E-03   -1.5214    
  14  norm          6.8895        2.1365        .76498E-04   -1.5183    
  15  norm          7.9961        17.044        .14174E-03   -1.5142    
  16  norm          .10001E-03    105.90        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     81.487        70.314        .44495E-04   -1.3900    
  18  Prefactor     18.504        45.753        .92955E-04   -1.4847    
  19  Prefactor     12.269        13.040        .11438E-03   -1.5007    
  20  Prefactor     .10006E-03    23.824        .40296E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1686        .28768        .41780E-03   -.87578    
  22  Prefactor     .99945        .10598        .17467E-03   -.92748    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.52055e-09
Minuit parameter uncertainties:
  1  3.2675
  2  3.68721e-07
  3  2.93699
  4  9.56925e-06
  5  57.9298
  6  5.22808
  7  4.85285e-05
  8  3.88897e-06
  9  3.47956
  10  3.70574e-05
  11  1.69429e-05
  12  0.00187502
  13  8.16405
  14  2.13649
  15  17.0548
  16  0.00179286
  17  70.3857
  18  45.8403
  19  13.0429
  20  0.00234379
  21  0.288066
  22  0.106007
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.000e-04  1.694e-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.994e-01  1.060e-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.169e+00  2.881e-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.64e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.20e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/746109/likelihoodResults_493603201_493862401_4FGL_J1550.7+0528_daily_bin981.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) = 9497.68896532
delta logL = -0.0015583975528

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9497.68740778
delta logL = -8.52953235153e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10089E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2755       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1685       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99942       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=   9497.687     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      233 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    8.8127        .16469E-02** at limit **
   2  alpha         2.4470        2.7137        .16545       -.86853E-07
   3  Normalizat    1.1686        .26607        .41780E-03   -.18982E-03
   4  Prefactor     .99945        .10464        .17467E-03   -.48783E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.44702
  Normalizat = 1.16862
  Prefactor  = 0.999449
 **********
 **   18 **HESSE 
 **********

 FCN=   9497.687     FROM HESSE     STATUS=OK            23 CALLS      256 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.0996        .32937E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.4470        3.5904        .66181E-02   -.21193E-01
   3  Normalizat    1.1686        .26623        .16712E-04   -.87578    
   4  Prefactor     .99945        .10470        .34935E-04   -.92748    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79665e-10
Minuit parameter uncertainties:
  1  6.24581e-07
  2  293.024
  3  0.266534
  4  0.104725
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/746109': 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) = 9497.68740672
delta logL = 2.01082002604e-07

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  9.994e-01  1.047e-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.169e+00  2.665e-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/746109/cmap_HighResolution_493603201_493862401_4FGL_J1550.7+0528_daily_bin981.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.20e-05', job_status='DONE', photon_flux_upper_limit='7.64e-08', time_completed='2021-09-12 15:38:46.334657', job_id='746109', GAL2='1.00', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1631486326.33', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='2.01e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='981' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:38:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0049>
Subject: Job 746109: <4FGL_J1550.7+0528_daily_bin981> in cluster <slac> Done

Job <4FGL_J1550.7+0528_daily_bin981> 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) <bullet0049>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 15:25:49 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:49 2021
Terminated at Sun Sep 12 15:38:47 2021
Results reported at Sun Sep 12 15:38:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin981 237.697 5.4725 493603201 493862401 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 :                                   744.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             323.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   777 sec.
    Turnaround time :                            804 sec.

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

