/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 123 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 = 7648
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1512.2+0202_daily_bin1014
RA = 228.07, Dec = 2.0403
tmin = 502156801, tmax = 502416001
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='225587', job_status='RUN', time_executed='2021-09-11 09:48:29.989310', time_epoch_executed='1631378909.99' WHERE source_name='4FGL J1512.2+0202' and cadence='daily' and bin_id='1014'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/225587

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/225587/ft1_4FGL_J1512.2+0202_daily_bin1014.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/225587/ft2_4FGL_J1512.2+0202_daily_bin1014.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/225587/ft1_4FGL_J1512.2+0202_daily_bin1014.fits outfile=/scratch/kocevski/225587/ft1_filteredMKT_4FGL_J1512.2+0202_daily_bin1014.fits ra=228.07 dec=2.0403 rad=12.0 tmin=502156801.0 tmax=502416001.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.04
user 2.82
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/225587/ft2_4FGL_J1512.2+0202_daily_bin1014.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/225587/ft2_4FGL_J1512.2+0202_daily_bin1014.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/225587/ft1_filteredMKT_4FGL_J1512.2+0202_daily_bin1014.fits evtable="EVENTS" outfile="/scratch/kocevski/225587/ft1_filtered_4FGL_J1512.2+0202_daily_bin1014.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.41
user 0.26
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/225587/ft1_filtered_4FGL_J1512.2+0202_daily_bin1014.fits" evtable="EVENTS" scfile=/scratch/kocevski/225587/ft2_4FGL_J1512.2+0202_daily_bin1014.fits sctable="SC_DATA" outfile=/scratch/kocevski/225587/ltcube_502156801_502416001_4FGL_J1512.2+0202_daily_bin1014.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/225587/ft2_4FGL_J1512.2+0202_daily_bin1014.fits
.....................!
real 8.87
user 8.57
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/225587/ft1_filtered_4FGL_J1512.2+0202_daily_bin1014.fits evtable="EVENTS" scfile=/scratch/kocevski/225587/ft2_4FGL_J1512.2+0202_daily_bin1014.fits sctable="SC_DATA" expcube=/scratch/kocevski/225587/ltcube_502156801_502416001_4FGL_J1512.2+0202_daily_bin1014.fits outfile=/scratch/kocevski/225587/expmap_502156801_502416001_4FGL_J1512.2+0202_daily_bin1014.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/225587/ltcube_502156801_502416001_4FGL_J1512.2+0202_daily_bin1014.fits
.....................!
real 140.15
user 136.06
sys 3.83

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 152 point sources and 0 extended sources

Setting source of interest to:
4FGL J1512.2+0202 @ 228.07 2.0403

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/225587/ft1_filtered_4FGL_J1512.2+0202_daily_bin1014.fits scfile=/scratch/kocevski/225587/ft2_4FGL_J1512.2+0202_daily_bin1014.fits outfile=/scratch/kocevski/225587/cmap_502156801_502416001_4FGL_J1512.2+0202_daily_bin1014.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=228.07 yref=2.0403 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.46
user 0.29
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/225587/ft1_filtered_4FGL_J1512.2+0202_daily_bin1014.fits scfile=/scratch/kocevski/225587/ft2_4FGL_J1512.2+0202_daily_bin1014.fits outfile=/scratch/kocevski/225587/cmap_HighResolution_502156801_502416001_4FGL_J1512.2+0202_daily_bin1014.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=228.07 yref=2.0403 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.45
user 0.29
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/225587/ft1_filtered_4FGL_J1512.2+0202_daily_bin1014.fits evtable="EVENTS" scfile=/scratch/kocevski/225587/ft2_4FGL_J1512.2+0202_daily_bin1014.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/225587/Model_4FGL_J1512.2+0202_daily_bin1014.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/225587/ft1_filtered_4FGL_J1512.2+0202_daily_bin1014.fits.....................!
real 47.69
user 46.43
sys 0.96

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/225587/ft1_filtered_4FGL_J1512.2+0202_daily_bin1014.fits', '/scratch/kocevski/225587/ft2_4FGL_J1512.2+0202_daily_bin1014.fits', expMap='/scratch/kocevski/225587/expmap_502156801_502416001_4FGL_J1512.2+0202_daily_bin1014.fits', expCube='/scratch/kocevski/225587/ltcube_502156801_502416001_4FGL_J1512.2+0202_daily_bin1014.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/225587/Model_4FGL_J1512.2+0202_daily_bin1014.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1512.2+0202'

4FGL J1512.2+0202
   Spectrum: LogParabola
231         norm:  2.359e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
232        alpha:  1.968e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
233         beta:  1.575e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
234           Eb:  1.032e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/225587/ft1_filtered_4FGL_J1512.2+0202_daily_bin1014.fits
Spacecraft file(s): /scratch/kocevski/225587/ft2_4FGL_J1512.2+0202_daily_bin1014.fits
Exposure map: /scratch/kocevski/225587/expmap_502156801_502416001_4FGL_J1512.2+0202_daily_bin1014.fits
Exposure cube: /scratch/kocevski/225587/ltcube_502156801_502416001_4FGL_J1512.2+0202_daily_bin1014.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/225587/Model_4FGL_J1512.2+0202_daily_bin1014.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) = 8229.15937185

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11771E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    14.257       1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.787       1.0000         .10000E-03   10000.    
     5 'norm      '    3.4916       1.0000         .10000E-03   10000.    
     6 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    4.9823       1.0000         .10000E-03   10000.    
     8 'norm      '    .22368E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .21535       1.0000         .10000E-03   10000.    
    10 'norm      '    .36184       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10325E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    30.975       1.0000         .10000E-03   10000.    
    15 'Prefactor '    34.400       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.3070       1.0000         .10000E-03   10000.    
    17 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.2380       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .99457       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8229.063     FROM MIGRAD    STATUS=CONVERGED     83 CALLS     1354 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 13.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10003E-03    66.529       -.10124E-03** at limit **
   2  Prefactor     .10000E-03    34.694       -.26446E-04** at limit **
   3  norm          14.258        1.0187       -.35184E-06   -.69709E-04
   4  Prefactor     10.784        1.0141        .35560E-07    .22193E-04
   5  norm          3.4916        .38623       -.17161E-07    .10032E-01
   6  norm          .10000E-03    2.9178       -.78993E-06** at limit **
   7  norm          4.9819        1.1605       -.18787E-05   -.35461E-02
   8  norm          .10000E-03    15.567        .13563E-05** at limit **
   9  norm          .23021        7.7674        .76251E-06   -.83307E-04
  10  norm          .36178        .12099       -.18166E-06   -.52430E-02
  11  Prefactor     .10048E-03    23.880        .12524E-04** at limit **
  12  Prefactor     .10043E-03    40.442        .88664E-04** at limit **
  13  Prefactor     .10000E-03    4.5381        .70632E-07** at limit **
  14  Prefactor     30.977        1.0518        .46452E-06   -.19322E-03
  15  Prefactor     34.385        5.0313       -.71713E-05    .66448E-02
  16  Prefactor     2.3062        5.1036        .26236E-05    .14991E-03
  17  norm          .10000E-03    1.1785       -.22655E-06** at limit **
  18  Normalizat    1.2384        .27641       -.59280E-05    .21078E-03
  19  Prefactor     .99432        .12591        .20967E-05    .36794E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100031
  Prefactor  = 0.000100004
  norm       = 14.2582
  Prefactor  = 10.784
  norm       = 3.49158
  norm       = 0.0001
  norm       = 4.98187
  norm       = 0.000100001
  norm       = 0.23021
  norm       = 0.36178
  Prefactor  = 0.000100481
  Prefactor  = 0.000100429
  Prefactor  = 0.0001
  Prefactor  = 30.9769
  Prefactor  = 34.3845
  Prefactor  = 2.30623
  norm       = 0.0001
  Normalizat = 1.23839
  Prefactor  = 0.994317
 **********
 **   18 **HESSE 
 **********

 FCN=   8229.063     FROM HESSE     STATUS=OK           326 CALLS     1680 TOTAL
                     EDM=   .30E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10003E-03    80.506        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    34.608        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          14.258        13.379        .26520E-02   -1.4953    
   4  Prefactor     10.784        17.173        .30497E-02   -1.5051    
   5  norm          3.4916        .38651        .40658E-02   -1.5334    
   6  norm          .10000E-03    1.4997        .35784E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.9819        5.0844        .45042E-02   -1.5262    
   8  norm          .10000E-03    3.9871        .59978E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .23021        2.5932        .45312E-01   -1.5612    
  10  norm          .36178        .14416        .39738E-02   -1.5588    
  11  Prefactor     .10048E-03    10.859        .90712E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10043E-03    51.310        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.4517        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     30.977        27.611        .17998E-02   -1.4594    
  15  Prefactor     34.385        46.899        .17081E-02   -1.4535    
  16  Prefactor     2.3062        5.1931        .67537E-02   -1.5404    
  17  norm          .10000E-03    1.1759        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2384        .24234        .87274E-01   -.85425    
  19  Prefactor     .99432        .10838        .46199E-01   -.92919    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.04599e-07
Minuit parameter uncertainties:
  1  0.0031636
  2  0.000697171
  3  13.3823
  4  17.1811
  5  0.386506
  6  4.9486e-05
  7  5.08482
  8  9.37399e-05
  9  1.54503
  10  0.14416
  11  0.00457213
  12  0.00938807
  13  4.7381e-06
  14  27.6222
  15  46.9492
  16  5.19411
  17  2.18452e-05
  18  0.242564
  19  0.108406
Done.

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

Extracting fit parameters...

4FGL J1512.2+0202
   Spectrum: LogParabola
231         norm:  2.302e-01  1.545e+00  1.000e-04  1.000e+04 ( 1.000e-12)
232        alpha:  1.968e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
233         beta:  1.575e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
234           Eb:  1.032e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
499    Prefactor:  9.943e-01  1.084e-01  0.000e+00  1.000e+01 ( 1.000e+00)
500        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
501        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
498   Normalization:  1.238e+00  2.426e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 228.070 2.040
Photon Flux Upper Limit: 6.38e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.99e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/225587/likelihoodResults_502156801_502416001_4FGL_J1512.2+0202_daily_bin1014.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) = 8229.0541152
delta logL = 0.00862914838945

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8229.05094445
delta logL = 0.0117998955757

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8229.051     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      231 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .39730        33.914        .40470E-01    .73584E-03
   2  alpha         2.5246        3.6765        .41154        .31402E-04
   3  Normalizat    1.2353        .29046E-01    .87370E-01    .25357E-04
   4  Prefactor     .99429        .13254E-01    .46196E-01    .16830E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.397299
  alpha      = 2.52459
  Normalizat = 1.23531
  Prefactor  = 0.994289
 **********
 **   18 **HESSE 
 **********

 FCN=   8229.051     FROM HESSE     STATUS=OK            35 CALLS      266 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .39730        12.205        .23221E-02   -1.5582    
   2  alpha         2.5246        3.3541        .87831E-01    .98353E-02
   3  Normalizat    1.2353        .27540        .38690E-03   -.85518    
   4  Prefactor     .99429        .12593        .19336E-03   -.92920    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.04222e-09
Minuit parameter uncertainties:
  1  4.40457
  2  6.03108
  3  0.275724
  4  0.12597
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/225587': 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) = 8229.05094441
delta logL = 0.0117999314352

Extracting fit parameters...

4FGL J1512.2+0202
   Spectrum: LogParabola
231         norm:  3.973e-01  4.405e+00  1.000e-04  1.000e+04 ( 1.000e-12)
232        alpha:  2.525e+00  6.031e+00  0.000e+00  5.000e+00 ( 1.000e+00)
233         beta:  1.575e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
234           Eb:  1.032e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
499    Prefactor:  9.943e-01  1.260e-01  0.000e+00  1.000e+01 ( 1.000e+00)
500        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
501        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
498   Normalization:  1.235e+00  2.757e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 228.070 2.040

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/225587/cmap_HighResolution_502156801_502416001_4FGL_J1512.2+0202_daily_bin1014.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.99e-05', job_status='DONE', photon_flux_upper_limit='6.38e-08', time_completed='2021-09-11 09:55:43.685336', job_id='225587', GAL2='0.99', fit_tolerance='1e-08', EG2='1.24', EG='1.24', time_epoch_completed='1631379343.69', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='1.18e-02', ts2='0.03', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='1014' AND source_name='4FGL J1512.2+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 09:55:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 225587: <4FGL_J1512.2+0202_daily_bin1014> in cluster <slac> Done

Job <4FGL_J1512.2+0202_daily_bin1014> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Sep 11 09:46:16 2021
Job was executed on host(s) <bullet0189>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 09:46:18 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 11 09:46:18 2021
Terminated at Sat Sep 11 09:55:44 2021
Results reported at Sat Sep 11 09:55:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1512.2+0202_daily_bin1014 228.07 2.0403 502156801 502416001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1512.2+0202 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   424.30 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             327.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   565 sec.
    Turnaround time :                            568 sec.

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

