/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 189 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 = 7433
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1550.7+0528_daily_bin344
RA = 237.697, Dec = 5.4725
tmin = 328492801, tmax = 328752001
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='743126', job_status='RUN', time_executed='2021-09-12 15:19:05.255098', time_epoch_executed='1631485145.26' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='344'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/743126

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/743126/ft1_4FGL_J1550.7+0528_daily_bin344.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/743126/ft2_4FGL_J1550.7+0528_daily_bin344.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/743126/ft1_4FGL_J1550.7+0528_daily_bin344.fits outfile=/scratch/kocevski/743126/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin344.fits ra=237.697 dec=5.4725 rad=12.0 tmin=328492801.0 tmax=328752001.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.53
user 3.28
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/743126/ft1_filtered_4FGL_J1550.7+0528_daily_bin344.fits" evtable="EVENTS" scfile=/scratch/kocevski/743126/ft2_4FGL_J1550.7+0528_daily_bin344.fits sctable="SC_DATA" outfile=/scratch/kocevski/743126/ltcube_328492801_328752001_4FGL_J1550.7+0528_daily_bin344.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/743126/ft2_4FGL_J1550.7+0528_daily_bin344.fits
.....................!
real 13.63
user 13.27
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/743126/ft1_filtered_4FGL_J1550.7+0528_daily_bin344.fits evtable="EVENTS" scfile=/scratch/kocevski/743126/ft2_4FGL_J1550.7+0528_daily_bin344.fits sctable="SC_DATA" expcube=/scratch/kocevski/743126/ltcube_328492801_328752001_4FGL_J1550.7+0528_daily_bin344.fits outfile=/scratch/kocevski/743126/expmap_328492801_328752001_4FGL_J1550.7+0528_daily_bin344.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/743126/ltcube_328492801_328752001_4FGL_J1550.7+0528_daily_bin344.fits
.....................!
real 191.44
user 186.35
sys 4.62

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/743126/ft1_filtered_4FGL_J1550.7+0528_daily_bin344.fits scfile=/scratch/kocevski/743126/ft2_4FGL_J1550.7+0528_daily_bin344.fits outfile=/scratch/kocevski/743126/cmap_328492801_328752001_4FGL_J1550.7+0528_daily_bin344.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/743126/ft1_filtered_4FGL_J1550.7+0528_daily_bin344.fits scfile=/scratch/kocevski/743126/ft2_4FGL_J1550.7+0528_daily_bin344.fits outfile=/scratch/kocevski/743126/cmap_HighResolution_328492801_328752001_4FGL_J1550.7+0528_daily_bin344.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/743126/ft1_filtered_4FGL_J1550.7+0528_daily_bin344.fits evtable="EVENTS" scfile=/scratch/kocevski/743126/ft2_4FGL_J1550.7+0528_daily_bin344.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/743126/Model_4FGL_J1550.7+0528_daily_bin344.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/743126/ft1_filtered_4FGL_J1550.7+0528_daily_bin344.fits.....................!
real 76.85
user 75.54
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0415       1.0000         .10000E-03   10000.    
     2 'norm      '    3.0480       1.0000         .10000E-03   10000.    
     3 'norm      '    .11511E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    21.526       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.3948       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10197E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.364       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    6.2754       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .20803E-02   1.0000         .10000E-03   10000.    
    14 'norm      '    3.5161       1.0000         .10000E-03   10000.    
    15 'norm      '    9.1905       1.0000         .10000E-03   10000.    
    16 'norm      '    1.7394       1.0000         .10000E-03   10000.    
    17 'Prefactor '    71.698       1.0000         .10000E-03   10000.    
    18 'Prefactor '    53.467       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.8853       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .76524       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0941       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=   9645.086     FROM MIGRAD    STATUS=CONVERGED    473 CALLS     2379 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0445        2.9540        .38215E-06   -.88076E-03
   2  norm          3.0478        3.8630       -.52549E-06    .45120E-04
   3  norm          .10001E-03    2.3815        .14131E-05** at limit **
   4  Prefactor     21.537        28.522        .15138E-04   -.41865E-04
   5  Prefactor     .10000E-03    14.421       -.10053E-04** at limit **
   6  Prefactor     5.3944        4.0870       -.31703E-06   -.34817E-03
   7  Prefactor     .10000E-03    7.5555       -.12456E-05** at limit **
   8  norm          .10000E-03    1.1294        .42466E-06** at limit **
   9  Prefactor     11.363        5.1249        .90820E-06   -.20935E-03
  10  Prefactor     .10000E-03    10.277        .11314E-05** at limit **
  11  norm          6.2741        4.5127        .22349E-05   -.38828E-03
  12  Prefactor     .10000E-03    17.678        .76830E-05** at limit **
  13  norm          .10001E-03    3.9226        .12692E-05** at limit **
  14  norm          3.5160        1.5716        .21422E-06   -.38101E-03
  15  norm          9.1884        12.816        .56617E-06   -.12365E-03
  16  norm          1.6857        616.71       -.37148E-03    .48937E-04
  17  Prefactor     71.797        92.299        .11153E-03    .10945E-04
  18  Prefactor     53.492        39.817        .27403E-04   -.44315E-05
  19  Prefactor     .10000E-03    3.0359       -.45862E-06** at limit **
  20  Prefactor     6.8852        5.9822       -.13934E-05   -.11473E-03
  21  Normalizat    .76511        .24152       -.16389E-04   -.25276E-03
  22  Prefactor     1.0941        .92835E-01   -.48701E-06   -.10010E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.04451
  norm       = 3.04784
  norm       = 0.000100009
  Prefactor  = 21.5367
  Prefactor  = 0.0001
  Prefactor  = 5.3944
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 11.3635
  Prefactor  = 0.0001
  norm       = 6.27407
  Prefactor  = 0.0001
  norm       = 0.000100014
  norm       = 3.51596
  norm       = 9.1884
  norm       = 1.68567
  Prefactor  = 71.7968
  Prefactor  = 53.4921
  Prefactor  = 0.0001
  Prefactor  = 6.88524
  Normalizat = 0.765106
  Prefactor  = 1.09415
 **********
 **   18 **HESSE 
 **********

 FCN=   9645.086     FROM HESSE     STATUS=OK           358 CALLS     2737 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0445        2.9277        .13709E-03   -1.5306    
   2  norm          3.0478        3.8582        .21221E-03   -1.5359    
   3  norm          .10001E-03    9.7866        .29166E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     21.537        28.507        .86332E-04   -1.4779    
   5  Prefactor     .10000E-03    14.430        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.3944        4.0790        .16478E-03   -1.5243    
   7  Prefactor     .10000E-03    7.5569        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    6.4309        .20276E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.363        5.1135        .11884E-03   -1.5034    
  10  Prefactor     .10000E-03    10.282        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.2741        4.5016        .16024E-03   -1.5207    
  12  Prefactor     .10000E-03    17.685        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10001E-03    36.078        .37188E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.5160        1.5635        .79550E-04   -1.5333    
  15  norm          9.1884        12.799        .13220E-03   -1.5102    
  16  norm          1.6857        641.52        .31812E-02   -1.5448    
  17  Prefactor     71.797        92.521        .23706E-03   -1.4011    
  18  Prefactor     53.492        39.823        .54853E-04   -1.4244    
  19  Prefactor     .10000E-03    3.0385        .16709E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.8852        5.9796        .15290E-03   -1.5183    
  21  Normalizat    .76511        .26030        .47834E-03   -1.0138    
  22  Prefactor     1.0941        .10213        .16350E-03   -.89654    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.74126e-09
Minuit parameter uncertainties:
  1  2.92782
  2  3.85849
  3  0.000601315
  4  28.5245
  5  7.7516e-05
  6  4.07923
  7  2.53265e-06
  8  0.000169468
  9  5.1137
  10  1.90573e-05
  11  4.50189
  12  2.3288e-05
  13  0.00143199
  14  1.5635
  15  12.8024
  16  66.4971
  17  92.7069
  18  39.8432
  19  5.59417e-05
  20  5.98012
  21  0.260723
  22  0.10215
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  6.274e+00  4.502e+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

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  1.094e+00  1.021e-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:  7.651e-01  2.607e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.88
Ra Dec: 237.697 5.473
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 5.52e-08 +/- 3.96e-08
Energy Flux (Fixed Index): 2.31e-05 +/- 1.66e-05

TS (Fixed Index): 2.88
Ra Dec: 237.697 5.473
Photon Flux Upper Limit: 1.36e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.72e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/743126/likelihoodResults_328492801_328752001_4FGL_J1550.7+0528_daily_bin344.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) = 9644.43440387
delta logL = 0.651980718369

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9644.39710434
delta logL = 0.689280246695

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2971       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.4053       1.0000          .0000       5.0000    
     3 'Normalizat'    .68910       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1126       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=   9644.397     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      248 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2952        19.046        .67698E-02    .10312E-02
   2  alpha         3.4058        3.9821        .31766        .11418E-03
   3  Normalizat    .68921        .78913E-01    .11313        .10933E-03
   4  Prefactor     1.1125        .29366E-01    .37127E-01    .22865E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.29521
  alpha      = 3.40579
  Normalizat = 0.689207
  Prefactor  = 1.11255
 **********
 **   18 **HESSE 
 **********

 FCN=   9644.397     FROM HESSE     STATUS=OK            33 CALLS      281 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2952        5.1411        .80326E-04   -1.5405    
   2  alpha         3.4058        1.3237        .12280E-01    .37075    
   3  Normalizat    .68921        .26214        .50167E-03   -1.0432    
   4  Prefactor     1.1125        .10371        .16225E-03   -.89067    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1162e-10
Minuit parameter uncertainties:
  1  5.14207
  2  1.40785
  3  0.26262
  4  0.103733
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/743126': 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) = 9644.39710403
delta logL = 0.689280554945

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  2.295e+00  5.142e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  3.406e+00  1.408e+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.113e+00  1.037e-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:  6.892e-01  2.626e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.42
Ra Dec: 237.697 5.473
Photon Index (Free Index): 3.41 +/- 1.41
Photon Flux (Free Index): 1.21e-07 +/- 8.02e-08
Energy Flux (Free Index): 2.40e-05 +/- 1.46e-05

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/743126/cmap_HighResolution_328492801_328752001_4FGL_J1550.7+0528_daily_bin344.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.72e-05', comment='SUCCESS', photon_flux='5.52e-08', energy_flux2='2.40e-05', photon_flux_error='3.96e-08', dlogl='6.89e-01', energy_flux='2.31e-05', photon_flux2='1.21e-07', job_status='DONE', time_completed='2021-09-12 15:31:34.995187', photon_index_error2='1.41', photon_index2='3.41', ts='2.88', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='1.36e-07', energy_flux_error2='1.46e-05', EG='0.77', time_epoch_completed='1631485895.0', return_code='0', job_id='743126', GAL2='1.11', EG2='0.69', return_code2='0', energy_flux_error='1.66e-05', photon_flux_error2='8.02e-08', ts2='4.42', photon_index='2.27' WHERE bin_id='344' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:31:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 743126: <4FGL_J1550.7+0528_daily_bin344> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin344 237.697 5.4725 328492801 328752001 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 :                                   748.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             309.66 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   947 sec.
    Turnaround time :                            970 sec.

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

