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


Performing analysis on: 4FGL_J1552.0+0850_daily_bin245
RA = 238.01, Dec = 8.8419
tmin = 302832001, tmax = 303091201
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='750032', job_status='RUN', time_executed='2021-09-12 15:38:08.932649', time_epoch_executed='1631486288.93' WHERE source_name='4FGL J1552.0+0850' and cadence='daily' and bin_id='245'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/750032

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/750032/ft1_4FGL_J1552.0+0850_daily_bin245.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/750032/ft2_4FGL_J1552.0+0850_daily_bin245.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/750032/ft1_4FGL_J1552.0+0850_daily_bin245.fits outfile=/scratch/kocevski/750032/ft1_filteredMKT_4FGL_J1552.0+0850_daily_bin245.fits ra=238.01 dec=8.8419 rad=12.0 tmin=302832001.0 tmax=303091201.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.68
user 3.37
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/750032/ft2_4FGL_J1552.0+0850_daily_bin245.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/750032/ft1_filteredMKT_4FGL_J1552.0+0850_daily_bin245.fits evtable="EVENTS" outfile="/scratch/kocevski/750032/ft1_filtered_4FGL_J1552.0+0850_daily_bin245.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.36
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/750032/ft1_filtered_4FGL_J1552.0+0850_daily_bin245.fits" evtable="EVENTS" scfile=/scratch/kocevski/750032/ft2_4FGL_J1552.0+0850_daily_bin245.fits sctable="SC_DATA" outfile=/scratch/kocevski/750032/ltcube_302832001_303091201_4FGL_J1552.0+0850_daily_bin245.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/750032/ft2_4FGL_J1552.0+0850_daily_bin245.fits
.....................!
real 15.22
user 14.69
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/750032/ft1_filtered_4FGL_J1552.0+0850_daily_bin245.fits evtable="EVENTS" scfile=/scratch/kocevski/750032/ft2_4FGL_J1552.0+0850_daily_bin245.fits sctable="SC_DATA" expcube=/scratch/kocevski/750032/ltcube_302832001_303091201_4FGL_J1552.0+0850_daily_bin245.fits outfile=/scratch/kocevski/750032/expmap_302832001_303091201_4FGL_J1552.0+0850_daily_bin245.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/750032/ltcube_302832001_303091201_4FGL_J1552.0+0850_daily_bin245.fits
.....................!
real 192.80
user 187.17
sys 4.95

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/750032/ft1_filtered_4FGL_J1552.0+0850_daily_bin245.fits scfile=/scratch/kocevski/750032/ft2_4FGL_J1552.0+0850_daily_bin245.fits outfile=/scratch/kocevski/750032/cmap_302832001_303091201_4FGL_J1552.0+0850_daily_bin245.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.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/750032/ft1_filtered_4FGL_J1552.0+0850_daily_bin245.fits scfile=/scratch/kocevski/750032/ft2_4FGL_J1552.0+0850_daily_bin245.fits outfile=/scratch/kocevski/750032/cmap_HighResolution_302832001_303091201_4FGL_J1552.0+0850_daily_bin245.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.40
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/750032/ft1_filtered_4FGL_J1552.0+0850_daily_bin245.fits', '/scratch/kocevski/750032/ft2_4FGL_J1552.0+0850_daily_bin245.fits', expMap='/scratch/kocevski/750032/expmap_302832001_303091201_4FGL_J1552.0+0850_daily_bin245.fits', expCube='/scratch/kocevski/750032/ltcube_302832001_303091201_4FGL_J1552.0+0850_daily_bin245.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/750032/Model_4FGL_J1552.0+0850_daily_bin245.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/750032/ft1_filtered_4FGL_J1552.0+0850_daily_bin245.fits
Spacecraft file(s): /scratch/kocevski/750032/ft2_4FGL_J1552.0+0850_daily_bin245.fits
Exposure map: /scratch/kocevski/750032/expmap_302832001_303091201_4FGL_J1552.0+0850_daily_bin245.fits
Exposure cube: /scratch/kocevski/750032/ltcube_302832001_303091201_4FGL_J1552.0+0850_daily_bin245.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/750032/Model_4FGL_J1552.0+0850_daily_bin245.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) = 8958.43512082

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2605       1.0000         .10000E-03   10000.    
     2 'norm      '    .10060E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    23.590       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.5865       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.2665       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.6902       1.0000         .10000E-03   10000.    
     8 'norm      '    3.7246       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .98258       1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.060       1.0000         .10000E-03   10000.    
    13 'norm      '    .10970E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.5611       1.0000         .10000E-03   10000.    
    15 'norm      '    .37772       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.9078       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10275E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.6634       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .76914       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=   8958.434     FROM MIGRAD    STATUS=CONVERGED    480 CALLS     2349 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2604        .32617        .35892E-07   -.67875E-03
   2  norm          .10000E-03    3.1821       -.50665E-07** at limit **
   3  Prefactor     23.590        29.841        .35520E-06   -.26211E-04
   4  Prefactor     1.5965        79.438        .37021E-05   -.37593E-05
   5  Prefactor     5.2641        4.2521        .17754E-06   -.14848E-03
   6  Prefactor     .10000E-03    18.346       -.62246E-07** at limit **
   7  Prefactor     7.6808        15.991       -.90188E-06   -.86487E-04
   8  norm          3.7256        2.5178       -.37469E-07    .12386E-03
   9  Prefactor     .10000E-03    1.0380       -.79391E-07** at limit **
  10  Prefactor     .10000E-03    10.044       -.69532E-07** at limit **
  11  norm          .98922        2.1087        .30112E-05    .39967E-03
  12  Prefactor     15.188        80.094       -.31161E-05    .58722E-04
  13  norm          .10003E-03    4.5532       -.17380E-07** at limit **
  14  norm          3.5614        1.6692       -.61322E-07    .17341E-03
  15  norm          .31386        6.3857        .30448E-06    .84292E-04
  16  norm          .10000E-03    30.253        .11780E-06** at limit **
  17  Prefactor     .10000E-03    23.287       -.20329E-06** at limit **
  18  Prefactor     5.9272        49.246        .17734E-05    .13008E-04
  19  Prefactor     .10000E-03    3.5996        .21593E-06** at limit **
  20  Prefactor     .10000E-03    5.1642       -.76199E-07** at limit **
  21  Normalizat    1.6630        .23591       -.39757E-05    .12501E-03
  22  Prefactor     .76940        .96258E-01    .11345E-05   -.48144E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.26044
  norm       = 0.0001
  Prefactor  = 23.5898
  Prefactor  = 1.59654
  Prefactor  = 5.26406
  Prefactor  = 0.0001
  Prefactor  = 7.68075
  norm       = 3.72562
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.989216
  Prefactor  = 15.1875
  norm       = 0.000100032
  norm       = 3.56137
  norm       = 0.313863
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.92719
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.66305
  Prefactor  = 0.769403
 **********
 **   18 **HESSE 
 **********

 FCN=   8958.434     FROM HESSE     STATUS=OK           348 CALLS     2697 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2604        .32651        .26527E-04   -1.5483    
   2  norm          .10000E-03    3.2169        .16488E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     23.590        29.844        .82472E-04   -1.4736    
   4  Prefactor     1.5965        80.664        .33701E-03   -1.5455    
   5  Prefactor     5.2641        4.2440        .16762E-03   -1.5249    
   6  Prefactor     .10000E-03    18.466        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.6808        15.990        .14461E-03   -1.5154    
   8  norm          3.7256        2.5004        .11877E-03   -1.5322    
   9  Prefactor     .10000E-03    1.0434        .94149E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    10.050        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .98922        2.1230        .21561E-02   -1.5509    
  12  Prefactor     15.188        79.109        .10321E-03   -1.4928    
  13  norm          .10003E-03    20.141        .37990E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.5614        1.6566        .80214E-04   -1.5331    
  15  norm          .31386        69.758        .45547E-02   -1.5596    
  16  norm          .10000E-03    30.253        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    23.290        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.9272        49.003        .16522E-03   -1.5221    
  19  Prefactor     .10000E-03    3.6076        .17528E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.2703        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.6630        .27005        .31909E-03   -.73294    
  22  Prefactor     .76940        .11286        .19309E-03   -1.0087    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.11131e-09
Minuit parameter uncertainties:
  1  0.326511
  2  4.3817e-06
  3  29.8624
  4  22.7283
  5  4.24425
  6  9.24681e-05
  7  15.9987
  8  2.50047
  9  6.03301e-07
  10  1.44781e-05
  11  2.12316
  12  69.4689
  13  0.00160402
  14  1.6566
  15  9.36789
  16  7.54135e-05
  17  4.4553e-05
  18  34.1231
  19  6.51299e-06
  20  1.18154e-05
  21  0.270288
  22  0.112896
Done.

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

Extracting fit parameters...

4FGL J1552.0+0850
   Spectrum: PowerLaw
249    Prefactor:  1.519e+01  6.947e+01  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:  7.694e-01  1.129e-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.663e+00  2.703e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/750032/likelihoodResults_302832001_303091201_4FGL_J1552.0+0850_daily_bin245.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) = 8958.02136976
delta logL = 0.412696769437

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8957.98073125
delta logL = 0.453335285849

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.481       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9512       1.0000          .0000       10.000    
     3 'Normalizat'    1.6020       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78186       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=   8957.981     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      292 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.478        82.536        .10909E-03   -.92395E-03
   2  Index         2.9513        1.8957        .60004E-02   -.54277E-03
   3  Normalizat    1.6019        .27033        .32385E-03   -.56591E-03
   4  Prefactor     .78188        .11449        .19162E-03   -.68416E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.4775
  Index      = 2.95127
  Normalizat = 1.60192
  Prefactor  = 0.781876
 **********
 **   18 **HESSE 
 **********

 FCN=   8957.981     FROM HESSE     STATUS=OK            25 CALLS      317 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.478        31.013        .21818E-04   -1.4974    
   2  Index         2.9513        .89984        .24001E-03   -.42218    
   3  Normalizat    1.6019        .26844        .64771E-04   -.74953    
   4  Prefactor     .78188        .11341        .38324E-04   -1.0040    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.29227e-09
Minuit parameter uncertainties:
  1  31.0504
  2  0.905786
  3  0.268677
  4  0.113441
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/750032': 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) = 8957.98073122
delta logL = 0.453335308208

Extracting fit parameters...

4FGL J1552.0+0850
   Spectrum: PowerLaw
249    Prefactor:  1.348e+01  3.105e+01  1.000e-04  1.000e+04 ( 1.000e-14)
250        Index:  2.951e+00  9.058e-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:  7.819e-01  1.134e-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.602e+00  2.687e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.00
Ra Dec: 238.010 8.842
Photon Index (Free Index): 2.95 +/- 0.91
Photon Flux (Free Index): 6.29e-08 +/- 7.16e-08
Energy Flux (Free Index): 1.29e-05 +/- 1.43e-05

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/750032/cmap_HighResolution_302832001_303091201_4FGL_J1552.0+0850_daily_bin245.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.43e-03', comment='SUCCESS', energy_flux2='1.29e-05', dlogl='4.53e-01', photon_flux2='6.29e-08', job_status='DONE', time_completed='2021-09-12 15:50:22.871337', photon_index_error2='0.91', photon_index2='2.95', ts='0.05', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', photon_flux_upper_limit='9.85e-08', energy_flux_error2='1.43e-05', EG='1.66', time_epoch_completed='1631487022.87', return_code='0', job_id='750032', GAL2='0.78', EG2='1.60', return_code2='0', photon_flux_error2='7.16e-08', ts2='1.00', photon_index='2.06' WHERE bin_id='245' AND source_name='4FGL J1552.0+0850' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:50:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0297>
Subject: Job 750032: <4FGL_J1552.0+0850_daily_bin245> in cluster <slac> Done

Job <4FGL_J1552.0+0850_daily_bin245> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep 12 15:35:51 2021
Job was executed on host(s) <bullet0297>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 15:37:10 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:37:10 2021
Terminated at Sun Sep 12 15:50:23 2021
Results reported at Sun Sep 12 15:50:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1552.0+0850_daily_bin245 238.01 8.8419 302832001 303091201 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 :                                   728.40 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             330.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   794 sec.
    Turnaround time :                            872 sec.

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

