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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin964
RA = 237.697, Dec = 5.4725
tmin = 489196801, tmax = 489456001
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='746085', job_status='RUN', time_executed='2021-09-12 15:29:41.696120', time_epoch_executed='1631485781.7' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='964'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/746085

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/746085/ft1_4FGL_J1550.7+0528_daily_bin964.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/746085/ft2_4FGL_J1550.7+0528_daily_bin964.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/746085/ft1_4FGL_J1550.7+0528_daily_bin964.fits outfile=/scratch/kocevski/746085/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin964.fits ra=237.697 dec=5.4725 rad=12.0 tmin=489196801.0 tmax=489456001.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 4.10
user 3.85
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/746085/ft1_filtered_4FGL_J1550.7+0528_daily_bin964.fits" evtable="EVENTS" scfile=/scratch/kocevski/746085/ft2_4FGL_J1550.7+0528_daily_bin964.fits sctable="SC_DATA" outfile=/scratch/kocevski/746085/ltcube_489196801_489456001_4FGL_J1550.7+0528_daily_bin964.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/746085/ft2_4FGL_J1550.7+0528_daily_bin964.fits
.....................!
real 12.53
user 12.14
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/746085/ft1_filtered_4FGL_J1550.7+0528_daily_bin964.fits evtable="EVENTS" scfile=/scratch/kocevski/746085/ft2_4FGL_J1550.7+0528_daily_bin964.fits sctable="SC_DATA" expcube=/scratch/kocevski/746085/ltcube_489196801_489456001_4FGL_J1550.7+0528_daily_bin964.fits outfile=/scratch/kocevski/746085/expmap_489196801_489456001_4FGL_J1550.7+0528_daily_bin964.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/746085/ltcube_489196801_489456001_4FGL_J1550.7+0528_daily_bin964.fits
.....................!
real 157.23
user 152.84
sys 4.08

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/746085/ft1_filtered_4FGL_J1550.7+0528_daily_bin964.fits scfile=/scratch/kocevski/746085/ft2_4FGL_J1550.7+0528_daily_bin964.fits outfile=/scratch/kocevski/746085/cmap_489196801_489456001_4FGL_J1550.7+0528_daily_bin964.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.56
user 0.34
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/746085/ft1_filtered_4FGL_J1550.7+0528_daily_bin964.fits scfile=/scratch/kocevski/746085/ft2_4FGL_J1550.7+0528_daily_bin964.fits outfile=/scratch/kocevski/746085/cmap_HighResolution_489196801_489456001_4FGL_J1550.7+0528_daily_bin964.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.50
user 0.35
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/746085/ft1_filtered_4FGL_J1550.7+0528_daily_bin964.fits evtable="EVENTS" scfile=/scratch/kocevski/746085/ft2_4FGL_J1550.7+0528_daily_bin964.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/746085/Model_4FGL_J1550.7+0528_daily_bin964.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/746085/ft1_filtered_4FGL_J1550.7+0528_daily_bin964.fits.....................!
real 57.48
user 55.61
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8742       1.0000         .10000E-03   10000.    
     2 'norm      '    8.3244       1.0000         .10000E-03   10000.    
     3 'norm      '    .82749       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .18611E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    6.0114       1.0000         .10000E-03   10000.    
    12 'Prefactor '    102.09       1.0000         .10000E-03   10000.    
    13 'norm      '    15.928       1.0000         .10000E-03   10000.    
    14 'norm      '    3.4817       1.0000         .10000E-03   10000.    
    15 'norm      '    8.8176       1.0000         .10000E-03   10000.    
    16 'norm      '    .10528E-01   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2451       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .92130       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=   8076.888     FROM MIGRAD    STATUS=CONVERGED    509 CALLS     2416 TOTAL
                     EDM=   .85E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8740        4.4437       -.17311E-06   -.27065E-03
   2  norm          8.3245        7.1780        .18897E-07    .98256E-05
   3  norm          .82815        4.7670        .27037E-05   -.17332E-03
   4  Prefactor     .10000E-03    32.426        .22482E-07** at limit **
   5  Prefactor     .10000E-03    101.31        .41586E-06** at limit **
   6  Prefactor     .10000E-03    2.4462       -.30465E-07** at limit **
   7  Prefactor     .10000E-03    8.7976       -.14543E-07** at limit **
   8  norm          .10000E-03    1.0745        .13943E-06** at limit **
   9  Prefactor     .10000E-03    1.7829       -.12881E-07** at limit **
  10  Prefactor     .10000E-03    15.338        .67719E-07** at limit **
  11  norm          6.0129        4.3877        .98675E-07   -.22024E-04
  12  Prefactor     102.07        102.76       -.93879E-06   -.29856E-04
  13  norm          15.931        10.398        .96594E-06    .33577E-03
  14  norm          3.4820        1.9430       -.27665E-07   -.19303E-04
  15  norm          8.8196        9.1839        .44184E-06    .12356E-03
  16  norm          .10000E-03    899.36       -.35975E-05** at limit **
  17  Prefactor     .10000E-03    56.003       -.25394E-06** at limit **
  18  Prefactor     .10000E-03    14.318        .17314E-07** at limit **
  19  Prefactor     .10000E-03    7.5203        .19293E-07** at limit **
  20  Prefactor     .10000E-03    3.4486       -.25428E-08** at limit **
  21  Normalizat    1.2445        .25072       -.89607E-06   -.31154E-04
  22  Prefactor     .92144        .92620E-01    .71783E-07   -.12490E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.874
  norm       = 8.32453
  norm       = 0.828148
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.01294
  Prefactor  = 102.07
  norm       = 15.931
  norm       = 3.48197
  norm       = 8.81964
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.24449
  Prefactor  = 0.921438
 **********
 **   18 **HESSE 
 **********

 FCN=   8076.888     FROM HESSE     STATUS=OK           336 CALLS     2752 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8740        4.3914        .21182E-03   -1.5369    
   2  norm          8.3245        7.1792        .13895E-03   -1.5131    
   3  norm          .82815        4.9554        .37002E-03   -1.5526    
   4  Prefactor     .10000E-03    32.600        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    102.12        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.4723        .13721E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    8.8000        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.0796        .90884E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.8050        .11713E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    15.341        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.0129        4.3832        .15404E-03   -1.5217    
  12  Prefactor     102.07        103.55        .39792E-04   -1.3684    
  13  norm          15.931        10.807        .10035E-03   -1.4909    
  14  norm          3.4820        1.9429        .89522E-04   -1.5335    
  15  norm          8.8196        9.2424        .13498E-03   -1.5114    
  16  norm          .10000E-03    916.47        .18151E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    56.075        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    14.327        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    7.5770        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.4628        .16298E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2445        .29307        .38974E-03   -.85239    
  22  Prefactor     .92144        .10882        .17056E-03   -.95396    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.93392e-10
Minuit parameter uncertainties:
  1  4.39192
  2  7.17991
  3  4.05184
  4  9.02062e-06
  5  0.000124728
  6  1.65153e-06
  7  7.13206e-07
  8  2.61465e-06
  9  1.74434e-06
  10  2.74703e-07
  11  4.38345
  12  103.737
  13  10.8087
  14  1.9429
  15  9.24391
  16  0.00221934
  17  3.35611e-05
  18  2.38323e-06
  19  4.48231e-06
  20  1.29501e-06
  21  0.293458
  22  0.108843
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  6.013e+00  4.383e+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:  9.214e-01  1.088e-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.244e+00  2.935e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.59
Ra Dec: 237.697 5.473
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 5.29e-08 +/- 3.85e-08
Energy Flux (Fixed Index): 2.22e-05 +/- 1.62e-05

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

Saving results to:
/scratch/kocevski/746085/likelihoodResults_489196801_489456001_4FGL_J1550.7+0528_daily_bin964.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) = 8076.53555611
delta logL = 0.35236956463

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8076.4939839
delta logL = 0.393941768237

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.2572       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6254       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2769       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91279       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=   8076.494     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      207 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.2605        7.1440        .37223E-02    .10473E-03
   2  alpha         1.6269        .77568        .44900       -.26096E-04
   3  Normalizat    1.2767        .24418        .87043E-01    .24560E-04
   4  Prefactor     .91296        .92938E-01    .45168E-01    .35540E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 7.26047
  alpha      = 1.62693
  Normalizat = 1.27666
  Prefactor  = 0.912959
 **********
 **   18 **HESSE 
 **********

 FCN=   8076.494     FROM HESSE     STATUS=OK            33 CALLS      240 TOTAL
                     EDM=   .16E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.2605        4.9597        .14889E-03   -1.5169    
   2  alpha         1.6269        .61125        .20127E-01   -.35675    
   3  Normalizat    1.2767        .28016        .38544E-03   -.84266    
   4  Prefactor     .91296        .10803        .17120E-03   -.95690    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56569e-12
Minuit parameter uncertainties:
  1  4.96002
  2  0.618411
  3  0.280488
  4  0.108058
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/746085': 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) = 8076.49397908
delta logL = 0.39394658884

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  9.130e-01  1.081e-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.277e+00  2.805e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.39
Ra Dec: 237.697 5.473
Photon Index (Free Index): 1.63 +/- 0.62
Photon Flux (Free Index): 3.22e-08 +/- 2.76e-08
Energy Flux (Free Index): 3.39e-05 +/- 3.02e-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/746085/cmap_HighResolution_489196801_489456001_4FGL_J1550.7+0528_daily_bin964.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.86e-05', comment='SUCCESS', photon_flux='5.29e-08', energy_flux2='3.39e-05', photon_flux_error='3.85e-08', dlogl='3.94e-01', energy_flux='2.22e-05', photon_flux2='3.22e-08', job_status='DONE', time_completed='2021-09-12 15:39:11.476263', photon_index_error2='0.62', photon_index2='1.63', ts='3.59', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='1.40e-07', energy_flux_error2='3.02e-05', EG='1.24', time_epoch_completed='1631486351.48', return_code='0', job_id='746085', GAL2='0.91', EG2='1.28', return_code2='0', energy_flux_error='1.62e-05', photon_flux_error2='2.76e-08', ts2='4.39', photon_index='2.27' WHERE bin_id='964' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:39:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0175>
Subject: Job 746085: <4FGL_J1550.7+0528_daily_bin964> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin964 237.697 5.4725 489196801 489456001 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 :                                   567.22 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   809 sec.
    Turnaround time :                            831 sec.

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

