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


Performing analysis on: 4FGL_J1552.0+0850_daily_bin1098
RA = 238.01, Dec = 8.8419
tmin = 523929601, tmax = 524188801
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='756918', job_status='RUN', time_executed='2021-09-12 15:59:15.679999', time_epoch_executed='1631487555.68' WHERE source_name='4FGL J1552.0+0850' and cadence='daily' and bin_id='1098'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/756918

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/756918/ft1_4FGL_J1552.0+0850_daily_bin1098.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/756918/ft2_4FGL_J1552.0+0850_daily_bin1098.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/756918/ft1_4FGL_J1552.0+0850_daily_bin1098.fits outfile=/scratch/kocevski/756918/ft1_filteredMKT_4FGL_J1552.0+0850_daily_bin1098.fits ra=238.01 dec=8.8419 rad=12.0 tmin=523929601.0 tmax=524188801.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.54
user 3.31
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/756918/ft2_4FGL_J1552.0+0850_daily_bin1098.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/756918/ft2_4FGL_J1552.0+0850_daily_bin1098.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/756918/ft1_filteredMKT_4FGL_J1552.0+0850_daily_bin1098.fits evtable="EVENTS" outfile="/scratch/kocevski/756918/ft1_filtered_4FGL_J1552.0+0850_daily_bin1098.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.56
user 0.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/756918/ft1_filtered_4FGL_J1552.0+0850_daily_bin1098.fits" evtable="EVENTS" scfile=/scratch/kocevski/756918/ft2_4FGL_J1552.0+0850_daily_bin1098.fits sctable="SC_DATA" outfile=/scratch/kocevski/756918/ltcube_523929601_524188801_4FGL_J1552.0+0850_daily_bin1098.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/756918/ft2_4FGL_J1552.0+0850_daily_bin1098.fits
.....................!
real 13.99
user 13.60
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/756918/ft1_filtered_4FGL_J1552.0+0850_daily_bin1098.fits evtable="EVENTS" scfile=/scratch/kocevski/756918/ft2_4FGL_J1552.0+0850_daily_bin1098.fits sctable="SC_DATA" expcube=/scratch/kocevski/756918/ltcube_523929601_524188801_4FGL_J1552.0+0850_daily_bin1098.fits outfile=/scratch/kocevski/756918/expmap_523929601_524188801_4FGL_J1552.0+0850_daily_bin1098.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/756918/ltcube_523929601_524188801_4FGL_J1552.0+0850_daily_bin1098.fits
.....................!
real 192.73
user 187.55
sys 4.40

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 J1552.0+0850 @ 238.01 8.8419

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/756918/ft1_filtered_4FGL_J1552.0+0850_daily_bin1098.fits scfile=/scratch/kocevski/756918/ft2_4FGL_J1552.0+0850_daily_bin1098.fits outfile=/scratch/kocevski/756918/cmap_523929601_524188801_4FGL_J1552.0+0850_daily_bin1098.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=238.01 yref=8.8419 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.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/756918/ft1_filtered_4FGL_J1552.0+0850_daily_bin1098.fits scfile=/scratch/kocevski/756918/ft2_4FGL_J1552.0+0850_daily_bin1098.fits outfile=/scratch/kocevski/756918/cmap_HighResolution_523929601_524188801_4FGL_J1552.0+0850_daily_bin1098.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=238.01 yref=8.8419 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.41
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/756918/ft1_filtered_4FGL_J1552.0+0850_daily_bin1098.fits evtable="EVENTS" scfile=/scratch/kocevski/756918/ft2_4FGL_J1552.0+0850_daily_bin1098.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/756918/Model_4FGL_J1552.0+0850_daily_bin1098.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/756918/ft1_filtered_4FGL_J1552.0+0850_daily_bin1098.fits.....................!
real 64.14
user 62.48
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/756918/ft1_filtered_4FGL_J1552.0+0850_daily_bin1098.fits', '/scratch/kocevski/756918/ft2_4FGL_J1552.0+0850_daily_bin1098.fits', expMap='/scratch/kocevski/756918/expmap_523929601_524188801_4FGL_J1552.0+0850_daily_bin1098.fits', expCube='/scratch/kocevski/756918/ltcube_523929601_524188801_4FGL_J1552.0+0850_daily_bin1098.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/756918/Model_4FGL_J1552.0+0850_daily_bin1098.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1552.0+0850'

4FGL J1552.0+0850
   Spectrum: PowerLaw
249    Prefactor:  7.420e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
250        Index:  2.059e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
251        Scale:  2.194e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/756918/ft1_filtered_4FGL_J1552.0+0850_daily_bin1098.fits
Spacecraft file(s): /scratch/kocevski/756918/ft2_4FGL_J1552.0+0850_daily_bin1098.fits
Exposure map: /scratch/kocevski/756918/expmap_523929601_524188801_4FGL_J1552.0+0850_daily_bin1098.fits
Exposure cube: /scratch/kocevski/756918/ltcube_523929601_524188801_4FGL_J1552.0+0850_daily_bin1098.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/756918/Model_4FGL_J1552.0+0850_daily_bin1098.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) = 8093.78908999

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7351       1.0000         .10000E-03   10000.    
     2 'norm      '    4.6836       1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.713       1.0000         .10000E-03   10000.    
     4 'Prefactor '    32.686       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.9640       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .73255       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .14368E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    4.6800       1.0000         .10000E-03   10000.    
    14 'norm      '    6.7728       1.0000         .10000E-03   10000.    
    15 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10147E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.0097       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2141       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .99941       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8093.785     FROM MIGRAD    STATUS=CONVERGED    495 CALLS     2423 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7350        .38021       -.27996E-07    .14014E-03
   2  norm          4.6844        9.6962       -.34870E-06   -.14707E-03
   3  Prefactor     14.713        33.212       -.35554E-06   -.14805E-05
   4  Prefactor     32.679        33.494       -.11902E-05   -.16209E-04
   5  Prefactor     7.9640        5.2208       -.36924E-06   -.58599E-04
   6  Prefactor     .10000E-03    20.624        .15925E-05** at limit **
   7  Prefactor     .10000E-03    18.391       -.24682E-05** at limit **
   8  norm          .10000E-03    .77878        .10820E-06** at limit **
   9  Prefactor     .72471        2.6428       -.69175E-06    .32257E-04
  10  Prefactor     .10000E-03    51.015        .27100E-04** at limit **
  11  norm          .10000E-03    1.9694        .10680E-06** at limit **
  12  Prefactor     .10000E-03    20.740        .12851E-05** at limit **
  13  norm          4.6796        8.8051       -.56496E-06   -.24385E-03
  14  norm          6.7729        2.2078       -.12816E-07    .80306E-04
  15  norm          .10000E-03    10.071       -.10631E-06** at limit **
  16  norm          .10000E-03    47.626       -.26145E-04** at limit **
  17  Prefactor     .10000E-03    197.30       -.10296E-04** at limit **
  18  Prefactor     .10000E-03    13.281        .30673E-06** at limit **
  19  Prefactor     .10000E-03    4.9676       -.46366E-07** at limit **
  20  Prefactor     2.0106        6.8401        .20393E-05   -.51646E-03
  21  Normalizat    1.2143        .24011       -.16270E-06   -.21539E-04
  22  Prefactor     .99927        .10502        .20723E-06   -.15802E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.73502
  norm       = 4.68442
  Prefactor  = 14.7132
  Prefactor  = 32.6789
  Prefactor  = 7.96397
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.724714
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.67958
  norm       = 6.77295
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.01061
  Normalizat = 1.21429
  Prefactor  = 0.999271
 **********
 **   18 **HESSE 
 **********

 FCN=   8093.785     FROM HESSE     STATUS=OK           346 CALLS     2769 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7350        .38161        .24733E-04   -1.5445    
   2  norm          4.6844        9.7050        .18595E-03   -1.5275    
   3  Prefactor     14.713        33.213        .10442E-03   -1.4941    
   4  Prefactor     32.679        33.854        .70088E-04   -1.4564    
   5  Prefactor     7.9640        5.2002        .14208E-03   -1.5143    
   6  Prefactor     .10000E-03    20.684        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    18.450        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .78563        .77504E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .72471        8.0286        .25409E-02   -1.5538    
  10  Prefactor     .10000E-03    51.226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    4.1848        .24281E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    20.752        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.6796        8.8106        .18602E-03   -1.5275    
  14  norm          6.7729        2.2065        .73196E-04   -1.5187    
  15  norm          .10000E-03    10.180        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    47.778        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    200.96        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    13.305        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.9957        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.0106        6.7348        .29204E-03   -1.5424    
  21  Normalizat    1.2143        .28674        .35979E-03   -.86162    
  22  Prefactor     .99927        .12630        .17900E-03   -.92754    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.15359e-10
Minuit parameter uncertainties:
  1  0.381611
  2  9.70826
  3  33.2546
  4  33.8739
  5  5.20045
  6  9.65139e-06
  7  1.75381e-05
  8  2.63017e-07
  9  4.82479
  10  0.000227173
  11  2.61616e-05
  12  1.58881e-06
  13  8.81308
  14  2.20657
  15  1.59485e-07
  16  1.01397e-06
  17  0.000176318
  18  6.42359e-06
  19  1.12139e-05
  20  6.73729
  21  0.28711
  22  0.126338
Done.

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

Extracting fit parameters...

4FGL J1552.0+0850
   Spectrum: PowerLaw
249    Prefactor:  1.000e-04  1.589e-06  1.000e-04  1.000e+04 ( 1.000e-14)
250        Index:  2.059e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
251        Scale:  2.194e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
499    Prefactor:  9.993e-01  1.263e-01  0.000e+00  1.000e+01 ( 1.000e+00)
500        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
501        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
498   Normalization:  1.214e+00  2.871e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 238.010 8.842
Photon Flux Upper Limit: 5.21e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.93e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/756918/likelihoodResults_523929601_524188801_4FGL_J1552.0+0850_daily_bin1098.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) = 8093.78522255
delta logL = -0.000229520548601

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8093.78499297
delta logL = 5.08116499986e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0308       1.0000          .0000       10.000    
     3 'Normalizat'    1.2143       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99927       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5020E+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=   8093.785     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      247 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10159E-03    163.43        .18142E-02** at limit **
   2  Index         1.9722        7.3697        .50000        .87482E-05
   3  Normalizat    1.2143        .16076E-01    .35979E-03    .61300E-05
   4  Prefactor     .99927        .73858E-02    .17900E-03    .14608E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010159
  Index      = 1.97217
  Normalizat = 1.21429
  Prefactor  = 0.999271
 **********
 **   18 **HESSE 
 **********

 FCN=   8093.785     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      276 TOTAL
                     EDM=   .85E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10159E-03    693.68        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9722        5.4275        .50000       -.65048    
   3  Normalizat    1.2143        .34321E-01    .14392E-04   -.86162    
   4  Prefactor     .99927        .15768E-01    .71600E-05   -.92754    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.54868e-09
Minuit parameter uncertainties:
  1  0.0672247
  2  699.218
  3  0.0343219
  4  0.0157679
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/756918': 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): 102
logL (Free Index) = 8093.78499285
delta logL = 1.76572029886e-07

Extracting fit parameters...

4FGL J1552.0+0850
   Spectrum: PowerLaw
249    Prefactor:  1.016e-04  6.722e-02  1.000e-04  1.000e+04 ( 1.000e-14)
250        Index:  1.972e+00  6.992e+02  0.000e+00  1.000e+01 (-1.000e+00)
251        Scale:  2.194e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
499    Prefactor:  9.993e-01  1.577e-02  0.000e+00  1.000e+01 ( 1.000e+00)
500        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
501        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
498   Normalization:  1.214e+00  3.432e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 238.010 8.842

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/756918/cmap_HighResolution_523929601_524188801_4FGL_J1552.0+0850_daily_bin1098.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.93e-03', job_status='DONE', photon_flux_upper_limit='5.21e-08', time_completed='2021-09-12 16:11:01.415530', job_id='756918', GAL2='1.00', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1631488261.42', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.77e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='1098' AND source_name='4FGL J1552.0+0850' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 16:11:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0290>
Subject: Job 756918: <4FGL_J1552.0+0850_daily_bin1098> in cluster <slac> Done

Job <4FGL_J1552.0+0850_daily_bin1098> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Sep 12 15:55:17 2021
Job was executed on host(s) <bullet0290>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 15:58:57 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:58:57 2021
Terminated at Sun Sep 12 16:11:02 2021
Results reported at Sun Sep 12 16:11:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1552.0+0850_daily_bin1098 238.01 8.8419 523929601 524188801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1552.0+0850 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   703.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             304.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   724 sec.
    Turnaround time :                            945 sec.

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

