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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin323
RA = 237.697, Dec = 5.4725
tmin = 323049601, tmax = 323308801
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='743093', job_status='RUN', time_executed='2021-09-12 15:17:54.707258', time_epoch_executed='1631485074.71' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='323'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/743093

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/743093/ft1_4FGL_J1550.7+0528_daily_bin323.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/743093/ft2_4FGL_J1550.7+0528_daily_bin323.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/743093/ft1_4FGL_J1550.7+0528_daily_bin323.fits outfile=/scratch/kocevski/743093/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin323.fits ra=237.697 dec=5.4725 rad=12.0 tmin=323049601.0 tmax=323308801.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.38
user 3.11
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/743093/ft2_4FGL_J1550.7+0528_daily_bin323.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/743093/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin323.fits evtable="EVENTS" outfile="/scratch/kocevski/743093/ft1_filtered_4FGL_J1550.7+0528_daily_bin323.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.51
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/743093/ft1_filtered_4FGL_J1550.7+0528_daily_bin323.fits" evtable="EVENTS" scfile=/scratch/kocevski/743093/ft2_4FGL_J1550.7+0528_daily_bin323.fits sctable="SC_DATA" outfile=/scratch/kocevski/743093/ltcube_323049601_323308801_4FGL_J1550.7+0528_daily_bin323.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/743093/ft2_4FGL_J1550.7+0528_daily_bin323.fits
.....................!
real 14.18
user 13.63
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/743093/ft1_filtered_4FGL_J1550.7+0528_daily_bin323.fits evtable="EVENTS" scfile=/scratch/kocevski/743093/ft2_4FGL_J1550.7+0528_daily_bin323.fits sctable="SC_DATA" expcube=/scratch/kocevski/743093/ltcube_323049601_323308801_4FGL_J1550.7+0528_daily_bin323.fits outfile=/scratch/kocevski/743093/expmap_323049601_323308801_4FGL_J1550.7+0528_daily_bin323.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/743093/ltcube_323049601_323308801_4FGL_J1550.7+0528_daily_bin323.fits
.....................!
real 194.34
user 187.25
sys 4.81

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/743093/ft1_filtered_4FGL_J1550.7+0528_daily_bin323.fits scfile=/scratch/kocevski/743093/ft2_4FGL_J1550.7+0528_daily_bin323.fits outfile=/scratch/kocevski/743093/cmap_323049601_323308801_4FGL_J1550.7+0528_daily_bin323.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.60
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/743093/ft1_filtered_4FGL_J1550.7+0528_daily_bin323.fits scfile=/scratch/kocevski/743093/ft2_4FGL_J1550.7+0528_daily_bin323.fits outfile=/scratch/kocevski/743093/cmap_HighResolution_323049601_323308801_4FGL_J1550.7+0528_daily_bin323.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/743093/ft1_filtered_4FGL_J1550.7+0528_daily_bin323.fits evtable="EVENTS" scfile=/scratch/kocevski/743093/ft2_4FGL_J1550.7+0528_daily_bin323.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/743093/Model_4FGL_J1550.7+0528_daily_bin323.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/743093/ft1_filtered_4FGL_J1550.7+0528_daily_bin323.fits.....................!
real 71.54
user 69.72
sys 1.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    17.519       1.0000         .10000E-03   10000.    
     8 'norm      '    .10090E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.3306       1.0000         .10000E-03   10000.    
    10 'Prefactor '    49.654       1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    22.572       1.0000         .10000E-03   10000.    
    13 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    4.6246       1.0000         .10000E-03   10000.    
    15 'norm      '    .10153E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    142.09       1.0000         .10000E-03   10000.    
    17 'Prefactor '    23.365       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10113E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.3264       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2162       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .92097       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=   8618.354     FROM MIGRAD    STATUS=CONVERGED    466 CALLS     2327 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.2778       -.75109E-07** at limit **
   2  norm          .10000E-03    2.4932        .18998E-07** at limit **
   3  norm          .10000E-03    1.7249       -.56552E-07** at limit **
   4  Prefactor     .10000E-03    35.183        .16435E-04** at limit **
   5  Prefactor     .10000E-03    40.912       -.12449E-04** at limit **
   6  Prefactor     .10000E-03    2.4744       -.97744E-07** at limit **
   7  Prefactor     17.519        16.855       -.21437E-06    .17459E-04
   8  norm          .10000E-03    1.2480       -.13319E-07** at limit **
   9  Prefactor     8.3303        4.9155       -.16207E-05   -.20567E-03
  10  Prefactor     49.650        38.709       -.41714E-05    .15502E-04
  11  norm          .10000E-03    .99890        .11024E-07** at limit **
  12  Prefactor     22.562        57.291       -.18077E-04    .57599E-05
  13  norm          .10000E-03    4.8689       -.31668E-07** at limit **
  14  norm          4.6239        1.8734        .64652E-07    .16906E-03
  15  norm          .10000E-03    11.799       -.10604E-05** at limit **
  16  norm          142.09        108.33        .79817E-06    .19270E-05
  17  Prefactor     23.331        44.327       -.54445E-04    .45485E-05
  18  Prefactor     .10000E-03    22.081       -.50757E-05** at limit **
  19  Prefactor     .10000E-03    13.531        .21471E-05** at limit **
  20  Prefactor     8.3265        7.7762       -.96004E-06   -.15234E-02
  21  Normalizat    1.2163        .22104        .28567E-05    .34054E-04
  22  Prefactor     .92093        .88148E-01    .10841E-05    .58775E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.5188
  norm       = 0.0001
  Prefactor  = 8.33026
  Prefactor  = 49.6501
  norm       = 0.0001
  Prefactor  = 22.5621
  norm       = 0.0001
  norm       = 4.62394
  norm       = 0.0001
  norm       = 142.093
  Prefactor  = 23.3308
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.32652
  Normalizat = 1.21633
  Prefactor  = 0.920928
 **********
 **   18 **HESSE 
 **********

 FCN=   8618.354     FROM HESSE     STATUS=OK           336 CALLS     2663 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.3192        .20488E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.4987        .14316E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.7461        .11906E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    35.393        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    41.139        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.5073        .14252E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     17.519        16.857        .95689E-04   -1.4871    
   8  norm          .10000E-03    1.2704        .10121E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.3303        4.9196        .13890E-03   -1.5131    
  10  Prefactor     49.650        38.759        .56910E-04   -1.4298    
  11  norm          .10000E-03    1.0014        .90592E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     22.562        57.329        .84309E-04   -1.4758    
  13  norm          .10000E-03    4.8991        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.6239        1.8729        .78214E-04   -1.5278    
  15  norm          .10000E-03    12.194        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          142.09        108.38        .16899E-03   -1.3318    
  17  Prefactor     23.331        44.155        .82867E-04   -1.4742    
  18  Prefactor     .10000E-03    22.143        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    13.767        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     8.3265        7.8120        .69466E-03   -1.5131    
  21  Normalizat    1.2163        .25814        .36728E-03   -.86100    
  22  Prefactor     .92093        .10335        .16723E-03   -.95414    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75621e-09
Minuit parameter uncertainties:
  1  7.5009e-06
  2  1.96211e-06
  3  6.23251e-06
  4  0.000152627
  5  6.73476e-05
  6  6.59783e-06
  7  16.8614
  8  2.14054e-07
  9  4.91979
  10  38.7784
  11  2.76132e-06
  12  57.4697
  13  5.65236e-06
  14  1.87292
  15  1.73528e-05
  16  108.537
  17  44.217
  18  2.16364e-05
  19  4.52232e-06
  20  7.81297
  21  0.258412
  22  0.103373
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.000e-04  2.761e-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:  9.209e-01  1.034e-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.216e+00  2.584e-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: 4.74e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.99e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/743093/likelihoodResults_323049601_323308801_4FGL_J1550.7+0528_daily_bin323.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) = 8618.35914462
delta logL = -0.0047052038517

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8618.35443933
delta logL = 9.3954440672e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2650       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2163       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92093       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=   8618.226     FROM MIGRAD    STATUS=CONVERGED    129 CALLS      270 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .29811E-01    4.1846        .70353E-02    .74064E-02
   2  alpha         5.0000        4.8665        .16553    ** at limit **
   3  Normalizat    1.1756        .28021        .36728E-03    .31938E-03
   4  Prefactor     .93044        .47018E-01    .16723E-03    .24860E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0298113
  alpha      = 5
  Normalizat = 1.17564
  Prefactor  = 0.930443
 **********
 **   18 **HESSE 
 **********

 FCN=   8618.226     FROM HESSE     STATUS=OK            27 CALLS      297 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .29811E-01    .62985E-01    .28648E-03   -1.5673    
   2  alpha         5.0000        3.3995        .33107E-01   -4.7124    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1756        .26666        .14691E-04   -.87359    
   4  Prefactor     .93044        .10468        .33446E-04   -.95085    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2137e-08
Minuit parameter uncertainties:
  1  0.0629847
  2  0.000109781
  3  0.26697
  4  0.104705
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/743093': 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) = 8618.22621167
delta logL = 0.128227755129

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  2.981e-02  6.298e-02  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  5.000e+00  1.098e-04  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.304e-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.176e+00  2.670e-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/743093/cmap_HighResolution_323049601_323308801_4FGL_J1550.7+0528_daily_bin323.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.99e-05', job_status='DONE', photon_flux_upper_limit='4.74e-08', time_completed='2021-09-12 15:29:56.882994', job_id='743093', GAL2='0.93', fit_tolerance='1e-08', EG2='1.18', EG='1.22', time_epoch_completed='1631485796.88', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='1.28e-01', ts2='0.29', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='323' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:29:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 743093: <4FGL_J1550.7+0528_daily_bin323> in cluster <slac> Done

Job <4FGL_J1550.7+0528_daily_bin323> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 15:15:21 2021
Job was executed on host(s) <bullet0078>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 15:15:39 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:39 2021
Terminated at Sun Sep 12 15:29:57 2021
Results reported at Sun Sep 12 15:29:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin323 237.697 5.4725 323049601 323308801 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 :                                   712.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             268.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   858 sec.
    Turnaround time :                            876 sec.

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

