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


Performing analysis on: 4FGL_J1552.0+0850_daily_bin1515
RA = 238.01, Dec = 8.8419
tmin = 632016001, tmax = 632275201
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='759993', job_status='RUN', time_executed='2021-09-12 16:05:59.314785', time_epoch_executed='1631487959.31' WHERE source_name='4FGL J1552.0+0850' and cadence='daily' and bin_id='1515'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/759993

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/759993/ft1_4FGL_J1552.0+0850_daily_bin1515.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/759993/ft2_4FGL_J1552.0+0850_daily_bin1515.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/759993/ft1_4FGL_J1552.0+0850_daily_bin1515.fits outfile=/scratch/kocevski/759993/ft1_filteredMKT_4FGL_J1552.0+0850_daily_bin1515.fits ra=238.01 dec=8.8419 rad=12.0 tmin=632016001.0 tmax=632275201.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 4.74
user 4.48
sys 0.24

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/759993/ft1_filtered_4FGL_J1552.0+0850_daily_bin1515.fits evtable="EVENTS" scfile=/scratch/kocevski/759993/ft2_4FGL_J1552.0+0850_daily_bin1515.fits sctable="SC_DATA" expcube=/scratch/kocevski/759993/ltcube_632016001_632275201_4FGL_J1552.0+0850_daily_bin1515.fits outfile=/scratch/kocevski/759993/expmap_632016001_632275201_4FGL_J1552.0+0850_daily_bin1515.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/759993/ltcube_632016001_632275201_4FGL_J1552.0+0850_daily_bin1515.fits
.....................!
real 192.50
user 186.88
sys 5.23

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/759993/ft1_filtered_4FGL_J1552.0+0850_daily_bin1515.fits scfile=/scratch/kocevski/759993/ft2_4FGL_J1552.0+0850_daily_bin1515.fits outfile=/scratch/kocevski/759993/cmap_632016001_632275201_4FGL_J1552.0+0850_daily_bin1515.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/759993/ft1_filtered_4FGL_J1552.0+0850_daily_bin1515.fits scfile=/scratch/kocevski/759993/ft2_4FGL_J1552.0+0850_daily_bin1515.fits outfile=/scratch/kocevski/759993/cmap_HighResolution_632016001_632275201_4FGL_J1552.0+0850_daily_bin1515.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.53
user 0.39
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .39817       1.0000         .10000E-03   10000.    
     2 'norm      '    .48665       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .80083E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.5885       1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.912       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.2137       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    7.0305       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .70048E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .38176E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    9.8234       1.0000         .10000E-03   10000.    
    15 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    26.167       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2174       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .95346       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=   10244.28     FROM MIGRAD    STATUS=CONVERGED    523 CALLS     2112 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .39819        .19770        .18320E-08    .22212E-03
   2  norm          .48723        .17471        .20578E-08   -.21463E-03
   3  Prefactor     .10000E-03    12.877       -.20228E-07** at limit **
   4  Prefactor     .10044E-03    25.230       -.15203E-05** at limit **
   5  Prefactor     1.5890        2.2756       -.55735E-08   -.91357E-05
   6  Prefactor     10.911        21.390        .41149E-06    .11500E-04
   7  Prefactor     .10000E-03    20.159       -.41069E-06** at limit **
   8  norm          3.2132        2.4050       -.17450E-07   -.85565E-04
   9  Prefactor     .10000E-03    1.8675       -.35772E-08** at limit **
  10  Prefactor     .10000E-03    9.4923        .19986E-07** at limit **
  11  norm          7.0289        3.6393       -.30156E-07   -.19630E-03
  12  Prefactor     .10000E-03    229.81        .52382E-04** at limit **
  13  norm          .10001E-03    4.3893        .34736E-06** at limit **
  14  norm          9.8216        2.3457       -.24649E-07   -.47973E-03
  15  norm          .10000E-03    10.489       -.43348E-07** at limit **
  16  norm          .10000E-03    54.045       -.50407E-06** at limit **
  17  Prefactor     .10000E-03    34.361        .90887E-07** at limit **
  18  Prefactor     26.173        31.295       -.84535E-06   -.43528E-05
  19  Prefactor     .10000E-03    3.3636        .13755E-07** at limit **
  20  Prefactor     .10000E-03    5.9048        .38000E-07** at limit **
  21  Normalizat    1.2171        .20640       -.21073E-07   -.61961E-04
  22  Prefactor     .95351        .88589E-01    .15664E-07   -.13477E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.398187
  norm       = 0.487225
  Prefactor  = 0.0001
  Prefactor  = 0.000100442
  Prefactor  = 1.58903
  Prefactor  = 10.9113
  Prefactor  = 0.0001
  norm       = 3.21316
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.0289
  Prefactor  = 0.000100002
  norm       = 0.000100012
  norm       = 9.82161
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 26.1732
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.21707
  Prefactor  = 0.953508
 **********
 **   18 **HESSE 
 **********

 FCN=   10244.28     FROM HESSE     STATUS=OK           352 CALLS     2464 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .39819        .19783        .30631E-04   -1.5582    
   2  norm          .48723        5.0710        .22156E-02   -1.5568    
   3  Prefactor     .10000E-03    12.888        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10044E-03    24.897        .13544       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.5890        2.2515        .17665E-03   -1.5456    
   6  Prefactor     10.911        21.408        .12129E-03   -1.5047    
   7  Prefactor     .10000E-03    20.248        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.2132        2.3782        .13016E-03   -1.5349    
   9  Prefactor     .10000E-03    1.9042        .13495E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    9.5008        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          7.0289        3.6386        .13388E-03   -1.5178    
  12  Prefactor     .10000E-03    229.87        .20979E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10001E-03    27.803        .40077E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          9.8216        2.3303        .73047E-04   -1.5081    
  15  norm          .10000E-03    10.591        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    54.069        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    34.391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     26.173        31.292        .78313E-04   -1.4684    
  19  Prefactor     .10000E-03    3.3755        .18123E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    6.0932        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2171        .24601        .35489E-03   -.86077    
  22  Prefactor     .95351        .10630        .17550E-03   -.94296    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40803e-08
Minuit parameter uncertainties:
  1  0.197831
  2  3.14373
  3  5.62261e-08
  4  0.00663697
  5  2.25163
  6  21.4234
  7  1.38424e-06
  8  2.37828
  9  2.37671e-07
  10  9.33908e-07
  11  3.63868
  12  0.00138527
  13  0.0011427
  14  2.33029
  15  2.73529e-06
  16  8.37131e-08
  17  1.38769e-07
  18  31.3119
  19  2.25571e-06
  20  1.84129e-06
  21  0.246242
  22  0.106328
Done.

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

Extracting fit parameters...

4FGL J1552.0+0850
   Spectrum: PowerLaw
249    Prefactor:  1.000e-04  1.385e-03  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.535e-01  1.063e-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.217e+00  2.462e-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: 7.91e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.96e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/759993/likelihoodResults_632016001_632275201_4FGL_J1552.0+0850_daily_bin1515.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) = 10244.2771189
delta logL = -2.05828964681e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10244.2770984
delta logL = -1.13896021503e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0319       1.0000          .0000       10.000    
     3 'Normalizat'    1.2171       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95351       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10243.56     FROM MIGRAD    STATUS=CONVERGED    137 CALLS      323 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.1695        14.075        .88807E-05   -.58183E-03
   2  Index         3.2679        .86619       -.30035E-04   -.19277E-03
   3  Normalizat    1.1430        .24258       -.29680E-04    .18348E-03
   4  Prefactor     .96975        .10618        .17708E-04    .27250E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.16954
  Index      = 3.2679
  Normalizat = 1.14299
  Prefactor  = 0.969752
 **********
 **   18 **HESSE 
 **********

 FCN=   10243.56     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      362 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.1695        123.59        .90712E-02   -1.5211    
   2  Index         3.2679        2.5622        .94151E-01   -.35375    
   3  Normalizat    1.1430        .63910E-01    .82287E-01   -.88383    
   4  Prefactor     .96975        .27427E-01    .45683E-01   -.93745    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.08413e-05
Minuit parameter uncertainties:
  1  55.3581
  2  2.71059
  3  0.0639146
  4  0.0274275
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/759993': 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) = 10243.560186
delta logL = 0.716912263289

Extracting fit parameters...

4FGL J1552.0+0850
   Spectrum: PowerLaw
249    Prefactor:  6.170e+00  5.536e+01  1.000e-04  1.000e+04 ( 1.000e-14)
250        Index:  3.268e+00  2.711e+00  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.698e-01  2.743e-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.143e+00  6.391e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.51
Ra Dec: 238.010 8.842
Photon Index (Free Index): 3.27 +/- 2.71
Photon Flux (Free Index): 6.59e-08 +/- 1.21e-07
Energy Flux (Free Index): 1.18e-05 +/- 3.25e-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/759993/cmap_HighResolution_632016001_632275201_4FGL_J1552.0+0850_daily_bin1515.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.96e-03', comment='SUCCESS', energy_flux2='1.18e-05', dlogl='7.17e-01', photon_flux2='6.59e-08', job_status='DONE', time_completed='2021-09-12 16:21:54.576345', photon_index_error2='2.71', photon_index2='3.27', ts='-0.00', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='7.91e-08', energy_flux_error2='3.25e-05', EG='1.22', time_epoch_completed='1631488914.58', return_code='0', job_id='759993', GAL2='0.97', EG2='1.14', return_code2='102', photon_flux_error2='1.21e-07', ts2='1.51', photon_index='2.06' WHERE bin_id='1515' AND source_name='4FGL J1552.0+0850' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 16:21:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0139>
Subject: Job 759993: <4FGL_J1552.0+0850_daily_bin1515> in cluster <slac> Done

Job <4FGL_J1552.0+0850_daily_bin1515> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Sep 12 16:05:28 2021
Job was executed on host(s) <bullet0139>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 16:05:47 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 16:05:47 2021
Terminated at Sun Sep 12 16:21:55 2021
Results reported at Sun Sep 12 16:21:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1552.0+0850_daily_bin1515 238.01 8.8419 632016001 632275201 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 :                                   770.04 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             325.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   968 sec.
    Turnaround time :                            987 sec.

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

