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


Performing analysis on: 4FGL_J1548.3+1456_daily_bin404
RA = 237.1, Dec = 14.9461
tmin = 344044801, tmax = 344304001
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='708532', job_status='RUN', time_executed='2021-09-12 13:24:05.516391', time_epoch_executed='1631478245.52' WHERE source_name='4FGL J1548.3+1456' and cadence='daily' and bin_id='404'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/708532

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/708532/ft1_4FGL_J1548.3+1456_daily_bin404.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/708532/ft2_4FGL_J1548.3+1456_daily_bin404.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/708532/ft1_4FGL_J1548.3+1456_daily_bin404.fits outfile=/scratch/kocevski/708532/ft1_filteredMKT_4FGL_J1548.3+1456_daily_bin404.fits ra=237.1 dec=14.9461 rad=12.0 tmin=344044801.0 tmax=344304001.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.45
user 3.22
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/708532/ft2_4FGL_J1548.3+1456_daily_bin404.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/708532/ft1_filteredMKT_4FGL_J1548.3+1456_daily_bin404.fits evtable="EVENTS" outfile="/scratch/kocevski/708532/ft1_filtered_4FGL_J1548.3+1456_daily_bin404.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.50
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/708532/ft1_filtered_4FGL_J1548.3+1456_daily_bin404.fits" evtable="EVENTS" scfile=/scratch/kocevski/708532/ft2_4FGL_J1548.3+1456_daily_bin404.fits sctable="SC_DATA" outfile=/scratch/kocevski/708532/ltcube_344044801_344304001_4FGL_J1548.3+1456_daily_bin404.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/708532/ft2_4FGL_J1548.3+1456_daily_bin404.fits
.....................!
real 14.36
user 13.99
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/708532/ft1_filtered_4FGL_J1548.3+1456_daily_bin404.fits evtable="EVENTS" scfile=/scratch/kocevski/708532/ft2_4FGL_J1548.3+1456_daily_bin404.fits sctable="SC_DATA" expcube=/scratch/kocevski/708532/ltcube_344044801_344304001_4FGL_J1548.3+1456_daily_bin404.fits outfile=/scratch/kocevski/708532/expmap_344044801_344304001_4FGL_J1548.3+1456_daily_bin404.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/708532/ltcube_344044801_344304001_4FGL_J1548.3+1456_daily_bin404.fits
.....................!
real 193.05
user 188.21
sys 4.19

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/708532/ft1_filtered_4FGL_J1548.3+1456_daily_bin404.fits scfile=/scratch/kocevski/708532/ft2_4FGL_J1548.3+1456_daily_bin404.fits outfile=/scratch/kocevski/708532/cmap_344044801_344304001_4FGL_J1548.3+1456_daily_bin404.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/708532/ft1_filtered_4FGL_J1548.3+1456_daily_bin404.fits scfile=/scratch/kocevski/708532/ft2_4FGL_J1548.3+1456_daily_bin404.fits outfile=/scratch/kocevski/708532/cmap_HighResolution_344044801_344304001_4FGL_J1548.3+1456_daily_bin404.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.40
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/708532/ft1_filtered_4FGL_J1548.3+1456_daily_bin404.fits', '/scratch/kocevski/708532/ft2_4FGL_J1548.3+1456_daily_bin404.fits', expMap='/scratch/kocevski/708532/expmap_344044801_344304001_4FGL_J1548.3+1456_daily_bin404.fits', expCube='/scratch/kocevski/708532/ltcube_344044801_344304001_4FGL_J1548.3+1456_daily_bin404.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/708532/Model_4FGL_J1548.3+1456_daily_bin404.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/708532/ft1_filtered_4FGL_J1548.3+1456_daily_bin404.fits
Spacecraft file(s): /scratch/kocevski/708532/ft2_4FGL_J1548.3+1456_daily_bin404.fits
Exposure map: /scratch/kocevski/708532/expmap_344044801_344304001_4FGL_J1548.3+1456_daily_bin404.fits
Exposure cube: /scratch/kocevski/708532/ltcube_344044801_344304001_4FGL_J1548.3+1456_daily_bin404.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/708532/Model_4FGL_J1548.3+1456_daily_bin404.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) = 9138.97220113

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    75.788       1.0000         .10000E-03   10000.    
     2 'norm      '    .65212       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    27.366       1.0000         .10000E-03   10000.    
     5 'Prefactor '    74.421       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    53.449       1.0000         .10000E-03   10000.    
     8 'norm      '    1.5953       1.0000         .10000E-03   10000.    
     9 'Prefactor '    28.912       1.0000         .10000E-03   10000.    
    10 'norm      '    1.8584       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    5.3131       1.0000         .10000E-03   10000.    
    13 'norm      '    5.1921       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    44.590       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.9765       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .81074       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0907       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.

 FCN=   9138.971     FROM MIGRAD    STATUS=CONVERGED    372 CALLS     1901 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     75.787        55.704       -.31638E-06   -.32186E-04
   2  norm          .65212        .22286        .79688E-08   -.84458E-04
   3  norm          .10000E-03    14.201        .50060E-05** at limit **
   4  Prefactor     27.364        36.135       -.11070E-05   -.74947E-04
   5  Prefactor     74.421        38.137        .30605E-06    .83558E-05
   6  Prefactor     .10000E-03    11.363        .25983E-05** at limit **
   7  Prefactor     53.448        31.236       -.41554E-06   -.73359E-04
   8  norm          1.5944        2.8178        .35683E-07   -.45103E-03
   9  Prefactor     28.918        34.602        .33214E-05    .19614E-03
  10  norm          1.8585        2.2614        .64351E-07    .49690E-05
  11  Prefactor     .10000E-03    36.972       -.10859E-05** at limit **
  12  norm          5.3143        9.4390        .32039E-07   -.59078E-04
  13  norm          5.1920        1.9169        .17250E-07    .23346E-04
  14  Prefactor     .10000E-03    5.1631       -.73333E-07** at limit **
  15  norm          44.588        20.164       -.39823E-06   -.13614E-03
  16  Prefactor     3.9752        8.3809        .39975E-05   -.11648E-02
  17  Prefactor     .10001E-03    12.114       -.69338E-05** at limit **
  18  Normalizat    .81075        .23022       -.75847E-06   -.11831E-04
  19  Prefactor     1.0907        .11361       -.11772E-06    .61416E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 75.7868
  norm       = 0.652121
  norm       = 0.000100004
  Prefactor  = 27.3642
  Prefactor  = 74.4209
  Prefactor  = 0.000100001
  Prefactor  = 53.4479
  norm       = 1.59436
  Prefactor  = 28.9179
  norm       = 1.85847
  Prefactor  = 0.0001
  norm       = 5.31429
  norm       = 5.192
  Prefactor  = 0.0001
  norm       = 44.5881
  Prefactor  = 3.97521
  Prefactor  = 0.000100007
  Normalizat = 0.810753
  Prefactor  = 1.09072
 **********
 **   18 **HESSE 
 **********

 FCN=   9138.971     FROM HESSE     STATUS=OK           264 CALLS     2165 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     75.787        55.744        .46123E-04   -1.3965    
   2  norm          .65212        .22210        .25432E-04   -1.5546    
   3  norm          .10000E-03    14.602        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     27.364        36.293        .76581E-04   -1.4661    
   5  Prefactor     74.421        38.260        .46542E-04   -1.3980    
   6  Prefactor     .10000E-03    11.444        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     53.448        31.251        .54862E-04   -1.4244    
   8  norm          1.5944        2.7949        .19620E-03   -1.5455    
   9  Prefactor     28.918        34.737        .74510E-04   -1.4632    
  10  norm          1.8585        2.2508        .15296E-03   -1.5435    
  11  Prefactor     .10000E-03    37.038        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          5.3143        9.3505        .17436E-03   -1.5247    
  13  norm          5.1920        1.9157        .76645E-04   -1.5252    
  14  Prefactor     .10000E-03    5.1920        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          44.588        20.220        .60040E-04   -1.4371    
  16  Prefactor     3.9752        10.772        .10113E-02   -1.5309    
  17  Prefactor     .10001E-03    12.865        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .81075        .26529        .40156E-03   -.99671    
  19  Prefactor     1.0907        .13221        .18129E-03   -.89764    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.26865e-09
Minuit parameter uncertainties:
  1  55.7824
  2  0.222105
  3  0.000480157
  4  36.3224
  5  38.2723
  6  0.000197721
  7  31.2602
  8  2.79516
  9  34.7616
  10  2.25092
  11  0.000155936
  12  9.35302
  13  1.9157
  14  5.96684e-06
  15  20.2232
  16  10.7772
  17  0.000617034
  18  0.265711
  19  0.132251
Done.

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

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  1.594e+00  2.795e+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

GAL_V02
   Spectrum: PowerLaw
489    Prefactor:  1.091e+00  1.323e-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:  8.108e-01  2.657e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/708532/likelihoodResults_344044801_344304001_4FGL_J1548.3+1456_daily_bin404.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) = 9138.30189088
delta logL = 0.669060517015

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9138.30170816
delta logL = 0.669243236884

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0314       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9935       1.0000          .0000       5.0000    
     3 'Normalizat'    .75817       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1040       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=   9138.302     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      274 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0299        13.786        .12484E-01    .18158E-02
   2  alpha         2.9953        3.8657        .27028        .12332E-03
   3  Normalizat    .75786        .50566E-01    .93403E-01   -.45992E-03
   4  Prefactor     1.1042        .25848E-01    .37436E-01   -.11150E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 1.02988
  alpha      = 2.99532
  Normalizat = 0.757862
  Prefactor  = 1.1042
 **********
 **   18 **HESSE 
 **********

 FCN=   9138.302     FROM HESSE     STATUS=OK            31 CALLS      305 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0299        3.6128        .80105E-04   -1.5505    
   2  alpha         2.9953        1.7506        .14084E-01    .19945    
   3  Normalizat    .75786        .26472        .41380E-03   -1.0165    
   4  Prefactor     1.1042        .13592        .18017E-03   -.89332    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.3634e-10
Minuit parameter uncertainties:
  1  3.61355
  2  1.94993
  3  0.265167
  4  0.13596
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/708532': 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) = 9138.30170449
delta logL = 0.669246912987

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  1.030e+00  3.614e+00  1.000e-04  1.000e+04 ( 1.000e-12)
236        alpha:  2.995e+00  1.950e+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:  1.104e+00  1.360e-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:  7.579e-01  2.652e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.78
Ra Dec: 237.100 14.946
Photon Index (Free Index): 3.00 +/- 1.95
Photon Flux (Free Index): 6.34e-08 +/- 5.91e-08
Energy Flux (Free Index): 1.43e-05 +/- 1.59e-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/708532/cmap_HighResolution_344044801_344304001_4FGL_J1548.3+1456_daily_bin404.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.89e-05', comment='SUCCESS', energy_flux2='1.43e-05', dlogl='6.69e-01', photon_flux2='6.34e-08', job_status='DONE', time_completed='2021-09-12 13:35:09.627287', photon_index_error2='1.95', photon_index2='3.00', ts='0.41', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='7.77e-08', energy_flux_error2='1.59e-05', EG='0.81', time_epoch_completed='1631478909.63', return_code='0', job_id='708532', GAL2='1.10', EG2='0.76', return_code2='0', photon_flux_error2='5.91e-08', ts2='1.78', photon_index='1.91' WHERE bin_id='404' AND source_name='4FGL J1548.3+1456' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 13:35:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 708532: <4FGL_J1548.3+1456_daily_bin404> in cluster <slac> Done

Job <4FGL_J1548.3+1456_daily_bin404> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Sep 12 13:20:27 2021
Job was executed on host(s) <bullet0077>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 13:21:15 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:21:15 2021
Terminated at Sun Sep 12 13:35:10 2021
Results reported at Sun Sep 12 13:35:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1548.3+1456_daily_bin404 237.1 14.9461 344044801 344304001 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 :                                   654.34 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   836 sec.
    Turnaround time :                            883 sec.

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

