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


Performing analysis on: 4FGL_J1548.3+1456_daily_bin241
RA = 237.1, Dec = 14.9461
tmin = 301795201, tmax = 302054401
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='707170', job_status='RUN', time_executed='2021-09-12 13:18:46.880156', time_epoch_executed='1631477926.88' WHERE source_name='4FGL J1548.3+1456' and cadence='daily' and bin_id='241'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/707170

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/707170/ft1_4FGL_J1548.3+1456_daily_bin241.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/707170/ft2_4FGL_J1548.3+1456_daily_bin241.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/707170/ft1_4FGL_J1548.3+1456_daily_bin241.fits outfile=/scratch/kocevski/707170/ft1_filteredMKT_4FGL_J1548.3+1456_daily_bin241.fits ra=237.1 dec=14.9461 rad=12.0 tmin=301795201.0 tmax=302054401.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.15
user 3.87
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/707170/ft2_4FGL_J1548.3+1456_daily_bin241.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/707170/ft1_filteredMKT_4FGL_J1548.3+1456_daily_bin241.fits evtable="EVENTS" outfile="/scratch/kocevski/707170/ft1_filtered_4FGL_J1548.3+1456_daily_bin241.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.52
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/707170/ft1_filtered_4FGL_J1548.3+1456_daily_bin241.fits" evtable="EVENTS" scfile=/scratch/kocevski/707170/ft2_4FGL_J1548.3+1456_daily_bin241.fits sctable="SC_DATA" outfile=/scratch/kocevski/707170/ltcube_301795201_302054401_4FGL_J1548.3+1456_daily_bin241.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/707170/ft2_4FGL_J1548.3+1456_daily_bin241.fits
.....................!
real 14.64
user 14.27
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/707170/ft1_filtered_4FGL_J1548.3+1456_daily_bin241.fits evtable="EVENTS" scfile=/scratch/kocevski/707170/ft2_4FGL_J1548.3+1456_daily_bin241.fits sctable="SC_DATA" expcube=/scratch/kocevski/707170/ltcube_301795201_302054401_4FGL_J1548.3+1456_daily_bin241.fits outfile=/scratch/kocevski/707170/expmap_301795201_302054401_4FGL_J1548.3+1456_daily_bin241.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/707170/ltcube_301795201_302054401_4FGL_J1548.3+1456_daily_bin241.fits
.....................!
real 191.77
user 185.91
sys 5.39

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/707170/ft1_filtered_4FGL_J1548.3+1456_daily_bin241.fits scfile=/scratch/kocevski/707170/ft2_4FGL_J1548.3+1456_daily_bin241.fits outfile=/scratch/kocevski/707170/cmap_301795201_302054401_4FGL_J1548.3+1456_daily_bin241.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.55
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/707170/ft1_filtered_4FGL_J1548.3+1456_daily_bin241.fits scfile=/scratch/kocevski/707170/ft2_4FGL_J1548.3+1456_daily_bin241.fits outfile=/scratch/kocevski/707170/cmap_HighResolution_301795201_302054401_4FGL_J1548.3+1456_daily_bin241.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .83205       1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    36.295       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.4724       1.0000         .10000E-03   10000.    
     8 'norm      '    .57189       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .64880       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    4.0459       1.0000         .10000E-03   10000.    
    13 'norm      '    10.446       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    14.899       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.6848       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.4622       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .87187       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0933       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=   9215.003     FROM MIGRAD    STATUS=CONVERGED    371 CALLS     1840 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.833       -.18435E-05** at limit **
   2  norm          .83208        .22485       -.35526E-08    .41958E-04
   3  norm          .10000E-03    12.753        .36533E-06** at limit **
   4  Prefactor     36.276        52.338       -.28056E-05   -.71062E-04
   5  Prefactor     .10000E-03    27.362       -.13674E-05** at limit **
   6  Prefactor     .10000E-03    18.013        .10981E-06** at limit **
   7  Prefactor     9.4713        12.602       -.11430E-06   -.28187E-04
   8  norm          .57131        2.7566        .18369E-05   -.58159E-03
   9  Prefactor     .10000E-03    18.661        .62062E-06** at limit **
  10  norm          .64927        1.4075        .88352E-06    .70209E-03
  11  Prefactor     .10000E-03    20.176        .18464E-05** at limit **
  12  norm          4.0458        7.0242       -.44740E-06   -.14683E-03
  13  norm          10.445        2.3742       -.19526E-07   -.13353E-03
  14  Prefactor     .10000E-03    4.4956        .30493E-07** at limit **
  15  norm          14.899        12.590        .28654E-07   -.31143E-04
  16  Prefactor     3.6858        10.450        .39684E-06   -.40982E-04
  17  Prefactor     4.4584        56.976       -.54855E-06   -.16482E-04
  18  Normalizat    .87143        .21613        .44083E-06   -.11761E-03
  19  Prefactor     1.0935        .10945       -.46441E-06   -.67874E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.832084
  norm       = 0.0001
  Prefactor  = 36.2763
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.47128
  norm       = 0.571311
  Prefactor  = 0.0001
  norm       = 0.649269
  Prefactor  = 0.0001
  norm       = 4.04577
  norm       = 10.4454
  Prefactor  = 0.0001
  norm       = 14.8993
  Prefactor  = 3.68584
  Prefactor  = 4.45843
  Normalizat = 0.871425
  Prefactor  = 1.09352
 **********
 **   18 **HESSE 
 **********

 FCN=   9215.003     FROM HESSE     STATUS=OK           272 CALLS     2112 TOTAL
                     EDM=   .93E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .83208        .22503        .22900E-04   -1.5526    
   3  norm          .10000E-03    12.763        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     36.276        53.144        .66522E-04   -1.4503    
   5  Prefactor     .10000E-03    27.544        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    18.067        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.4713        12.598        .13021E-03   -1.5092    
   8  norm          .57131        2.7819        .29352E-02   -1.5557    
   9  Prefactor     .10000E-03    18.719        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .64927        1.2832        .18729E-02   -1.5547    
  11  Prefactor     .10000E-03    20.371        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.0458        6.9555        .20047E-03   -1.5306    
  13  norm          10.445        2.3733        .67910E-04   -1.5061    
  14  Prefactor     .10000E-03    4.5129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          14.899        12.589        .10376E-03   -1.4936    
  16  Prefactor     3.6858        10.451        .21040E-03   -1.5324    
  17  Prefactor     4.4584        57.426        .19062E-03   -1.5286    
  18  Normalizat    .87143        .25387        .37833E-03   -.97472    
  19  Prefactor     1.0935        .12949        .17654E-03   -.89674    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.25496e-08
Minuit parameter uncertainties:
  1  0.000136277
  2  0.225026
  3  2.71496e-05
  4  53.2137
  5  9.18832e-05
  6  3.78415e-06
  7  12.6014
  8  2.52133
  9  3.28066e-05
  10  1.28329
  11  0.000150179
  12  6.95692
  13  2.37331
  14  2.08496e-06
  15  12.591
  16  10.4565
  17  32.0393
  18  0.254217
  19  0.129525
Done.

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

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  5.713e-01  2.521e+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.094e+00  1.295e-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.714e-01  2.542e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/707170/likelihoodResults_301795201_302054401_4FGL_J1548.3+1456_daily_bin241.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) = 9214.46714932
delta logL = 0.536200847266

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9214.42690125
delta logL = 0.576448916079

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .85466       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9264       1.0000          .0000       5.0000    
     3 'Normalizat'    .83543       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0989       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=   9214.427     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      213 TOTAL
                     EDM=   .82E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .85322        14.499        .12642E-01    .17430E-02
   2  alpha         2.9272        3.8795        .30823        .10131E-03
   3  Normalizat    .83526        .45104E-01    .87049E-01    .67438E-04
   4  Prefactor     1.0989        .23136E-01    .37629E-01    .69252E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.853218
  alpha      = 2.9272
  Normalizat = 0.835256
  Prefactor  = 1.09894
 **********
 **   18 **HESSE 
 **********

 FCN=   9214.427     FROM HESSE     STATUS=OK            31 CALLS      244 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .85322        1.9992        .88053E-04   -1.5523    
   2  alpha         2.9272        1.2012        .15873E-01    .17172    
   3  Normalizat    .83526        .25012        .38551E-03   -.98774    
   4  Prefactor     1.0989        .12882        .17604E-03   -.89501    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19592e-10
Minuit parameter uncertainties:
  1  1.99933
  2  1.2548
  3  0.250463
  4  0.128854
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/707170': 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) = 9214.42690026
delta logL = 0.576449901702

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  8.532e-01  1.999e+00  1.000e-04  1.000e+04 ( 1.000e-12)
236        alpha:  2.927e+00  1.255e+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.099e+00  1.289e-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.353e-01  2.505e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.22
Ra Dec: 237.100 14.946
Photon Index (Free Index): 2.93 +/- 1.25
Photon Flux (Free Index): 4.61e-08 +/- 4.90e-08
Energy Flux (Free Index): 1.08e-05 +/- 1.21e-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/707170/cmap_HighResolution_301795201_302054401_4FGL_J1548.3+1456_daily_bin241.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.07e-05', comment='SUCCESS', energy_flux2='1.08e-05', dlogl='5.76e-01', photon_flux2='4.61e-08', job_status='DONE', time_completed='2021-09-12 13:29:35.598548', photon_index_error2='1.25', photon_index2='2.93', ts='0.06', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='6.69e-08', energy_flux_error2='1.21e-05', EG='0.87', time_epoch_completed='1631478575.6', return_code='0', job_id='707170', GAL2='1.10', EG2='0.84', return_code2='0', photon_flux_error2='4.90e-08', ts2='1.22', photon_index='1.91' WHERE bin_id='241' AND source_name='4FGL J1548.3+1456' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 13:29:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0272>
Subject: Job 707170: <4FGL_J1548.3+1456_daily_bin241> in cluster <slac> Done

Job <4FGL_J1548.3+1456_daily_bin241> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep 12 13:15:25 2021
Job was executed on host(s) <bullet0272>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 13:18: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:18:15 2021
Terminated at Sun Sep 12 13:29:36 2021
Results reported at Sun Sep 12 13:29:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1548.3+1456_daily_bin241 237.1 14.9461 301795201 302054401 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 :                                   646.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             323.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   680 sec.
    Turnaround time :                            851 sec.

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

