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


Performing analysis on: 4FGL_J1512.2+0202_daily_bin429
RA = 228.07, Dec = 2.0403
tmin = 350524801, tmax = 350784001
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='222382', job_status='RUN', time_executed='2021-09-11 09:37:29.051919', time_epoch_executed='1631378249.05' WHERE source_name='4FGL J1512.2+0202' and cadence='daily' and bin_id='429'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/222382

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/222382/ft1_4FGL_J1512.2+0202_daily_bin429.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/222382/ft2_4FGL_J1512.2+0202_daily_bin429.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/222382/ft1_4FGL_J1512.2+0202_daily_bin429.fits outfile=/scratch/kocevski/222382/ft1_filteredMKT_4FGL_J1512.2+0202_daily_bin429.fits ra=228.07 dec=2.0403 rad=12.0 tmin=350524801.0 tmax=350784001.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.36
user 3.15
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/222382/ft2_4FGL_J1512.2+0202_daily_bin429.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/222382/ft1_filteredMKT_4FGL_J1512.2+0202_daily_bin429.fits evtable="EVENTS" outfile="/scratch/kocevski/222382/ft1_filtered_4FGL_J1512.2+0202_daily_bin429.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/222382/ft1_filtered_4FGL_J1512.2+0202_daily_bin429.fits" evtable="EVENTS" scfile=/scratch/kocevski/222382/ft2_4FGL_J1512.2+0202_daily_bin429.fits sctable="SC_DATA" outfile=/scratch/kocevski/222382/ltcube_350524801_350784001_4FGL_J1512.2+0202_daily_bin429.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/222382/ft2_4FGL_J1512.2+0202_daily_bin429.fits
.....................!
real 12.04
user 11.69
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/222382/ft1_filtered_4FGL_J1512.2+0202_daily_bin429.fits evtable="EVENTS" scfile=/scratch/kocevski/222382/ft2_4FGL_J1512.2+0202_daily_bin429.fits sctable="SC_DATA" expcube=/scratch/kocevski/222382/ltcube_350524801_350784001_4FGL_J1512.2+0202_daily_bin429.fits outfile=/scratch/kocevski/222382/expmap_350524801_350784001_4FGL_J1512.2+0202_daily_bin429.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/222382/ltcube_350524801_350784001_4FGL_J1512.2+0202_daily_bin429.fits
.....................!
real 192.00
user 185.85
sys 5.82

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/222382/ft1_filtered_4FGL_J1512.2+0202_daily_bin429.fits scfile=/scratch/kocevski/222382/ft2_4FGL_J1512.2+0202_daily_bin429.fits outfile=/scratch/kocevski/222382/cmap_350524801_350784001_4FGL_J1512.2+0202_daily_bin429.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/222382/ft1_filtered_4FGL_J1512.2+0202_daily_bin429.fits scfile=/scratch/kocevski/222382/ft2_4FGL_J1512.2+0202_daily_bin429.fits outfile=/scratch/kocevski/222382/cmap_HighResolution_350524801_350784001_4FGL_J1512.2+0202_daily_bin429.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.51
user 0.36
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    .10930E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.8942       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.8669       1.0000         .10000E-03   10000.    
     5 'norm      '    .25274       1.0000         .10000E-03   10000.    
     6 'norm      '    5.8755       1.0000         .10000E-03   10000.    
     7 'norm      '    3.7820       1.0000         .10000E-03   10000.    
     8 'norm      '    7.0628       1.0000         .10000E-03   10000.    
     9 'norm      '    10.234       1.0000         .10000E-03   10000.    
    10 'norm      '    3.1364       1.0000         .10000E-03   10000.    
    11 'Prefactor '    33.503       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .15821E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .62624       1.0000         .10000E-03   10000.    
    17 'norm      '    5.7381       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.6979       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .84243       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=   10303.48     FROM MIGRAD    STATUS=CONVERGED    390 CALLS     1885 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.491        .16202E-05** at limit **
   2  Prefactor     .10000E-03    13.026       -.61304E-07** at limit **
   3  norm          4.8723        15.326        .14188E-06   -.31989E-04
   4  Prefactor     6.8564        19.216       -.10263E-05   -.97910E-04
   5  norm          .25268        .16518        .19632E-07   -.40516E-04
   6  norm          5.8750        2.5789        .72838E-07   -.10513E-04
   7  norm          3.7820        3.8486        .23513E-06    .36458E-03
   8  norm          7.0635        5.1671        .18835E-06    .53678E-04
   9  norm          10.234        4.3601       -.31563E-06   -.63670E-03
  10  norm          3.1363        .29925       -.24381E-07    .10034E-02
  11  Prefactor     33.510        21.975        .93372E-06    .17225E-03
  12  Prefactor     .10000E-03    20.197       -.24072E-05** at limit **
  13  Prefactor     .10000E-03    1.8982       -.49408E-07** at limit **
  14  Prefactor     .10000E-03    43.192       -.25493E-05** at limit **
  15  Prefactor     .10000E-03    34.166        .31074E-05** at limit **
  16  Prefactor     .62584        3.3449        .24600E-05   -.57772E-03
  17  norm          5.7347        3.9134       -.12900E-06   -.17581E-03
  18  Normalizat    1.6983        .22948       -.12534E-06   -.73342E-04
  19  Prefactor     .84224        .10057       -.31752E-06   -.80653E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 4.87234
  Prefactor  = 6.85643
  norm       = 0.252682
  norm       = 5.87503
  norm       = 3.78205
  norm       = 7.06355
  norm       = 10.2338
  norm       = 3.13626
  Prefactor  = 33.5101
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100003
  Prefactor  = 0.625843
  norm       = 5.73474
  Normalizat = 1.69825
  Prefactor  = 0.842241
 **********
 **   18 **HESSE 
 **********

 FCN=   10303.48     FROM HESSE     STATUS=OK           272 CALLS     2157 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.815        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    13.029        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.8723        15.346        .18182E-03   -1.5266    
   4  Prefactor     6.8564        19.429        .15311E-03   -1.5184    
   5  norm          .25268        .15917        .31636E-03   -1.5607    
   6  norm          5.8750        2.5863        .10255E-03   -1.5223    
   7  norm          3.7820        3.8878        .19775E-03   -1.5319    
   8  norm          7.0635        5.1656        .15095E-03   -1.5176    
   9  norm          10.234        4.4178        .12525E-03   -1.5068    
  10  norm          3.1363        .30813        .14201E-04   -1.5354    
  11  Prefactor     33.510        22.697        .69230E-04   -1.4550    
  12  Prefactor     .10000E-03    20.889        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.9178        .13653E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    44.624        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    35.350        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .62584        4.0014        .38075E-03   -1.5550    
  17  norm          5.7347        3.9071        .15964E-03   -1.5229    
  18  Normalizat    1.6983        .26559        .36371E-03   -.72350    
  19  Prefactor     .84224        .11611        .22259E-03   -.98190    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.36239e-09
Minuit parameter uncertainties:
  1  0.000268422
  2  2.3032e-06
  3  15.3582
  4  19.4473
  5  0.15917
  6  2.58634
  7  3.88807
  8  5.16589
  9  4.41794
  10  0.308127
  11  22.7028
  12  0.000412808
  13  2.46995e-06
  14  0.000583037
  15  0.000702315
  16  3.16502
  17  3.90729
  18  0.265811
  19  0.116139
Done.

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

Extracting fit parameters...

4FGL J1512.2+0202
   Spectrum: LogParabola
231         norm:  1.023e+01  4.418e+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:  8.422e-01  1.161e-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.698e+00  2.658e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 21.75
Ra Dec: 228.070 2.040
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 7.08e-08 +/- 3.06e-08
Energy Flux (Fixed Index): 4.42e-05 +/- 1.91e-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) = 10303.4549878
delta logL = 0.0255750336109

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10303.4544084
delta logL = 0.0261544142904

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.354       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8703       1.0000          .0000       5.0000    
     3 'Normalizat'    1.7037       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84148       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10303.45     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      233 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.354        4.5344        .12452E-03   -.12980E-02
   2  alpha         1.8703        .42935        .14179E-01   -.14128E-03
   3  Normalizat    1.7036        .25338        .36331E-03    .88993E-04
   4  Prefactor     .84150        .11473        .22271E-03    .16989E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 10.3542
  alpha      = 1.87025
  Normalizat = 1.70364
  Prefactor  = 0.841497
 **********
 **   18 **HESSE 
 **********

 FCN=   10303.45     FROM HESSE     STATUS=OK            23 CALLS      256 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.354        4.5271        .24904E-04   -1.5064    
   2  alpha         1.8703        .42860        .56715E-03   -.25464    
   3  Normalizat    1.7036        .25355        .14533E-04   -.72206    
   4  Prefactor     .84150        .11483        .89084E-05   -.98216    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.98752e-10
Minuit parameter uncertainties:
  1  4.52729
  2  0.430875
  3  0.253742
  4  0.114858
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/222382': 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) = 10303.4544084
delta logL = 0.0261544480345

Extracting fit parameters...

4FGL J1512.2+0202
   Spectrum: LogParabola
231         norm:  1.035e+01  4.527e+00  1.000e-04  1.000e+04 ( 1.000e-12)
232        alpha:  1.870e+00  4.309e-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:  8.415e-01  1.149e-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.704e+00  2.537e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 21.76
Ra Dec: 228.070 2.040
Photon Index (Free Index): 1.87 +/- 0.43
Photon Flux (Free Index): 6.43e-08 +/- 3.96e-08
Energy Flux (Free Index): 4.69e-05 +/- 2.43e-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/222382/cmap_HighResolution_350524801_350784001_4FGL_J1512.2+0202_daily_bin429.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.08e-08', energy_flux2='4.69e-05', photon_flux_error='3.06e-08', dlogl='2.62e-02', energy_flux='4.42e-05', photon_flux2='6.43e-08', job_status='DONE', time_completed='2021-09-11 09:48:36.634816', photon_index_error2='0.43', photon_index2='1.87', ts='21.75', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='2.43e-05', EG='1.70', time_epoch_completed='1631378916.63', return_code='0', job_id='222382', GAL2='0.84', EG2='1.70', return_code2='0', energy_flux_error='1.91e-05', photon_flux_error2='3.96e-08', ts2='21.76', photon_index='1.97' WHERE bin_id='429' AND source_name='4FGL J1512.2+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 09:48:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0128>
Subject: Job 222382: <4FGL_J1512.2+0202_daily_bin429> in cluster <slac> Done

Job <4FGL_J1512.2+0202_daily_bin429> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Sep 11 09:36:22 2021
Job was executed on host(s) <bullet0128>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 09:36:24 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:36:24 2021
Terminated at Sat Sep 11 09:48:37 2021
Results reported at Sat Sep 11 09:48:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1512.2+0202_daily_bin429 228.07 2.0403 350524801 350784001 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 :                                   646.04 sec.
    Max Memory :                                 1209 MB
    Average Memory :                             360.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   732 sec.
    Turnaround time :                            735 sec.

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

