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


Performing analysis on: 4FGL_J1924.8-2914_daily_bin1337
RA = 291.214, Dec = -29.2468
tmin = 585878401, tmax = 586137601
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='900555', job_status='RUN', time_executed='2021-09-22 21:17:16.373796', time_epoch_executed='1632370636.37' WHERE source_name='4FGL J1924.8-2914' and cadence='daily' and bin_id='1337'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/900555

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/900555/ft1_4FGL_J1924.8-2914_daily_bin1337.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/900555/ft2_4FGL_J1924.8-2914_daily_bin1337.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/900555/ft1_4FGL_J1924.8-2914_daily_bin1337.fits outfile=/scratch/kocevski/900555/ft1_filteredMKT_4FGL_J1924.8-2914_daily_bin1337.fits ra=291.214 dec=-29.2468 rad=12.0 tmin=585878401.0 tmax=586137601.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.82
user 2.60
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/900555/ft2_4FGL_J1924.8-2914_daily_bin1337.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/900555/ft2_4FGL_J1924.8-2914_daily_bin1337.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/900555/ft1_filteredMKT_4FGL_J1924.8-2914_daily_bin1337.fits evtable="EVENTS" outfile="/scratch/kocevski/900555/ft1_filtered_4FGL_J1924.8-2914_daily_bin1337.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/900555/ft1_filtered_4FGL_J1924.8-2914_daily_bin1337.fits" evtable="EVENTS" scfile=/scratch/kocevski/900555/ft2_4FGL_J1924.8-2914_daily_bin1337.fits sctable="SC_DATA" outfile=/scratch/kocevski/900555/ltcube_585878401_586137601_4FGL_J1924.8-2914_daily_bin1337.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/900555/ft2_4FGL_J1924.8-2914_daily_bin1337.fits
.....................!
real 15.27
user 14.81
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/900555/ft1_filtered_4FGL_J1924.8-2914_daily_bin1337.fits evtable="EVENTS" scfile=/scratch/kocevski/900555/ft2_4FGL_J1924.8-2914_daily_bin1337.fits sctable="SC_DATA" expcube=/scratch/kocevski/900555/ltcube_585878401_586137601_4FGL_J1924.8-2914_daily_bin1337.fits outfile=/scratch/kocevski/900555/expmap_585878401_586137601_4FGL_J1924.8-2914_daily_bin1337.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/900555/ltcube_585878401_586137601_4FGL_J1924.8-2914_daily_bin1337.fits
.....................!
real 191.74
user 185.90
sys 5.33

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 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.
Extended source HESS J1813-178 in ROI with RadialDisk spatial model.
Extended source HESS J1825-137 in ROI with RadialGaussian spatial model.
Added 357 point sources and 8 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 J1924.8-2914 @ 291.214 -29.2468

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/900555/ft1_filtered_4FGL_J1924.8-2914_daily_bin1337.fits scfile=/scratch/kocevski/900555/ft2_4FGL_J1924.8-2914_daily_bin1337.fits outfile=/scratch/kocevski/900555/cmap_585878401_586137601_4FGL_J1924.8-2914_daily_bin1337.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=291.214 yref=-29.2468 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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/900555/ft1_filtered_4FGL_J1924.8-2914_daily_bin1337.fits scfile=/scratch/kocevski/900555/ft2_4FGL_J1924.8-2914_daily_bin1337.fits outfile=/scratch/kocevski/900555/cmap_HighResolution_585878401_586137601_4FGL_J1924.8-2914_daily_bin1337.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=291.214 yref=-29.2468 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.36
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/900555/ft1_filtered_4FGL_J1924.8-2914_daily_bin1337.fits evtable="EVENTS" scfile=/scratch/kocevski/900555/ft2_4FGL_J1924.8-2914_daily_bin1337.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/900555/Model_4FGL_J1924.8-2914_daily_bin1337.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 GAL_V02
adding source HESS J1804-216
adding source HESS J1808-204
adding source HESS J1809-193
adding source HESS J1813-178
adding source HESS J1825-137
adding source W 28
adding source W 30
Working on...
/scratch/kocevski/900555/ft1_filtered_4FGL_J1924.8-2914_daily_bin1337.fits......................!
real 36.85
user 35.51
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/900555/ft1_filtered_4FGL_J1924.8-2914_daily_bin1337.fits', '/scratch/kocevski/900555/ft2_4FGL_J1924.8-2914_daily_bin1337.fits', expMap='/scratch/kocevski/900555/expmap_585878401_586137601_4FGL_J1924.8-2914_daily_bin1337.fits', expCube='/scratch/kocevski/900555/ltcube_585878401_586137601_4FGL_J1924.8-2914_daily_bin1337.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/900555/Model_4FGL_J1924.8-2914_daily_bin1337.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1924.8-2914'

4FGL J1924.8-2914
   Spectrum: PowerLaw
985    Prefactor:  3.573e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
986        Index:  2.388e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
987        Scale:  8.495e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/900555/ft1_filtered_4FGL_J1924.8-2914_daily_bin1337.fits
Spacecraft file(s): /scratch/kocevski/900555/ft2_4FGL_J1924.8-2914_daily_bin1337.fits
Exposure map: /scratch/kocevski/900555/expmap_585878401_586137601_4FGL_J1924.8-2914_daily_bin1337.fits
Exposure cube: /scratch/kocevski/900555/ltcube_585878401_586137601_4FGL_J1924.8-2914_daily_bin1337.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/900555/Model_4FGL_J1924.8-2914_daily_bin1337.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) = 2317.51890283

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    167.45       1.0000         .10000E-03   10000.    
     3 'norm      '    31.544       1.0000         .10000E-03   10000.    
     4 'norm      '    .10041E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    25.407       1.0000         .10000E-03   10000.    
     6 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.919       1.0000         .10000E-03   10000.    
     8 'norm      '    .10309       1.0000         .10000E-03   10000.    
     9 'Prefactor '    19.275       1.0000         .10000E-03   10000.    
    10 'Prefactor '    100.51       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    107.71       1.0000         .10000E-03   10000.    
    13 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .59558E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .83787       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .95277       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1306E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2317.513     FROM MIGRAD    STATUS=CONVERGED    423 CALLS     1933 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    35.214        .90712E-02** at limit **
   2  Prefactor     167.45        132.76        .77935E-03   -.10008E-03
   3  norm          31.542        18.452        .17836E-02   -.45849E-04
   4  norm          .10000E-03    2.2287        .25911E-01** at limit **
   5  Prefactor     25.408        72.742        .19868E-02   -.33379E-03
   6  norm          .10000E-03    8.4076        .90712E-02** at limit **
   7  Prefactor     13.934        18.954        .26840E-02    .10347E-02
   8  norm          .81167E-02    12.719        .95260E-01    .55603E-04
   9  Prefactor     19.273        13.323        .22807E-02   -.49872E-03
  10  Prefactor     100.51        214.08        .10025E-02    .12464E-03
  11  Prefactor     .10000E-03    22.862        .90712E-02** at limit **
  12  Prefactor     107.72        100.32        .96878E-03   -.72096E-03
  13  norm          .10000E-03    45.491        .90712E-02** at limit **
  14  Prefactor     .10000E-03    9.4437        .90712E-02** at limit **
  15  norm          .10000E-03    2.8757        .59814E-01** at limit **
  16  Prefactor     .10000E-03    31.764        .90712E-02** at limit **
  17  norm          .10000E-03    11.932        .90712E-02** at limit **
  18  Normalizat    .83805        .74895        .14946       -.68627E-05
  19  Prefactor     .95284        .15682        .30666E-01   -.52345E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 167.448
  norm       = 31.5423
  norm       = 0.0001
  Prefactor  = 25.4081
  norm       = 0.0001
  Prefactor  = 13.9339
  norm       = 0.00811667
  Prefactor  = 19.273
  Prefactor  = 100.514
  Prefactor  = 0.0001
  Prefactor  = 107.716
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100004
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.838049
  Prefactor  = 0.952841
 **********
 **   18 **HESSE 
 **********

 FCN=   2317.513     FROM HESSE     STATUS=OK           274 CALLS     2207 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    35.240        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     167.45        132.73        .31174E-04   -1.3113    
   3  norm          31.542        18.500        .71342E-04   -1.4584    
   4  norm          .10000E-03    2.8587        .12586E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     25.408        65.994        .79474E-04   -1.4699    
   6  norm          .10000E-03    8.4110        .13634E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     13.934        18.943        .10736E-03   -1.4961    
   8  norm          .81167E-02    22.480        .59987E-01   -1.5690    
   9  Prefactor     19.273        13.300        .91229E-04   -1.4830    
  10  Prefactor     100.51        213.48        .40101E-04   -1.3699    
  11  Prefactor     .10000E-03    22.926        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     107.72        100.29        .19376E-03   -1.3628    
  13  norm          .10000E-03    45.495        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.4905        .14444E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    8.5308        .27796E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    31.766        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    11.933        .16244E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .83805        .77066        .66380E-03   -.98672    
  19  Prefactor     .95284        .16415        .13551E-03   -.94318    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11443e-08
Minuit parameter uncertainties:
  1  0.000141545
  2  132.966
  3  18.5036
  4  2.78681e-06
  5  66.1847
  6  5.09408e-06
  7  18.9514
  8  0.849352
  9  13.3021
  10  215.142
  11  2.46525e-05
  12  100.45
  13  0.000270456
  14  1.60343e-05
  15  0.000377673
  16  9.56217e-05
  17  5.1882e-05
  18  0.781088
  19  0.164236
Done.

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

Extracting fit parameters...

4FGL J1924.8-2914
   Spectrum: PowerLaw
985    Prefactor:  1.927e+01  1.330e+01  1.000e-04  1.000e+04 ( 1.000e-12)
986        Index:  2.388e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
987        Scale:  8.495e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1277    Prefactor:  9.528e-01  1.642e-01  0.000e+00  1.000e+01 ( 1.000e+00)
1278        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1279        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1273   Normalization:  8.380e-01  7.811e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.80
Ra Dec: 291.214 -29.247
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 2.30e-07 +/- 1.59e-07
Energy Flux (Fixed Index): 7.66e-05 +/- 5.29e-05

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) = 2317.3884877
delta logL = 0.124531427871

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2317.37445654
delta logL = 0.13856258659

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.083       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0421       1.0000          .0000       10.000    
     3 'Normalizat'    .91053       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94511       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1306E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2317.374     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      254 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.068        596.11        .21309E-02    .72478E-05
   2  Index         2.0414        5.0600        .17174        .15168E-04
   3  Normalizat    .91129        .71278        .14418        .15424E-04
   4  Prefactor     .94500        .10032        .30802E-01    .20877E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.068
  Index      = 2.04138
  Normalizat = 0.911287
  Prefactor  = 0.944996
 **********
 **   18 **HESSE 
 **********

 FCN=   2317.374     FROM HESSE     STATUS=OK            33 CALLS      287 TOTAL
                     EDM=   .59E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.068        16.953        .85236E-04   -1.4768    
   2  Index         2.0414        .67499        .61240E-02   -.63319    
   3  Normalizat    .91129        .74895        .64026E-03   -.96065    
   4  Prefactor     .94500        .16118        .13611E-03   -.94586    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.90782e-13
Minuit parameter uncertainties:
  1  16.9566
  2  0.678181
  3  0.75777
  4  0.161266
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/900555': 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) = 2317.37445532
delta logL = 0.138563808667

Extracting fit parameters...

4FGL J1924.8-2914
   Spectrum: PowerLaw
985    Prefactor:  2.207e+01  1.696e+01  1.000e-04  1.000e+04 ( 1.000e-12)
986        Index:  2.041e+00  6.782e-01  0.000e+00  1.000e+01 (-1.000e+00)
987        Scale:  8.495e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1277    Prefactor:  9.450e-01  1.613e-01  0.000e+00  1.000e+01 ( 1.000e+00)
1278        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1279        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1273   Normalization:  9.113e-01  7.578e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.03
Ra Dec: 291.214 -29.247
Photon Index (Free Index): 2.04 +/- 0.68
Photon Flux (Free Index): 1.67e-07 +/- 1.84e-07
Energy Flux (Free Index): 1.05e-04 +/- 1.16e-04

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/900555/cmap_HighResolution_585878401_586137601_4FGL_J1924.8-2914_daily_bin1337.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.30e-07', energy_flux2='1.05e-04', photon_flux_error='1.59e-07', dlogl='1.39e-01', energy_flux='7.66e-05', photon_flux2='1.67e-07', job_status='DONE', time_completed='2021-09-22 21:26:29.689798', photon_index_error2='0.68', photon_index2='2.04', ts='5.80', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='1.16e-04', EG='0.84', time_epoch_completed='1632371189.69', return_code='0', job_id='900555', GAL2='0.94', EG2='0.91', return_code2='0', energy_flux_error='5.29e-05', photon_flux_error2='1.84e-07', ts2='6.03', photon_index='2.39' WHERE bin_id='1337' AND source_name='4FGL J1924.8-2914' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 22 21:26:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0288>
Subject: Job 900555: <4FGL_J1924.8-2914_daily_bin1337> in cluster <slac> Done

Job <4FGL_J1924.8-2914_daily_bin1337> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 22 21:16:33 2021
Job was executed on host(s) <bullet0288>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 22 21:16:52 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 22 21:16:52 2021
Terminated at Wed Sep 22 21:26:30 2021
Results reported at Wed Sep 22 21:26:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1924.8-2914_daily_bin1337 291.214 -29.2468 585878401 586137601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1924.8-2914 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   551.23 sec.
    Max Memory :                                 1261 MB
    Average Memory :                             327.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   578 sec.
    Turnaround time :                            597 sec.

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

