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


Performing analysis on: 4FGL_J1512.2+0202_daily_bin330
RA = 228.07, Dec = 2.0403
tmin = 324864001, tmax = 325123201
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='222232', job_status='RUN', time_executed='2021-09-11 09:37:14.279066', time_epoch_executed='1631378234.28' WHERE source_name='4FGL J1512.2+0202' and cadence='daily' and bin_id='330'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/222232

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/222232/ft1_4FGL_J1512.2+0202_daily_bin330.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/222232/ft2_4FGL_J1512.2+0202_daily_bin330.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/222232/ft1_4FGL_J1512.2+0202_daily_bin330.fits outfile=/scratch/kocevski/222232/ft1_filteredMKT_4FGL_J1512.2+0202_daily_bin330.fits ra=228.07 dec=2.0403 rad=12.0 tmin=324864001.0 tmax=325123201.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 5.65
user 5.37
sys 0.26

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/222232/ft1_filtered_4FGL_J1512.2+0202_daily_bin330.fits" evtable="EVENTS" scfile=/scratch/kocevski/222232/ft2_4FGL_J1512.2+0202_daily_bin330.fits sctable="SC_DATA" outfile=/scratch/kocevski/222232/ltcube_324864001_325123201_4FGL_J1512.2+0202_daily_bin330.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/222232/ft2_4FGL_J1512.2+0202_daily_bin330.fits
.....................!
real 11.68
user 11.28
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/222232/ft1_filtered_4FGL_J1512.2+0202_daily_bin330.fits evtable="EVENTS" scfile=/scratch/kocevski/222232/ft2_4FGL_J1512.2+0202_daily_bin330.fits sctable="SC_DATA" expcube=/scratch/kocevski/222232/ltcube_324864001_325123201_4FGL_J1512.2+0202_daily_bin330.fits outfile=/scratch/kocevski/222232/expmap_324864001_325123201_4FGL_J1512.2+0202_daily_bin330.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/222232/ltcube_324864001_325123201_4FGL_J1512.2+0202_daily_bin330.fits
.....................!
real 192.02
user 186.09
sys 5.57

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/222232/ft1_filtered_4FGL_J1512.2+0202_daily_bin330.fits scfile=/scratch/kocevski/222232/ft2_4FGL_J1512.2+0202_daily_bin330.fits outfile=/scratch/kocevski/222232/cmap_324864001_325123201_4FGL_J1512.2+0202_daily_bin330.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.60
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/222232/ft1_filtered_4FGL_J1512.2+0202_daily_bin330.fits scfile=/scratch/kocevski/222232/ft2_4FGL_J1512.2+0202_daily_bin330.fits outfile=/scratch/kocevski/222232/cmap_HighResolution_324864001_325123201_4FGL_J1512.2+0202_daily_bin330.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.59
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    40.578       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.3744       1.0000         .10000E-03   10000.    
     5 'norm      '    .88002       1.0000         .10000E-03   10000.    
     6 'norm      '    .61947       1.0000         .10000E-03   10000.    
     7 'norm      '    .11309E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    13.286       1.0000         .10000E-03   10000.    
     9 'norm      '    .73670       1.0000         .10000E-03   10000.    
    10 'norm      '    .68175       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .18896E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11479E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .31383E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.0282       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.1022       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .92918       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=   8474.962     FROM MIGRAD    STATUS=CONVERGED    400 CALLS     1947 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     40.458        70.294       -.79816E-06   -.10046E-03
   2  Prefactor     .10000E-03    38.777       -.79562E-06** at limit **
   3  norm          .10000E-03    16.210       -.44877E-06** at limit **
   4  Prefactor     1.3697        57.097        .39138E-05    .56004E-05
   5  norm          .88014        .27255       -.35796E-07   -.12781E-02
   6  norm          .61974        1.6350        .86557E-06   -.65320E-04
   7  norm          .10000E-03    3.8169       -.19400E-06** at limit **
   8  norm          13.286        5.0826        .11378E-06   -.16967E-03
   9  norm          .73612        1.6444        .12939E-05    .15174E-02
  10  norm          .68176        .11555       -.39523E-08   -.18304E-02
  11  Prefactor     .10000E-03    9.6382        .73065E-07** at limit **
  12  Prefactor     .10000E-03    9.9896        .91456E-07** at limit **
  13  Prefactor     .10009E-03    2.5643        .17537E-05** at limit **
  14  Prefactor     .10000E-03    38.027        .96401E-06** at limit **
  15  Prefactor     .10000E-03    17.824        .14792E-06** at limit **
  16  Prefactor     .10000E-03    2.5647        .11087E-05** at limit **
  17  norm          3.0268        3.2943        .85910E-07   -.35229E-03
  18  Normalizat    1.1018        .22865        .16142E-05   -.81872E-03
  19  Prefactor     .92939        .10277       -.22682E-05   -.10820E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 40.458
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.36971
  norm       = 0.880143
  norm       = 0.619742
  norm       = 0.000100003
  norm       = 13.2864
  norm       = 0.736125
  norm       = 0.681763
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100088
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 3.02682
  Normalizat = 1.10177
  Prefactor  = 0.92939
 **********
 **   18 **HESSE 
 **********

 FCN=   8474.962     FROM HESSE     STATUS=OK           270 CALLS     2217 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     40.458        70.476        .31463E-03   -1.4435    
   2  Prefactor     .10000E-03    39.226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    16.422        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.3697        57.968        .37165E-03   -1.5474    
   5  norm          .88014        .26866        .24654E-04   -1.5520    
   6  norm          .61974        1.5953        .17931E-03   -1.5551    
   7  norm          .10000E-03    15.619        .34740E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          13.286        5.0819        .10989E-03   -1.4979    
   9  norm          .73612        1.4992        .19457E-02   -1.5536    
  10  norm          .68176        .11519        .12313E-04   -1.5543    
  11  Prefactor     .10000E-03    9.8755        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    9.9926        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10009E-03    10.205        .25239E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    38.806        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    17.829        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.0050        .27477E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.0268        3.2754        .16814E-03   -1.5360    
  18  Normalizat    1.1018        .25973        .36205E-03   -.89695    
  19  Prefactor     .92939        .11379        .17779E-03   -.95122    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1468e-08
Minuit parameter uncertainties:
  1  70.6219
  2  1.74571e-05
  3  5.91371e-06
  4  17.8391
  5  0.268658
  6  1.5954
  7  0.000458753
  8  5.08205
  9  1.49925
  10  0.115187
  11  1.50125e-05
  12  1.20473e-07
  13  0.0018989
  14  3.06266e-05
  15  1.81756e-05
  16  0.000233164
  17  3.27563
  18  0.260034
  19  0.113816
Done.

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

Extracting fit parameters...

4FGL J1512.2+0202
   Spectrum: LogParabola
231         norm:  7.361e-01  1.499e+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.294e-01  1.138e-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.102e+00  2.600e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/222232/likelihoodResults_324864001_325123201_4FGL_J1512.2+0202_daily_bin330.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) = 8474.95458714
delta logL = 0.00774621615165

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8474.95410707
delta logL = 0.00822628639798

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .78483       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7964       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1025       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92918       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=   8474.954     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      212 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .78418        111.57        .38241E-01   -.82292E-03
   2  alpha         1.7934        4.0652        .43428       -.21691E-04
   3  Normalizat    1.1025        .59781E-01    .81750E-01    .21628E-03
   4  Prefactor     .92919        .27480E-01    .45376E-01   -.27294E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.784184
  alpha      = 1.79339
  Normalizat = 1.10252
  Prefactor  = 0.929187
 **********
 **   18 **HESSE 
 **********

 FCN=   8474.954     FROM HESSE     STATUS=OK            35 CALLS      247 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .78418        1.6116        .20046E-02   -1.5531    
   2  alpha         1.7934        1.2883        .44262E-01   -.28655    
   3  Normalizat    1.1025        .24528        .36192E-03   -.89671    
   4  Prefactor     .92919        .11252        .17781E-03   -.95129    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4642e-09
Minuit parameter uncertainties:
  1  1.61168
  2  1.35999
  3  0.245531
  4  0.112553
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/222232': 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) = 8474.95410434
delta logL = 0.00822902525761

Extracting fit parameters...

4FGL J1512.2+0202
   Spectrum: LogParabola
231         norm:  7.842e-01  1.612e+00  1.000e-04  1.000e+04 ( 1.000e-12)
232        alpha:  1.793e+00  1.360e+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.292e-01  1.126e-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.103e+00  2.455e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.36
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/222232/cmap_HighResolution_324864001_325123201_4FGL_J1512.2+0202_daily_bin330.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.67e-05', job_status='DONE', photon_flux_upper_limit='4.27e-08', time_completed='2021-09-11 09:48:16.399947', job_id='222232', GAL2='0.93', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1631378896.4', return_code2='0', ts='0.36', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='8.23e-03', ts2='0.38', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='330' AND source_name='4FGL J1512.2+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 09:48:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0272>
Subject: Job 222232: <4FGL_J1512.2+0202_daily_bin330> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1512.2+0202_daily_bin330 228.07 2.0403 324864001 325123201 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 :                                   637.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             310.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   39 MB
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   725 sec.
    Turnaround time :                            725 sec.

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

