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


Performing analysis on: 4FGL_J1548.3+1456_daily_bin331
RA = 237.1, Dec = 14.9461
tmin = 325123201, tmax = 325382401
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='708427', job_status='RUN', time_executed='2021-09-12 13:24:25.601598', time_epoch_executed='1631478265.6' WHERE source_name='4FGL J1548.3+1456' and cadence='daily' and bin_id='331'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/708427

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/708427/ft1_4FGL_J1548.3+1456_daily_bin331.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/708427/ft2_4FGL_J1548.3+1456_daily_bin331.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/708427/ft1_4FGL_J1548.3+1456_daily_bin331.fits outfile=/scratch/kocevski/708427/ft1_filteredMKT_4FGL_J1548.3+1456_daily_bin331.fits ra=237.1 dec=14.9461 rad=12.0 tmin=325123201.0 tmax=325382401.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.72
user 3.46
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/708427/ft2_4FGL_J1548.3+1456_daily_bin331.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/708427/ft1_filteredMKT_4FGL_J1548.3+1456_daily_bin331.fits evtable="EVENTS" outfile="/scratch/kocevski/708427/ft1_filtered_4FGL_J1548.3+1456_daily_bin331.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.58
user 0.36
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/708427/ft1_filtered_4FGL_J1548.3+1456_daily_bin331.fits" evtable="EVENTS" scfile=/scratch/kocevski/708427/ft2_4FGL_J1548.3+1456_daily_bin331.fits sctable="SC_DATA" outfile=/scratch/kocevski/708427/ltcube_325123201_325382401_4FGL_J1548.3+1456_daily_bin331.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/708427/ft2_4FGL_J1548.3+1456_daily_bin331.fits
.....................!
real 14.07
user 13.67
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/708427/ft1_filtered_4FGL_J1548.3+1456_daily_bin331.fits evtable="EVENTS" scfile=/scratch/kocevski/708427/ft2_4FGL_J1548.3+1456_daily_bin331.fits sctable="SC_DATA" expcube=/scratch/kocevski/708427/ltcube_325123201_325382401_4FGL_J1548.3+1456_daily_bin331.fits outfile=/scratch/kocevski/708427/expmap_325123201_325382401_4FGL_J1548.3+1456_daily_bin331.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/708427/ltcube_325123201_325382401_4FGL_J1548.3+1456_daily_bin331.fits
.....................!
real 192.23
user 186.84
sys 4.86

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/708427/ft1_filtered_4FGL_J1548.3+1456_daily_bin331.fits scfile=/scratch/kocevski/708427/ft2_4FGL_J1548.3+1456_daily_bin331.fits outfile=/scratch/kocevski/708427/cmap_325123201_325382401_4FGL_J1548.3+1456_daily_bin331.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/708427/ft1_filtered_4FGL_J1548.3+1456_daily_bin331.fits scfile=/scratch/kocevski/708427/ft2_4FGL_J1548.3+1456_daily_bin331.fits outfile=/scratch/kocevski/708427/cmap_HighResolution_325123201_325382401_4FGL_J1548.3+1456_daily_bin331.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.57
user 0.42
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    69.710       1.0000         .10000E-03   10000.    
     2 'norm      '    .99268       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.0295       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.866       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .29421       1.0000         .10000E-03   10000.    
     9 'Prefactor '    39.510       1.0000         .10000E-03   10000.    
    10 'norm      '    2.8673       1.0000         .10000E-03   10000.    
    11 'Prefactor '    38.478       1.0000         .10000E-03   10000.    
    12 'norm      '    22.052       1.0000         .10000E-03   10000.    
    13 'norm      '    4.9135       1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.1388       1.0000         .10000E-03   10000.    
    15 'norm      '    33.629       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    46.444       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.4032       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .90239       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=   9422.022     FROM MIGRAD    STATUS=CONVERGED    368 CALLS     1851 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     69.712        48.081        .13920E-05    .76992E-05
   2  norm          .99270        .26233       -.28026E-07    .44469E-03
   3  norm          .10000E-03    18.840       -.53702E-05** at limit **
   4  Prefactor     7.0200        34.892       -.28264E-04   -.47518E-05
   5  Prefactor     .10000E-03    12.104       -.53979E-06** at limit **
   6  Prefactor     14.858        35.246       -.17305E-04    .18215E-04
   7  Prefactor     .10000E-03    17.829        .67532E-05** at limit **
   8  norm          .30479        1.9239       -.21954E-06   -.73903E-03
   9  Prefactor     39.508        35.485       -.12683E-05    .46397E-04
  10  norm          2.8671        2.5707       -.75143E-06   -.25386E-02
  11  Prefactor     38.480        38.374        .24658E-05    .56716E-05
  12  norm          22.050        11.600       -.95243E-06    .63229E-04
  13  norm          4.9137        1.7690        .20454E-06    .36905E-02
  14  Prefactor     7.1405        11.408        .56466E-07   -.60313E-04
  15  norm          33.630        18.043        .71414E-06    .21502E-04
  16  Prefactor     .10000E-03    9.3717        .15535E-06** at limit **
  17  Prefactor     46.441        37.270       -.30704E-05    .75132E-05
  18  Normalizat    1.4033        .23008        .35932E-05   -.46221E-04
  19  Prefactor     .90238        .11168        .31306E-06    .21265E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 69.7116
  norm       = 0.992702
  norm       = 0.0001
  Prefactor  = 7.01999
  Prefactor  = 0.0001
  Prefactor  = 14.8577
  Prefactor  = 0.0001
  norm       = 0.304786
  Prefactor  = 39.5084
  norm       = 2.86708
  Prefactor  = 38.4799
  norm       = 22.0498
  norm       = 4.91365
  Prefactor  = 7.14045
  norm       = 33.6299
  Prefactor  = 0.0001
  Prefactor  = 46.4415
  Normalizat = 1.40329
  Prefactor  = 0.902377
 **********
 **   18 **HESSE 
 **********

 FCN=   9422.022     FROM HESSE     STATUS=OK           274 CALLS     2125 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     69.712        48.081        .24039E-03   -1.4036    
   2  norm          .99270        .26264        .24729E-04   -1.5509    
   3  norm          .10000E-03    18.820        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.0200        34.458        .15131E-03   -1.5178    
   5  Prefactor     .10000E-03    12.120        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     14.858        34.930        .10388E-03   -1.4937    
   7  Prefactor     .10000E-03    17.814        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .30479        4.3855        .24851E-02   -1.5598    
   9  Prefactor     39.508        35.298        .63768E-04   -1.4450    
  10  norm          2.8671        2.6240        .73032E-03   -1.5369    
  11  Prefactor     38.480        38.361        .64614E-04   -1.4467    
  12  norm          22.050        11.466        .85297E-04   -1.4768    
  13  norm          4.9137        1.7853        .37634E-03   -1.5265    
  14  Prefactor     7.1405        11.409        .15013E-03   -1.5173    
  15  norm          33.630        18.045        .69101E-04   -1.4547    
  16  Prefactor     .10000E-03    9.4437        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     46.441        37.306        .58835E-04   -1.4344    
  18  Normalizat    1.4033        .27851        .34450E-03   -.80534    
  19  Prefactor     .90238        .13598        .20654E-03   -.96058    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.11825e-09
Minuit parameter uncertainties:
  1  48.108
  2  0.262642
  3  2.85481e-07
  4  31.1345
  5  2.14274e-05
  6  34.9783
  7  2.92853e-05
  8  2.31209
  9  35.3165
  10  2.62412
  11  38.3861
  12  11.4671
  13  1.78535
  14  11.4121
  15  18.0479
  16  3.6637e-05
  17  37.3249
  18  0.278808
  19  0.136028
Done.

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

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  3.048e-01  2.312e+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:  9.024e-01  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:  1.403e+00  2.788e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/708427/likelihoodResults_325123201_325382401_4FGL_J1548.3+1456_daily_bin331.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) = 9421.39293664
delta logL = 0.629143386726

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9421.32149864
delta logL = 0.70058138722

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .35658       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.6709       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3161       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92487       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=   9421.321     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      232 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .35686        3.7390        .10671E-01    .26954E-02
   2  alpha         3.6707        3.8913        .31730        .10215E-03
   3  Normalizat    1.3161        .43674E-01    .79830E-01    .17775E-04
   4  Prefactor     .92490        .21677E-01    .45321E-01    .93158E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.356857
  alpha      = 3.67065
  Normalizat = 1.31606
  Prefactor  = 0.924898
 **********
 **   18 **HESSE 
 **********

 FCN=   9421.321     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      265 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .35686        13.366        .50297E-04   -1.5589    
   2  alpha         3.6707        3.9861        .15449E-01    .48732    
   3  Normalizat    1.3161        .27571        .35337E-03   -.83088    
   4  Prefactor     .92490        .13329        .20404E-03   -.95276    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.31449e-06
Minuit parameter uncertainties:
  1  4.36846
  2  6.23876
  3  0.276022
  4  0.13334
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/708427': 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) = 9421.32149856
delta logL = 0.700581465411

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  3.569e-01  4.368e+00  1.000e-04  1.000e+04 ( 1.000e-12)
236        alpha:  3.671e+00  6.239e+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.249e-01  1.333e-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.316e+00  2.760e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.51
Ra Dec: 237.100 14.946
Photon Index (Free Index): 3.67 +/- 6.24
Photon Flux (Free Index): 8.60e-08 +/- 1.05e-07
Energy Flux (Free Index): 1.49e-05 +/- 1.87e-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/708427/cmap_HighResolution_325123201_325382401_4FGL_J1548.3+1456_daily_bin331.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.01e-05', comment='SUCCESS', energy_flux2='1.49e-05', dlogl='7.01e-01', photon_flux2='8.60e-08', job_status='DONE', time_completed='2021-09-12 13:35:26.718324', photon_index_error2='6.24', photon_index2='3.67', ts='0.02', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='6.61e-08', energy_flux_error2='1.87e-05', EG='1.40', time_epoch_completed='1631478926.72', return_code='0', job_id='708427', GAL2='0.92', EG2='1.32', return_code2='102', photon_flux_error2='1.05e-07', ts2='1.51', photon_index='1.91' WHERE bin_id='331' AND source_name='4FGL J1548.3+1456' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 13:35:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0136>
Subject: Job 708427: <4FGL_J1548.3+1456_daily_bin331> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1548.3+1456_daily_bin331 237.1 14.9461 325123201 325382401 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 :                                   653.18 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             292.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   898 sec.
    Turnaround time :                            906 sec.

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

