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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin53
RA = 237.697, Dec = 5.4725
tmin = 253065601, tmax = 253324801
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='741647', job_status='RUN', time_executed='2021-09-12 15:13:24.379717', time_epoch_executed='1631484804.38' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='53'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/741647

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/741647/ft1_4FGL_J1550.7+0528_daily_bin53.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/741647/ft2_4FGL_J1550.7+0528_daily_bin53.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/741647/ft1_4FGL_J1550.7+0528_daily_bin53.fits outfile=/scratch/kocevski/741647/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin53.fits ra=237.697 dec=5.4725 rad=12.0 tmin=253065601.0 tmax=253324801.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 1.43
user 1.24
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/741647/ft1_filtered_4FGL_J1550.7+0528_daily_bin53.fits" evtable="EVENTS" scfile=/scratch/kocevski/741647/ft2_4FGL_J1550.7+0528_daily_bin53.fits sctable="SC_DATA" outfile=/scratch/kocevski/741647/ltcube_253065601_253324801_4FGL_J1550.7+0528_daily_bin53.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/741647/ft2_4FGL_J1550.7+0528_daily_bin53.fits
.....................!
real 16.31
user 15.79
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/741647/ft1_filtered_4FGL_J1550.7+0528_daily_bin53.fits evtable="EVENTS" scfile=/scratch/kocevski/741647/ft2_4FGL_J1550.7+0528_daily_bin53.fits sctable="SC_DATA" expcube=/scratch/kocevski/741647/ltcube_253065601_253324801_4FGL_J1550.7+0528_daily_bin53.fits outfile=/scratch/kocevski/741647/expmap_253065601_253324801_4FGL_J1550.7+0528_daily_bin53.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/741647/ltcube_253065601_253324801_4FGL_J1550.7+0528_daily_bin53.fits
.....................!
real 190.97
user 186.07
sys 4.48

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/741647/ft1_filtered_4FGL_J1550.7+0528_daily_bin53.fits scfile=/scratch/kocevski/741647/ft2_4FGL_J1550.7+0528_daily_bin53.fits outfile=/scratch/kocevski/741647/cmap_253065601_253324801_4FGL_J1550.7+0528_daily_bin53.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=237.697 yref=5.4725 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/741647/ft1_filtered_4FGL_J1550.7+0528_daily_bin53.fits scfile=/scratch/kocevski/741647/ft2_4FGL_J1550.7+0528_daily_bin53.fits outfile=/scratch/kocevski/741647/cmap_HighResolution_253065601_253324801_4FGL_J1550.7+0528_daily_bin53.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.54
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/741647/ft1_filtered_4FGL_J1550.7+0528_daily_bin53.fits evtable="EVENTS" scfile=/scratch/kocevski/741647/ft2_4FGL_J1550.7+0528_daily_bin53.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/741647/Model_4FGL_J1550.7+0528_daily_bin53.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/741647/ft1_filtered_4FGL_J1550.7+0528_daily_bin53.fits.....................!
real 79.94
user 78.52
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2903       1.0000         .10000E-03   10000.    
     2 'norm      '    .10036E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.5583       1.0000         .10000E-03   10000.    
     4 'Prefactor '    60.892       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .19800E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.7047       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.7779       1.0000         .10000E-03   10000.    
     8 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.644       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10727E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.7027       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    16.935       1.0000         .10000E-03   10000.    
    14 'norm      '    3.5740       1.0000         .10000E-03   10000.    
    15 'norm      '    5.0138       1.0000         .10000E-03   10000.    
    16 'norm      '    114.29       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .12056E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    38.658       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.4313       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.5462       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .91260       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=   9693.836     FROM MIGRAD    STATUS=CONVERGED    515 CALLS     2715 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2908        2.0988       -.84826E-06   -.12868E-02
   2  norm          .10000E-03    5.1316       -.38552E-07** at limit **
   3  norm          3.5587        2.7122       -.13335E-06    .14540E-03
   4  Prefactor     60.888        39.816        .89066E-05    .37239E-04
   5  Prefactor     .23065E-03    25.562       -.54386E-05** at limit **
   6  Prefactor     2.7061        5.1102       -.17914E-05   -.84015E-03
   7  Prefactor     7.7686        21.393       -.22309E-04   -.16575E-04
   8  norm          .10000E-03    1.0598       -.72839E-07** at limit **
   9  Prefactor     14.643        4.9593       -.26232E-06   -.19048E-02
  10  Prefactor     .10000E-03    14.284        .41467E-06** at limit **
  11  norm          1.7047        3.0767        .33245E-06   -.77876E-03
  12  Prefactor     .10000E-03    13.830       -.37708E-06** at limit **
  13  norm          16.935        9.0494        .94797E-06    .97873E-04
  14  norm          3.5741        1.6284       -.72670E-07    .15525E-03
  15  norm          5.0093        8.6385       -.25801E-05   -.66255E-04
  16  norm          114.39        106.28        .29424E-04    .22812E-05
  17  Prefactor     .10000E-03    54.681        .28641E-06** at limit **
  18  Prefactor     38.677        38.505       -.47905E-04    .95628E-05
  19  Prefactor     5.4289        6.5227        .31837E-05    .27177E-04
  20  Prefactor     .10000E-03    1.9462        .50835E-07** at limit **
  21  Normalizat    1.5459        .23687        .52629E-05    .18393E-03
  22  Prefactor     .91263        .89456E-01    .22523E-06    .57194E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.29082
  norm       = 0.0001
  norm       = 3.55872
  Prefactor  = 60.8877
  Prefactor  = 0.000230655
  Prefactor  = 2.70612
  Prefactor  = 7.76862
  norm       = 0.0001
  Prefactor  = 14.6433
  Prefactor  = 0.0001
  norm       = 1.70474
  Prefactor  = 0.0001
  norm       = 16.9352
  norm       = 3.57408
  norm       = 5.00932
  norm       = 114.387
  Prefactor  = 0.0001
  Prefactor  = 38.6768
  Prefactor  = 5.42886
  Prefactor  = 0.0001
  Normalizat = 1.54594
  Prefactor  = 0.91263
 **********
 **   18 **HESSE 
 **********

 FCN=   9693.836     FROM HESSE     STATUS=OK           356 CALLS     3071 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2908        2.0646        .17564E-03   -1.5481    
   2  norm          .10000E-03    5.1896        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.5587        2.7110        .13752E-03   -1.5331    
   4  Prefactor     60.888        39.847        .51418E-04   -1.4146    
   5  Prefactor     .23065E-03    25.202        .14375       -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.7061        5.1065        .24768E-03   -1.5379    
   7  Prefactor     7.7686        21.318        .14378E-03   -1.5150    
   8  norm          .10000E-03    1.0719        .98937E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     14.643        4.9567        .52333E-03   -1.4942    
  10  Prefactor     .10000E-03    14.290        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.7047        3.0411        .22063E-03   -1.5447    
  12  Prefactor     .10000E-03    13.832        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          16.935        9.0633        .97325E-04   -1.4885    
  14  norm          3.5741        1.6288        .82303E-04   -1.5330    
  15  norm          5.0093        8.6360        .17959E-03   -1.5260    
  16  norm          114.39        106.23        .18816E-03   -1.3565    
  17  Prefactor     .10000E-03    54.759        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     38.677        38.512        .64464E-04   -1.4463    
  19  Prefactor     5.4289        6.5126        .17242E-03   -1.5242    
  20  Prefactor     .10000E-03    1.9502        .13413E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5459        .27367        .37299E-03   -.76496    
  22  Prefactor     .91263        .10341        .18484E-03   -.95701    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.29573e-09
Minuit parameter uncertainties:
  1  2.06472
  2  1.42395e-05
  3  2.71109
  4  39.8642
  5  0.114813
  6  5.10732
  7  21.3393
  8  6.95223e-06
  9  4.95687
  10  1.53138e-05
  11  3.04141
  12  4.53268e-06
  13  9.06401
  14  1.62878
  15  8.63811
  16  106.405
  17  8.67327e-05
  18  38.5364
  19  6.51347
  20  8.8946e-06
  21  0.273937
  22  0.10343
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.705e+00  3.041e+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.126e-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.546e+00  2.739e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/741647/likelihoodResults_253065601_253324801_4FGL_J1550.7+0528_daily_bin53.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) = 9693.79547813
delta logL = 0.0403649456603

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9693.79497878
delta logL = 0.0408642994607

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7689       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7761       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5525       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91146       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=   9693.795     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      241 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7689        3.1462        .22203E-03    .45121E-03
   2  alpha         1.7761        1.5269        .50382E-01    .20827E-04
   3  Normalizat    1.5525        .25893        .37238E-03    .50130E-04
   4  Prefactor     .91146        .10259        .18495E-03    .93927E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.76889
  alpha      = 1.7761
  Normalizat = 1.55248
  Prefactor  = 0.911456
 **********
 **   18 **HESSE 
 **********

 FCN=   9693.795     FROM HESSE     STATUS=OK            25 CALLS      266 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7689        3.2352        .88812E-05   -1.5442    
   2  alpha         1.7761        1.5666        .20153E-02   -.29377    
   3  Normalizat    1.5525        .25909        .14895E-04   -.76314    
   4  Prefactor     .91146        .10267        .73978E-05   -.95742    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.79214e-10
Minuit parameter uncertainties:
  1  3.23553
  2  1.70798
  3  0.259313
  4  0.102689
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/741647': 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) = 9693.79497878
delta logL = 0.0408642997463

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.769e+00  3.236e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  1.776e+00  1.708e+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:  9.115e-01  1.027e-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.552e+00  2.593e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.44
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/741647/cmap_HighResolution_253065601_253324801_4FGL_J1550.7+0528_daily_bin53.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.59e-05', job_status='DONE', photon_flux_upper_limit='8.56e-08', time_completed='2021-09-12 15:26:47.572104', job_id='741647', GAL2='0.91', fit_tolerance='1e-08', EG2='1.55', EG='1.55', time_epoch_completed='1631485607.57', return_code2='0', ts='0.44', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='4.09e-02', ts2='0.52', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='53' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:26:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 741647: <4FGL_J1550.7+0528_daily_bin53> in cluster <slac> Done

Job <4FGL_J1550.7+0528_daily_bin53> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep 12 15:10:17 2021
Job was executed on host(s) <bullet0204>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 15:13: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:13:10 2021
Terminated at Sun Sep 12 15:26:48 2021
Results reported at Sun Sep 12 15:26:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin53 237.697 5.4725 253065601 253324801 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 :                                   800.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             348.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   817 sec.
    Turnaround time :                            991 sec.

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

