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


Performing analysis on: 4FGL_J1924.8-2914_daily_bin1268
RA = 291.214, Dec = -29.2468
tmin = 567993601, tmax = 568252801
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='899372', job_status='RUN', time_executed='2021-09-22 21:13:34.729758', time_epoch_executed='1632370414.73' WHERE source_name='4FGL J1924.8-2914' and cadence='daily' and bin_id='1268'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/899372

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/899372/ft1_4FGL_J1924.8-2914_daily_bin1268.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/899372/ft2_4FGL_J1924.8-2914_daily_bin1268.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/899372/ft1_4FGL_J1924.8-2914_daily_bin1268.fits outfile=/scratch/kocevski/899372/ft1_filteredMKT_4FGL_J1924.8-2914_daily_bin1268.fits ra=291.214 dec=-29.2468 rad=12.0 tmin=567993601.0 tmax=568252801.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.38
user 2.14
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/899372/ft2_4FGL_J1924.8-2914_daily_bin1268.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/899372/ft1_filteredMKT_4FGL_J1924.8-2914_daily_bin1268.fits evtable="EVENTS" outfile="/scratch/kocevski/899372/ft1_filtered_4FGL_J1924.8-2914_daily_bin1268.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.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/899372/ft1_filtered_4FGL_J1924.8-2914_daily_bin1268.fits" evtable="EVENTS" scfile=/scratch/kocevski/899372/ft2_4FGL_J1924.8-2914_daily_bin1268.fits sctable="SC_DATA" outfile=/scratch/kocevski/899372/ltcube_567993601_568252801_4FGL_J1924.8-2914_daily_bin1268.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/899372/ft2_4FGL_J1924.8-2914_daily_bin1268.fits
.....................!
real 16.61
user 16.27
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/899372/ft1_filtered_4FGL_J1924.8-2914_daily_bin1268.fits evtable="EVENTS" scfile=/scratch/kocevski/899372/ft2_4FGL_J1924.8-2914_daily_bin1268.fits sctable="SC_DATA" expcube=/scratch/kocevski/899372/ltcube_567993601_568252801_4FGL_J1924.8-2914_daily_bin1268.fits outfile=/scratch/kocevski/899372/expmap_567993601_568252801_4FGL_J1924.8-2914_daily_bin1268.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/899372/ltcube_567993601_568252801_4FGL_J1924.8-2914_daily_bin1268.fits
.....................!
real 191.26
user 186.25
sys 4.58

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/899372/ft1_filtered_4FGL_J1924.8-2914_daily_bin1268.fits scfile=/scratch/kocevski/899372/ft2_4FGL_J1924.8-2914_daily_bin1268.fits outfile=/scratch/kocevski/899372/cmap_567993601_568252801_4FGL_J1924.8-2914_daily_bin1268.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.54
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/899372/ft1_filtered_4FGL_J1924.8-2914_daily_bin1268.fits scfile=/scratch/kocevski/899372/ft2_4FGL_J1924.8-2914_daily_bin1268.fits outfile=/scratch/kocevski/899372/cmap_HighResolution_567993601_568252801_4FGL_J1924.8-2914_daily_bin1268.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/899372/ft1_filtered_4FGL_J1924.8-2914_daily_bin1268.fits evtable="EVENTS" scfile=/scratch/kocevski/899372/ft2_4FGL_J1924.8-2914_daily_bin1268.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/899372/Model_4FGL_J1924.8-2914_daily_bin1268.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/899372/ft1_filtered_4FGL_J1924.8-2914_daily_bin1268.fits.....................!
real 51.16
user 49.88
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/899372/ft1_filtered_4FGL_J1924.8-2914_daily_bin1268.fits', '/scratch/kocevski/899372/ft2_4FGL_J1924.8-2914_daily_bin1268.fits', expMap='/scratch/kocevski/899372/expmap_567993601_568252801_4FGL_J1924.8-2914_daily_bin1268.fits', expCube='/scratch/kocevski/899372/ltcube_567993601_568252801_4FGL_J1924.8-2914_daily_bin1268.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/899372/Model_4FGL_J1924.8-2914_daily_bin1268.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/899372/ft1_filtered_4FGL_J1924.8-2914_daily_bin1268.fits
Spacecraft file(s): /scratch/kocevski/899372/ft2_4FGL_J1924.8-2914_daily_bin1268.fits
Exposure map: /scratch/kocevski/899372/expmap_567993601_568252801_4FGL_J1924.8-2914_daily_bin1268.fits
Exposure cube: /scratch/kocevski/899372/ltcube_567993601_568252801_4FGL_J1924.8-2914_daily_bin1268.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/899372/Model_4FGL_J1924.8-2914_daily_bin1268.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) = 3660.89412761

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10375E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    487.90       1.0000         .10000E-03   10000.    
     3 'norm      '    68.464       1.0000         .10000E-03   10000.    
     4 'norm      '    1.3399       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .12580E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    30.371       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .13104E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    64.983       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    6.5608       1.0000         .10000E-03   10000.    
    16 'Prefactor '    37.727       1.0000         .10000E-03   10000.    
    17 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .65152       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1105       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3660.536     FROM MIGRAD    STATUS=CONVERGED    385 CALLS     1947 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    169.31        .21013E-03** at limit **
   2  Prefactor     487.99        307.12        .38222E-04   -.16109E-04
   3  norm          68.462        32.779       -.10389E-05   -.63485E-04
   4  norm          1.3417        2.2932       -.81015E-06   -.80946E-03
   5  Prefactor     .10000E-03    233.13       -.25588E-04** at limit **
   6  norm          .10000E-03    21.613       -.59685E-06** at limit **
   7  Prefactor     .10000E-03    6.1804       -.14752E-06** at limit **
   8  norm          .10000E-03    4.2127       -.36857E-06** at limit **
   9  Prefactor     30.368        24.917        .12492E-05    .88040E-04
  10  Prefactor     .10000E-03    480.53       -.72264E-03** at limit **
  11  Prefactor     64.968        72.536       -.12581E-04    .21055E-04
  12  Prefactor     .10000E-03    70.213       -.31329E-04** at limit **
  13  norm          .10000E-03    35.635        .46768E-05** at limit **
  14  Prefactor     .10000E-03    11.691        .17538E-06** at limit **
  15  norm          6.5606        4.4940        .46626E-06   -.28950E-04
  16  Prefactor     37.727        71.077        .34316E-06   -.17012E-04
  17  norm          .10000E-03    9.2205        .16806E-06** at limit **
  18  Normalizat    .65262        .74984        .21319E-04    .54311E-04
  19  Prefactor     1.1102        .18162       -.42838E-05    .46556E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 487.987
  norm       = 68.4615
  norm       = 1.34167
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 30.3681
  Prefactor  = 0.0001
  Prefactor  = 64.9675
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 6.56059
  Prefactor  = 37.7275
  norm       = 0.0001
  Normalizat = 0.65262
  Prefactor  = 1.11024
 **********
 **   18 **HESSE 
 **********

 FCN=   3660.536     FROM HESSE     STATUS=OK           256 CALLS     2203 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    169.32        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     487.99        309.90        .92838E-04   -1.1253    
   3  norm          68.462        32.939        .48510E-04   -1.4051    
   4  norm          1.3417        2.2633        .10832E-03   -1.5476    
   5  Prefactor     .10000E-03    233.96        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    21.614        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.1837        .14687E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    4.2163        .12127E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     30.368        24.813        .72702E-04   -1.4605    
  10  Prefactor     .10000E-03    480.55        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     64.968        71.819        .49784E-04   -1.4094    
  12  Prefactor     .10000E-03    70.366        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    35.637        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    11.742        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.5606        4.4824        .10015E-03   -1.5196    
  16  Prefactor     37.727        71.138        .65252E-04   -1.4479    
  17  norm          .10000E-03    9.2310        .17942E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .65262        .71837        .87951E-03   -1.0579    
  19  Prefactor     1.1102        .18149        .15995E-03   -.89140    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.16853e-10
Minuit parameter uncertainties:
  1  4.57637e-06
  2  310.978
  3  32.948
  4  2.26344
  5  0.000675752
  6  1.42009e-05
  7  6.45598e-06
  8  6.3519e-07
  9  24.8216
  10  0.000370111
  11  71.9153
  12  4.68112e-05
  13  3.33554e-05
  14  1.52667e-05
  15  4.48262
  16  71.2988
  17  8.13482e-06
  18  0.729079
  19  0.181586
Done.

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

Extracting fit parameters...

4FGL J1924.8-2914
   Spectrum: PowerLaw
985    Prefactor:  3.037e+01  2.482e+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:  1.110e+00  1.816e-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:  6.526e-01  7.291e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.19
Ra Dec: 291.214 -29.247
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 3.62e-07 +/- 2.96e-07
Energy Flux (Fixed Index): 1.21e-04 +/- 9.86e-05

TS (Fixed Index): 2.19
Ra Dec: 291.214 -29.247
Photon Flux Upper Limit: 1.01e-06 ph cm-2 s-1
Energy Flux Upper Limit: 7.76e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/899372/likelihoodResults_567993601_568252801_4FGL_J1924.8-2914_daily_bin1268.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) = 3660.2550463
delta logL = 0.2806207926

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3660.24283255
delta logL = 0.29283454557

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.731       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9313       1.0000          .0000       10.000    
     3 'Normalizat'    .57224       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1198       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3660.243     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      286 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.726        24.095        .85922E-04    .12715E-02
   2  Index         2.9310        .78636        .56000E-02    .41672E-03
   3  Normalizat    .57228        .68064        .93328E-03   -.15952E-03
   4  Prefactor     1.1199        .15969        .15921E-03   -.11403E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.7259
  Index      = 2.93103
  Normalizat = 0.572285
  Prefactor  = 1.11988
 **********
 **   18 **HESSE 
 **********

 FCN=   3660.243     FROM HESSE     STATUS=OK            23 CALLS      309 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.726        22.742        .17184E-04   -1.4775    
   2  Index         2.9310        .74182        .22400E-03   -.42662    
   3  Normalizat    .57228        .67959        .37331E-04   -1.0917    
   4  Prefactor     1.1199        .15943        .31842E-04   -.88834    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.96943e-09
Minuit parameter uncertainties:
  1  22.7507
  2  0.745141
  3  0.689864
  4  0.159501
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/899372': 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) = 3660.24283195
delta logL = 0.292835137768

Extracting fit parameters...

4FGL J1924.8-2914
   Spectrum: PowerLaw
985    Prefactor:  2.173e+01  2.275e+01  1.000e-04  1.000e+04 ( 1.000e-12)
986        Index:  2.931e+00  7.451e-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:  1.120e+00  1.595e-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:  5.723e-01  6.899e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.80
Ra Dec: 291.214 -29.247
Photon Index (Free Index): 2.93 +/- 0.75
Photon Flux (Free Index): 5.96e-07 +/- 5.10e-07
Energy Flux (Free Index): 1.23e-04 +/- 8.98e-05

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/899372/cmap_HighResolution_567993601_568252801_4FGL_J1924.8-2914_daily_bin1268.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.76e-02', comment='SUCCESS', photon_flux='3.62e-07', energy_flux2='1.23e-04', photon_flux_error='2.96e-07', dlogl='2.93e-01', energy_flux='1.21e-04', photon_flux2='5.96e-07', job_status='DONE', time_completed='2021-09-22 21:24:58.704200', photon_index_error2='0.75', photon_index2='2.93', ts='2.19', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='1.01e-06', energy_flux_error2='8.98e-05', EG='0.65', time_epoch_completed='1632371098.7', return_code='0', job_id='899372', GAL2='1.12', EG2='0.57', return_code2='0', energy_flux_error='9.86e-05', photon_flux_error2='5.10e-07', ts2='2.80', photon_index='2.39' WHERE bin_id='1268' AND source_name='4FGL J1924.8-2914' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 22 21:24:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0235>
Subject: Job 899372: <4FGL_J1924.8-2914_daily_bin1268> in cluster <slac> Done

Job <4FGL_J1924.8-2914_daily_bin1268> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 22 21:11:52 2021
Job was executed on host(s) <bullet0235>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 22 21:12:30 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:12:30 2021
Terminated at Wed Sep 22 21:24:59 2021
Results reported at Wed Sep 22 21:24:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1924.8-2914_daily_bin1268 291.214 -29.2468 567993601 568252801 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 :                                   673.00 sec.
    Max Memory :                                 1098 MB
    Average Memory :                             331.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   749 sec.
    Turnaround time :                            787 sec.

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

