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


Performing analysis on: 4FGL_J1548.3+1456_daily_bin850
RA = 237.1, Dec = 14.9461
tmin = 459648001, tmax = 459907201
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='710252', job_status='RUN', time_executed='2021-09-12 13:29:33.960618', time_epoch_executed='1631478573.96' WHERE source_name='4FGL J1548.3+1456' and cadence='daily' and bin_id='850'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/710252

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/710252/ft1_4FGL_J1548.3+1456_daily_bin850.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/710252/ft2_4FGL_J1548.3+1456_daily_bin850.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/710252/ft1_4FGL_J1548.3+1456_daily_bin850.fits outfile=/scratch/kocevski/710252/ft1_filteredMKT_4FGL_J1548.3+1456_daily_bin850.fits ra=237.1 dec=14.9461 rad=12.0 tmin=459648001.0 tmax=459907201.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.47
user 3.23
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/710252/ft2_4FGL_J1548.3+1456_daily_bin850.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/710252/ft2_4FGL_J1548.3+1456_daily_bin850.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/710252/ft1_filteredMKT_4FGL_J1548.3+1456_daily_bin850.fits evtable="EVENTS" outfile="/scratch/kocevski/710252/ft1_filtered_4FGL_J1548.3+1456_daily_bin850.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.34
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/710252/ft1_filtered_4FGL_J1548.3+1456_daily_bin850.fits" evtable="EVENTS" scfile=/scratch/kocevski/710252/ft2_4FGL_J1548.3+1456_daily_bin850.fits sctable="SC_DATA" outfile=/scratch/kocevski/710252/ltcube_459648001_459907201_4FGL_J1548.3+1456_daily_bin850.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/710252/ft2_4FGL_J1548.3+1456_daily_bin850.fits
.....................!
real 15.39
user 14.96
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/710252/ft1_filtered_4FGL_J1548.3+1456_daily_bin850.fits evtable="EVENTS" scfile=/scratch/kocevski/710252/ft2_4FGL_J1548.3+1456_daily_bin850.fits sctable="SC_DATA" expcube=/scratch/kocevski/710252/ltcube_459648001_459907201_4FGL_J1548.3+1456_daily_bin850.fits outfile=/scratch/kocevski/710252/expmap_459648001_459907201_4FGL_J1548.3+1456_daily_bin850.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/710252/ltcube_459648001_459907201_4FGL_J1548.3+1456_daily_bin850.fits
.....................!
real 192.02
user 186.51
sys 5.04

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 151 point sources and 0 extended sources

Setting source of interest to:
4FGL J1548.3+1456 @ 237.1 14.9461

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/710252/ft1_filtered_4FGL_J1548.3+1456_daily_bin850.fits scfile=/scratch/kocevski/710252/ft2_4FGL_J1548.3+1456_daily_bin850.fits outfile=/scratch/kocevski/710252/cmap_459648001_459907201_4FGL_J1548.3+1456_daily_bin850.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=237.1 yref=14.9461 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/710252/ft1_filtered_4FGL_J1548.3+1456_daily_bin850.fits scfile=/scratch/kocevski/710252/ft2_4FGL_J1548.3+1456_daily_bin850.fits outfile=/scratch/kocevski/710252/cmap_HighResolution_459648001_459907201_4FGL_J1548.3+1456_daily_bin850.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=237.1 yref=14.9461 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.56
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/710252/ft1_filtered_4FGL_J1548.3+1456_daily_bin850.fits evtable="EVENTS" scfile=/scratch/kocevski/710252/ft2_4FGL_J1548.3+1456_daily_bin850.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/710252/Model_4FGL_J1548.3+1456_daily_bin850.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/710252/ft1_filtered_4FGL_J1548.3+1456_daily_bin850.fits.....................!
real 62.43
user 61.05
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/710252/ft1_filtered_4FGL_J1548.3+1456_daily_bin850.fits', '/scratch/kocevski/710252/ft2_4FGL_J1548.3+1456_daily_bin850.fits', expMap='/scratch/kocevski/710252/expmap_459648001_459907201_4FGL_J1548.3+1456_daily_bin850.fits', expCube='/scratch/kocevski/710252/ltcube_459648001_459907201_4FGL_J1548.3+1456_daily_bin850.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/710252/Model_4FGL_J1548.3+1456_daily_bin850.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1548.3+1456'

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  1.171e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
236        alpha:  1.914e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
237         beta:  1.051e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
238           Eb:  1.245e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/710252/ft1_filtered_4FGL_J1548.3+1456_daily_bin850.fits
Spacecraft file(s): /scratch/kocevski/710252/ft2_4FGL_J1548.3+1456_daily_bin850.fits
Exposure map: /scratch/kocevski/710252/expmap_459648001_459907201_4FGL_J1548.3+1456_daily_bin850.fits
Exposure cube: /scratch/kocevski/710252/ltcube_459648001_459907201_4FGL_J1548.3+1456_daily_bin850.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/710252/Model_4FGL_J1548.3+1456_daily_bin850.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) = 8363.50443798

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33144E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.2137       1.0000         .10000E-03   10000.    
     3 'norm      '    .57504E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.608       1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.558       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.6358       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10263E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10918E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11539E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10353E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    6.4728       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10447E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10355E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    15.702       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .13019E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.3883       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .96218       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4920E+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=   8363.490     FROM MIGRAD    STATUS=CONVERGED    742 CALLS     2557 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    42.311        .18333    ** at limit **
   2  norm          2.2140        .38310        .22735E-04    .90010E-05
   3  norm          .10002E-03    31.499        .18840    ** at limit **
   4  Prefactor     16.590        27.449        .98279E-04   -.27554E-03
   5  Prefactor     13.560        30.300        .10878E-03   -.12750E-03
   6  Prefactor     7.6264        25.707        .14512E-03   -.28828E-04
   7  Prefactor     .10000E-03    7.7192        .18142E-02** at limit **
   8  norm          .10000E-03    1.3079        .10122E-02** at limit **
   9  Prefactor     .10000E-03    12.858        .18142E-02** at limit **
  10  norm          .49445E-01    3.4489        .43225E-01    .41043E-03
  11  Prefactor     .10000E-03    25.471        .18142E-02** at limit **
  12  norm          .12739        10.192        .62406E-01    .16761E-03
  13  norm          6.4681        2.2202        .76140E-04   -.16335E-03
  14  Prefactor     .10000E-03    6.4452        .18142E-02** at limit **
  15  norm          .10000E-03    6.0815        .18142E-02** at limit **
  16  Prefactor     15.721        13.203        .10108E-03    .61187E-04
  17  Prefactor     .10000E-03    39.202        .18142E-02** at limit **
  18  Normalizat    1.3884        .29094        .32731E-03   -.45782E-03
  19  Prefactor     .96195        .14436        .19829E-03    .35190E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100007
  norm       = 2.21398
  norm       = 0.000100021
  Prefactor  = 16.5897
  Prefactor  = 13.5604
  Prefactor  = 7.62643
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0494453
  Prefactor  = 0.0001
  norm       = 0.127386
  norm       = 6.46814
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 15.7206
  Prefactor  = 0.0001
  Normalizat = 1.3884
  Prefactor  = 0.961946
 **********
 **   18 **HESSE 
 **********

 FCN=   8363.490     FROM HESSE     STATUS=OK           288 CALLS     2845 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    42.623        .18228       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.2140        .38309        .90939E-06   -1.5410    
   3  norm          .10002E-03    31.480        .18853       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     16.590        27.448        .19656E-04   -1.4893    
   5  Prefactor     13.560        30.295        .43513E-05   -1.4971    
   6  Prefactor     7.6264        25.701        .58049E-05   -1.5156    
   7  Prefactor     .10000E-03    7.7193        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.3081        .20245E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    12.858        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .49445E-01    3.0066        .47751E-01   -1.5664    
  11  Prefactor     .10000E-03    25.472        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .12739        8.3768        .70588E-01   -1.5637    
  13  norm          6.4681        2.2171        .30456E-05   -1.5199    
  14  Prefactor     .10000E-03    6.4464        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    6.0824        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     15.721        13.201        .40431E-05   -1.4915    
  17  Prefactor     .10000E-03    39.211        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.3884        .29118        .65461E-04   -.80965    
  19  Prefactor     .96195        .14443        .39657E-04   -.94009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.3112e-09
Minuit parameter uncertainties:
  1  0.00113069
  2  0.383094
  3  0.00162228
  4  27.4693
  5  30.3295
  6  25.7387
  7  3.03215e-06
  8  4.07396e-06
  9  2.76398e-05
  10  0.770391
  11  1.99782e-05
  12  2.0655
  13  2.21709
  14  2.80258e-05
  15  1.13104e-05
  16  13.2032
  17  8.70867e-05
  18  0.291529
  19  0.144489
Done.

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

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  1.000e-04  4.074e-06  1.000e-04  1.000e+04 ( 1.000e-12)
236        alpha:  1.914e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
237         beta:  1.051e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
238           Eb:  1.245e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
489    Prefactor:  9.619e-01  1.445e-01  0.000e+00  1.000e+01 ( 1.000e+00)
490        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
491        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
488   Normalization:  1.388e+00  2.915e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 237.100 14.946
Photon Flux Upper Limit: 5.18e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.92e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/710252/likelihoodResults_459648001_459907201_4FGL_J1548.3+1456_daily_bin850.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) = 8363.49402668
delta logL = -0.00363593078328

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8363.49039709
delta logL = -6.34266507404e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8363.490     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      195 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.3505        .90712E-02** at limit **
   2  alpha         1.9028        3.3935        .42712        .20805E-04
   3  Normalizat    1.3884        .22238        .73965E-01   -.35415E-04
   4  Prefactor     .96194        .11540        .45786E-01   -.55509E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.90283
  Normalizat = 1.38841
  Prefactor  = 0.961939
 **********
 **   18 **HESSE 
 **********

 FCN=   8363.490     FROM HESSE     STATUS=OK            33 CALLS      228 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.3104        .10135E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9028        3.3842        .50000       -.24120    
   3  Normalizat    1.3884        .27192        .32731E-03   -.80964    
   4  Prefactor     .96194        .14126        .19829E-03   -.94009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.40809e-10
Minuit parameter uncertainties:
  1  3.71091e-06
  2  2.42778
  3  0.272203
  4  0.141317
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/710252': 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) = 8363.49039066
delta logL = 8.9275999926e-08

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  1.000e-04  3.711e-06  1.000e-04  1.000e+04 ( 1.000e-12)
236        alpha:  1.903e+00  2.428e+00  0.000e+00  5.000e+00 ( 1.000e+00)
237         beta:  1.051e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
238           Eb:  1.245e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
489    Prefactor:  9.619e-01  1.413e-01  0.000e+00  1.000e+01 ( 1.000e+00)
490        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
491        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
488   Normalization:  1.388e+00  2.722e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 237.100 14.946

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/710252/cmap_HighResolution_459648001_459907201_4FGL_J1548.3+1456_daily_bin850.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.92e-05', job_status='DONE', photon_flux_upper_limit='5.18e-08', time_completed='2021-09-12 13:41:06.775770', job_id='710252', GAL2='0.96', fit_tolerance='1e-08', EG2='1.39', EG='1.39', time_epoch_completed='1631479266.78', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='8.93e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.91' WHERE bin_id='850' AND source_name='4FGL J1548.3+1456' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 13:41:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0174>
Subject: Job 710252: <4FGL_J1548.3+1456_daily_bin850> in cluster <slac> Done

Job <4FGL_J1548.3+1456_daily_bin850> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep 12 13:25:30 2021
Job was executed on host(s) <bullet0174>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 13:28: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 13:28:10 2021
Terminated at Sun Sep 12 13:41:07 2021
Results reported at Sun Sep 12 13:41:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1548.3+1456_daily_bin850 237.1 14.9461 459648001 459907201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1548.3+1456 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   691.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             319.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   777 sec.
    Turnaround time :                            937 sec.

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

