aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 186 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 = 7524
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1924.8-2914_daily_bin1706
RA = 291.214, Dec = -29.2468
tmin = 681523201, tmax = 681782401
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='506223', job_status='RUN', time_executed='2022-08-10 02:16:12.686670', time_epoch_executed='1660122972.69' WHERE source_name='4FGL J1924.8-2914' and cadence='daily' and bin_id='1706'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/506223

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/506223/ft1_4FGL_J1924.8-2914_daily_bin1706.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/506223/ft2_4FGL_J1924.8-2914_daily_bin1706.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/506223/ft1_4FGL_J1924.8-2914_daily_bin1706.fits outfile=/scratch/kocevski/506223/ft1_filteredMKT_4FGL_J1924.8-2914_daily_bin1706.fits ra=291.214 dec=-29.2468 rad=12.0 tmin=681523201.0 tmax=681782401.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.61
user 2.42
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/506223/ft2_4FGL_J1924.8-2914_daily_bin1706.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/506223/ft1_filteredMKT_4FGL_J1924.8-2914_daily_bin1706.fits evtable="EVENTS" outfile="/scratch/kocevski/506223/ft1_filtered_4FGL_J1924.8-2914_daily_bin1706.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.51
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 204

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/506223/ft1_filtered_4FGL_J1924.8-2914_daily_bin1706.fits" evtable="EVENTS" scfile=/scratch/kocevski/506223/ft2_4FGL_J1924.8-2914_daily_bin1706.fits sctable="SC_DATA" outfile=/scratch/kocevski/506223/ltcube_681523201_681782401_4FGL_J1924.8-2914_daily_bin1706.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/506223/ft2_4FGL_J1924.8-2914_daily_bin1706.fits
.....................!
real 15.26
user 14.88
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/506223/ft1_filtered_4FGL_J1924.8-2914_daily_bin1706.fits evtable="EVENTS" scfile=/scratch/kocevski/506223/ft2_4FGL_J1924.8-2914_daily_bin1706.fits sctable="SC_DATA" expcube=/scratch/kocevski/506223/ltcube_681523201_681782401_4FGL_J1924.8-2914_daily_bin1706.fits outfile=/scratch/kocevski/506223/expmap_681523201_681782401_4FGL_J1924.8-2914_daily_bin1706.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/506223/ltcube_681523201_681782401_4FGL_J1924.8-2914_daily_bin1706.fits
.....................!
real 191.89
user 187.27
sys 4.17

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/506223/ft1_filtered_4FGL_J1924.8-2914_daily_bin1706.fits scfile=/scratch/kocevski/506223/ft2_4FGL_J1924.8-2914_daily_bin1706.fits outfile=/scratch/kocevski/506223/cmap_681523201_681782401_4FGL_J1924.8-2914_daily_bin1706.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/506223/ft1_filtered_4FGL_J1924.8-2914_daily_bin1706.fits scfile=/scratch/kocevski/506223/ft2_4FGL_J1924.8-2914_daily_bin1706.fits outfile=/scratch/kocevski/506223/cmap_HighResolution_681523201_681782401_4FGL_J1924.8-2914_daily_bin1706.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.61
user 0.42
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/506223/ft1_filtered_4FGL_J1924.8-2914_daily_bin1706.fits evtable="EVENTS" scfile=/scratch/kocevski/506223/ft2_4FGL_J1924.8-2914_daily_bin1706.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/506223/Model_4FGL_J1924.8-2914_daily_bin1706.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/506223/ft1_filtered_4FGL_J1924.8-2914_daily_bin1706.fits.....................!
real 37.48
user 36.11
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .25083E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    164.36       1.0000         .10000E-03   10000.    
     3 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.1191       1.0000         .10000E-03   10000.    
     5 'Prefactor '    66.763       1.0000         .10000E-03   10000.    
     6 'norm      '    13.068       1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.215       1.0000         .10000E-03   10000.    
     8 'norm      '    9.2569       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10251E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10170E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.3894       1.0000         .10000E-03   10000.    
    12 'Prefactor '    105.99       1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    20.138       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10203E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    4.3412       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .42710       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=   2078.715     FROM MIGRAD    STATUS=CONVERGED    643 CALLS     2161 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    950.52        .90625E-02** at limit **
   2  Prefactor     164.34        145.72        .15730E-03    .29321E-04
   3  norm          .10000E-03    8.4781        .12930E-02** at limit **
   4  norm          1.1198        4.2483        .14756E-03    .27631E-03
   5  Prefactor     66.764        90.874        .49120E-04    .95634E-04
   6  norm          13.071        19.995        .11080E-03   -.77464E-05
   7  Prefactor     10.210        27.811        .12537E-03    .13190E-03
   8  norm          9.2580        38.704        .13172E-03    .11134E-03
   9  Prefactor     .10000E-03    49.884        .18142E-02** at limit **
  10  Prefactor     .10000E-03    225.88        .18142E-02** at limit **
  11  Prefactor     7.3942        36.791        .14754E-03    .17106E-04
  12  Prefactor     105.96        131.28        .19531E-03    .20373E-05
  13  norm          .10000E-03    70.815        .18142E-02** at limit **
  14  Prefactor     .10000E-03    28.476        .18142E-02** at limit **
  15  norm          20.138        9.7324        .89254E-04    .55217E-04
  16  Prefactor     .10000E-03    127.06        .18142E-02** at limit **
  17  norm          .10000E-03    155.65        .18142E-02** at limit **
  18  Normalizat    4.3414        1.0703        .49732E-03    .17385E-04
  19  Prefactor     .42701        .16086        .18601E-03    .34223E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100002
  Prefactor  = 164.343
  norm       = 0.0001
  norm       = 1.11977
  Prefactor  = 66.7643
  norm       = 13.0711
  Prefactor  = 10.2098
  norm       = 9.25799
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 7.39421
  Prefactor  = 105.962
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 20.1382
  Prefactor  = 0.000100001
  norm       = 0.0001
  Normalizat = 4.34137
  Prefactor  = 0.427014
 **********
 **   18 **HESSE 
 **********

 FCN=   2078.715     FROM HESSE     STATUS=OK           248 CALLS     2409 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    987.60        .36250E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     164.34        145.71        .31461E-04   -1.3137    
   3  norm          .10000E-03    8.4789        .25860E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.1198        4.2438        .59025E-05   -1.5496    
   5  Prefactor     66.764        90.844        .98240E-05   -1.4072    
   6  norm          13.071        19.995        .44322E-05   -1.4985    
   7  Prefactor     10.210        27.810        .50146E-05   -1.5069    
   8  norm          9.2580        38.692        .52690E-05   -1.5099    
   9  Prefactor     .10000E-03    49.904        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    225.88        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.3942        36.802        .59017E-05   -1.5164    
  12  Prefactor     105.96        131.29        .78122E-05   -1.3646    
  13  norm          .10000E-03    70.815        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    28.479        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          20.138        9.7325        .35701E-05   -1.4810    
  16  Prefactor     .10000E-03    127.06        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    155.66        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    4.3414        1.0707        .19893E-04   -.13325    
  19  Prefactor     .42701        .16064        .37202E-04   -1.1545    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.84969e-10
Minuit parameter uncertainties:
  1  0.00309592
  2  146.031
  3  6.04498e-06
  4  4.24495
  5  91.0335
  6  20.0048
  7  27.8448
  8  37.8948
  9  9.33875e-05
  10  0.00158553
  11  33.0244
  12  131.656
  13  6.31551e-05
  14  0.000108353
  15  9.73325
  16  0.000562468
  17  3.40483e-05
  18  1.07925
  19  0.160805
Done.

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

Extracting fit parameters...

4FGL J1924.8-2914
   Spectrum: PowerLaw
985    Prefactor:  1.000e-04  9.339e-05  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:  4.270e-01  1.608e-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:  4.341e+00  1.079e+00  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/506223/likelihoodResults_681523201_681782401_4FGL_J1924.8-2914_daily_bin1706.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): 102
logL (Free Index) = 2078.71501368
delta logL = -9.54274864853e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2078.71491757
delta logL = 6.8392000685e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27974E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7116       1.0000          .0000       10.000    
     3 'Normalizat'    4.3414       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .42701       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   2078.710     FROM MIGRAD    STATUS=FAILED       252 CALLS      444 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .97197        258.52        .43885E-02   -.21026E-02
   2  Index         3.1978        2.0107        .50000        .14580E-04
   3  Normalizat    4.2978        .87230E-01    .49732E-03    .71386E-04
   4  Prefactor     .43080        .13323E-01    .18601E-03    .17376E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   2078.710     FROM SIMPLEX   STATUS=UNCHANGED     75 CALLS      519 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .97197        258.52        .81055E-03   -.21026E-02
   2  Index         3.1978        2.0107        .45311E-02    .14580E-04
   3  Normalizat    4.2978        .87230E-01    .26004E-03    .71386E-04
   4  Prefactor     .43080        .13323E-01    .62652E-04    .17376E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2078.710     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      552 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .97202        34.219        .87771E-03   -.25206E-04
   2  Index         3.1978        3.3123        .56902E-02    .15479E-04
   3  Normalizat    4.2978        1.1182        .99465E-04    .87815E-04
   4  Prefactor     .43080        .16316        .37201E-04    .19668E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.972017
  Index      = 3.19777
  Normalizat = 4.29782
  Prefactor  = 0.430796
 **********
 **   18 **HESSE 
 **********

 FCN=   2078.710     FROM HESSE     STATUS=OK            25 CALLS      577 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .97202        34.304        .35108E-04   -1.5905    
   2  Index         3.1978        3.3012        .22761E-03   -.36875    
   3  Normalizat    4.2978        1.1224        .19893E-04   -.14205    
   4  Prefactor     .43080        .16339        .74403E-05   -1.1526    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.14833e-10
Minuit parameter uncertainties:
  1  11.5554
  2  3.66766
  3  1.13223
  4  0.163572
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/506223': 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) = 2078.71025744
delta logL = 0.0046608081102

Extracting fit parameters...

4FGL J1924.8-2914
   Spectrum: PowerLaw
985    Prefactor:  9.720e-01  1.156e+01  1.000e-04  1.000e+04 ( 1.000e-12)
986        Index:  3.198e+00  3.668e+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:  4.308e-01  1.636e-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:  4.298e+00  1.132e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 291.214 -29.247

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/506223/cmap_HighResolution_681523201_681782401_4FGL_J1924.8-2914_daily_bin1706.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.83e-02', job_status='DONE', photon_flux_upper_limit='7.54e-07', time_completed='2022-08-10 02:26:02.805264', job_id='506223', GAL2='0.43', fit_tolerance='1e-08', EG2='4.30', EG='4.34', time_epoch_completed='1660123562.81', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.43', dlogl='4.66e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1706' AND source_name='4FGL J1924.8-2914' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 10 02:26:02 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 506223: <4FGL_J1924.8-2914_daily_bin1706> in cluster <slac> Done

Job <4FGL_J1924.8-2914_daily_bin1706> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Aug 10 02:10:31 2022
Job was executed on host(s) <bullet0240>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Aug 10 02:12:57 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Aug 10 02:12:57 2022
Terminated at Wed Aug 10 02:26:03 2022
Results reported at Wed Aug 10 02:26:03 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1924.8-2914_daily_bin1706 291.214 -29.2468 681523201 681782401 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 :                                   592.44 sec.
    Max Memory :                                 1261 MB
    Average Memory :                             290.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   786 sec.
    Turnaround time :                            932 sec.

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

