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


Performing analysis on: 4FGL_J1512.2+0202_daily_bin192
RA = 228.07, Dec = 2.0403
tmin = 289094401, tmax = 289353601
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='220854', job_status='RUN', time_executed='2021-09-11 09:31:57.494691', time_epoch_executed='1631377917.49' WHERE source_name='4FGL J1512.2+0202' and cadence='daily' and bin_id='192'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/220854

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/220854/ft1_4FGL_J1512.2+0202_daily_bin192.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/220854/ft2_4FGL_J1512.2+0202_daily_bin192.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/220854/ft1_4FGL_J1512.2+0202_daily_bin192.fits outfile=/scratch/kocevski/220854/ft1_filteredMKT_4FGL_J1512.2+0202_daily_bin192.fits ra=228.07 dec=2.0403 rad=12.0 tmin=289094401.0 tmax=289353601.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.55
user 3.34
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/220854/ft1_filtered_4FGL_J1512.2+0202_daily_bin192.fits evtable="EVENTS" scfile=/scratch/kocevski/220854/ft2_4FGL_J1512.2+0202_daily_bin192.fits sctable="SC_DATA" expcube=/scratch/kocevski/220854/ltcube_289094401_289353601_4FGL_J1512.2+0202_daily_bin192.fits outfile=/scratch/kocevski/220854/expmap_289094401_289353601_4FGL_J1512.2+0202_daily_bin192.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/220854/ltcube_289094401_289353601_4FGL_J1512.2+0202_daily_bin192.fits
.....................!
real 191.22
user 186.39
sys 4.48

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/220854/ft1_filtered_4FGL_J1512.2+0202_daily_bin192.fits scfile=/scratch/kocevski/220854/ft2_4FGL_J1512.2+0202_daily_bin192.fits outfile=/scratch/kocevski/220854/cmap_289094401_289353601_4FGL_J1512.2+0202_daily_bin192.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.50
user 0.37
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/220854/ft1_filtered_4FGL_J1512.2+0202_daily_bin192.fits scfile=/scratch/kocevski/220854/ft2_4FGL_J1512.2+0202_daily_bin192.fits outfile=/scratch/kocevski/220854/cmap_HighResolution_289094401_289353601_4FGL_J1512.2+0202_daily_bin192.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/220854/ft1_filtered_4FGL_J1512.2+0202_daily_bin192.fits evtable="EVENTS" scfile=/scratch/kocevski/220854/ft2_4FGL_J1512.2+0202_daily_bin192.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/220854/Model_4FGL_J1512.2+0202_daily_bin192.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/220854/ft1_filtered_4FGL_J1512.2+0202_daily_bin192.fits.....................!
real 66.72
user 65.40
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    45.426       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10814E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .12463E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    20.116       1.0000         .10000E-03   10000.    
     5 'norm      '    .21397       1.0000         .10000E-03   10000.    
     6 'norm      '    3.9975       1.0000         .10000E-03   10000.    
     7 'norm      '    .53300       1.0000         .10000E-03   10000.    
     8 'norm      '    3.9713       1.0000         .10000E-03   10000.    
     9 'norm      '    .18411E-01   1.0000         .10000E-03   10000.    
    10 'norm      '    .32280       1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.803       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12358E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .64789E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.3505       1.0000         .10000E-03   10000.    
    17 'norm      '    1.6076       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .68180       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.2760       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=   8411.412     FROM MIGRAD    STATUS=CONVERGED    440 CALLS     2382 TOTAL
                     EDM=   .47E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     45.240        80.274        .15489E-05    .10687E-04
   2  Prefactor     .10000E-03    55.924        .14488E-05** at limit **
   3  norm          .10000E-03    108.33        .54388E-05** at limit **
   4  Prefactor     20.103        25.571       -.25441E-06   -.26305E-04
   5  norm          .21398        .12828        .16832E-07   -.17160E-03
   6  norm          3.9957        2.4963       -.14223E-07   -.12655E-03
   7  norm          .53336        5.0300       -.32229E-06   -.11712E-04
   8  norm          3.9725        4.6658        .14135E-06   -.33146E-04
   9  norm          .44863E-01    99.749        .29063E-06   -.41847E-05
  10  norm          .32288        .14846        .23107E-07   -.51402E-03
  11  Prefactor     15.797        16.023       -.65680E-07    .95858E-05
  12  Prefactor     .10000E-03    14.900        .59366E-07** at limit **
  13  Prefactor     .10000E-03    12.952       -.15989E-05** at limit **
  14  Prefactor     .10000E-03    11.956        .25166E-06** at limit **
  15  Prefactor     .10000E-03    388.40        .15395E-05** at limit **
  16  Prefactor     8.3502        5.6064       -.28166E-06   -.15205E-03
  17  norm          1.6081        4.3266        .38833E-06   -.82351E-05
  18  Normalizat    .68196        .26776        .74855E-06   -.10318E-03
  19  Prefactor     1.2757        .12291       -.11208E-05   -.10303E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 45.2403
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 20.1031
  norm       = 0.213982
  norm       = 3.99573
  norm       = 0.533361
  norm       = 3.97247
  norm       = 0.0448633
  norm       = 0.322879
  Prefactor  = 15.7973
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 8.35023
  norm       = 1.60812
  Normalizat = 0.681959
  Prefactor  = 1.27574
 **********
 **   18 **HESSE 
 **********

 FCN=   8411.412     FROM HESSE     STATUS=OK           286 CALLS     2668 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     45.240        80.766        .29744E-03   -1.4362    
   2  Prefactor     .10000E-03    56.230        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    110.07        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     20.103        25.507        .89301E-04   -1.4811    
   5  norm          .21398        .12749        .24495E-04   -1.5615    
   6  norm          3.9957        2.4688        .10609E-03   -1.5308    
   7  norm          .53336        5.0528        .40260E-03   -1.5562    
   8  norm          3.9725        4.6529        .20240E-03   -1.5309    
   9  norm          .44863E-01    4.1773        .49821E-01   -1.5666    
  10  norm          .32288        .15769        .18053E-04   -1.5594    
  11  Prefactor     15.797        17.171        .10075E-03   -1.4913    
  12  Prefactor     .10000E-03    14.908        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    12.848        .33103E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    11.962        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    395.04        .18822E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.3502        5.5808        .69365E-03   -1.5130    
  17  norm          1.6081        4.3054        .29484E-03   -1.5454    
  18  Normalizat    .68196        .27964        .48128E-03   -1.0461    
  19  Prefactor     1.2757        .12718        .17079E-03   -.84031    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.41985e-10
Minuit parameter uncertainties:
  1  80.9627
  2  0.000146286
  3  0.000299824
  4  25.5205
  5  0.127488
  6  2.46884
  7  3.28332
  8  4.65333
  9  0.864907
  10  0.157686
  11  17.1766
  12  1.46405e-06
  13  5.09849e-05
  14  3.1939e-06
  15  0.00117239
  16  5.58115
  17  4.3062
  18  0.280223
  19  0.127213
Done.

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

Extracting fit parameters...

4FGL J1512.2+0202
   Spectrum: LogParabola
231         norm:  4.486e-02  8.649e-01  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:  1.276e+00  1.272e-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:  6.820e-01  2.802e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/220854/likelihoodResults_289094401_289353601_4FGL_J1512.2+0202_daily_bin192.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8411.40164527
delta logL = 0.0101954817928

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8411.27605095
delta logL = 0.135789804313

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3432       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6662       1.0000          .0000       5.0000    
     3 'Normalizat'    .67145       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2727       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=   8411.276     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      232 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3392        101.28        .94503E-02    .12680E-02
   2  alpha         2.6667        3.4176        .41267        .48796E-04
   3  Normalizat    .67155        .57376E-01    .10927        .46469E-04
   4  Prefactor     1.2727        .27439E-01    .33103E-01   -.21051E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.33925
  alpha      = 2.66675
  Normalizat = 0.671554
  Prefactor  = 1.27268
 **********
 **   18 **HESSE 
 **********

 FCN=   8411.276     FROM HESSE     STATUS=OK            33 CALLS      265 TOTAL
                     EDM=   .86E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3392        3.3911        .20881E-03   -1.5477    
   2  alpha         2.6667        1.0906        .25661E-01    .66749E-01
   3  Normalizat    .67155        .26223        .48453E-03   -1.0503    
   4  Prefactor     1.2727        .12438        .17092E-03   -.84123    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.56829e-09
Minuit parameter uncertainties:
  1  3.39157
  2  1.12873
  3  0.262718
  4  0.12441
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/220854': 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) = 8411.27605007
delta logL = 0.13579068637

Extracting fit parameters...

4FGL J1512.2+0202
   Spectrum: LogParabola
231         norm:  1.339e+00  3.392e+00  1.000e-04  1.000e+04 ( 1.000e-12)
232        alpha:  2.667e+00  1.129e+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:  1.273e+00  1.244e-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:  6.716e-01  2.627e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
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/220854/cmap_HighResolution_289094401_289353601_4FGL_J1512.2+0202_daily_bin192.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.91e-05', job_status='DONE', photon_flux_upper_limit='7.86e-08', time_completed='2021-09-11 09:42:42.930555', job_id='220854', GAL2='1.27', fit_tolerance='1e-08', EG2='0.67', EG='0.68', time_epoch_completed='1631378562.93', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.28', dlogl='1.36e-01', ts2='0.28', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='192' AND source_name='4FGL J1512.2+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 09:42:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 220854: <4FGL_J1512.2+0202_daily_bin192> in cluster <slac> Done

Job <4FGL_J1512.2+0202_daily_bin192> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep 11 09:31:43 2021
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 09:31:45 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:31:45 2021
Terminated at Sat Sep 11 09:42:44 2021
Results reported at Sat Sep 11 09:42:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1512.2+0202_daily_bin192 228.07 2.0403 289094401 289353601 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 :                                   641.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             313.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   658 sec.
    Turnaround time :                            661 sec.

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

