/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 36 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_J1924.8-2914_daily_bin1568
RA = 291.214, Dec = -29.2468
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='902194', job_status='RUN', time_executed='2021-09-22 21:23:00.994416', time_epoch_executed='1632370980.99' WHERE source_name='4FGL J1924.8-2914' and cadence='daily' and bin_id='1568'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/902194

Creating custom pfile directory:
/scratch/kocevski/902194/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/902194/ft1_4FGL_J1924.8-2914_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/902194/ft2_4FGL_J1924.8-2914_daily_bin1568.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/902194/ft1_4FGL_J1924.8-2914_daily_bin1568.fits outfile=/scratch/kocevski/902194/ft1_filteredMKT_4FGL_J1924.8-2914_daily_bin1568.fits ra=291.214 dec=-29.2468 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.31
user 2.12
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/902194/ft2_4FGL_J1924.8-2914_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/902194/ft1_filteredMKT_4FGL_J1924.8-2914_daily_bin1568.fits evtable="EVENTS" outfile="/scratch/kocevski/902194/ft1_filtered_4FGL_J1924.8-2914_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.52
user 0.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/902194/ft1_filtered_4FGL_J1924.8-2914_daily_bin1568.fits" evtable="EVENTS" scfile=/scratch/kocevski/902194/ft2_4FGL_J1924.8-2914_daily_bin1568.fits sctable="SC_DATA" outfile=/scratch/kocevski/902194/ltcube_645753601_646012801_4FGL_J1924.8-2914_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/902194/ft2_4FGL_J1924.8-2914_daily_bin1568.fits
.....................!
real 16.76
user 16.32
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/902194/ft1_filtered_4FGL_J1924.8-2914_daily_bin1568.fits evtable="EVENTS" scfile=/scratch/kocevski/902194/ft2_4FGL_J1924.8-2914_daily_bin1568.fits sctable="SC_DATA" expcube=/scratch/kocevski/902194/ltcube_645753601_646012801_4FGL_J1924.8-2914_daily_bin1568.fits outfile=/scratch/kocevski/902194/expmap_645753601_646012801_4FGL_J1924.8-2914_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/902194/ltcube_645753601_646012801_4FGL_J1924.8-2914_daily_bin1568.fits
.....................!
real 193.13
user 187.50
sys 5.25

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/902194/ft1_filtered_4FGL_J1924.8-2914_daily_bin1568.fits scfile=/scratch/kocevski/902194/ft2_4FGL_J1924.8-2914_daily_bin1568.fits outfile=/scratch/kocevski/902194/cmap_645753601_646012801_4FGL_J1924.8-2914_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=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.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/902194/ft1_filtered_4FGL_J1924.8-2914_daily_bin1568.fits scfile=/scratch/kocevski/902194/ft2_4FGL_J1924.8-2914_daily_bin1568.fits outfile=/scratch/kocevski/902194/cmap_HighResolution_645753601_646012801_4FGL_J1924.8-2914_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=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.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/902194/ft1_filtered_4FGL_J1924.8-2914_daily_bin1568.fits evtable="EVENTS" scfile=/scratch/kocevski/902194/ft2_4FGL_J1924.8-2914_daily_bin1568.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/902194/Model_4FGL_J1924.8-2914_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 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/902194/ft1_filtered_4FGL_J1924.8-2914_daily_bin1568.fits......................!
real 25.52
user 24.21
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .54537E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.4033       1.0000         .10000E-03   10000.    
     4 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    53.475       1.0000         .10000E-03   10000.    
     7 'Prefactor '    41.937       1.0000         .10000E-03   10000.    
     8 'norm      '    6.4662       1.0000         .10000E-03   10000.    
     9 'Prefactor '    25.992       1.0000         .10000E-03   10000.    
    10 'Prefactor '    60.172       1.0000         .10000E-03   10000.    
    11 'Prefactor '    75.794       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.1589       1.0000         .10000E-03   10000.    
    13 'norm      '    .17330E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.4453       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .67655E-01   1.0000         .10000E-03   10000.    
    17 'norm      '    38.574       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .50743       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .84514       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=   1283.961     FROM MIGRAD    STATUS=CONVERGED    390 CALLS     2131 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10016E-03    1019.0        .81077E-05** at limit **
   2  Prefactor     .10000E-03    105.97        .12613E-06** at limit **
   3  norm          4.3606        88.532        .36395E-05    .39051E-04
   4  norm          .10000E-03    1.1150        .30566E-07** at limit **
   5  Prefactor     .10000E-03    32.232        .21494E-07** at limit **
   6  norm          53.466        74.727        .87129E-06   -.40257E-04
   7  Prefactor     41.938        31.402        .17766E-06   -.10157E-03
   8  norm          6.4642        14.586       -.46125E-06   -.11260E-03
   9  Prefactor     25.979        36.141       -.12573E-05   -.47477E-04
  10  Prefactor     61.054        2240.9       -.35864E-04    .17300E-04
  11  Prefactor     75.762        68.477       -.30202E-05   -.23144E-04
  12  Prefactor     7.1801        796.64       -.33012E-04   -.24471E-04
  13  norm          .10000E-03    198.44       -.15452E-06** at limit **
  14  Prefactor     .10000E-03    14.118       -.24719E-06** at limit **
  15  norm          2.4447        4.3733       -.69067E-06   -.21367E-03
  16  Prefactor     .10001E-03    1608.2       -.26882E-04** at limit **
  17  norm          38.554        50.296       -.66415E-05   -.73645E-04
  18  Normalizat    .50871        1.0544        .10634E-03    .27507E-04
  19  Prefactor     .84486        .25201       -.16161E-04    .26436E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00010016
  Prefactor  = 0.0001
  norm       = 4.36057
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 53.4657
  Prefactor  = 41.9383
  norm       = 6.46418
  Prefactor  = 25.9794
  Prefactor  = 61.0535
  Prefactor  = 75.7618
  Prefactor  = 7.18006
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.44465
  Prefactor  = 0.000100014
  norm       = 38.5544
  Normalizat = 0.508707
  Prefactor  = 0.844858
 **********
 **   18 **HESSE 
 **********

 FCN=   1283.961     FROM HESSE     STATUS=OK           256 CALLS     2387 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10016E-03    1017.2        .19080E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    105.97        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.3606        87.977        .19192E-03   -1.5290    
   4  norm          .10000E-03    1.1275        .36928E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    32.234        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          53.466        74.846        .54849E-04   -1.4244    
   7  Prefactor     41.938        31.530        .61902E-04   -1.4412    
   8  norm          6.4642        14.602        .15783E-03   -1.5199    
   9  Prefactor     25.979        36.240        .78575E-04   -1.4688    
  10  Prefactor     61.054        2200.5        .25862E-03   -1.4144    
  11  Prefactor     75.762        68.489        .46122E-04   -1.3965    
  12  Prefactor     7.1801        823.13        .14992E-03   -1.5172    
  13  norm          .10000E-03    198.66        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    14.143        .13152E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.4447        4.3616        .95940E-04   -1.5395    
  16  Prefactor     .10001E-03    1630.5        .18712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          38.554        50.763        .64534E-04   -1.4465    
  18  Normalizat    .50871        1.0592        .76909E-03   -1.1201    
  19  Prefactor     .84486        .25522        .14137E-03   -.98095    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3135e-09
Minuit parameter uncertainties:
  1  0.0259293
  2  3.5372e-05
  3  39.2388
  4  5.24232e-06
  5  1.64516e-05
  6  74.9785
  7  31.5425
  8  14.6097
  9  36.2707
  10  765.806
  11  68.5602
  12  156.004
  13  3.54337e-05
  14  4.03353e-05
  15  4.36221
  16  0.00974482
  17  50.8197
  18  1.10624
  19  0.255578
Done.

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

Extracting fit parameters...

4FGL J1924.8-2914
   Spectrum: PowerLaw
985    Prefactor:  2.598e+01  3.627e+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:  8.449e-01  2.556e-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.087e-01  1.106e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.94
Ra Dec: 291.214 -29.247
Photon Flux Upper Limit: 1.54e-06 ph cm-2 s-1
Energy Flux Upper Limit: 1.19e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/902194/likelihoodResults_645753601_646012801_4FGL_J1924.8-2914_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) = 1283.91076051
delta logL = 0.0500809639091

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1283.90910519
delta logL = 0.0517362841438

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.513       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0515       1.0000          .0000       10.000    
     3 'Normalizat'    .53479       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84099       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=   1283.909     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      258 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.483        39.860        .73750E-04    .12563E-04
   2  Index         2.0548        .99749        .74592E-02   -.13888E-05
   3  Normalizat    .53577        .98733        .75087E-03    .74567E-05
   4  Prefactor     .84075        .24077        .14166E-03    .90050E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.4825
  Index      = 2.05483
  Normalizat = 0.535773
  Prefactor  = 0.840746
 **********
 **   18 **HESSE 
 **********

 FCN=   1283.909     FROM HESSE     STATUS=OK            25 CALLS      283 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.483        39.815        .29500E-05   -1.4621    
   2  Index         2.0548        .99636        .29837E-03   -.62986    
   3  Normalizat    .53577        .98666        .30035E-04   -1.1078    
   4  Prefactor     .84075        .24060        .28333E-04   -.98243    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.58223e-11
Minuit parameter uncertainties:
  1  39.8504
  2  1.00674
  3  1.02204
  4  0.240906
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/902194': 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) = 1283.90909888
delta logL = 0.0517425941393

Extracting fit parameters...

4FGL J1924.8-2914
   Spectrum: PowerLaw
985    Prefactor:  2.948e+01  3.985e+01  1.000e-04  1.000e+04 ( 1.000e-12)
986        Index:  2.055e+00  1.007e+00  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:  8.407e-01  2.409e-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.358e-01  1.022e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.04
Ra Dec: 291.214 -29.247
Photon Index (Free Index): 2.05 +/- 1.01
Photon Flux (Free Index): 2.27e-07 +/- 4.03e-07
Energy Flux (Free Index): 1.38e-04 +/- 2.45e-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/902194/cmap_HighResolution_645753601_646012801_4FGL_J1924.8-2914_daily_bin1568.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.19e-01', comment='SUCCESS', energy_flux2='1.38e-04', dlogl='5.17e-02', photon_flux2='2.27e-07', job_status='DONE', time_completed='2021-09-22 21:31:02.953482', photon_index_error2='1.01', photon_index2='2.05', ts='0.94', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', photon_flux_upper_limit='1.54e-06', energy_flux_error2='2.45e-04', EG='0.51', time_epoch_completed='1632371462.95', return_code='0', job_id='902194', GAL2='0.84', EG2='0.54', return_code2='0', photon_flux_error2='4.03e-07', ts2='1.04', photon_index='2.39' WHERE bin_id='1568' AND source_name='4FGL J1924.8-2914' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 22 21:31:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 902194: <4FGL_J1924.8-2914_daily_bin1568> in cluster <slac> Done

Job <4FGL_J1924.8-2914_daily_bin1568> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep 22 21:21:54 2021
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 22 21:22:16 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:22:16 2021
Terminated at Wed Sep 22 21:31:03 2021
Results reported at Wed Sep 22 21:31:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1924.8-2914_daily_bin1568 291.214 -29.2468 645753601 646012801 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 :                                   482.00 sec.
    Max Memory :                                 1099 MB
    Average Memory :                             311.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   527 sec.
    Turnaround time :                            549 sec.

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

