aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 97 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7681
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1512.2+0202_daily_bin1780
RA = 228.07, Dec = 2.0403
tmin = 700704001, tmax = 700963201
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='68010', job_status='RUN', time_executed='2023-03-20 01:12:00.663517', time_epoch_executed='1679299920.66' WHERE source_name='4FGL J1512.2+0202' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/68010

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/68010/ft1_4FGL_J1512.2+0202_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/68010/ft2_4FGL_J1512.2+0202_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/68010/ft1_4FGL_J1512.2+0202_daily_bin1780.fits outfile=/scratch/kocevski/68010/ft1_filteredMKT_4FGL_J1512.2+0202_daily_bin1780.fits ra=228.07 dec=2.0403 rad=12.0 tmin=700704001.0 tmax=700963201.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 4.09
user 3.85
sys 0.21

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

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

Number of photons that the gtmktime cut: 678

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/68010/ft1_filtered_4FGL_J1512.2+0202_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/68010/ft2_4FGL_J1512.2+0202_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/68010/ltcube_700704001_700963201_4FGL_J1512.2+0202_daily_bin1780.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/68010/ft2_4FGL_J1512.2+0202_daily_bin1780.fits
.....................!
real 15.06
user 14.71
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/68010/ft1_filtered_4FGL_J1512.2+0202_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/68010/ft2_4FGL_J1512.2+0202_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/68010/ltcube_700704001_700963201_4FGL_J1512.2+0202_daily_bin1780.fits outfile=/scratch/kocevski/68010/expmap_700704001_700963201_4FGL_J1512.2+0202_daily_bin1780.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/68010/ltcube_700704001_700963201_4FGL_J1512.2+0202_daily_bin1780.fits
.....................!
real 192.43
user 187.18
sys 4.84

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/68010/ft1_filtered_4FGL_J1512.2+0202_daily_bin1780.fits scfile=/scratch/kocevski/68010/ft2_4FGL_J1512.2+0202_daily_bin1780.fits outfile=/scratch/kocevski/68010/cmap_700704001_700963201_4FGL_J1512.2+0202_daily_bin1780.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/68010/ft1_filtered_4FGL_J1512.2+0202_daily_bin1780.fits scfile=/scratch/kocevski/68010/ft2_4FGL_J1512.2+0202_daily_bin1780.fits outfile=/scratch/kocevski/68010/cmap_HighResolution_700704001_700963201_4FGL_J1512.2+0202_daily_bin1780.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.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/68010/ft1_filtered_4FGL_J1512.2+0202_daily_bin1780.fits', '/scratch/kocevski/68010/ft2_4FGL_J1512.2+0202_daily_bin1780.fits', expMap='/scratch/kocevski/68010/expmap_700704001_700963201_4FGL_J1512.2+0202_daily_bin1780.fits', expCube='/scratch/kocevski/68010/ltcube_700704001_700963201_4FGL_J1512.2+0202_daily_bin1780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/68010/Model_4FGL_J1512.2+0202_daily_bin1780.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  0.000e+00  1.000e+06 ( 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 -5.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/68010/ft1_filtered_4FGL_J1512.2+0202_daily_bin1780.fits
Spacecraft file(s): /scratch/kocevski/68010/ft2_4FGL_J1512.2+0202_daily_bin1780.fits
Exposure map: /scratch/kocevski/68010/expmap_700704001_700963201_4FGL_J1512.2+0202_daily_bin1780.fits
Exposure cube: /scratch/kocevski/68010/ltcube_700704001_700963201_4FGL_J1512.2+0202_daily_bin1780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/68010/Model_4FGL_J1512.2+0202_daily_bin1780.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) = 7448.14858926

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29414E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    1.4679       1.0000          .0000       .10000E+07
     3 'norm      '    .13833       1.0000          .0000       .10000E+07
     4 'Prefactor '    59.708       1.0000          .0000       .10000E+07
     5 'norm      '    .45571       1.0000          .0000       .10000E+07
     6 'norm      '    .37692       1.0000          .0000       .10000E+07
     7 'norm      '    .16874E-03   1.0000          .0000       .10000E+07
     8 'norm      '    12.882       1.0000          .0000       .10000E+07
     9 'norm      '    1.0089       1.0000          .0000       .10000E+07
    10 'norm      '    .71298E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .26327E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    2.8481       1.0000          .0000       .10000E+07
    13 'Prefactor '    15.353       1.0000          .0000       .10000E+07
    14 'Prefactor '    .52315E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .12946E-04   1.0000          .0000       .10000E+07
    16 'norm      '    .93887E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.3266       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .83683       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7448.129     FROM MIGRAD    STATUS=CONVERGED    138 CALLS     1377 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .91294E-06    20.146        .14595E-05** at limit **
   2  Prefactor     1.8868        10.814       -.68041E-06    .36672E-01
   3  norm          .99747E-04    81.179        .15909E-05** at limit **
   4  Prefactor     60.236        7.0909       -.93319E-07   -.91419E-01
   5  norm          .45547        .18083       -.27826E-07    .55800E-03
   6  norm          .38022        3.3586        .11039E-05   -.12261E-02
   7  norm          .11102E-09    2.4515       -.25439E-06** at limit **
   8  norm          12.834        5.4503        .39415E-07    .11144E-02
   9  norm          1.0081        2.5349        .23506E-06    .96111E-04
  10  norm          .71584E-02    .10043        .34699E-07** at limit **
  11  Prefactor     .11102E-09    8.0056       -.13076E-05** at limit **
  12  Prefactor     2.8696        3.8196        .95203E-07   -.68683E-04
  13  Prefactor     15.445        2.8572       -.86181E-07   -.15485E-01
  14  Prefactor     .43304E-06    22.128        .67951E-06** at limit **
  15  Prefactor     .55511E-10    2.8790       -.37838E-06** at limit **
  16  norm          .55511E-10    3.1594        .41399E-07** at limit **
  17  Normalizat    1.3255        .26049       -.80776E-05   -.45254E-04
  18  Prefactor     .83709        .11411        .29115E-05   -.10450E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.12936e-07
  Prefactor  = 1.88678
  norm       = 9.97473e-05
  Prefactor  = 60.2365
  norm       = 0.455471
  norm       = 0.380216
  norm       = 1.11022e-10
  norm       = 12.8337
  norm       = 1.00806
  norm       = 0.00715844
  Prefactor  = 1.11022e-10
  Prefactor  = 2.86959
  Prefactor  = 15.4453
  Prefactor  = 4.33042e-07
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  Normalizat = 1.32553
  Prefactor  = 0.837088
 **********
 **   18 **HESSE 
 **********

 FCN=   7448.129     FROM HESSE     STATUS=OK           294 CALLS     1671 TOTAL
                     EDM=   .72E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .91294E-06    28.611        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.8868        111.54        .88693E-03   -1.5680    
   3  norm          .99747E-04    13.748        .12996E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     60.236        28.825        .12942E-03   -1.5553    
   5  norm          .45547        .18231        .50230E-03   -1.5694    
   6  norm          .38022        1.7711        .34529E-02   -1.5696    
   7  norm          .11102E-09    2.4493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          12.834        5.4525        .27883E-03   -1.5636    
   9  norm          1.0081        2.5639        .44078E-03   -1.5688    
  10  norm          .71584E-02    .40759E-01    .64671E-03   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .11102E-09    7.9814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.8696        3.8291        .60221E-03   -1.5674    
  13  Prefactor     15.445        26.114        .25535E-03   -1.5629    
  14  Prefactor     .43304E-06    26.211        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    2.8593        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .55511E-10    3.1497        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.3255        .22696        .73905E-01   -.82807    
  18  Prefactor     .83709        .97170E-01    .44195E-01   -.98375    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.20748e-07
Minuit parameter uncertainties:
  1  0.0102217
  2  29.0146
  3  0.0740619
  4  28.825
  5  0.182315
  6  1.64123
  7  3.61076e-05
  8  5.45255
  9  2.56386
  10  0.0341627
  11  5.35917e-05
  12  3.82909
  13  26.1138
  14  0.00673812
  15  1.89634e-05
  16  2.79762e-05
  17  0.227135
  18  0.0971897
Done.

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

Extracting fit parameters...

4FGL J1512.2+0202
   Spectrum: LogParabola
231         norm:  1.008e+00  2.564e+00  0.000e+00  1.000e+06 ( 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 -5.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.371e-01  9.719e-02  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.326e+00  2.271e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/68010/likelihoodResults_700704001_700963201_4FGL_J1512.2+0202_daily_bin1780.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) = 7448.12543153
delta logL = 0.00332360147877

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7448.12507784
delta logL = 0.00367728820493

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0542       1.0000          .0000       .10000E+07
     2 'alpha     '    2.2083       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3226       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83758       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=   7448.125     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      284 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0546        2.6132        .21624E-03   -.21590E-02
   2  alpha         2.2089        3.5735        .66995E-01   -.17380E-04
   3  Normalizat    1.3227        .25898        .32735E-03   -.34382E-04
   4  Prefactor     .83752        .11411        .17799E-03   -.19181E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.05456
  alpha      = 2.20892
  Normalizat = 1.32265
  Prefactor  = 0.837523
 **********
 **   18 **HESSE 
 **********

 FCN=   7448.125     FROM HESSE     STATUS=OK            27 CALLS      311 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0546        2.5539        .86496E-05   -1.5687    
   2  alpha         2.2089        3.5666        .26798E-02   -.11670    
   3  Normalizat    1.3227        .25811        .13094E-04   -.82893    
   4  Prefactor     .83752        .11401        .35598E-04   -.98360    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.26971e-10
Minuit parameter uncertainties:
  1  2.55393
  2  2.99815
  3  0.258362
  4  0.114039
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/68010': 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) = 7448.12507763
delta logL = 0.00367750241821

Extracting fit parameters...

4FGL J1512.2+0202
   Spectrum: LogParabola
231         norm:  1.055e+00  2.554e+00  0.000e+00  1.000e+06 ( 1.000e-12)
232        alpha:  2.209e+00  2.998e+00  0.000e+00  5.000e+00 ( 1.000e+00)
233         beta:  1.575e-01  0.000e+00 -5.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.375e-01  1.140e-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.323e+00  2.584e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.21
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/68010/cmap_HighResolution_700704001_700963201_4FGL_J1512.2+0202_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.04e-05', job_status='DONE', photon_flux_upper_limit='6.46e-08', time_completed='2023-03-20 01:21:00.119772', job_id='68010', GAL2='0.84', fit_tolerance='1e-08', EG2='1.32', EG='1.33', time_epoch_completed='1679300460.12', return_code2='0', ts='0.21', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='3.68e-03', ts2='0.22', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='1780' AND source_name='4FGL J1512.2+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 01:21:00 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 68010: <4FGL_J1512.2+0202_daily_bin1780> in cluster <slac> Done

Job <4FGL_J1512.2+0202_daily_bin1780> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Mar 20 01:10:14 2023
Job was executed on host(s) <bullet0072>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 01:10:15 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 01:10:15 2023
Terminated at Mon Mar 20 01:21:00 2023
Results reported at Mon Mar 20 01:21:00 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1512.2+0202_daily_bin1780 228.07 2.0403 700704001 700963201 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 :                                   541.20 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             253.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   645 sec.
    Turnaround time :                            646 sec.

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

