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


Performing analysis on: 4FGL_J1548.3+1456_daily_bin254
RA = 237.1, Dec = 14.9461
tmin = 305164801, tmax = 305424001
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='707188', job_status='RUN', time_executed='2021-09-12 13:20:29.070558', time_epoch_executed='1631478029.07' WHERE source_name='4FGL J1548.3+1456' and cadence='daily' and bin_id='254'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/707188

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/707188/ft1_4FGL_J1548.3+1456_daily_bin254.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/707188/ft2_4FGL_J1548.3+1456_daily_bin254.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/707188/ft1_4FGL_J1548.3+1456_daily_bin254.fits outfile=/scratch/kocevski/707188/ft1_filteredMKT_4FGL_J1548.3+1456_daily_bin254.fits ra=237.1 dec=14.9461 rad=12.0 tmin=305164801.0 tmax=305424001.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.52
user 3.31
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/707188/ft1_filtered_4FGL_J1548.3+1456_daily_bin254.fits evtable="EVENTS" scfile=/scratch/kocevski/707188/ft2_4FGL_J1548.3+1456_daily_bin254.fits sctable="SC_DATA" expcube=/scratch/kocevski/707188/ltcube_305164801_305424001_4FGL_J1548.3+1456_daily_bin254.fits outfile=/scratch/kocevski/707188/expmap_305164801_305424001_4FGL_J1548.3+1456_daily_bin254.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/707188/ltcube_305164801_305424001_4FGL_J1548.3+1456_daily_bin254.fits
.....................!
real 193.24
user 187.24
sys 5.14

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/707188/ft1_filtered_4FGL_J1548.3+1456_daily_bin254.fits scfile=/scratch/kocevski/707188/ft2_4FGL_J1548.3+1456_daily_bin254.fits outfile=/scratch/kocevski/707188/cmap_305164801_305424001_4FGL_J1548.3+1456_daily_bin254.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.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/707188/ft1_filtered_4FGL_J1548.3+1456_daily_bin254.fits scfile=/scratch/kocevski/707188/ft2_4FGL_J1548.3+1456_daily_bin254.fits outfile=/scratch/kocevski/707188/cmap_HighResolution_305164801_305424001_4FGL_J1548.3+1456_daily_bin254.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.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .94821       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.2870       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    43.361       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .53673E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .12669E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.1950       1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.309       1.0000         .10000E-03   10000.    
    12 'norm      '    1.8534       1.0000         .10000E-03   10000.    
    13 'norm      '    5.5825       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.2736       1.0000         .10000E-03   10000.    
    15 'norm      '    22.845       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.4597       1.0000         .10000E-03   10000.    
    17 'Prefactor '    51.349       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.2247       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .99272       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=   9200.472     FROM MIGRAD    STATUS=CONVERGED    376 CALLS     1854 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.168        .50573E-05** at limit **
   2  norm          .94823        .25597       -.42813E-07    .52542E-03
   3  norm          .10000E-03    14.529       -.82548E-05** at limit **
   4  Prefactor     5.2784        65.029       -.28438E-04   -.47855E-05
   5  Prefactor     .10000E-03    19.345        .50408E-05** at limit **
   6  Prefactor     43.343        39.455       -.20282E-04   -.68391E-05
   7  Prefactor     .10000E-03    7.2161       -.11294E-06** at limit **
   8  norm          .10000E-03    .97282        .51146E-06** at limit **
   9  Prefactor     .10000E-03    28.612       -.67805E-06** at limit **
  10  norm          3.1950        2.6008       -.16042E-06   -.54789E-04
  11  Prefactor     17.305        30.427       -.63205E-05    .13758E-05
  12  norm          1.8547        9.3003       -.23787E-05   -.50960E-03
  13  norm          5.5818        2.0319        .87268E-07    .83552E-03
  14  Prefactor     5.2737        6.2425       -.27233E-06   -.11038E-03
  15  norm          22.845        13.391       -.61105E-06    .16837E-04
  16  Prefactor     5.4598        12.737       -.19950E-05   -.88293E-04
  17  Prefactor     51.349        33.512       -.50157E-06    .75482E-05
  18  Normalizat    1.2243        .22375        .68996E-05   -.22561E-03
  19  Prefactor     .99288        .10843       -.31995E-06    .28206E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.948232
  norm       = 0.0001
  Prefactor  = 5.27841
  Prefactor  = 0.0001
  Prefactor  = 43.3433
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100002
  norm       = 3.19498
  Prefactor  = 17.305
  norm       = 1.85472
  norm       = 5.58179
  Prefactor  = 5.27373
  norm       = 22.8455
  Prefactor  = 5.45977
  Prefactor  = 51.3485
  Normalizat = 1.22431
  Prefactor  = 0.99288
 **********
 **   18 **HESSE 
 **********

 FCN=   9200.472     FROM HESSE     STATUS=OK           272 CALLS     2126 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.164        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .94823        .25624        .24391E-04   -1.5513    
   3  norm          .10000E-03    14.520        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.2784        65.325        .17480E-03   -1.5248    
   5  Prefactor     .10000E-03    19.407        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     43.343        39.278        .60881E-04   -1.4390    
   7  Prefactor     .10000E-03    7.2211        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    7.9571        .18222E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    28.678        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.1950        2.6006        .13558E-03   -1.5350    
  11  Prefactor     17.305        30.410        .96269E-04   -1.4876    
  12  norm          1.8547        9.2697        .30620E-03   -1.5436    
  13  norm          5.5818        2.0228        .38616E-03   -1.5235    
  14  Prefactor     5.2737        6.2379        .17503E-03   -1.5249    
  15  norm          22.845        13.391        .83803E-04   -1.4752    
  16  Prefactor     5.4598        12.745        .17197E-03   -1.5241    
  17  Prefactor     51.349        33.527        .55967E-04   -1.4274    
  18  Normalizat    1.2243        .26905        .34382E-03   -.85855    
  19  Prefactor     .99288        .13196        .19183E-03   -.92967    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.0425e-09
Minuit parameter uncertainties:
  1  3.32358e-06
  2  0.256238
  3  1.07369e-06
  4  37.1882
  5  5.65297e-05
  6  39.3012
  7  6.96448e-06
  8  0.000118046
  9  0.000505347
  10  2.60072
  11  30.4373
  12  8.29466
  13  2.02283
  14  6.23867
  15  13.3925
  16  12.7515
  17  33.5393
  18  0.269353
  19  0.132004
Done.

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

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  1.000e-04  1.180e-04  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.929e-01  1.320e-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.224e+00  2.694e-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.02e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.80e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/707188/likelihoodResults_305164801_305424001_4FGL_J1548.3+1456_daily_bin254.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) = 9200.47259375
delta logL = -0.000601060201006

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9200.47199545
delta logL = -2.75494858215e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13761E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9703       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2239       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99310       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   9200.472     FROM MIGRAD    STATUS=FAILED       100 CALLS      262 TOTAL
                     EDM=   .86E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10235E-03    98.789        .17745E-02** at limit **
   2  alpha         2.2698        2.7130        .50000       -.26167E-05
   3  Normalizat    1.2243        .14485E-01    .34382E-03    .56871E-03
   4  Prefactor     .99288        .74124E-02    .19183E-03    .10833E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   9200.472     FROM SIMPLEX   STATUS=UNCHANGED    122 CALLS      384 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10235E-03    98.789        .57257E-03** at limit **
   2  alpha         2.2698        2.7130        .30065E-03   -.26167E-05
   3  Normalizat    1.2243        .14485E-01    .25627E-05    .56871E-03
   4  Prefactor     .99288        .74124E-02    .15922E-05    .10833E-02
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9200.173     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      481 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11932E-01    .27802E-01    .70981E-03    .14484E-01
   2  alpha         5.0000        3.9475        .50000    ** at limit **
   3  Normalizat    1.1569        .27324        .68764E-04    .21823E-05
   4  Prefactor     1.0139        .13423        .38366E-04   -.17779E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0119316
  alpha      = 5
  Normalizat = 1.15689
  Prefactor  = 1.01387
 **********
 **   18 **HESSE 
 **********

 FCN=   9200.173     FROM HESSE     STATUS=OK            29 CALLS      510 TOTAL
                     EDM=   .27E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11932E-01    .17288E-01    .13607E-04   -1.5686    
   2  alpha         5.0000        3.4257        .96050E-01   -4.7124    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1569        .26990        .13753E-04   -.87946    
   4  Prefactor     1.0139        .13365        .76733E-05   -.92269    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.6581e-13
Minuit parameter uncertainties:
  1  0.0172875
  2  5.04025e-07
  3  0.270228
  4  0.133697
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/707188': 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) = 9200.17313826
delta logL = 0.298854435376

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  1.193e-02  1.729e-02  1.000e-04  1.000e+04 ( 1.000e-12)
236        alpha:  5.000e+00  5.040e-07  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.014e+00  1.337e-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.157e+00  2.702e-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/707188/cmap_HighResolution_305164801_305424001_4FGL_J1548.3+1456_daily_bin254.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.80e-05', job_status='DONE', photon_flux_upper_limit='5.02e-08', time_completed='2021-09-12 13:31:37.530365', job_id='707188', GAL2='1.01', fit_tolerance='1e-08', EG2='1.16', EG='1.22', time_epoch_completed='1631478697.53', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='2.99e-01', ts2='0.66', photon_index_error='0.00', photon_index='1.91' WHERE bin_id='254' AND source_name='4FGL J1548.3+1456' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 13:31:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0094>
Subject: Job 707188: <4FGL_J1548.3+1456_daily_bin254> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1548.3+1456_daily_bin254 237.1 14.9461 305164801 305424001 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 :                                   665.23 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             333.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   799 sec.
    Turnaround time :                            972 sec.

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

