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


Performing analysis on: 4FGL_J1924.8-2914_daily_bin1444
RA = 291.214, Dec = -29.2468
tmin = 613612801, tmax = 613872001
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='900714', job_status='RUN', time_executed='2021-09-22 21:18:36.711145', time_epoch_executed='1632370716.71' WHERE source_name='4FGL J1924.8-2914' and cadence='daily' and bin_id='1444'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/900714

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/900714/ft1_4FGL_J1924.8-2914_daily_bin1444.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/900714/ft2_4FGL_J1924.8-2914_daily_bin1444.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/900714/ft1_4FGL_J1924.8-2914_daily_bin1444.fits outfile=/scratch/kocevski/900714/ft1_filteredMKT_4FGL_J1924.8-2914_daily_bin1444.fits ra=291.214 dec=-29.2468 rad=12.0 tmin=613612801.0 tmax=613872001.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.53
user 2.34
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/900714/ft1_filtered_4FGL_J1924.8-2914_daily_bin1444.fits" evtable="EVENTS" scfile=/scratch/kocevski/900714/ft2_4FGL_J1924.8-2914_daily_bin1444.fits sctable="SC_DATA" outfile=/scratch/kocevski/900714/ltcube_613612801_613872001_4FGL_J1924.8-2914_daily_bin1444.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/900714/ft2_4FGL_J1924.8-2914_daily_bin1444.fits
.....................!
real 13.79
user 13.35
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/900714/ft1_filtered_4FGL_J1924.8-2914_daily_bin1444.fits evtable="EVENTS" scfile=/scratch/kocevski/900714/ft2_4FGL_J1924.8-2914_daily_bin1444.fits sctable="SC_DATA" expcube=/scratch/kocevski/900714/ltcube_613612801_613872001_4FGL_J1924.8-2914_daily_bin1444.fits outfile=/scratch/kocevski/900714/expmap_613612801_613872001_4FGL_J1924.8-2914_daily_bin1444.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/900714/ltcube_613612801_613872001_4FGL_J1924.8-2914_daily_bin1444.fits
.....................!
real 192.91
user 187.02
sys 4.46

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/900714/ft1_filtered_4FGL_J1924.8-2914_daily_bin1444.fits scfile=/scratch/kocevski/900714/ft2_4FGL_J1924.8-2914_daily_bin1444.fits outfile=/scratch/kocevski/900714/cmap_613612801_613872001_4FGL_J1924.8-2914_daily_bin1444.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.38
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    129.24       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .13462E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    30.937       1.0000         .10000E-03   10000.    
     4 'norm      '    .10091E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .57008       1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    7.8619       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.188       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10717E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    52.715       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .45440E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.926       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    51.513       1.0000         .10000E-03   10000.    
    17 'norm      '    31.633       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.6322       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .92361       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=   2331.207     FROM MIGRAD    STATUS=CONVERGED    414 CALLS     1940 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          129.28        257.60        .95124E-06    .17373E-04
   2  Prefactor     .10000E-03    248.89        .10001E-05** at limit **
   3  norm          30.974        47.160       -.29462E-06   -.10356E-04
   4  norm          .10000E-03    3.5037       -.15107E-05** at limit **
   5  Prefactor     3.3401        1082.8        .64474E-04   -.10401E-04
   6  norm          .10000E-03    12.990        .10576E-07** at limit **
   7  Prefactor     .10000E-03    19.965       -.64267E-06** at limit **
   8  norm          7.8479        29.546       -.16920E-05   -.56838E-04
   9  Prefactor     13.197        16.598       -.11486E-06   -.72007E-04
  10  Prefactor     .10001E-03    209.73       -.18806E-05** at limit **
  11  Prefactor     52.719        40.335        .18731E-06    .25972E-04
  12  Prefactor     .10002E-03    449.68        .29464E-05** at limit **
  13  norm          .10000E-03    22.312        .28518E-07** at limit **
  14  Prefactor     15.919        17.964        .16710E-06    .26639E-06
  15  norm          .10000E-03    1.3482        .28773E-07** at limit **
  16  Prefactor     51.555        82.533        .56977E-06    .37302E-04
  17  norm          31.638        27.673        .37625E-06    .10340E-03
  18  Normalizat    1.6357        .79399       -.16319E-05   -.88755E-06
  19  Prefactor     .92241        .18306        .11665E-06   -.47893E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 129.283
  Prefactor  = 0.000100003
  norm       = 30.9742
  norm       = 0.0001
  Prefactor  = 3.34006
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 7.84788
  Prefactor  = 13.1968
  Prefactor  = 0.000100007
  Prefactor  = 52.719
  Prefactor  = 0.000100015
  norm       = 0.0001
  Prefactor  = 15.9195
  norm       = 0.0001
  Prefactor  = 51.5546
  norm       = 31.6377
  Normalizat = 1.63568
  Prefactor  = 0.922413
 **********
 **   18 **HESSE 
 **********

 FCN=   2331.207     FROM HESSE     STATUS=OK           260 CALLS     2200 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          129.28        258.60        .17708E-03   -1.3429    
   2  Prefactor     .10000E-03    249.28        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          30.974        47.553        .72036E-04   -1.4594    
   4  norm          .10000E-03    3.8696        .18232E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.3401        1117.9        .23107E-02   -1.5342    
   6  norm          .10000E-03    13.002        .16999E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    19.996        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          7.8479        29.509        .14301E-03   -1.5148    
   9  Prefactor     13.197        16.614        .11030E-03   -1.4981    
  10  Prefactor     .10001E-03    210.67        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     52.719        40.512        .55241E-04   -1.4255    
  12  Prefactor     .10002E-03    454.45        .21204E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    22.313        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     15.919        18.199        .10036E-03   -1.4910    
  15  norm          .10000E-03    1.3745        .54711E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     51.555        82.598        .55878E-04   -1.4271    
  17  norm          31.638        27.737        .71241E-04   -1.4582    
  18  Normalizat    1.6357        .94861        .55408E-03   -.74034    
  19  Prefactor     .92241        .22172        .16890E-03   -.95362    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.30582e-10
Minuit parameter uncertainties:
  1  260.915
  2  0.00175258
  3  47.6116
  4  8.03292e-05
  5  124.629
  6  2.00484e-06
  7  2.91331e-05
  8  29.5642
  9  16.6198
  10  0.00251405
  11  40.5328
  12  0.00530294
  13  7.61779e-07
  14  18.2053
  15  4.46497e-07
  16  82.7819
  17  27.7486
  18  0.959393
  19  0.221933
Done.

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

Extracting fit parameters...

4FGL J1924.8-2914
   Spectrum: PowerLaw
985    Prefactor:  1.320e+01  1.662e+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.224e-01  2.219e-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:  1.636e+00  9.594e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.23
Ra Dec: 291.214 -29.247
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 1.58e-07 +/- 1.98e-07
Energy Flux (Fixed Index): 5.24e-05 +/- 6.60e-05

TS (Fixed Index): 1.23
Ra Dec: 291.214 -29.247
Photon Flux Upper Limit: 7.13e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.50e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/900714/likelihoodResults_613612801_613872001_4FGL_J1924.8-2914_daily_bin1444.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) = 2330.89331635
delta logL = 0.313847908164

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2330.88694539
delta logL = 0.320218869454

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.775       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7234       1.0000          .0000       10.000    
     3 'Normalizat'    1.6943       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91432       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=   2330.887     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      204 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.764        18.634       -.77572E-05   -.77931E-05
   2  Index         1.7208        .74812       -.60861E-04    .18443E-04
   3  Normalizat    1.6955        .72411        .38878E-05    .16876E-03
   4  Prefactor     .91397        .17432        .83842E-06    .47810E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.7638
  Index      = 1.7208
  Normalizat = 1.69552
  Prefactor  = 0.913967
 **********
 **   18 **HESSE 
 **********

 FCN=   2330.887     FROM HESSE     STATUS=OK            29 CALLS      233 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.764        18.449        .52100E-03   -1.4939    
   2  Index         1.7208        .74077        .76503E-02   -.71529    
   3  Normalizat    1.6955        .85088        .54610E-03   -.72423    
   4  Prefactor     .91397        .20591        .16950E-03   -.95655    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.86565e-10
Minuit parameter uncertainties:
  1  18.4561
  2  0.745608
  3  0.858387
  4  0.206083
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/900714': 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) = 2330.88693759
delta logL = 0.320226661217

Extracting fit parameters...

4FGL J1924.8-2914
   Spectrum: PowerLaw
985    Prefactor:  1.476e+01  1.846e+01  1.000e-04  1.000e+04 ( 1.000e-12)
986        Index:  1.721e+00  7.456e-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.140e-01  2.061e-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:  1.696e+00  8.584e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.88
Ra Dec: 291.214 -29.247
Photon Index (Free Index): 1.72 +/- 0.75
Photon Flux (Free Index): 8.08e-08 +/- 1.26e-07
Energy Flux (Free Index): 1.23e-04 +/- 2.18e-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/900714/cmap_HighResolution_613612801_613872001_4FGL_J1924.8-2914_daily_bin1444.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.50e-02', comment='SUCCESS', photon_flux='1.58e-07', energy_flux2='1.23e-04', photon_flux_error='1.98e-07', dlogl='3.20e-01', energy_flux='5.24e-05', photon_flux2='8.08e-08', job_status='DONE', time_completed='2021-09-22 21:27:56.831012', photon_index_error2='0.75', photon_index2='1.72', ts='1.23', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='7.13e-07', energy_flux_error2='2.18e-04', EG='1.64', time_epoch_completed='1632371276.83', return_code='0', job_id='900714', GAL2='0.91', EG2='1.70', return_code2='0', energy_flux_error='6.60e-05', photon_flux_error2='1.26e-07', ts2='1.88', photon_index='2.39' WHERE bin_id='1444' AND source_name='4FGL J1924.8-2914' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 22 21:27:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0197>
Subject: Job 900714: <4FGL_J1924.8-2914_daily_bin1444> in cluster <slac> Done

Job <4FGL_J1924.8-2914_daily_bin1444> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 22 21:16:44 2021
Job was executed on host(s) <bullet0197>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 22 21:17: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 21:17:33 2021
Terminated at Wed Sep 22 21:27:57 2021
Results reported at Wed Sep 22 21:27:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1924.8-2914_daily_bin1444 291.214 -29.2468 613612801 613872001 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 :                                   555.31 sec.
    Max Memory :                                 1261 MB
    Average Memory :                             313.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   624 sec.
    Turnaround time :                            673 sec.

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

