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


Performing analysis on: 4FGL_J1303.0+2434_daily_bin133
RA = 195.757, Dec = 24.5821
tmin = 273801601, tmax = 274060801
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='153421', job_status='RUN', time_executed='2021-09-06 17:45:52.843089', time_epoch_executed='1630975552.84' WHERE source_name='4FGL J1303.0+2434' and cadence='daily' and bin_id='133'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/153421

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/153421/ft1_4FGL_J1303.0+2434_daily_bin133.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/153421/ft2_4FGL_J1303.0+2434_daily_bin133.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/153421/ft1_4FGL_J1303.0+2434_daily_bin133.fits outfile=/scratch/kocevski/153421/ft1_filteredMKT_4FGL_J1303.0+2434_daily_bin133.fits ra=195.757 dec=24.5821 rad=12.0 tmin=273801601.0 tmax=274060801.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.62
user 3.38
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/153421/ft2_4FGL_J1303.0+2434_daily_bin133.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/153421/ft2_4FGL_J1303.0+2434_daily_bin133.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/153421/ft1_filteredMKT_4FGL_J1303.0+2434_daily_bin133.fits evtable="EVENTS" outfile="/scratch/kocevski/153421/ft1_filtered_4FGL_J1303.0+2434_daily_bin133.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.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/153421/ft1_filtered_4FGL_J1303.0+2434_daily_bin133.fits" evtable="EVENTS" scfile=/scratch/kocevski/153421/ft2_4FGL_J1303.0+2434_daily_bin133.fits sctable="SC_DATA" outfile=/scratch/kocevski/153421/ltcube_273801601_274060801_4FGL_J1303.0+2434_daily_bin133.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/153421/ft2_4FGL_J1303.0+2434_daily_bin133.fits
.....................!
real 13.58
user 13.24
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/153421/ft1_filtered_4FGL_J1303.0+2434_daily_bin133.fits evtable="EVENTS" scfile=/scratch/kocevski/153421/ft2_4FGL_J1303.0+2434_daily_bin133.fits sctable="SC_DATA" expcube=/scratch/kocevski/153421/ltcube_273801601_274060801_4FGL_J1303.0+2434_daily_bin133.fits outfile=/scratch/kocevski/153421/expmap_273801601_274060801_4FGL_J1303.0+2434_daily_bin133.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/153421/ltcube_273801601_274060801_4FGL_J1303.0+2434_daily_bin133.fits
.....................!
real 190.97
user 185.87
sys 4.54

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 177 point sources and 0 extended sources

Setting source of interest to:
4FGL J1303.0+2434 @ 195.757 24.5821

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/153421/ft1_filtered_4FGL_J1303.0+2434_daily_bin133.fits scfile=/scratch/kocevski/153421/ft2_4FGL_J1303.0+2434_daily_bin133.fits outfile=/scratch/kocevski/153421/cmap_273801601_274060801_4FGL_J1303.0+2434_daily_bin133.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=195.757 yref=24.5821 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.56
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/153421/ft1_filtered_4FGL_J1303.0+2434_daily_bin133.fits scfile=/scratch/kocevski/153421/ft2_4FGL_J1303.0+2434_daily_bin133.fits outfile=/scratch/kocevski/153421/cmap_HighResolution_273801601_274060801_4FGL_J1303.0+2434_daily_bin133.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=195.757 yref=24.5821 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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/153421/ft1_filtered_4FGL_J1303.0+2434_daily_bin133.fits evtable="EVENTS" scfile=/scratch/kocevski/153421/ft2_4FGL_J1303.0+2434_daily_bin133.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/153421/Model_4FGL_J1303.0+2434_daily_bin133.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/153421/ft1_filtered_4FGL_J1303.0+2434_daily_bin133.fits.....................!
real 55.29
user 53.96
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/153421/ft1_filtered_4FGL_J1303.0+2434_daily_bin133.fits', '/scratch/kocevski/153421/ft2_4FGL_J1303.0+2434_daily_bin133.fits', expMap='/scratch/kocevski/153421/expmap_273801601_274060801_4FGL_J1303.0+2434_daily_bin133.fits', expCube='/scratch/kocevski/153421/ltcube_273801601_274060801_4FGL_J1303.0+2434_daily_bin133.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/153421/Model_4FGL_J1303.0+2434_daily_bin133.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1303.0+2434'

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  3.013e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  2.066e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  8.150e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  8.679e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/153421/ft1_filtered_4FGL_J1303.0+2434_daily_bin133.fits
Spacecraft file(s): /scratch/kocevski/153421/ft2_4FGL_J1303.0+2434_daily_bin133.fits
Exposure map: /scratch/kocevski/153421/expmap_273801601_274060801_4FGL_J1303.0+2434_daily_bin133.fits
Exposure cube: /scratch/kocevski/153421/ltcube_273801601_274060801_4FGL_J1303.0+2434_daily_bin133.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/153421/Model_4FGL_J1303.0+2434_daily_bin133.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) = 6344.8339313

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15378       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11828E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.6160       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .46724       1.0000         .10000E-03   10000.    
     5 'norm      '    .75805       1.0000         .10000E-03   10000.    
     6 'norm      '    .13036E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    24.162       1.0000         .10000E-03   10000.    
     8 'Prefactor '    27.713       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.8898       1.0000         .10000E-03   10000.    
    10 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    19.708       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .79505E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .97737E-01   1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    47.590       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    17.627       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10819E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    7.5404       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.1682       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0797       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5620E+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=   6344.756     FROM MIGRAD    STATUS=CONVERGED   1187 CALLS     4016 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .15667        5.5387        .21008E-02    .85236E-03
   2  Prefactor     .10000E-03    5.0374        .19414E-02** at limit **
   3  Prefactor     1.6150        2.3883        .13831E-03    .34606E-03
   4  Prefactor     .46718        8.0356        .42346E-03   -.83172E-04
   5  norm          .75799        .28713        .25121E-04    .50685E-03
   6  norm          .10007E-03    2.5814        .44219E-01** at limit **
   7  Prefactor     24.159        12.397        .81492E-04    .16612E-03
   8  Prefactor     27.718        64.333        .76102E-04    .96325E-04
   9  Prefactor     4.8885        7.4090        .90950E-03   -.27649E-03
  10  norm          .10000E-03    2.1984        .11493E-02** at limit **
  11  Prefactor     19.705        16.563        .90221E-04    .54436E-04
  12  Prefactor     .10114E-03    33.178        .10166    ** at limit **
  13  norm          .10000E-03    2.5536        .12312E-02** at limit **
  14  norm          .10000E-03    2.8908        .13177E-02** at limit **
  15  norm          .69044E-01    47.923        .21033E-02    .93742E-03
  16  norm          .10000E-03    4.5630        .16466E-02** at limit **
  17  norm          47.588        25.204        .58125E-04    .13378E-04
  18  Prefactor     .10000E-03    2.1624        .11299E-02** at limit **
  19  Prefactor     17.651        15.872        .95395E-04    .40694E-03
  20  norm          .10000E-03    3.7893        .15064E-02** at limit **
  21  Prefactor     .10000E-03    96.267        .18142E-02** at limit **
  22  Prefactor     .10000E-03    25.871        .18142E-02** at limit **
  23  norm          7.5394        7.2637        .14605E-03    .57993E-04
  24  Prefactor     .10000E-03    4.5702        .16625E-02** at limit **
  25  Prefactor     .10000E-03    10.825        .18142E-02** at limit **
  26  Normalizat    1.1683        .23512        .25371E-03    .61150E-03
  27  Prefactor     1.0797        .24150        .27821E-03    .58081E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.156674
  Prefactor  = 0.000100005
  Prefactor  = 1.61503
  Prefactor  = 0.467178
  norm       = 0.757991
  norm       = 0.000100073
  Prefactor  = 24.1591
  Prefactor  = 27.7177
  Prefactor  = 4.88845
  norm       = 0.0001
  Prefactor  = 19.7052
  Prefactor  = 0.000101143
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0690443
  norm       = 0.0001
  norm       = 47.5877
  Prefactor  = 0.0001
  Prefactor  = 17.6507
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 7.53944
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.16831
  Prefactor  = 1.07966
 **********
 **   18 **HESSE 
 **********

 FCN=   6344.756     FROM HESSE     STATUS=OK           482 CALLS     4498 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .15667        5.4953        .84034E-04   -1.5629    
   2  Prefactor     .10000E-03    5.0642        .38828E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.6150        2.3794        .55323E-05   -1.5454    
   4  Prefactor     .46718        8.0293        .16938E-04   -1.5571    
   5  norm          .75799        .28708        .10049E-05   -1.5534    
   6  norm          .10007E-03    2.5975        .43923E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     24.159        12.396        .16298E-04   -1.4725    
   8  Prefactor     27.718        64.332        .15220E-04   -1.4655    
   9  Prefactor     4.8885        7.4067        .36380E-04   -1.5266    
  10  norm          .10000E-03    2.1986        .22987E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     19.705        16.561        .36088E-05   -1.4820    
  12  Prefactor     .10114E-03    29.300        .10790       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.5545        .24624E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.8912        .26353E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .69044E-01    45.968        .84133E-04   -1.5655    
  16  norm          .10000E-03    4.5621        .32931E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          47.588        25.203        .11625E-04   -1.4327    
  18  Prefactor     .10000E-03    2.1629        .22598E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     17.651        15.716        .19079E-04   -1.4867    
  20  norm          .10000E-03    3.7902        .30127E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    96.336        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    25.872        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          7.5394        7.2628        .58419E-05   -1.5159    
  24  Prefactor     .10000E-03    4.5703        .33250E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    10.826        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.1683        .23493        .50742E-04   -.87588    
  27  Prefactor     1.0797        .24166        .55643E-04   -.90119    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54897e-08
Minuit parameter uncertainties:
  1  1.85536
  2  0.000302612
  3  2.37955
  4  3.87375
  5  0.287083
  6  0.000868802
  7  12.3974
  8  64.4934
  9  7.40807
  10  5.11865e-06
  11  16.5644
  12  0.0115791
  13  1.01075e-05
  14  1.6408e-06
  15  3.56323
  16  2.01091e-05
  17  25.2088
  18  8.54499e-07
  19  15.7201
  20  1.00082e-05
  21  3.89896e-05
  22  0.000392814
  23  7.26366
  24  1.73878e-05
  25  1.64983e-05
  26  0.235141
  27  0.241907
Done.

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

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  1.000e-04  1.011e-05  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  2.066e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  8.150e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  8.679e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
559    Prefactor:  1.080e+00  2.419e-01  0.000e+00  1.000e+01 ( 1.000e+00)
560        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
561        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
558   Normalization:  1.168e+00  2.351e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 195.757 24.582
Photon Flux Upper Limit: 5.66e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.94e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/153421/likelihoodResults_273801601_274060801_4FGL_J1303.0+2434_daily_bin133.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) = 6344.75824661
delta logL = -0.00186189437864

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6344.53918696
delta logL = 0.217197759554

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10666       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.5966       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1093       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1193       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6344.539     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      320 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10540        3.2672        .84013E-02    .99739E-03
   2  alpha         4.6006        2.6584        .50000        .11644E-04
   3  Normalizat    1.1094        .39258E-01    .58675E-01   -.39428E-03
   4  Prefactor     1.1193        .41303E-01    .61924E-01   -.30549E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.105396
  alpha      = 4.60064
  Normalizat = 1.10937
  Prefactor  = 1.11932
 **********
 **   18 **HESSE 
 **********

 FCN=   6344.539     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      349 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10540        11.212        .36656E-04   -1.5643    
   2  alpha         4.6006        4.5715        .60550E-01    .99775    
   3  Normalizat    1.1094        .16385        .25949E-03   -.89452    
   4  Prefactor     1.1193        .17045        .27388E-03   -.88852    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.49571e-10
Minuit parameter uncertainties:
  1  2.17347
  2  11.1652
  3  0.163924
  4  0.170536
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/153421': 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): 102
logL (Free Index) = 6344.53918111
delta logL = 0.217203611808

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  1.054e-01  2.173e+00  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  4.601e+00  1.117e+01  0.000e+00  5.000e+00 ( 1.000e+00)
292         beta:  8.150e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  8.679e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
559    Prefactor:  1.119e+00  1.705e-01  0.000e+00  1.000e+01 ( 1.000e+00)
560        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
561        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
558   Normalization:  1.109e+00  1.639e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 195.757 24.582

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/153421/cmap_HighResolution_273801601_274060801_4FGL_J1303.0+2434_daily_bin133.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.94e-05', job_status='DONE', photon_flux_upper_limit='5.66e-08', time_completed='2021-09-06 17:59:38.535271', job_id='153421', GAL2='1.12', fit_tolerance='1e-08', EG2='1.11', EG='1.17', time_epoch_completed='1630976378.54', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='2.17e-01', ts2='0.48', photon_index_error='0.00', photon_index='2.07' WHERE bin_id='133' AND source_name='4FGL J1303.0+2434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 17:59:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0024>
Subject: Job 153421: <4FGL_J1303.0+2434_daily_bin133> in cluster <slac> Done

Job <4FGL_J1303.0+2434_daily_bin133> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Mon Sep  6 17:45:32 2021
Job was executed on host(s) <bullet0024>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep  6 17:45:42 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Sep  6 17:45:42 2021
Terminated at Mon Sep  6 17:59:39 2021
Results reported at Mon Sep  6 17:59:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1303.0+2434_daily_bin133 195.757 24.5821 273801601 274060801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1303.0+2434 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   822.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             347.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   836 sec.
    Turnaround time :                            847 sec.

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

