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


Performing analysis on: 4FGL_J1552.0+0850_daily_bin1615
RA = 238.01, Dec = 8.8419
tmin = 657936001, tmax = 658195201
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='387021', job_status='RUN', time_executed='2021-12-08 02:25:38.557126', time_epoch_executed='1638959138.56' WHERE source_name='4FGL J1552.0+0850' and cadence='daily' and bin_id='1615'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/387021

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/387021/ft1_4FGL_J1552.0+0850_daily_bin1615.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/387021/ft2_4FGL_J1552.0+0850_daily_bin1615.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/387021/ft1_4FGL_J1552.0+0850_daily_bin1615.fits outfile=/scratch/kocevski/387021/ft1_filteredMKT_4FGL_J1552.0+0850_daily_bin1615.fits ra=238.01 dec=8.8419 rad=12.0 tmin=657936001.0 tmax=658195201.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.42
user 3.19
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/387021/ft2_4FGL_J1552.0+0850_daily_bin1615.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/387021/ft1_filteredMKT_4FGL_J1552.0+0850_daily_bin1615.fits evtable="EVENTS" outfile="/scratch/kocevski/387021/ft1_filtered_4FGL_J1552.0+0850_daily_bin1615.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.47
user 0.30
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/387021/ft1_filtered_4FGL_J1552.0+0850_daily_bin1615.fits" evtable="EVENTS" scfile=/scratch/kocevski/387021/ft2_4FGL_J1552.0+0850_daily_bin1615.fits sctable="SC_DATA" outfile=/scratch/kocevski/387021/ltcube_657936001_658195201_4FGL_J1552.0+0850_daily_bin1615.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/387021/ft2_4FGL_J1552.0+0850_daily_bin1615.fits
.....................!
real 11.18
user 10.84
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/387021/ft1_filtered_4FGL_J1552.0+0850_daily_bin1615.fits evtable="EVENTS" scfile=/scratch/kocevski/387021/ft2_4FGL_J1552.0+0850_daily_bin1615.fits sctable="SC_DATA" expcube=/scratch/kocevski/387021/ltcube_657936001_658195201_4FGL_J1552.0+0850_daily_bin1615.fits outfile=/scratch/kocevski/387021/expmap_657936001_658195201_4FGL_J1552.0+0850_daily_bin1615.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/387021/ltcube_657936001_658195201_4FGL_J1552.0+0850_daily_bin1615.fits
.....................!
real 155.58
user 151.37
sys 3.72

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/387021/ft1_filtered_4FGL_J1552.0+0850_daily_bin1615.fits scfile=/scratch/kocevski/387021/ft2_4FGL_J1552.0+0850_daily_bin1615.fits outfile=/scratch/kocevski/387021/cmap_657936001_658195201_4FGL_J1552.0+0850_daily_bin1615.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.49
user 0.33
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/387021/ft1_filtered_4FGL_J1552.0+0850_daily_bin1615.fits scfile=/scratch/kocevski/387021/ft2_4FGL_J1552.0+0850_daily_bin1615.fits outfile=/scratch/kocevski/387021/cmap_HighResolution_657936001_658195201_4FGL_J1552.0+0850_daily_bin1615.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.51
user 0.33
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/387021/ft1_filtered_4FGL_J1552.0+0850_daily_bin1615.fits', '/scratch/kocevski/387021/ft2_4FGL_J1552.0+0850_daily_bin1615.fits', expMap='/scratch/kocevski/387021/expmap_657936001_658195201_4FGL_J1552.0+0850_daily_bin1615.fits', expCube='/scratch/kocevski/387021/ltcube_657936001_658195201_4FGL_J1552.0+0850_daily_bin1615.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/387021/Model_4FGL_J1552.0+0850_daily_bin1615.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/387021/ft1_filtered_4FGL_J1552.0+0850_daily_bin1615.fits
Spacecraft file(s): /scratch/kocevski/387021/ft2_4FGL_J1552.0+0850_daily_bin1615.fits
Exposure map: /scratch/kocevski/387021/expmap_657936001_658195201_4FGL_J1552.0+0850_daily_bin1615.fits
Exposure cube: /scratch/kocevski/387021/ltcube_657936001_658195201_4FGL_J1552.0+0850_daily_bin1615.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/387021/Model_4FGL_J1552.0+0850_daily_bin1615.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 9030.1051116

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .25781       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .15474E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.9912       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.4154       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    6.5344       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .11633E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10236E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .95055E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    5.9147       1.0000         .10000E-03   10000.    
    15 'norm      '    109.89       1.0000         .10000E-03   10000.    
    16 'norm      '    .11226E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .31362E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.9757       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.4980       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .97550       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=   9029.122     FROM MIGRAD    STATUS=CONVERGED    519 CALLS     2155 TOTAL
                     EDM=   .62E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .25787        .23238       -.20133E-06   -.11868E-02
   2  norm          .10000E-03    2.7755        .20907E-07** at limit **
   3  Prefactor     .10000E-03    265.15        .52170E-05** at limit **
   4  Prefactor     .10000E-03    8.4209        .12627E-07** at limit **
   5  Prefactor     3.9940        5.6181       -.12337E-05    .14358E-03
   6  Prefactor     2.4287        133.22       -.75727E-05    .12587E-04
   7  Prefactor     .10000E-03    37.150       -.99166E-06** at limit **
   8  norm          6.5342        3.1327       -.79158E-07    .20766E-03
   9  Prefactor     .10000E-03    3.0765        .64364E-09** at limit **
  10  Prefactor     .10000E-03    43.870       -.15213E-06** at limit **
  11  norm          .10000E-03    3.7069       -.91434E-06** at limit **
  12  Prefactor     .10000E-03    51.120        .10361E-05** at limit **
  13  norm          .10000E-03    27.204        .44843E-05** at limit **
  14  norm          5.9141        2.0905        .49823E-07    .85070E-04
  15  norm          109.88        26.435       -.10292E-06    .38531E-04
  16  norm          .10000E-03    113.63       -.11598E-05** at limit **
  17  Prefactor     .10000E-03    30.255        .39614E-06** at limit **
  18  Prefactor     .10000E-03    115.78        .33251E-06** at limit **
  19  Prefactor     .10000E-03    7.3946        .82309E-09** at limit **
  20  Prefactor     2.9746        5.1600       -.85047E-06    .73799E-04
  21  Normalizat    1.4979        .25646        .19166E-05    .46913E-04
  22  Prefactor     .97543        .10429        .15348E-06    .23557E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.257872
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.99404
  Prefactor  = 2.42869
  Prefactor  = 0.0001
  norm       = 6.5342
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 5.91415
  norm       = 109.877
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.97458
  Normalizat = 1.49791
  Prefactor  = 0.975426
 **********
 **   18 **HESSE 
 **********

 FCN=   9029.122     FROM HESSE     STATUS=OK           340 CALLS     2495 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .25787        .22338        .43427E-03   -1.5606    
   2  norm          .10000E-03    2.7783        .15460E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    269.31        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    8.4243        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.9940        5.5741        .20188E-03   -1.5308    
   6  Prefactor     2.4287        133.30        .26339E-03   -1.5396    
   7  Prefactor     .10000E-03    37.380        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.5342        3.1097        .11174E-03   -1.5197    
   9  Prefactor     .10000E-03    3.1411        .16257E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    44.185        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    19.505        .32893E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    51.277        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    27.243        .40535E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.9141        2.0778        .78910E-04   -1.5222    
  15  norm          109.88        26.466        .38370E-04   -1.3608    
  16  norm          .10000E-03    113.90        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    30.284        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    117.73        .21371E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    7.4438        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.9746        5.1379        .23537E-03   -1.5363    
  21  Normalizat    1.4979        .29981        .37413E-03   -.77837    
  22  Prefactor     .97543        .12423        .19399E-03   -.93553    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09826e-10
Minuit parameter uncertainties:
  1  0.223378
  2  7.10202e-07
  3  0.00041085
  4  2.71314e-06
  5  5.5748
  6  36.0705
  7  0.000154695
  8  3.10974
  9  3.1761e-06
  10  2.72479e-05
  11  3.99218e-05
  12  0.000219098
  13  7.68985e-05
  14  2.07779
  15  26.4689
  16  0.000438186
  17  7.75328e-05
  18  0.000301057
  19  1.07679e-05
  20  5.13866
  21  0.300169
  22  0.124262
Done.

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

Extracting fit parameters...

4FGL J1552.0+0850
   Spectrum: PowerLaw
249    Prefactor:  1.000e-04  2.191e-04  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.754e-01  1.243e-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.498e+00  3.002e-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: 8.08e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.09e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/387021/likelihoodResults_657936001_658195201_4FGL_J1552.0+0850_daily_bin1615.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) = 9029.12252035
delta logL = -9.28308236325e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9029.12242762
delta logL = -1.02581907413e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10121E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0028       1.0000          .0000       10.000    
     3 'Normalizat'    1.4979       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97543       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.

 FCN=   9029.122     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      238 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1994.5        .90712E-02** at limit **
   2  Index         2.0382        5.6098        .50000       -.65594E-05
   3  Normalizat    1.4979        .44654E-01    .84510E-01    .11972E-03
   4  Prefactor     .97542        .19325E-01    .45959E-01   -.42993E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.03824
  Normalizat = 1.49792
  Prefactor  = 0.975424
 **********
 **   18 **HESSE 
 **********

 FCN=   9029.122     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      271 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7586.7        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0382        7.5152        .50000       -.63397    
   3  Normalizat    1.4979        .90153E-01    .37413E-03   -.77837    
   4  Prefactor     .97542        .39072E-01    .19399E-03   -.93553    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.86187e-09
Minuit parameter uncertainties:
  1  0.00219639
  2  46.3501
  3  0.0901629
  4  0.0390729
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/387021': 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) = 9029.12242756
delta logL = -3.37931851391e-08

Extracting fit parameters...

4FGL J1552.0+0850
   Spectrum: PowerLaw
249    Prefactor:  1.000e-04  2.196e-03  1.000e-04  1.000e+04 ( 1.000e-14)
250        Index:  2.038e+00  4.635e+01  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.754e-01  3.907e-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.498e+00  9.016e-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/387021/cmap_HighResolution_657936001_658195201_4FGL_J1552.0+0850_daily_bin1615.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.09e-03', job_status='DONE', photon_flux_upper_limit='8.08e-08', time_completed='2021-12-08 02:35:21.001508', job_id='387021', GAL2='0.98', fit_tolerance='1e-08', EG2='1.50', EG='1.50', time_epoch_completed='1638959721.0', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='-3.38e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='1615' AND source_name='4FGL J1552.0+0850' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec  8 02:35:21 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0071>
Subject: Job 387021: <4FGL_J1552.0+0850_daily_bin1615> in cluster <slac> Done

Job <4FGL_J1552.0+0850_daily_bin1615> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Dec  8 02:20:20 2021
Job was executed on host(s) <bullet0071>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec  8 02:21:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec  8 02:21:33 2021
Terminated at Wed Dec  8 02:35:21 2021
Results reported at Wed Dec  8 02:35:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1552.0+0850_daily_bin1615 238.01 8.8419 657936001 658195201 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 :                                   584.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             254.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   828 sec.
    Turnaround time :                            901 sec.

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

