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


Performing analysis on: 4FGL_J1512.2+0202_daily_bin298
RA = 228.07, Dec = 2.0403
tmin = 316569601, tmax = 316828801
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='222183', job_status='RUN', time_executed='2021-09-11 09:38:22.438452', time_epoch_executed='1631378302.44' WHERE source_name='4FGL J1512.2+0202' and cadence='daily' and bin_id='298'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/222183

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/222183/ft1_4FGL_J1512.2+0202_daily_bin298.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/222183/ft2_4FGL_J1512.2+0202_daily_bin298.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/222183/ft1_4FGL_J1512.2+0202_daily_bin298.fits outfile=/scratch/kocevski/222183/ft1_filteredMKT_4FGL_J1512.2+0202_daily_bin298.fits ra=228.07 dec=2.0403 rad=12.0 tmin=316569601.0 tmax=316828801.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.53
user 3.29
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/222183/ft2_4FGL_J1512.2+0202_daily_bin298.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/222183/ft1_filteredMKT_4FGL_J1512.2+0202_daily_bin298.fits evtable="EVENTS" outfile="/scratch/kocevski/222183/ft1_filtered_4FGL_J1512.2+0202_daily_bin298.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/222183/ft1_filtered_4FGL_J1512.2+0202_daily_bin298.fits" evtable="EVENTS" scfile=/scratch/kocevski/222183/ft2_4FGL_J1512.2+0202_daily_bin298.fits sctable="SC_DATA" outfile=/scratch/kocevski/222183/ltcube_316569601_316828801_4FGL_J1512.2+0202_daily_bin298.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/222183/ft2_4FGL_J1512.2+0202_daily_bin298.fits
.....................!
real 11.86
user 11.43
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/222183/ft1_filtered_4FGL_J1512.2+0202_daily_bin298.fits evtable="EVENTS" scfile=/scratch/kocevski/222183/ft2_4FGL_J1512.2+0202_daily_bin298.fits sctable="SC_DATA" expcube=/scratch/kocevski/222183/ltcube_316569601_316828801_4FGL_J1512.2+0202_daily_bin298.fits outfile=/scratch/kocevski/222183/expmap_316569601_316828801_4FGL_J1512.2+0202_daily_bin298.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/222183/ltcube_316569601_316828801_4FGL_J1512.2+0202_daily_bin298.fits
.....................!
real 191.58
user 185.52
sys 5.58

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/222183/ft1_filtered_4FGL_J1512.2+0202_daily_bin298.fits scfile=/scratch/kocevski/222183/ft2_4FGL_J1512.2+0202_daily_bin298.fits outfile=/scratch/kocevski/222183/cmap_316569601_316828801_4FGL_J1512.2+0202_daily_bin298.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/222183/ft1_filtered_4FGL_J1512.2+0202_daily_bin298.fits scfile=/scratch/kocevski/222183/ft2_4FGL_J1512.2+0202_daily_bin298.fits outfile=/scratch/kocevski/222183/cmap_HighResolution_316569601_316828801_4FGL_J1512.2+0202_daily_bin298.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.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10911E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.1403       1.0000         .10000E-03   10000.    
     3 'norm      '    .28805E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    28.756       1.0000         .10000E-03   10000.    
     5 'norm      '    .62487       1.0000         .10000E-03   10000.    
     6 'norm      '    2.0891       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    5.9085       1.0000         .10000E-03   10000.    
     9 'norm      '    .48550       1.0000         .10000E-03   10000.    
    10 'norm      '    .57096       1.0000         .10000E-03   10000.    
    11 'Prefactor '    24.207       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.0965       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.5105       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10287E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.6411       1.0000         .10000E-03   10000.    
    17 'norm      '    2.0936       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.7277       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .76665       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=   9020.818     FROM MIGRAD    STATUS=CONVERGED    411 CALLS     2184 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10003E-03    296.50       -.44960E-04** at limit **
   2  Prefactor     2.0294        117.05       -.10007E-04   -.52622E-04
   3  norm          .10027E-03    11.622        .42945E-05** at limit **
   4  Prefactor     28.766        25.594       -.14849E-05   -.17249E-03
   5  norm          .62485        .21953        .36570E-07   -.77109E-03
   6  norm          2.0891        1.9895        .52423E-07   -.25038E-03
   7  norm          .10000E-03    1.7382        .24336E-08** at limit **
   8  norm          5.9087        5.4665        .28927E-06   -.53330E-04
   9  norm          .48531        2.9307        .21465E-05   -.90045E-04
  10  norm          .57102        .17589       -.21531E-07    .73751E-03
  11  Prefactor     24.202        17.974        .79510E-06   -.79908E-05
  12  Prefactor     .10000E-03    17.698       -.47737E-06** at limit **
  13  Prefactor     5.0958        4.5951        .37556E-06   -.43464E-04
  14  Prefactor     5.5004        42.250        .11922E-05   -.22486E-05
  15  Prefactor     .10000E-03    18.076        .47872E-06** at limit **
  16  Prefactor     8.6403        5.4402       -.73597E-07   -.16018E-03
  17  norm          2.0926        3.5659        .43520E-06   -.29554E-04
  18  Normalizat    1.7276        .23710       -.37290E-05   -.16452E-03
  19  Prefactor     .76668        .98721E-01    .57114E-06   -.51002E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100033
  Prefactor  = 2.02938
  norm       = 0.00010027
  Prefactor  = 28.7658
  norm       = 0.624849
  norm       = 2.08906
  norm       = 0.0001
  norm       = 5.90866
  norm       = 0.485313
  norm       = 0.571023
  Prefactor  = 24.2016
  Prefactor  = 0.0001
  Prefactor  = 5.09578
  Prefactor  = 5.50038
  Prefactor  = 0.0001
  Prefactor  = 8.64031
  norm       = 2.09257
  Normalizat = 1.72763
  Prefactor  = 0.766679
 **********
 **   18 **HESSE 
 **********

 FCN=   9020.818     FROM HESSE     STATUS=OK           272 CALLS     2456 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10003E-03    301.28        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.0294        116.50        .28174E-03   -1.5423    
   3  norm          .10027E-03    72.070        .54804E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     28.766        25.736        .74712E-04   -1.4635    
   5  norm          .62485        .21877        .25012E-04   -1.5550    
   6  norm          2.0891        1.9762        .12446E-03   -1.5419    
   7  norm          .10000E-03    1.7398        .12229E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.9087        5.4560        .16520E-03   -1.5222    
   9  norm          .48531        2.8895        .31433E-03   -1.5569    
  10  norm          .57102        .18880        .16428E-04   -1.5557    
  11  Prefactor     24.202        19.345        .81416E-04   -1.4724    
  12  Prefactor     .10000E-03    17.710        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.0958        4.5875        .17810E-03   -1.5256    
  14  Prefactor     5.5004        41.670        .17116E-03   -1.5239    
  15  Prefactor     .10000E-03    18.081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.6403        5.4257        .13636E-03   -1.5120    
  17  norm          2.0926        3.5195        .21799E-03   -1.5419    
  18  Normalizat    1.7276        .26949        .33646E-03   -.71568    
  19  Prefactor     .76668        .11365        .20767E-03   -1.0097    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.04698e-09
Minuit parameter uncertainties:
  1  0.00637213
  2  30.8139
  3  0.00882949
  4  25.7464
  5  0.218772
  6  1.97627
  7  8.76036e-07
  8  5.45641
  9  2.3683
  10  0.188796
  11  19.3495
  12  1.03726e-05
  13  4.58782
  14  30.3079
  15  2.64761e-05
  16  5.42603
  17  3.51981
  18  0.269721
  19  0.113683
Done.

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

Extracting fit parameters...

4FGL J1512.2+0202
   Spectrum: LogParabola
231         norm:  4.853e-01  2.368e+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:  7.667e-01  1.137e-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.728e+00  2.697e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/222183/likelihoodResults_316569601_316828801_4FGL_J1512.2+0202_daily_bin298.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9020.70451961
delta logL = 0.113312791398

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9020.70380257
delta logL = 0.114029830729

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .74316       1.0000         .10000E-03   10000.    
     2 'alpha     '    .96528       1.0000          .0000       5.0000    
     3 'Normalizat'    1.7310       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76460       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=   9020.704     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      264 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .74150        2.3193        .42176E-01    .14295E-02
   2  alpha         .96736        1.2262        .50000       -.53453E-04
   3  Normalizat    1.7309        .22117        .75985E-01   -.89386E-04
   4  Prefactor     .76465        .96503E-01    .43255E-01    .97159E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.741502
  alpha      = 0.967364
  Normalizat = 1.73093
  Prefactor  = 0.764646
 **********
 **   18 **HESSE 
 **********

 FCN=   9020.704     FROM HESSE     STATUS=OK            35 CALLS      299 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .74150        1.9130        .20069E-02   -1.5536    
   2  alpha         .96736        1.3539        .50028E-01   -.65992    
   3  Normalizat    1.7309        .25459        .33620E-03   -.71480    
   4  Prefactor     .76465        .11115        .20790E-03   -1.0104    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.57918e-08
Minuit parameter uncertainties:
  1  1.91313
  2  1.49173
  3  0.254781
  4  0.11118
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/222183': 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) = 9020.70379988
delta logL = 0.114032522328

Extracting fit parameters...

4FGL J1512.2+0202
   Spectrum: LogParabola
231         norm:  7.415e-01  1.913e+00  1.000e-04  1.000e+04 ( 1.000e-12)
232        alpha:  9.674e-01  1.492e+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:  7.646e-01  1.112e-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.731e+00  2.548e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.05
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/222183/cmap_HighResolution_316569601_316828801_4FGL_J1512.2+0202_daily_bin298.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.61e-05', job_status='DONE', photon_flux_upper_limit='5.78e-08', time_completed='2021-09-11 09:49:38.653111', job_id='222183', GAL2='0.76', fit_tolerance='1e-08', EG2='1.73', EG='1.73', time_epoch_completed='1631378978.65', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='1.14e-01', ts2='0.28', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='298' AND source_name='4FGL J1512.2+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 09:49:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 222183: <4FGL_J1512.2+0202_daily_bin298> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1512.2+0202_daily_bin298 228.07 2.0403 316569601 316828801 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 :                                   666.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             336.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   808 sec.
    Turnaround time :                            811 sec.

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

