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


Performing analysis on: 4FGL_J1548.3+1456_daily_bin275
RA = 237.1, Dec = 14.9461
tmin = 310608001, tmax = 310867201
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='707219', job_status='RUN', time_executed='2021-09-12 13:19:49.313551', time_epoch_executed='1631477989.31' WHERE source_name='4FGL J1548.3+1456' and cadence='daily' and bin_id='275'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/707219

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/707219/ft1_4FGL_J1548.3+1456_daily_bin275.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/707219/ft2_4FGL_J1548.3+1456_daily_bin275.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/707219/ft1_4FGL_J1548.3+1456_daily_bin275.fits outfile=/scratch/kocevski/707219/ft1_filteredMKT_4FGL_J1548.3+1456_daily_bin275.fits ra=237.1 dec=14.9461 rad=12.0 tmin=310608001.0 tmax=310867201.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.54
user 3.28
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/707219/ft1_filtered_4FGL_J1548.3+1456_daily_bin275.fits" evtable="EVENTS" scfile=/scratch/kocevski/707219/ft2_4FGL_J1548.3+1456_daily_bin275.fits sctable="SC_DATA" outfile=/scratch/kocevski/707219/ltcube_310608001_310867201_4FGL_J1548.3+1456_daily_bin275.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/707219/ft2_4FGL_J1548.3+1456_daily_bin275.fits
.....................!
real 14.41
user 14.05
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/707219/ft1_filtered_4FGL_J1548.3+1456_daily_bin275.fits evtable="EVENTS" scfile=/scratch/kocevski/707219/ft2_4FGL_J1548.3+1456_daily_bin275.fits sctable="SC_DATA" expcube=/scratch/kocevski/707219/ltcube_310608001_310867201_4FGL_J1548.3+1456_daily_bin275.fits outfile=/scratch/kocevski/707219/expmap_310608001_310867201_4FGL_J1548.3+1456_daily_bin275.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/707219/ltcube_310608001_310867201_4FGL_J1548.3+1456_daily_bin275.fits
.....................!
real 195.38
user 188.25
sys 5.10

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/707219/ft1_filtered_4FGL_J1548.3+1456_daily_bin275.fits scfile=/scratch/kocevski/707219/ft2_4FGL_J1548.3+1456_daily_bin275.fits outfile=/scratch/kocevski/707219/cmap_310608001_310867201_4FGL_J1548.3+1456_daily_bin275.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.94
user 0.39
sys 0.17

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .27250       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10307E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    46.421       1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.534       1.0000         .10000E-03   10000.    
     7 'Prefactor '    33.222       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .26149E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.6605       1.0000         .10000E-03   10000.    
    13 'norm      '    3.7006       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.3008       1.0000         .10000E-03   10000.    
    15 'norm      '    13.241       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.1835       1.0000         .10000E-03   10000.    
    17 'Prefactor '    30.806       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .67510       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.2057       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=   8700.166     FROM MIGRAD    STATUS=CONVERGED    377 CALLS     1854 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    27.546       -.68925E-05** at limit **
   2  norm          .27253        .18707        .10478E-07    .24999E-03
   3  norm          .10000E-03    18.283        .50726E-06** at limit **
   4  Prefactor     .10000E-03    54.434        .86137E-06** at limit **
   5  Prefactor     46.413        37.533       -.69584E-05   -.59916E-05
   6  Prefactor     11.534        24.054        .11001E-05    .45214E-06
   7  Prefactor     33.236        26.097        .86670E-05    .97312E-04
   8  norm          .10000E-03    .65385        .68179E-07** at limit **
   9  Prefactor     .10000E-03    7.5964       -.68788E-07** at limit **
  10  norm          .10000E-03    1.5902       -.79002E-06** at limit **
  11  Prefactor     .10000E-03    28.712        .84465E-05** at limit **
  12  norm          1.6612        1.1408        .14944E-06   -.17970E-02
  13  norm          3.7005        1.8788       -.49164E-07   -.44828E-04
  14  Prefactor     6.3004        12.648       -.25754E-06   -.11135E-04
  15  norm          13.243        13.770       -.13684E-06    .19362E-05
  16  Prefactor     4.1859        13.628       -.10375E-05   -.15223E-04
  17  Prefactor     30.800        40.752       -.79184E-05   -.74903E-05
  18  Normalizat    .67481        .24092        .26524E-05    .41687E-04
  19  Prefactor     1.2057        .11890       -.40838E-06    .19413E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.272526
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 46.413
  Prefactor  = 11.5342
  Prefactor  = 33.236
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 1.66124
  norm       = 3.70055
  Prefactor  = 6.30043
  norm       = 13.243
  Prefactor  = 4.18587
  Prefactor  = 30.7998
  Normalizat = 0.674806
  Prefactor  = 1.20574
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    27.545        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .27253        .18105        .32174E-03   -1.5604    
   3  norm          .10000E-03    18.285        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    54.697        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     46.413        37.579        .58849E-04   -1.4344    
   6  Prefactor     11.534        24.031        .11796E-03   -1.5029    
   7  Prefactor     33.236        26.127        .69521E-04   -1.4554    
   8  norm          .10000E-03    .65811        .73644E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.5985        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    3.5745        .22783E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    28.673        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.6612        6.2657        .16370E-02   -1.5450    
  13  norm          3.7005        1.9132        .87863E-04   -1.5323    
  14  Prefactor     6.3004        12.629        .15991E-03   -1.5206    
  15  norm          13.243        13.760        .11008E-03   -1.4980    
  16  Prefactor     4.1859        13.588        .19704E-03   -1.5299    
  17  Prefactor     30.800        40.776        .72189E-04   -1.4597    
  18  Normalizat    .67481        .26748        .43006E-03   -1.0490    
  19  Prefactor     1.2057        .13495        .17080E-03   -.86155    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.69412e-09
Minuit parameter uncertainties:
  1  1.17586e-06
  2  0.181048
  3  9.67423e-07
  4  5.06665e-05
  5  37.5977
  6  24.0514
  7  26.1364
  8  7.56982e-08
  9  7.04175e-07
  10  9.98307e-05
  11  9.12332e-06
  12  6.26815
  13  1.9132
  14  12.6347
  15  13.7628
  16  13.5978
  17  40.8133
  18  0.267994
  19  0.134992
Done.

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

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  1.000e-04  7.570e-08  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.206e+00  1.350e-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:  6.748e-01  2.680e-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: 3.42e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.59e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/707219/likelihoodResults_310608001_310867201_4FGL_J1548.3+1456_daily_bin275.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) = 8700.16611136
delta logL = -3.40713449987e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8700.16610795
delta logL = -9.40417521633e-10

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8700.166     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      244 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    87.306        .73644E-03** at limit **
   2  alpha         1.9182        3.3890        .50000       -.12637E-05
   3  Normalizat    .67481        .74394E-01    .43006E-03    .91994E-05
   4  Prefactor     1.2057        .38767E-01    .17080E-03    .31151E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  alpha      = 1.9182
  Normalizat = 0.674807
  Prefactor  = 1.20574
 **********
 **   18 **HESSE 
 **********

 FCN=   8700.166     FROM HESSE     STATUS=OK            29 CALLS      273 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .94018        .14729E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9182        3.4141        .50000       -.23487    
   3  Normalizat    .67481        .25419        .17202E-04   -1.0490    
   4  Prefactor     1.2057        .13264        .68319E-05   -.86155    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.21154e-09
Minuit parameter uncertainties:
  1  6.56518e-05
  2  94.2542
  3  0.254632
  4  0.132674
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/707219': 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) = 8700.16610795
delta logL = 2.75213096756e-09

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  1.000e-04  6.565e-05  1.000e-04  1.000e+04 ( 1.000e-12)
236        alpha:  1.918e+00  9.425e+01  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.206e+00  1.327e-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:  6.748e-01  2.546e-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/707219/cmap_HighResolution_310608001_310867201_4FGL_J1548.3+1456_daily_bin275.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.59e-05', job_status='DONE', photon_flux_upper_limit='3.42e-08', time_completed='2021-09-12 13:30:18.022587', job_id='707219', GAL2='1.21', fit_tolerance='1e-08', EG2='0.67', EG='0.67', time_epoch_completed='1631478618.02', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.21', dlogl='2.75e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.91' WHERE bin_id='275' AND source_name='4FGL J1548.3+1456' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 13:30:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0152>
Subject: Job 707219: <4FGL_J1548.3+1456_daily_bin275> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1548.3+1456_daily_bin275 237.1 14.9461 310608001 310867201 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 :                                   622.45 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             326.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   701 sec.
    Turnaround time :                            891 sec.

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

