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


Performing analysis on: 4FGL_J1512.2+0202_daily_bin1080
RA = 228.07, Dec = 2.0403
tmin = 519264001, tmax = 519523201
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='225686', job_status='RUN', time_executed='2021-09-11 09:48:25.364041', time_epoch_executed='1631378905.36' WHERE source_name='4FGL J1512.2+0202' and cadence='daily' and bin_id='1080'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/225686

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/225686/ft1_4FGL_J1512.2+0202_daily_bin1080.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/225686/ft2_4FGL_J1512.2+0202_daily_bin1080.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/225686/ft1_4FGL_J1512.2+0202_daily_bin1080.fits outfile=/scratch/kocevski/225686/ft1_filteredMKT_4FGL_J1512.2+0202_daily_bin1080.fits ra=228.07 dec=2.0403 rad=12.0 tmin=519264001.0 tmax=519523201.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.50
user 3.27
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/225686/ft2_4FGL_J1512.2+0202_daily_bin1080.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/225686/ft1_filteredMKT_4FGL_J1512.2+0202_daily_bin1080.fits evtable="EVENTS" outfile="/scratch/kocevski/225686/ft1_filtered_4FGL_J1512.2+0202_daily_bin1080.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.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/225686/ft1_filtered_4FGL_J1512.2+0202_daily_bin1080.fits" evtable="EVENTS" scfile=/scratch/kocevski/225686/ft2_4FGL_J1512.2+0202_daily_bin1080.fits sctable="SC_DATA" outfile=/scratch/kocevski/225686/ltcube_519264001_519523201_4FGL_J1512.2+0202_daily_bin1080.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/225686/ft2_4FGL_J1512.2+0202_daily_bin1080.fits
.....................!
real 11.98
user 11.60
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/225686/ft1_filtered_4FGL_J1512.2+0202_daily_bin1080.fits evtable="EVENTS" scfile=/scratch/kocevski/225686/ft2_4FGL_J1512.2+0202_daily_bin1080.fits sctable="SC_DATA" expcube=/scratch/kocevski/225686/ltcube_519264001_519523201_4FGL_J1512.2+0202_daily_bin1080.fits outfile=/scratch/kocevski/225686/expmap_519264001_519523201_4FGL_J1512.2+0202_daily_bin1080.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/225686/ltcube_519264001_519523201_4FGL_J1512.2+0202_daily_bin1080.fits
.....................!
real 190.20
user 184.74
sys 4.96

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/225686/ft1_filtered_4FGL_J1512.2+0202_daily_bin1080.fits scfile=/scratch/kocevski/225686/ft2_4FGL_J1512.2+0202_daily_bin1080.fits outfile=/scratch/kocevski/225686/cmap_519264001_519523201_4FGL_J1512.2+0202_daily_bin1080.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/225686/ft1_filtered_4FGL_J1512.2+0202_daily_bin1080.fits scfile=/scratch/kocevski/225686/ft2_4FGL_J1512.2+0202_daily_bin1080.fits outfile=/scratch/kocevski/225686/cmap_HighResolution_519264001_519523201_4FGL_J1512.2+0202_daily_bin1080.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.55
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/225686/ft1_filtered_4FGL_J1512.2+0202_daily_bin1080.fits', '/scratch/kocevski/225686/ft2_4FGL_J1512.2+0202_daily_bin1080.fits', expMap='/scratch/kocevski/225686/expmap_519264001_519523201_4FGL_J1512.2+0202_daily_bin1080.fits', expCube='/scratch/kocevski/225686/ltcube_519264001_519523201_4FGL_J1512.2+0202_daily_bin1080.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/225686/Model_4FGL_J1512.2+0202_daily_bin1080.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/225686/ft1_filtered_4FGL_J1512.2+0202_daily_bin1080.fits
Spacecraft file(s): /scratch/kocevski/225686/ft2_4FGL_J1512.2+0202_daily_bin1080.fits
Exposure map: /scratch/kocevski/225686/expmap_519264001_519523201_4FGL_J1512.2+0202_daily_bin1080.fits
Exposure cube: /scratch/kocevski/225686/ltcube_519264001_519523201_4FGL_J1512.2+0202_daily_bin1080.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/225686/Model_4FGL_J1512.2+0202_daily_bin1080.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) = 7908.50394322

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    70.561       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    41.209       1.0000         .10000E-03   10000.    
     5 'norm      '    1.2433       1.0000         .10000E-03   10000.    
     6 'norm      '    12.065       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    5.6821       1.0000         .10000E-03   10000.    
     9 'norm      '    6.5587       1.0000         .10000E-03   10000.    
    10 'norm      '    .47445       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.199       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    128.20       1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.5770       1.0000         .10000E-03   10000.    
    17 'norm      '    5.9003       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.0536       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .99752       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7908.493     FROM MIGRAD    STATUS=CONVERGED    371 CALLS     1858 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     70.548        74.451       -.21954E-05   -.13602E-03
   2  Prefactor     .10002E-03    23.391        .64478E-05** at limit **
   3  norm          .10000E-03    12.812       -.17212E-05** at limit **
   4  Prefactor     41.213        28.643        .89672E-06    .14433E-03
   5  norm          1.2434        .26217       -.26231E-08   -.11320E-03
   6  norm          12.066        3.7954       -.69486E-07   -.42843E-03
   7  norm          .10000E-03    2.5020        .25026E-07** at limit **
   8  norm          5.6820        5.4214        .30637E-05   -.12698E-02
   9  norm          6.5586        4.3099       -.21457E-06   -.32730E-03
  10  norm          .47448        .13177       -.37486E-07   -.27959E-03
  11  Prefactor     .10000E-03    4.8879       -.10701E-07** at limit **
  12  Prefactor     .10002E-03    28.701       -.63324E-05** at limit **
  13  Prefactor     12.200        6.4699        .41800E-07   -.55745E-04
  14  Prefactor     .10000E-03    11.265        .95817E-06** at limit **
  15  Prefactor     128.20        72.339        .21937E-06    .18275E-04
  16  Prefactor     7.5767        5.2199        .75280E-07   -.12411E-03
  17  norm          5.9001        4.3420       -.13628E-06   -.35693E-03
  18  Normalizat    1.0533        .25888       -.36419E-06   -.27715E-04
  19  Prefactor     .99764        .11147       -.32165E-06    .10176E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 70.5482
  Prefactor  = 0.000100017
  norm       = 0.000100001
  Prefactor  = 41.2128
  norm       = 1.24339
  norm       = 12.0659
  norm       = 0.0001
  norm       = 5.68203
  norm       = 6.5586
  norm       = 0.474481
  Prefactor  = 0.0001
  Prefactor  = 0.000100016
  Prefactor  = 12.1996
  Prefactor  = 0.0001
  Prefactor  = 128.199
  Prefactor  = 7.57668
  norm       = 5.90011
  Normalizat = 1.05331
  Prefactor  = 0.997636
 **********
 **   18 **HESSE 
 **********

 FCN=   7908.493     FROM HESSE     STATUS=OK           266 CALLS     2124 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     70.548        75.365        .47789E-04   -1.4026    
   2  Prefactor     .10002E-03    25.116        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    12.994        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     41.213        28.843        .62444E-04   -1.4423    
   5  norm          1.2434        .26301        .19866E-04   -1.5485    
   6  norm          12.066        3.8108        .90076E-04   -1.5013    
   7  norm          .10000E-03    2.5052        .13738E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.6820        5.7011        .84256E-03   -1.5231    
   9  norm          6.5586        4.3133        .14385E-03   -1.5196    
  10  norm          .47448        .13165        .16248E-04   -1.5570    
  11  Prefactor     .10000E-03    4.9021        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10002E-03    30.322        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     12.200        6.4728        .11469E-03   -1.5009    
  14  Prefactor     .10000E-03    11.315        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     128.20        72.371        .35557E-04   -1.3439    
  16  Prefactor     7.5767        5.2173        .14569E-03   -1.5157    
  17  norm          5.9001        4.3478        .15273E-03   -1.5222    
  18  Normalizat    1.0533        .29573        .41133E-03   -.91265    
  19  Prefactor     .99764        .12785        .19263E-03   -.92808    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.57028e-09
Minuit parameter uncertainties:
  1  75.4673
  2  0.00131121
  3  0.000266302
  4  28.8524
  5  0.263008
  6  3.81087
  7  1.24056e-06
  8  5.70161
  9  4.31352
  10  0.131648
  11  1.79483e-06
  12  0.00140449
  13  6.47321
  14  0.000137607
  15  72.4211
  16  5.21765
  17  4.34801
  18  0.296197
  19  0.12789
Done.

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

Extracting fit parameters...

4FGL J1512.2+0202
   Spectrum: LogParabola
231         norm:  6.559e+00  4.314e+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.976e-01  1.279e-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.053e+00  2.962e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.52
Ra Dec: 228.070 2.040
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 4.54e-08 +/- 2.98e-08
Energy Flux (Fixed Index): 2.83e-05 +/- 1.86e-05

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) = 7908.21740596
delta logL = 0.275475532591

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7908.18255168
delta logL = 0.310329805963

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.4542       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4074       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0704       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99567       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=   7908.183     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      206 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.4627        3.6828        .43013E-02    .45227E-03
   2  alpha         1.4091        .49486        .47741       -.10479E-03
   3  Normalizat    1.0705        .23934        .92252E-01    .16550E-03
   4  Prefactor     .99562        .10964        .46213E-01    .12545E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.46267
  alpha      = 1.40915
  Normalizat = 1.07054
  Prefactor  = 0.99562
 **********
 **   18 **HESSE 
 **********

 FCN=   7908.183     FROM HESSE     STATUS=OK            31 CALLS      237 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.4627        4.2782        .13641E-03   -1.5240    
   2  alpha         1.4091        .63264        .19096E-01   -.45153    
   3  Normalizat    1.0705        .27050        .40863E-03   -.90703    
   4  Prefactor     .99562        .12460        .19286E-03   -.92876    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.88191e-10
Minuit parameter uncertainties:
  1  4.27839
  2  0.641296
  3  0.270849
  4  0.124635
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/225686': 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) = 7908.18254769
delta logL = 0.310333798992

Extracting fit parameters...

4FGL J1512.2+0202
   Spectrum: LogParabola
231         norm:  5.463e+00  4.278e+00  1.000e-04  1.000e+04 ( 1.000e-12)
232        alpha:  1.409e+00  6.413e-01  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.956e-01  1.246e-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.071e+00  2.708e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.15
Ra Dec: 228.070 2.040
Photon Index (Free Index): 1.41 +/- 0.64
Photon Flux (Free Index): 2.36e-08 +/- 2.29e-08
Energy Flux (Free Index): 4.18e-05 +/- 3.99e-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/225686/cmap_HighResolution_519264001_519523201_4FGL_J1512.2+0202_daily_bin1080.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.54e-08', energy_flux2='4.18e-05', photon_flux_error='2.98e-08', dlogl='3.10e-01', energy_flux='2.83e-05', photon_flux2='2.36e-08', job_status='DONE', time_completed='2021-09-11 09:57:34.718990', photon_index_error2='0.64', photon_index2='1.41', ts='6.52', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='3.99e-05', EG='1.05', time_epoch_completed='1631379454.72', return_code='0', job_id='225686', GAL2='1.00', EG2='1.07', return_code2='0', energy_flux_error='1.86e-05', photon_flux_error2='2.29e-08', ts2='7.15', photon_index='1.97' WHERE bin_id='1080' AND source_name='4FGL J1512.2+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 09:57:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0195>
Subject: Job 225686: <4FGL_J1512.2+0202_daily_bin1080> in cluster <slac> Done

Job <4FGL_J1512.2+0202_daily_bin1080> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Sep 11 09:46:23 2021
Job was executed on host(s) <bullet0195>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 09:46:25 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:25 2021
Terminated at Sat Sep 11 09:57:35 2021
Results reported at Sat Sep 11 09:57:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1512.2+0202_daily_bin1080 228.07 2.0403 519264001 519523201 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 :                                   538.40 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             305.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   670 sec.
    Turnaround time :                            672 sec.

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

