/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 6 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 = 7397
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1408.9-0751_daily_bin292
RA = 212.236, Dec = -7.8575
tmin = 315014401, tmax = 315273601
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='222440', job_status='RUN', time_executed='2021-09-09 03:00:58.988698', time_epoch_executed='1631181658.99' WHERE source_name='4FGL J1408.9-0751' and cadence='daily' and bin_id='292'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/222440

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/222440/ft1_4FGL_J1408.9-0751_daily_bin292.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/222440/ft2_4FGL_J1408.9-0751_daily_bin292.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/222440/ft1_4FGL_J1408.9-0751_daily_bin292.fits outfile=/scratch/kocevski/222440/ft1_filteredMKT_4FGL_J1408.9-0751_daily_bin292.fits ra=212.236 dec=-7.8575 rad=12.0 tmin=315014401.0 tmax=315273601.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 3.53
user 3.35
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/222440/ft2_4FGL_J1408.9-0751_daily_bin292.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/222440/ft2_4FGL_J1408.9-0751_daily_bin292.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/222440/ft1_filteredMKT_4FGL_J1408.9-0751_daily_bin292.fits evtable="EVENTS" outfile="/scratch/kocevski/222440/ft1_filtered_4FGL_J1408.9-0751_daily_bin292.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.48
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/222440/ft1_filtered_4FGL_J1408.9-0751_daily_bin292.fits" evtable="EVENTS" scfile=/scratch/kocevski/222440/ft2_4FGL_J1408.9-0751_daily_bin292.fits sctable="SC_DATA" outfile=/scratch/kocevski/222440/ltcube_315014401_315273601_4FGL_J1408.9-0751_daily_bin292.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/222440/ft2_4FGL_J1408.9-0751_daily_bin292.fits
.....................!
real 11.86
user 11.54
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/222440/ft1_filtered_4FGL_J1408.9-0751_daily_bin292.fits evtable="EVENTS" scfile=/scratch/kocevski/222440/ft2_4FGL_J1408.9-0751_daily_bin292.fits sctable="SC_DATA" expcube=/scratch/kocevski/222440/ltcube_315014401_315273601_4FGL_J1408.9-0751_daily_bin292.fits outfile=/scratch/kocevski/222440/expmap_315014401_315273601_4FGL_J1408.9-0751_daily_bin292.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/222440/ltcube_315014401_315273601_4FGL_J1408.9-0751_daily_bin292.fits
.....................!
real 193.83
user 188.80
sys 4.67

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
Added 160 point sources and 0 extended sources

Setting source of interest to:
4FGL J1408.9-0751 @ 212.236 -7.8575

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/222440/ft1_filtered_4FGL_J1408.9-0751_daily_bin292.fits scfile=/scratch/kocevski/222440/ft2_4FGL_J1408.9-0751_daily_bin292.fits outfile=/scratch/kocevski/222440/cmap_315014401_315273601_4FGL_J1408.9-0751_daily_bin292.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=212.236 yref=-7.8575 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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/222440/ft1_filtered_4FGL_J1408.9-0751_daily_bin292.fits scfile=/scratch/kocevski/222440/ft2_4FGL_J1408.9-0751_daily_bin292.fits outfile=/scratch/kocevski/222440/cmap_HighResolution_315014401_315273601_4FGL_J1408.9-0751_daily_bin292.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=212.236 yref=-7.8575 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.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/222440/ft1_filtered_4FGL_J1408.9-0751_daily_bin292.fits evtable="EVENTS" scfile=/scratch/kocevski/222440/ft2_4FGL_J1408.9-0751_daily_bin292.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/222440/Model_4FGL_J1408.9-0751_daily_bin292.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 GAL_V02
Working on...
/scratch/kocevski/222440/ft1_filtered_4FGL_J1408.9-0751_daily_bin292.fits.....................!
real 68.96
user 67.60
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/222440/ft1_filtered_4FGL_J1408.9-0751_daily_bin292.fits', '/scratch/kocevski/222440/ft2_4FGL_J1408.9-0751_daily_bin292.fits', expMap='/scratch/kocevski/222440/expmap_315014401_315273601_4FGL_J1408.9-0751_daily_bin292.fits', expCube='/scratch/kocevski/222440/ltcube_315014401_315273601_4FGL_J1408.9-0751_daily_bin292.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/222440/Model_4FGL_J1408.9-0751_daily_bin292.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1408.9-0751'

4FGL J1408.9-0751
   Spectrum: LogParabola
290         norm:  1.948e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  2.331e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  7.373e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  1.104e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/222440/ft1_filtered_4FGL_J1408.9-0751_daily_bin292.fits
Spacecraft file(s): /scratch/kocevski/222440/ft2_4FGL_J1408.9-0751_daily_bin292.fits
Exposure map: /scratch/kocevski/222440/expmap_315014401_315273601_4FGL_J1408.9-0751_daily_bin292.fits
Exposure cube: /scratch/kocevski/222440/ltcube_315014401_315273601_4FGL_J1408.9-0751_daily_bin292.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/222440/Model_4FGL_J1408.9-0751_daily_bin292.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) = 9167.98594092

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.4386       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10483E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.1125       1.0000         .10000E-03   10000.    
     4 'norm      '    8.0660       1.0000         .10000E-03   10000.    
     5 'norm      '    .10036E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    6.4490       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.2494       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11718E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.8782       1.0000         .10000E-03   10000.    
    13 'norm      '    6.8449       1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.020       1.0000         .10000E-03   10000.    
    15 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.406       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    3.5492       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .17502E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .60042E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1283       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .98232       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5320E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9167.860     FROM MIGRAD    STATUS=CONVERGED    522 CALLS     2195 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.4420        10.482        .16296E-06   -.35748E-04
   2  Prefactor     .10000E-03    28.430        .40408E-06** at limit **
   3  norm          3.1127        1.3549        .42623E-07   -.49964E-04
   4  norm          8.0692        3.5816        .12670E-06   -.42912E-03
   5  norm          .10000E-03    6.3280       -.85090E-07** at limit **
   6  norm          .10000E-03    10.600        .10790E-06** at limit **
   7  norm          6.4488        5.4566        .10822E-05    .48739E-04
   8  Prefactor     3.2502        4.2003        .41104E-06   -.33633E-04
   9  Prefactor     .10000E-03    5.2853        .19511E-07** at limit **
  10  Prefactor     .10000E-03    46.987       -.87565E-06** at limit **
  11  norm          .10000E-03    2.5610       -.13596E-06** at limit **
  12  Prefactor     1.8769        19.070        .13052E-04    .90298E-05
  13  norm          6.8454        2.7742        .97370E-07   -.36057E-04
  14  Prefactor     14.020        18.909       -.12998E-05   -.10766E-04
  15  norm          .10000E-03    3.0245        .17047E-08** at limit **
  16  norm          .10000E-03    1.8234        .22300E-08** at limit **
  17  Prefactor     10.401        12.462        .20646E-06   -.24265E-05
  18  Prefactor     .10000E-03    12.299       -.13230E-06** at limit **
  19  norm          3.5455        6.7009        .16230E-06    .23840E-05
  20  Prefactor     .10000E-03    2.1990       -.12212E-05** at limit **
  21  Prefactor     .10007E-03    150.33        .32059E-05** at limit **
  22  Normalizat    1.1284        .19787       -.17792E-05   -.69345E-04
  23  Prefactor     .98218        .10047       -.13564E-07   -.23055E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.44198
  Prefactor  = 0.0001
  norm       = 3.11271
  norm       = 8.06922
  norm       = 0.0001
  norm       = 0.0001
  norm       = 6.44876
  Prefactor  = 3.25022
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.87687
  norm       = 6.84538
  Prefactor  = 14.0202
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 10.4009
  Prefactor  = 0.0001
  norm       = 3.5455
  Prefactor  = 0.0001
  Prefactor  = 0.000100068
  Normalizat = 1.12839
  Prefactor  = 0.982184
 **********
 **   18 **HESSE 
 **********

 FCN=   9167.860     FROM HESSE     STATUS=OK           370 CALLS     2565 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.4420        10.511        .13800E-03   -1.5127    
   2  Prefactor     .10000E-03    28.690        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.1127        1.3551        .70731E-04   -1.5355    
   4  norm          8.0692        3.5576        .57433E-03   -1.5140    
   5  norm          .10000E-03    6.4682        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    10.606        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.4488        5.4591        .79021E-03   -1.5200    
   8  Prefactor     3.2502        4.1915        .21106E-03   -1.5347    
   9  Prefactor     .10000E-03    5.2889        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    47.277        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    2.5756        .14953E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.8769        19.494        .15190E-02   -1.5434    
  13  norm          6.8454        2.7807        .96215E-04   -1.5185    
  14  Prefactor     14.020        18.966        .10697E-03   -1.4959    
  15  norm          .10000E-03    3.0260        .16263E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.8314        .12624E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     10.401        12.463        .12421E-03   -1.5063    
  18  Prefactor     .10000E-03    12.368        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.5455        6.6848        .21455E-03   -1.5331    
  20  Prefactor     .10000E-03    4.3722        .26951E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10007E-03    155.32        .42127E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1284        .23285        .32788E-03   -.88845    
  23  Prefactor     .98218        .11840        .18702E-03   -.93326    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.17962e-10
Minuit parameter uncertainties:
  1  10.5137
  2  6.60242e-05
  3  1.3551
  4  3.55774
  5  9.20331e-06
  6  1.11848e-05
  7  5.45957
  8  4.19189
  9  8.26037e-07
  10  0.000231135
  11  1.26796e-05
  12  12.1023
  13  2.78074
  14  18.9738
  15  3.91007e-07
  16  6.36521e-07
  17  12.4665
  18  2.53758e-05
  19  6.68621
  20  1.92375e-05
  21  0.00652328
  22  0.233058
  23  0.118431
Done.

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

Extracting fit parameters...

4FGL J1408.9-0751
   Spectrum: LogParabola
290         norm:  6.845e+00  2.781e+00  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  2.331e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  7.373e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  1.104e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  9.822e-01  1.184e-01  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  1.128e+00  2.331e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.80
Ra Dec: 212.236 -7.857
Photon Index (Fixed Index): 2.33 +/- 0.00
Photon Flux (Fixed Index): 1.10e-07 +/- 4.46e-08
Energy Flux (Fixed Index): 4.10e-05 +/- 1.67e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9166.98716308
delta logL = 0.872926088348

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9166.9856075
delta logL = 0.874481660614

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0374       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8432       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0718       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0014       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5320E+05   .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=   9166.986     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      280 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0375        2.9907        .65925E-04   -.29834E-03
   2  alpha         2.8432        .44858        .74082E-02    .41846E-03
   3  Normalizat    1.0718        .22401        .33517E-03    .25507E-04
   4  Prefactor     1.0014        .11803        .18538E-03    .71114E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.03747
  alpha      = 2.84319
  Normalizat = 1.07177
  Prefactor  = 1.00139
 **********
 **   18 **HESSE 
 **********

 FCN=   9166.986     FROM HESSE     STATUS=OK            25 CALLS      305 TOTAL
                     EDM=   .86E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0375        2.7280        .26370E-05   -1.5306    
   2  alpha         2.8432        .40924        .14816E-02    .13771    
   3  Normalizat    1.0718        .22389        .13407E-04   -.90664    
   4  Prefactor     1.0014        .11799        .37076E-04   -.92683    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.61231e-12
Minuit parameter uncertainties:
  1  2.72804
  2  0.411127
  3  0.22409
  4  0.118017
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/222440': 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) = 9166.98560749
delta logL = 0.874481678891

Extracting fit parameters...

4FGL J1408.9-0751
   Spectrum: LogParabola
290         norm:  4.037e+00  2.728e+00  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  2.843e+00  4.111e-01  0.000e+00  5.000e+00 ( 1.000e+00)
292         beta:  7.373e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  1.104e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  1.001e+00  1.180e-01  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  1.072e+00  2.241e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.73
Ra Dec: 212.236 -7.857
Photon Index (Free Index): 2.84 +/- 0.41
Photon Flux (Free Index): 1.55e-07 +/- 6.22e-08
Energy Flux (Free Index): 3.63e-05 +/- 1.36e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/222440/cmap_HighResolution_315014401_315273601_4FGL_J1408.9-0751_daily_bin292.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.10e-07', energy_flux2='3.63e-05', photon_flux_error='4.46e-08', dlogl='8.74e-01', energy_flux='4.10e-05', photon_flux2='1.55e-07', job_status='DONE', time_completed='2021-09-09 03:11:51.248617', photon_index_error2='0.41', photon_index2='2.84', ts='11.80', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='1.36e-05', EG='1.13', time_epoch_completed='1631182311.25', return_code='0', job_id='222440', GAL2='1.00', EG2='1.07', return_code2='0', energy_flux_error='1.67e-05', photon_flux_error2='6.22e-08', ts2='13.73', photon_index='2.33' WHERE bin_id='292' AND source_name='4FGL J1408.9-0751' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 03:11:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 222440: <4FGL_J1408.9-0751_daily_bin292> in cluster <slac> Done

Job <4FGL_J1408.9-0751_daily_bin292> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep  9 03:00:43 2021
Job was executed on host(s) <bullet0072>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 03:00:45 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 03:00:45 2021
Terminated at Thu Sep  9 03:11:52 2021
Results reported at Thu Sep  9 03:11:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1408.9-0751_daily_bin292 212.236 -7.8575 315014401 315273601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1408.9-0751 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   647.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             352.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   666 sec.
    Turnaround time :                            669 sec.

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

