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


Performing analysis on: 4FGL_J1550.7+0528_daily_bin998
RA = 237.697, Dec = 5.4725
tmin = 498009601, tmax = 498268801
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='746133', job_status='RUN', time_executed='2021-09-12 15:29:14.451446', time_epoch_executed='1631485754.45' WHERE source_name='4FGL J1550.7+0528' and cadence='daily' and bin_id='998'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/746133

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/746133/ft1_4FGL_J1550.7+0528_daily_bin998.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/746133/ft2_4FGL_J1550.7+0528_daily_bin998.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/746133/ft1_4FGL_J1550.7+0528_daily_bin998.fits outfile=/scratch/kocevski/746133/ft1_filteredMKT_4FGL_J1550.7+0528_daily_bin998.fits ra=237.697 dec=5.4725 rad=12.0 tmin=498009601.0 tmax=498268801.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 8.09
user 7.73
sys 0.31

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/746133/ft1_filtered_4FGL_J1550.7+0528_daily_bin998.fits" evtable="EVENTS" scfile=/scratch/kocevski/746133/ft2_4FGL_J1550.7+0528_daily_bin998.fits sctable="SC_DATA" outfile=/scratch/kocevski/746133/ltcube_498009601_498268801_4FGL_J1550.7+0528_daily_bin998.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/746133/ft2_4FGL_J1550.7+0528_daily_bin998.fits
.....................!
real 14.23
user 13.84
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/746133/ft1_filtered_4FGL_J1550.7+0528_daily_bin998.fits evtable="EVENTS" scfile=/scratch/kocevski/746133/ft2_4FGL_J1550.7+0528_daily_bin998.fits sctable="SC_DATA" expcube=/scratch/kocevski/746133/ltcube_498009601_498268801_4FGL_J1550.7+0528_daily_bin998.fits outfile=/scratch/kocevski/746133/expmap_498009601_498268801_4FGL_J1550.7+0528_daily_bin998.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/746133/ltcube_498009601_498268801_4FGL_J1550.7+0528_daily_bin998.fits
.....................!
real 191.54
user 185.98
sys 5.20

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/746133/ft1_filtered_4FGL_J1550.7+0528_daily_bin998.fits scfile=/scratch/kocevski/746133/ft2_4FGL_J1550.7+0528_daily_bin998.fits outfile=/scratch/kocevski/746133/cmap_498009601_498268801_4FGL_J1550.7+0528_daily_bin998.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/746133/ft1_filtered_4FGL_J1550.7+0528_daily_bin998.fits scfile=/scratch/kocevski/746133/ft2_4FGL_J1550.7+0528_daily_bin998.fits outfile=/scratch/kocevski/746133/cmap_HighResolution_498009601_498268801_4FGL_J1550.7+0528_daily_bin998.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.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/746133/ft1_filtered_4FGL_J1550.7+0528_daily_bin998.fits evtable="EVENTS" scfile=/scratch/kocevski/746133/ft2_4FGL_J1550.7+0528_daily_bin998.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/746133/Model_4FGL_J1550.7+0528_daily_bin998.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/746133/ft1_filtered_4FGL_J1550.7+0528_daily_bin998.fits.....................!
real 62.40
user 60.99
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .32632E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.9877       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.889       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.5953       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.6141       1.0000         .10000E-03   10000.    
     8 'norm      '    2.1657       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .51117       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.0915       1.0000         .10000E-03   10000.    
    11 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    13.160       1.0000         .10000E-03   10000.    
    14 'norm      '    8.3487       1.0000         .10000E-03   10000.    
    15 'norm      '    12.804       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    56.511       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.7133       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.7049       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .85660       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=   7724.734     FROM MIGRAD    STATUS=CONVERGED    483 CALLS     2382 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10022E-03    3.1239        .16149E-05** at limit **
   2  norm          3.9877        4.5689       -.11432E-06   -.12479E-03
   3  norm          .10000E-03    4.0130        .48872E-07** at limit **
   4  Prefactor     .10001E-03    24.575        .18226E-05** at limit **
   5  Prefactor     11.882        32.930       -.14057E-05   -.16496E-03
   6  Prefactor     5.5949        6.2240        .59990E-07   -.25010E-03
   7  Prefactor     3.6113        34.934        .51887E-07   -.27562E-04
   8  norm          2.1660        2.4826        .13443E-05    .53066E-03
   9  Prefactor     .51900        2.5360       -.46958E-06    .15412E-03
  10  Prefactor     2.0847        337.00       -.93907E-05   -.40463E-04
  11  norm          .10000E-03    2.1721       -.13327E-07** at limit **
  12  Prefactor     .10001E-03    21.642       -.15571E-05** at limit **
  13  norm          13.159        10.767       -.27311E-06   -.25599E-04
  14  norm          8.3487        2.4585       -.19827E-07   -.55268E-04
  15  norm          12.803        14.402        .14245E-05    .91289E-04
  16  norm          .10000E-03    60.562       -.36526E-06** at limit **
  17  Prefactor     56.509        81.442       -.16159E-07   -.15905E-04
  18  Prefactor     .10000E-03    9.0617       -.62821E-07** at limit **
  19  Prefactor     9.7144        11.851        .91462E-07   -.85506E-05
  20  Prefactor     .10000E-03    5.1116        .70920E-08** at limit **
  21  Normalizat    1.7051        .27586        .55105E-07   -.26025E-03
  22  Prefactor     .85656        .10197       -.38792E-06   -.33930E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100215
  norm       = 3.98772
  norm       = 0.0001
  Prefactor  = 0.000100008
  Prefactor  = 11.8821
  Prefactor  = 5.59485
  Prefactor  = 3.61125
  norm       = 2.16596
  Prefactor  = 0.518998
  Prefactor  = 2.08469
  norm       = 0.0001
  Prefactor  = 0.000100006
  norm       = 13.1591
  norm       = 8.34869
  norm       = 12.8035
  norm       = 0.0001
  Prefactor  = 56.5091
  Prefactor  = 0.0001
  Prefactor  = 9.71439
  Prefactor  = 0.0001
  Normalizat = 1.70508
  Prefactor  = 0.856562
 **********
 **   18 **HESSE 
 **********

 FCN=   7724.734     FROM HESSE     STATUS=OK           344 CALLS     2726 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10022E-03    17.536        .22956E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.9877        4.5699        .19640E-03   -1.5309    
   3  norm          .10000E-03    4.0793        .17168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10001E-03    24.998        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.882        33.190        .11618E-03   -1.5018    
   6  Prefactor     5.5949        6.2070        .16983E-03   -1.5235    
   7  Prefactor     3.6113        34.801        .21253E-03   -1.5328    
   8  norm          2.1660        2.5297        .71726E-03   -1.5414    
   9  Prefactor     .51900        9.4879        .25291E-02   -1.5564    
  10  Prefactor     2.0847        341.64        .28545E-03   -1.5419    
  11  norm          .10000E-03    2.1858        .12638E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10001E-03    21.954        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          13.159        10.777        .11042E-03   -1.4982    
  14  norm          8.3487        2.4586        .72206E-04   -1.5130    
  15  norm          12.803        14.460        .55972E-03   -1.4992    
  16  norm          .10000E-03    60.596        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     56.509        81.466        .53363E-04   -1.4203    
  18  Prefactor     .10000E-03    9.0634        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     9.7144        11.846        .12858E-03   -1.5085    
  20  Prefactor     .10000E-03    5.1326        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.7051        .31759        .36094E-03   -.72168    
  22  Prefactor     .85656        .11947        .18950E-03   -.97676    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35369e-08
Minuit parameter uncertainties:
  1  0.00388464
  2  4.57034
  3  1.50592e-05
  4  0.000885231
  5  33.2415
  6  6.20776
  7  22.4377
  8  2.52983
  9  4.43849
  10  53.6876
  11  2.89108e-06
  12  0.000730637
  13  10.779
  14  2.45861
  15  14.4643
  16  0.000291827
  17  81.6267
  18  1.99213e-05
  19  11.8488
  20  2.17857e-06
  21  0.317974
  22  0.119508
Done.

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

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.000e-04  2.891e-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:  8.566e-01  1.195e-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.705e+00  3.180e-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: 7.85e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.29e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/746133/likelihoodResults_498009601_498268801_4FGL_J1550.7+0528_daily_bin998.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) = 7724.7366758
delta logL = -0.00217646513101

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7724.73449932
delta logL = 1.60725903697e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2821       1.0000          .0000       5.0000    
     3 'Normalizat'    1.7051       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85658       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7724.734     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      196 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.8213        .90712E-02** at limit **
   2  alpha         2.2926        3.5699        .41351       -.24169E-04
   3  Normalizat    1.7051        .25647        .81552E-01    .51657E-04
   4  Prefactor     .85656        .10060        .44449E-01    .79936E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.29255
  Normalizat = 1.70508
  Prefactor  = 0.856562
 **********
 **   18 **HESSE 
 **********

 FCN=   7724.734     FROM HESSE     STATUS=OK            33 CALLS      229 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.2275        .12690E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2926        3.5038        .50000       -.83074E-01
   3  Normalizat    1.7051        .29900        .36093E-03   -.72168    
   4  Prefactor     .85656        .11744        .18950E-03   -.97676    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.88726e-10
Minuit parameter uncertainties:
  1  9.81851e-06
  2  2.50526
  3  0.299321
  4  0.117478
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/746133': 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) = 7724.73449914
delta logL = 1.98558154807e-07

Extracting fit parameters...

4FGL J1550.7+0528
   Spectrum: LogParabola
236         norm:  1.000e-04  9.819e-06  1.000e-04  1.000e+04 ( 1.000e-12)
237        alpha:  2.293e+00  2.505e+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.566e-01  1.175e-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.705e+00  2.993e-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/746133/cmap_HighResolution_498009601_498268801_4FGL_J1550.7+0528_daily_bin998.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.29e-05', job_status='DONE', photon_flux_upper_limit='7.85e-08', time_completed='2021-09-12 15:40:40.794151', job_id='746133', GAL2='0.86', fit_tolerance='1e-08', EG2='1.71', EG='1.71', time_epoch_completed='1631486440.79', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='1.99e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='998' AND source_name='4FGL J1550.7+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:40:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0116>
Subject: Job 746133: <4FGL_J1550.7+0528_daily_bin998> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1550.7+0528_daily_bin998 237.697 5.4725 498009601 498268801 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 :                                   681.30 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             262.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   889 sec.
    Turnaround time :                            917 sec.

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

