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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin490
RA = 237.697, Dec = 5.4725
tmin = 366336001, tmax = 366595201
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='743345', job_status='RUN', time_executed='2021-09-12 15:19:02.935280', time_epoch_executed='1631485142.94' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='490'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/743345

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/743345/ft1_4FGL_J1550.7+0528_daily_bin490.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/743345/ft2_4FGL_J1550.7+0528_daily_bin490.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/743345/ft1_4FGL_J1550.7+0528_daily_bin490.fits outfile=/scratch/kocevski/743345/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin490.fits ra=237.697 dec=5.4725 rad=12.0 tmin=366336001.0 tmax=366595201.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.50
user 4.25
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/743345/ft1_filtered_4FGL_J1550.7+0528_daily_bin490.fits" evtable="EVENTS" scfile=/scratch/kocevski/743345/ft2_4FGL_J1550.7+0528_daily_bin490.fits sctable="SC_DATA" outfile=/scratch/kocevski/743345/ltcube_366336001_366595201_4FGL_J1550.7+0528_daily_bin490.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/743345/ft2_4FGL_J1550.7+0528_daily_bin490.fits
.....................!
real 10.07
user 9.73
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/743345/ft1_filtered_4FGL_J1550.7+0528_daily_bin490.fits evtable="EVENTS" scfile=/scratch/kocevski/743345/ft2_4FGL_J1550.7+0528_daily_bin490.fits sctable="SC_DATA" expcube=/scratch/kocevski/743345/ltcube_366336001_366595201_4FGL_J1550.7+0528_daily_bin490.fits outfile=/scratch/kocevski/743345/expmap_366336001_366595201_4FGL_J1550.7+0528_daily_bin490.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/743345/ltcube_366336001_366595201_4FGL_J1550.7+0528_daily_bin490.fits
.....................!
real 156.28
user 151.28
sys 4.56

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/743345/ft1_filtered_4FGL_J1550.7+0528_daily_bin490.fits scfile=/scratch/kocevski/743345/ft2_4FGL_J1550.7+0528_daily_bin490.fits outfile=/scratch/kocevski/743345/cmap_366336001_366595201_4FGL_J1550.7+0528_daily_bin490.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.47
user 0.34
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/743345/ft1_filtered_4FGL_J1550.7+0528_daily_bin490.fits scfile=/scratch/kocevski/743345/ft2_4FGL_J1550.7+0528_daily_bin490.fits outfile=/scratch/kocevski/743345/cmap_HighResolution_366336001_366595201_4FGL_J1550.7+0528_daily_bin490.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.49
user 0.33
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/743345/ft1_filtered_4FGL_J1550.7+0528_daily_bin490.fits evtable="EVENTS" scfile=/scratch/kocevski/743345/ft2_4FGL_J1550.7+0528_daily_bin490.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/743345/Model_4FGL_J1550.7+0528_daily_bin490.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/743345/ft1_filtered_4FGL_J1550.7+0528_daily_bin490.fits.....................!
real 67.79
user 66.58
sys 1.06

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6228       1.0000         .10000E-03   10000.    
     2 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.7129       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10179E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10775E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.4384       1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.5089       1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11201E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.3212       1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.839       1.0000         .10000E-03   10000.    
    13 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    5.8310       1.0000         .10000E-03   10000.    
    15 'norm      '    .10151E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .73416E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.4062       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.1658       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.4829       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .89771       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=   10282.43     FROM MIGRAD    STATUS=CONVERGED    509 CALLS     2076 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6228        2.3729       -.63974E-06   -.13757E-02
   2  norm          .10000E-03    4.3184        .23059E-06** at limit **
   3  norm          1.7129        2.5612       -.15114E-06   -.54177E-03
   4  Prefactor     .10000E-03    13.054        .54912E-05** at limit **
   5  Prefactor     .10000E-03    95.050        .30613E-05** at limit **
   6  Prefactor     9.4372        5.0197       -.28989E-06   -.26277E-03
   7  Prefactor     9.4956        11.089       -.80275E-05    .41730E-05
   8  norm          .10000E-03    1.2578        .46734E-07** at limit **
   9  Prefactor     .10000E-03    2.0925        .24557E-06** at limit **
  10  Prefactor     .10000E-03    17.944        .41299E-05** at limit **
  11  norm          1.3205        1.9610        .10165E-06   -.34871E-03
  12  Prefactor     11.671        48.607       -.16992E-04   -.26364E-05
  13  norm          .10000E-03    7.0011        .26287E-06** at limit **
  14  norm          5.8308        1.9517        .66189E-07    .13568E-03
  15  norm          .10000E-03    12.288       -.31448E-05** at limit **
  16  norm          .10001E-03    449.53        .77791E-04** at limit **
  17  Prefactor     9.4198        44.829       -.10789E-04   -.10827E-04
  18  Prefactor     .10000E-03    15.051       -.67409E-05** at limit **
  19  Prefactor     .10000E-03    4.5392        .65558E-08** at limit **
  20  Prefactor     2.1686        6.9450        .56532E-05   -.50105E-03
  21  Normalizat    1.4831        .21508        .17025E-05   -.14602E-03
  22  Prefactor     .89759        .82072E-01   -.29989E-06   -.59821E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.62285
  norm       = 0.0001
  norm       = 1.71291
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.43724
  Prefactor  = 9.49563
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.32048
  Prefactor  = 11.6709
  norm       = 0.0001
  norm       = 5.83082
  norm       = 0.0001
  norm       = 0.000100006
  Prefactor  = 9.41977
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.16858
  Normalizat = 1.48315
  Prefactor  = 0.897587
 **********
 **   18 **HESSE 
 **********

 FCN=   10282.43     FROM HESSE     STATUS=OK           344 CALLS     2420 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6228        2.3713        .18023E-03   -1.5453    
   2  norm          .10000E-03    4.3588        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.7129        2.5312        .19110E-03   -1.5446    
   4  Prefactor     .10000E-03    13.069        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    96.003        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.4372        5.0098        .13045E-03   -1.5093    
   7  Prefactor     9.4956        11.096        .12996E-03   -1.5092    
   8  norm          .10000E-03    1.2874        .11102E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.4778        .28040E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    17.962        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.3205        1.9235        .16774E-03   -1.5478    
  12  Prefactor     11.671        48.779        .11643E-03   -1.5025    
  13  norm          .10000E-03    7.0803        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.8308        1.9515        .79551E-04   -1.5225    
  15  norm          .10000E-03    12.420        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10001E-03    454.95        .20952E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     9.4198        44.962        .13067E-03   -1.5094    
  18  Prefactor     .10000E-03    15.086        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.5569        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.1686        6.7957        .27985E-03   -1.5413    
  21  Normalizat    1.4831        .25038        .35811E-03   -.78253    
  22  Prefactor     .89759        .96031E-01    .17414E-03   -.96225    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31863e-09
Minuit parameter uncertainties:
  1  2.37144
  2  1.72167e-06
  3  2.5314
  4  1.39161e-06
  5  0.000165497
  6  5.01
  7  11.0986
  8  1.7243e-06
  9  3.64094e-05
  10  7.23365e-06
  11  1.92363
  12  47.7866
  13  2.2544e-06
  14  1.9515
  15  3.03508e-06
  16  0.00319724
  17  41.2101
  18  1.69522e-05
  19  2.75502e-05
  20  6.79816
  21  0.250591
  22  0.0960492
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.320e+00  1.924e+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:  8.976e-01  9.605e-02  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.483e+00  2.506e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.88
Ra Dec: 237.697 5.473
Photon Flux Upper Limit: 6.60e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.77e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/743345/likelihoodResults_366336001_366595201_4FGL_J1550.7+0528_daily_bin490.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) = 10282.4277872
delta logL = 0.00231530514793

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10282.4276721
delta logL = 0.00243039500674

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3479       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1437       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4849       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89711       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=   10282.43     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      274 TOTAL
                     EDM=   .12E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3473        2.0160        .17029E-03   -.47935E-04
   2  alpha         2.1436        1.6725        .57788E-01   -.76174E-06
   3  Normalizat    1.4849        .24390        .35793E-03    .75595E-05
   4  Prefactor     .89726        .95407E-01    .17417E-03   -.28720E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.34733
  alpha      = 2.1436
  Normalizat = 1.48494
  Prefactor  = 0.897259
 **********
 **   18 **HESSE 
 **********

 FCN=   10282.43     FROM HESSE     STATUS=OK            25 CALLS      299 TOTAL
                     EDM=   .12E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3473        1.9867        .68115E-05   -1.5476    
   2  alpha         2.1436        1.6547        .23115E-02   -.14305    
   3  Normalizat    1.4849        .24379        .14317E-04   -.78202    
   4  Prefactor     .89726        .95454E-01    .69669E-05   -.96237    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23166e-12
Minuit parameter uncertainties:
  1  1.98675
  2  1.81251
  3  0.243986
  4  0.0954718
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/743345': 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) = 10282.427666
delta logL = 0.00243649813092

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  8.973e-01  9.547e-02  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.485e+00  2.440e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.88
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/743345/cmap_HighResolution_366336001_366595201_4FGL_J1550.7+0528_daily_bin490.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.77e-05', job_status='DONE', photon_flux_upper_limit='6.60e-08', time_completed='2021-09-12 15:29:38.109836', job_id='743345', GAL2='0.90', fit_tolerance='1e-08', EG2='1.48', EG='1.48', time_epoch_completed='1631485778.11', return_code2='0', ts='0.88', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='2.44e-03', ts2='0.88', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='490' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:29:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0023>
Subject: Job 743345: <4FGL_J1550.7+0528_daily_bin490> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin490 237.697 5.4725 366336001 366595201 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 :                                   630.36 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             296.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   748 sec.
    Turnaround time :                            837 sec.

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

