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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin285
RA = 237.697, Dec = 5.4725
tmin = 313200001, tmax = 313459201
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='743034', job_status='RUN', time_executed='2021-09-12 15:17:30.640882', time_epoch_executed='1631485050.64' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='285'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/743034

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/743034/ft1_4FGL_J1550.7+0528_daily_bin285.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/743034/ft2_4FGL_J1550.7+0528_daily_bin285.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/743034/ft1_4FGL_J1550.7+0528_daily_bin285.fits outfile=/scratch/kocevski/743034/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin285.fits ra=237.697 dec=5.4725 rad=12.0 tmin=313200001.0 tmax=313459201.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.43
user 3.13
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/743034/ft2_4FGL_J1550.7+0528_daily_bin285.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/743034/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin285.fits evtable="EVENTS" outfile="/scratch/kocevski/743034/ft1_filtered_4FGL_J1550.7+0528_daily_bin285.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/743034/ft1_filtered_4FGL_J1550.7+0528_daily_bin285.fits" evtable="EVENTS" scfile=/scratch/kocevski/743034/ft2_4FGL_J1550.7+0528_daily_bin285.fits sctable="SC_DATA" outfile=/scratch/kocevski/743034/ltcube_313200001_313459201_4FGL_J1550.7+0528_daily_bin285.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/743034/ft2_4FGL_J1550.7+0528_daily_bin285.fits
.....................!
real 14.67
user 14.25
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/743034/ft1_filtered_4FGL_J1550.7+0528_daily_bin285.fits evtable="EVENTS" scfile=/scratch/kocevski/743034/ft2_4FGL_J1550.7+0528_daily_bin285.fits sctable="SC_DATA" expcube=/scratch/kocevski/743034/ltcube_313200001_313459201_4FGL_J1550.7+0528_daily_bin285.fits outfile=/scratch/kocevski/743034/expmap_313200001_313459201_4FGL_J1550.7+0528_daily_bin285.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/743034/ltcube_313200001_313459201_4FGL_J1550.7+0528_daily_bin285.fits
.....................!
real 194.85
user 189.74
sys 4.66

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/743034/ft1_filtered_4FGL_J1550.7+0528_daily_bin285.fits scfile=/scratch/kocevski/743034/ft2_4FGL_J1550.7+0528_daily_bin285.fits outfile=/scratch/kocevski/743034/cmap_313200001_313459201_4FGL_J1550.7+0528_daily_bin285.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.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/743034/ft1_filtered_4FGL_J1550.7+0528_daily_bin285.fits evtable="EVENTS" scfile=/scratch/kocevski/743034/ft2_4FGL_J1550.7+0528_daily_bin285.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/743034/Model_4FGL_J1550.7+0528_daily_bin285.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/743034/ft1_filtered_4FGL_J1550.7+0528_daily_bin285.fits.....................!
real 66.49
user 64.42
sys 1.39

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1457       1.0000         .10000E-03   10000.    
     2 'norm      '    4.9795       1.0000         .10000E-03   10000.    
     3 'norm      '    1.2858       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.4031       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    16.051       1.0000         .10000E-03   10000.    
     8 'norm      '    .10340E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.1667       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10120E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11156E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10120E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.7287       1.0000         .10000E-03   10000.    
    15 'norm      '    24.267       1.0000         .10000E-03   10000.    
    16 'norm      '    .11678E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11945E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .25768E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1872       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0770       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=   8362.787     FROM MIGRAD    STATUS=CONVERGED    864 CALLS     2427 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1452        2.9782        .12634E-03   -.10417E-02
   2  norm          4.9758        5.2175        .18022E-03    .44031E-04
   3  norm          1.2876        4.0325        .15471E-02    .13068E-02
   4  Prefactor     .10000E-03    23.861        .18142E-02** at limit **
   5  Prefactor     8.4076        31.280        .13829E-03    .52120E-04
   6  Prefactor     .10000E-03    2.2941        .13442E-02** at limit **
   7  Prefactor     16.059        16.853        .99969E-04   -.65276E-04
   8  norm          .10000E-03    2.3621        .19958E-02** at limit **
   9  Prefactor     2.1675        4.3857        .25841E-03   -.28174E-03
  10  Prefactor     .10000E-03    25.701        .18142E-02** at limit **
  11  norm          .10000E-03    2.5674        .21086E-02** at limit **
  12  Prefactor     .10000E-03    17.020        .18142E-02** at limit **
  13  norm          .10000E-03    5.0037        .18142E-02** at limit **
  14  norm          3.7288        1.7828        .82090E-04    .17926E-03
  15  norm          24.252        14.613        .81315E-04   -.11688E-03
  16  norm          .10000E-03    130.60        .18142E-02** at limit **
  17  Prefactor     .10000E-03    56.458        .18142E-02** at limit **
  18  Prefactor     .10002E-03    19.045        .12672    ** at limit **
  19  Prefactor     .10000E-03    2.9983        .15449E-02** at limit **
  20  Prefactor     .10000E-03    2.2539        .13396E-02** at limit **
  21  Normalizat    1.1872        .28237        .19459E-02   -.41956E-03
  22  Prefactor     1.0769        .11527        .17008E-03   -.20085E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 4.14518
  norm       = 4.97577
  norm       = 1.28764
  Prefactor  = 0.0001
  Prefactor  = 8.40758
  Prefactor  = 0.0001
  Prefactor  = 16.0585
  norm       = 0.0001
  Prefactor  = 2.1675
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.72878
  norm       = 24.2523
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100016
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.18716
  Prefactor  = 1.07694
 **********
 **   18 **HESSE 
 **********

 FCN=   8362.787     FROM HESSE     STATUS=OK           332 CALLS     2759 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1452        2.9757        .50535E-05   -1.5301    
   2  norm          4.9758        5.2175        .72088E-05   -1.5262    
   3  norm          1.2876        4.0275        .30941E-03   -1.5481    
   4  Prefactor     .10000E-03    23.864        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.4076        31.283        .55317E-05   -1.5128    
   6  Prefactor     .10000E-03    2.2947        .26885E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     16.059        16.857        .39988E-05   -1.4906    
   8  norm          .10000E-03    2.3702        .39915E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.1675        4.3848        .10337E-04   -1.5414    
  10  Prefactor     .10000E-03    25.703        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    2.5765        .42171E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    17.020        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    5.0054        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.7288        1.7828        .16418E-04   -1.5322    
  15  norm          24.252        14.614        .32526E-05   -1.4723    
  16  norm          .10000E-03    130.61        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    56.460        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10002E-03    18.747        .12847       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.9985        .30899E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.2540        .26792E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1872        .28286        .77835E-04   -.87000    
  22  Prefactor     1.0769        .11547        .34016E-04   -.90207    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.08464e-09
Minuit parameter uncertainties:
  1  2.97583
  2  5.21799
  3  4.02833
  4  0.000162936
  5  31.3436
  6  1.20587e-05
  7  16.8617
  8  4.12114e-05
  9  4.38547
  10  0.000104274
  11  9.67735e-05
  12  2.88513e-05
  13  8.8558e-05
  14  1.78284
  15  14.6162
  16  5.6828e-05
  17  0.000200505
  18  0.00109447
  19  1.15291e-05
  20  4.53779e-06
  21  0.283225
  22  0.115492
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.000e-04  9.677e-05  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:  1.077e+00  1.155e-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.187e+00  2.832e-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: 5.77e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.42e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/743034/likelihoodResults_313200001_313459201_4FGL_J1550.7+0528_daily_bin285.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): 102
logL (Free Index) = 8362.78923478
delta logL = -0.00185540377242

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8362.78737875
delta logL = 6.24406311545e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2431       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1872       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0769       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8362.787     FROM MIGRAD    STATUS=FAILED        90 CALLS      253 TOTAL
                     EDM=   .72E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10539E-03    265.18        .21526E-02** at limit **
   2  alpha         1.9892        3.2203        .16572        .18061E-04
   3  Normalizat    1.1872        .62909E-01    .38918E-03   -.13391E-03
   4  Prefactor     1.0769        .26522E-01    .17008E-03   -.36440E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8362.787     FROM SIMPLEX   STATUS=PROGRESS     135 CALLS      388 TOTAL
                     EDM=   .84E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10020E-03    265.18        .29061E-03** at limit **
   2  alpha         1.9890        3.2203        .16181E-03    .18061E-04
   3  Normalizat    1.1871        .62909E-01    .59031E-05   -.13391E-03
   4  Prefactor     1.0769        .26522E-01    .27792E-05   -.36440E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8362.787     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      429 TOTAL
                     EDM=   .74E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.5660        .43053E-03** at limit **
   2  alpha         1.8477        4.0759        .66287E-01    .11011E-06
   3  Normalizat    1.1872        .27062        .15567E-04   -.58132E-04
   4  Prefactor     1.0769        .11418        .34016E-04   -.19224E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.84775
  Normalizat = 1.18716
  Prefactor  = 1.07695
 **********
 **   18 **HESSE 
 **********

 FCN=   8362.787     FROM HESSE     STATUS=OK            23 CALLS      452 TOTAL
                     EDM=   .64E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.3808        .86106E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8477        3.0446        .26515E-02   -.26396    
   3  Normalizat    1.1872        .27073        .31134E-05   -.87001    
   4  Prefactor     1.0769        .11423        .68032E-05   -.90207    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.37115e-11
Minuit parameter uncertainties:
  1  1.68168e-05
  2  143.844
  3  0.271045
  4  0.114252
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/743034': 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) = 8362.78737476
delta logL = 4.61546369479e-06

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.000e-04  1.682e-05  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  1.848e+00  1.438e+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:  1.077e+00  1.143e-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.187e+00  2.710e-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/743034/cmap_HighResolution_313200001_313459201_4FGL_J1550.7+0528_daily_bin285.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.42e-05', job_status='DONE', photon_flux_upper_limit='5.77e-08', time_completed='2021-09-12 15:29:38.841285', job_id='743034', GAL2='1.08', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1631485778.84', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='4.62e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='285' 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@bullet0217>
Subject: Job 743034: <4FGL_J1550.7+0528_daily_bin285> in cluster <slac> Done

Job <4FGL_J1550.7+0528_daily_bin285> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 15:15:17 2021
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 15:15:22 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 15:15:22 2021
Terminated at Sun Sep 12 15:29:39 2021
Results reported at Sun Sep 12 15:29:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin285 237.697 5.4725 313200001 313459201 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 :                                   725.40 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             297.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   857 sec.
    Turnaround time :                            862 sec.

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

