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


Performing analysis on: 4FGL_J1913.4-3629_daily_bin1568
RA = 288.351, Dec = -36.4885
tmin = 645753601, tmax = 646012801
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='723932', job_status='RUN', time_executed='2021-09-22 12:08:18.656973', time_epoch_executed='1632337698.66' WHERE source_name='4FGL J1913.4-3629' and cadence='daily' and bin_id='1568'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/723932

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/723932/ft1_4FGL_J1913.4-3629_daily_bin1568.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/723932/ft2_4FGL_J1913.4-3629_daily_bin1568.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/723932/ft1_4FGL_J1913.4-3629_daily_bin1568.fits outfile=/scratch/kocevski/723932/ft1_filteredMKT_4FGL_J1913.4-3629_daily_bin1568.fits ra=288.351 dec=-36.4885 rad=12.0 tmin=645753601.0 tmax=646012801.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 2.29
user 2.08
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/723932/ft2_4FGL_J1913.4-3629_daily_bin1568.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/723932/ft2_4FGL_J1913.4-3629_daily_bin1568.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/723932/ft1_filteredMKT_4FGL_J1913.4-3629_daily_bin1568.fits evtable="EVENTS" outfile="/scratch/kocevski/723932/ft1_filtered_4FGL_J1913.4-3629_daily_bin1568.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/723932/ft1_filtered_4FGL_J1913.4-3629_daily_bin1568.fits" evtable="EVENTS" scfile=/scratch/kocevski/723932/ft2_4FGL_J1913.4-3629_daily_bin1568.fits sctable="SC_DATA" outfile=/scratch/kocevski/723932/ltcube_645753601_646012801_4FGL_J1913.4-3629_daily_bin1568.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/723932/ft2_4FGL_J1913.4-3629_daily_bin1568.fits
.....................!
real 12.52
user 12.12
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/723932/ft1_filtered_4FGL_J1913.4-3629_daily_bin1568.fits evtable="EVENTS" scfile=/scratch/kocevski/723932/ft2_4FGL_J1913.4-3629_daily_bin1568.fits sctable="SC_DATA" expcube=/scratch/kocevski/723932/ltcube_645753601_646012801_4FGL_J1913.4-3629_daily_bin1568.fits outfile=/scratch/kocevski/723932/expmap_645753601_646012801_4FGL_J1913.4-3629_daily_bin1568.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/723932/ltcube_645753601_646012801_4FGL_J1913.4-3629_daily_bin1568.fits
.....................!
real 191.32
user 185.52
sys 5.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
Extended source FHES J1741.6-3917 in ROI with RadialDisk spatial model.
Extended source FGES J1745.8-3028 in ROI with RadialDisk spatial model.
Extended source W 28 in ROI with RadialDisk spatial model.
Extended source HESS J1804-216 in ROI with RadialDisk spatial model.
Extended source W 30 in ROI with RadialDisk spatial model.
Extended source HESS J1808-204 in ROI with RadialDisk spatial model.
Extended source HESS J1809-193 in ROI with RadialDisk spatial model.
Added 371 point sources and 7 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1913.4-3629 @ 288.351 -36.4885

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/723932/ft1_filtered_4FGL_J1913.4-3629_daily_bin1568.fits scfile=/scratch/kocevski/723932/ft2_4FGL_J1913.4-3629_daily_bin1568.fits outfile=/scratch/kocevski/723932/cmap_645753601_646012801_4FGL_J1913.4-3629_daily_bin1568.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=288.351 yref=-36.4885 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/723932/ft1_filtered_4FGL_J1913.4-3629_daily_bin1568.fits scfile=/scratch/kocevski/723932/ft2_4FGL_J1913.4-3629_daily_bin1568.fits outfile=/scratch/kocevski/723932/cmap_HighResolution_645753601_646012801_4FGL_J1913.4-3629_daily_bin1568.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=288.351 yref=-36.4885 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.57
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/723932/ft1_filtered_4FGL_J1913.4-3629_daily_bin1568.fits evtable="EVENTS" scfile=/scratch/kocevski/723932/ft2_4FGL_J1913.4-3629_daily_bin1568.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/723932/Model_4FGL_J1913.4-3629_daily_bin1568.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 FGES J1745.8-3028
adding source FHES J1741.6-3917
adding source GAL_V02
adding source HESS J1804-216
adding source HESS J1808-204
adding source HESS J1809-193
adding source W 28
adding source W 30
Working on...
/scratch/kocevski/723932/ft1_filtered_4FGL_J1913.4-3629_daily_bin1568.fits..........................!
real 21.37
user 20.12
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/723932/ft1_filtered_4FGL_J1913.4-3629_daily_bin1568.fits', '/scratch/kocevski/723932/ft2_4FGL_J1913.4-3629_daily_bin1568.fits', expMap='/scratch/kocevski/723932/expmap_645753601_646012801_4FGL_J1913.4-3629_daily_bin1568.fits', expCube='/scratch/kocevski/723932/ltcube_645753601_646012801_4FGL_J1913.4-3629_daily_bin1568.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/723932/Model_4FGL_J1913.4-3629_daily_bin1568.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1913.4-3629'

4FGL J1913.4-3629
   Spectrum: LogParabola
1052         norm:  1.762e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
1053        alpha:  2.393e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
1054         beta:  1.700e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
1055           Eb:  2.276e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/723932/ft1_filtered_4FGL_J1913.4-3629_daily_bin1568.fits
Spacecraft file(s): /scratch/kocevski/723932/ft2_4FGL_J1913.4-3629_daily_bin1568.fits
Exposure map: /scratch/kocevski/723932/expmap_645753601_646012801_4FGL_J1913.4-3629_daily_bin1568.fits
Exposure cube: /scratch/kocevski/723932/ltcube_645753601_646012801_4FGL_J1913.4-3629_daily_bin1568.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/723932/Model_4FGL_J1913.4-3629_daily_bin1568.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) = 894.659961846

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10239E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10170E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .11801E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    12.074       1.0000         .10000E-03   10000.    
     7 'norm      '    34.007       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.208       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    29.225       1.0000         .10000E-03   10000.    
    12 'Prefactor '    74.659       1.0000         .10000E-03   10000.    
    13 'Prefactor '    81.179       1.0000         .10000E-03   10000.    
    14 'norm      '    .16538E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    5.6292       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    30.029       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2376       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0020       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1358E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   894.6232     FROM MIGRAD    STATUS=CONVERGED    403 CALLS     2006 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1835.9       -.76333E-03** at limit **
   2  norm          .10000E-03    172.65        .15319E-04** at limit **
   3  Prefactor     .10000E-03    1699.2       -.68534E-03** at limit **
   4  norm          .10000E-03    955.37       -.64160E-04** at limit **
   5  norm          .10000E-03    253.85       -.70773E-04** at limit **
   6  norm          12.060        62.404        .71059E-05    .36726E-05
   7  norm          33.985        69.283       -.14348E-05    .42919E-05
   8  norm          .10000E-03    7.1738       -.37789E-07** at limit **
   9  Prefactor     15.204        31.183       -.18357E-06    .28246E-05
  10  Prefactor     .10000E-03    878.08        .23347E-04** at limit **
  11  Prefactor     29.320        80.775        .38487E-04   -.22439E-04
  12  Prefactor     74.628        155.11       -.36379E-04   -.60277E-05
  13  Prefactor     81.180        78.174       -.51130E-05   -.35282E-03
  14  norm          .10000E-03    559.17        .35766E-03** at limit **
  15  Prefactor     .10000E-03    9.1459        .65246E-07** at limit **
  16  norm          5.6296        6.2537        .63809E-06   -.60643E-03
  17  Prefactor     .10000E-03    81.146       -.11148E-06** at limit **
  18  norm          30.046        54.025       -.45488E-05   -.90554E-04
  19  Normalizat    1.2344        1.6903       -.38640E-04   -.30406E-04
  20  Prefactor     1.0027        .37775        .28781E-05   -.24805E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 12.0598
  norm       = 33.9847
  norm       = 0.0001
  Prefactor  = 15.2043
  Prefactor  = 0.0001
  Prefactor  = 29.3199
  Prefactor  = 74.6283
  Prefactor  = 81.1805
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 5.62957
  Prefactor  = 0.0001
  norm       = 30.0457
  Normalizat = 1.23438
  Prefactor  = 1.0027
 **********
 **   18 **HESSE 
 **********

 FCN=   894.6232     FROM HESSE     STATUS=OK           283 CALLS     2289 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1835.3        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    172.65        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1698.7        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    955.36        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    253.93        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          12.060        63.262        .11529E-03   -1.5013    
   7  norm          33.985        69.867        .68717E-04   -1.4541    
   8  norm          .10000E-03    7.1754        .78260E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.204        31.246        .10271E-03   -1.4928    
  10  Prefactor     .10000E-03    878.36        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     29.320        82.529        .74111E-04   -1.4624    
  12  Prefactor     74.628        155.05        .46468E-04   -1.3978    
  13  Prefactor     81.180        78.176        .44578E-04   -1.3904    
  14  norm          .10000E-03    561.31        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    9.1507        .88362E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          5.6296        6.2254        .68053E-04   -1.5233    
  17  Prefactor     .10000E-03    81.177        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          30.046        54.267        .73114E-04   -1.4611    
  19  Normalizat    1.2344        1.9352        .66009E-03   -.85547    
  20  Prefactor     1.0027        .45338        .18398E-03   -.92640    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60399e-09
Minuit parameter uncertainties:
  1  1.76379e-05
  2  1.57916e-05
  3  5.08112e-06
  4  5.16954e-06
  5  1.42772e-05
  6  55.334
  7  70.0364
  8  1.60471e-05
  9  31.2798
  10  0.0011342
  11  82.8525
  12  155.897
  13  78.2748
  14  0.00152709
  15  2.60797e-05
  16  6.22611
  17  0.000110131
  18  54.356
  19  2.0703
  20  0.45512
Done.

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

Extracting fit parameters...

4FGL J1913.4-3629
   Spectrum: LogParabola
1052         norm:  3.398e+01  7.004e+01  1.000e-04  1.000e+04 ( 1.000e-13)
1053        alpha:  2.393e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
1054         beta:  1.700e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
1055           Eb:  2.276e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1336    Prefactor:  1.003e+00  4.551e-01  0.000e+00  1.000e+01 ( 1.000e+00)
1337        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1338        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1329   Normalization:  1.234e+00  2.070e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.32
Ra Dec: 288.351 -36.489
Photon Flux Upper Limit: 1.18e-06 ph cm-2 s-1
Energy Flux Upper Limit: 5.96e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/723932/likelihoodResults_645753601_646012801_4FGL_J1913.4-3629_daily_bin1568.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) = 894.61647877
delta logL = 0.00673245011978

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 894.610616648
delta logL = 0.012594572529

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    45.143       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1942       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2459       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99958       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1358E+06   .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=   894.6106     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      262 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          45.139        113.64        .59672E-04    .11885E-03
   2  alpha         2.1943        1.2095        .10151E-01    .40437E-04
   3  Normalizat    1.2459        1.5332        .65746E-03   -.31780E-04
   4  Prefactor     .99958        .41355        .18421E-03   -.43962E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 45.1394
  alpha      = 2.19426
  Normalizat = 1.24589
  Prefactor  = 0.999577
 **********
 **   18 **HESSE 
 **********

 FCN=   894.6106     FROM HESSE     STATUS=OK            23 CALLS      285 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          45.139        109.70        .11934E-04   -1.4363    
   2  alpha         2.1943        1.1708        .40604E-03   -.12260    
   3  Normalizat    1.2459        1.5337        .26299E-04   -.85196    
   4  Prefactor     .99958        .41372        .36842E-04   -.92744    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.96461e-10
Minuit parameter uncertainties:
  1  110.199
  2  1.2193
  3  1.59555
  4  0.415039
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/723932': 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) = 894.610616646
delta logL = 0.0125945742678

Extracting fit parameters...

4FGL J1913.4-3629
   Spectrum: LogParabola
1052         norm:  4.514e+01  1.102e+02  1.000e-04  1.000e+04 ( 1.000e-13)
1053        alpha:  2.194e+00  1.219e+00  0.000e+00  5.000e+00 ( 1.000e+00)
1054         beta:  1.700e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
1055           Eb:  2.276e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1336    Prefactor:  9.996e-01  4.150e-01  0.000e+00  1.000e+01 ( 1.000e+00)
1337        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1338        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1329   Normalization:  1.246e+00  1.596e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.32
Ra Dec: 288.351 -36.489

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/723932/cmap_HighResolution_645753601_646012801_4FGL_J1913.4-3629_daily_bin1568.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.96e-04', job_status='DONE', photon_flux_upper_limit='1.18e-06', time_completed='2021-09-22 12:15:41.513393', job_id='723932', GAL2='1.00', fit_tolerance='1e-08', EG2='1.25', EG='1.23', time_epoch_completed='1632338141.51', return_code2='0', ts='0.32', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.26e-02', ts2='0.34', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1568' AND source_name='4FGL J1913.4-3629' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 22 12:15:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0239>
Subject: Job 723932: <4FGL_J1913.4-3629_daily_bin1568> in cluster <slac> Done

Job <4FGL_J1913.4-3629_daily_bin1568> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 22 12:06:20 2021
Job was executed on host(s) <bullet0239>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 22 12:07:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 22 12:07:33 2021
Terminated at Wed Sep 22 12:15:42 2021
Results reported at Wed Sep 22 12:15:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1913.4-3629_daily_bin1568 288.351 -36.4885 645753601 646012801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1913.4-3629 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   442.00 sec.
    Max Memory :                                 1261 MB
    Average Memory :                             364.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   488 sec.
    Turnaround time :                            562 sec.

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

