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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin957
RA = 237.697, Dec = 5.4725
tmin = 487382401, tmax = 487641601
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='746075', job_status='RUN', time_executed='2021-09-12 15:28:58.993016', time_epoch_executed='1631485738.99' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='957'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/746075

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/746075/ft1_4FGL_J1550.7+0528_daily_bin957.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/746075/ft2_4FGL_J1550.7+0528_daily_bin957.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/746075/ft1_4FGL_J1550.7+0528_daily_bin957.fits outfile=/scratch/kocevski/746075/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin957.fits ra=237.697 dec=5.4725 rad=12.0 tmin=487382401.0 tmax=487641601.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.88
user 3.60
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/746075/ft2_4FGL_J1550.7+0528_daily_bin957.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/746075/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin957.fits evtable="EVENTS" outfile="/scratch/kocevski/746075/ft1_filtered_4FGL_J1550.7+0528_daily_bin957.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/746075/ft1_filtered_4FGL_J1550.7+0528_daily_bin957.fits" evtable="EVENTS" scfile=/scratch/kocevski/746075/ft2_4FGL_J1550.7+0528_daily_bin957.fits sctable="SC_DATA" outfile=/scratch/kocevski/746075/ltcube_487382401_487641601_4FGL_J1550.7+0528_daily_bin957.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/746075/ft2_4FGL_J1550.7+0528_daily_bin957.fits
.....................!
real 12.95
user 12.57
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/746075/ft1_filtered_4FGL_J1550.7+0528_daily_bin957.fits evtable="EVENTS" scfile=/scratch/kocevski/746075/ft2_4FGL_J1550.7+0528_daily_bin957.fits sctable="SC_DATA" expcube=/scratch/kocevski/746075/ltcube_487382401_487641601_4FGL_J1550.7+0528_daily_bin957.fits outfile=/scratch/kocevski/746075/expmap_487382401_487641601_4FGL_J1550.7+0528_daily_bin957.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/746075/ltcube_487382401_487641601_4FGL_J1550.7+0528_daily_bin957.fits
.....................!
real 191.19
user 184.84
sys 5.60

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

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/746075/ft1_filtered_4FGL_J1550.7+0528_daily_bin957.fits scfile=/scratch/kocevski/746075/ft2_4FGL_J1550.7+0528_daily_bin957.fits outfile=/scratch/kocevski/746075/cmap_HighResolution_487382401_487641601_4FGL_J1550.7+0528_daily_bin957.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.57
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/746075/ft1_filtered_4FGL_J1550.7+0528_daily_bin957.fits evtable="EVENTS" scfile=/scratch/kocevski/746075/ft2_4FGL_J1550.7+0528_daily_bin957.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/746075/Model_4FGL_J1550.7+0528_daily_bin957.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/746075/ft1_filtered_4FGL_J1550.7+0528_daily_bin957.fits.....................!
real 64.04
user 62.36
sys 1.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0849       1.0000         .10000E-03   10000.    
     2 'norm      '    4.1549       1.0000         .10000E-03   10000.    
     3 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.2629       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.3652       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .34978E-02   1.0000         .10000E-03   10000.    
     8 'norm      '    .28804E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.1928       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    36.196       1.0000         .10000E-03   10000.    
    13 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    5.9918       1.0000         .10000E-03   10000.    
    15 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10356E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    30.629       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10247E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3777       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .99648       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=   7977.162     FROM MIGRAD    STATUS=CONVERGED    511 CALLS     2773 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0847        2.9111       -.22902E-06   -.89782E-03
   2  norm          4.1552        4.1780        .17571E-05    .26104E-03
   3  norm          .10000E-03    2.6373        .18632E-06** at limit **
   4  Prefactor     .10000E-03    12.422       -.26457E-06** at limit **
   5  Prefactor     5.2611        46.919       -.53912E-07   -.23876E-04
   6  Prefactor     2.3649        4.2773        .19691E-05   -.81808E-03
   7  Prefactor     .10002E-03    15.281       -.12993E-06** at limit **
   8  norm          .10000E-03    1.4170        .37527E-06** at limit **
   9  Prefactor     4.1922        4.9421        .76422E-06   -.66287E-03
  10  Prefactor     .10000E-03    31.699        .43753E-05** at limit **
  11  norm          .10000E-03    2.8377       -.34673E-07** at limit **
  12  Prefactor     36.213        47.281        .12632E-04   -.55293E-05
  13  norm          .10000E-03    6.5776       -.44323E-06** at limit **
  14  norm          5.9918        2.0189       -.38437E-07    .77983E-04
  15  norm          .10000E-03    4.2553        .11946E-06** at limit **
  16  norm          .10000E-03    41.168        .50395E-05** at limit **
  17  Prefactor     30.647        41.890        .11016E-04   -.21310E-05
  18  Prefactor     .10000E-03    34.349       -.76506E-05** at limit **
  19  Prefactor     .10000E-03    4.3056       -.30896E-06** at limit **
  20  Prefactor     .10000E-03    6.9356        .59938E-06** at limit **
  21  Normalizat    1.3780        .24471       -.19219E-05   -.85296E-04
  22  Prefactor     .99640        .97223E-01   -.22673E-06   -.19400E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.08471
  norm       = 4.15516
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.26114
  Prefactor  = 2.36485
  Prefactor  = 0.000100025
  norm       = 0.000100002
  Prefactor  = 4.19223
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 36.2127
  norm       = 0.0001
  norm       = 5.99178
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 30.6473
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.37795
  Prefactor  = 0.996401
 **********
 **   18 **HESSE 
 **********

 FCN=   7977.162     FROM HESSE     STATUS=OK           350 CALLS     3123 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0847        2.8872        .17238E-03   -1.5419    
   2  norm          4.1552        4.2156        .18013E-03   -1.5300    
   3  norm          .10000E-03    16.554        .28005E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    12.425        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.2611        47.283        .17521E-03   -1.5249    
   6  Prefactor     2.3649        4.1635        .23202E-03   -1.5400    
   7  Prefactor     .10002E-03    16.788        .12101       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    7.6954        .20391E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.1922        4.8934        .19681E-03   -1.5298    
  10  Prefactor     .10000E-03    31.754        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    2.9544        .29360E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     36.213        47.265        .66613E-04   -1.4504    
  13  norm          .10000E-03    6.6550        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.9918        2.0197        .71612E-04   -1.5218    
  15  norm          .10000E-03    4.2614        .17993E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    41.176        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     30.647        41.877        .72396E-04   -1.4600    
  18  Prefactor     .10000E-03    34.599        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.3246        .18098E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    7.0134        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.3780        .28107        .36706E-03   -.81268    
  22  Prefactor     .99640        .11315        .17499E-03   -.92850    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26509e-09
Minuit parameter uncertainties:
  1  2.88743
  2  4.21586
  3  5.49627e-05
  4  1.90991e-06
  5  31.5775
  6  4.16401
  7  0.00129067
  8  0.000238041
  9  4.8939
  10  1.11461e-05
  11  9.83083e-06
  12  47.3143
  13  3.94323e-06
  14  2.01974
  15  9.81369e-07
  16  1.14383e-06
  17  41.9173
  18  7.51281e-05
  19  4.54286e-06
  20  7.28619e-06
  21  0.281383
  22  0.113179
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.000e-04  9.831e-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.964e-01  1.132e-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.378e+00  2.814e-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: 6.71e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.81e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/746075/likelihoodResults_487382401_487641601_4FGL_J1550.7+0528_daily_bin957.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) = 7977.16396202
delta logL = -0.00161599635157

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7977.16234659
delta logL = -5.68812538404e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2672       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3779       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99635       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=   7977.162     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      243 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    529.63        .29392E-02** at limit **
   2  alpha         2.0349        3.0865        .16552       -.10427E-06
   3  Normalizat    1.3780        .12189        .36706E-03   -.35526E-04
   4  Prefactor     .99640        .50787E-01    .17499E-03   -.56328E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.0349
  Normalizat = 1.37795
  Prefactor  = 0.996401
 **********
 **   18 **HESSE 
 **********

 FCN=   7977.162     FROM HESSE     STATUS=OK            23 CALLS      266 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.0233        .58784E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0349        2.5384        .66207E-02   -.18713    
   3  Normalizat    1.3780        .27004        .14682E-04   -.81268    
   4  Prefactor     .99640        .11253        .34997E-04   -.92850    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1405e-10
Minuit parameter uncertainties:
  1  2.66546e-06
  2  253.66
  3  0.270323
  4  0.112561
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/746075': 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) = 7977.16234564
delta logL = 3.84829945688e-07

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.000e-04  2.665e-06  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  2.035e+00  2.537e+02  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.964e-01  1.126e-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.378e+00  2.703e-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/746075/cmap_HighResolution_487382401_487641601_4FGL_J1550.7+0528_daily_bin957.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.81e-05', job_status='DONE', photon_flux_upper_limit='6.71e-08', time_completed='2021-09-12 15:41:22.413059', job_id='746075', GAL2='1.00', fit_tolerance='1e-08', EG2='1.38', EG='1.38', time_epoch_completed='1631486482.41', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='3.85e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='957' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:41:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0103>
Subject: Job 746075: <4FGL_J1550.7+0528_daily_bin957> in cluster <slac> Done

Job <4FGL_J1550.7+0528_daily_bin957> 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) <bullet0103>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 15:25:40 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:40 2021
Terminated at Sun Sep 12 15:41:23 2021
Results reported at Sun Sep 12 15:41:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin957 237.697 5.4725 487382401 487641601 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 :                                   738.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             288.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   942 sec.
    Turnaround time :                            962 sec.

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

