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


Performing analysis on: 4FGL_J2126.3-4605_daily_bin1221
RA = 321.595, Dec = -46.0978
tmin = 555811201, tmax = 556070401
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='487788', job_status='RUN', time_executed='2021-09-26 13:28:04.348141', time_epoch_executed='1632688084.35' WHERE source_name='4FGL J2126.3-4605' and cadence='daily' and bin_id='1221'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/487788

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/487788/ft1_4FGL_J2126.3-4605_daily_bin1221.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/487788/ft2_4FGL_J2126.3-4605_daily_bin1221.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/487788/ft1_4FGL_J2126.3-4605_daily_bin1221.fits outfile=/scratch/kocevski/487788/ft1_filteredMKT_4FGL_J2126.3-4605_daily_bin1221.fits ra=321.595 dec=-46.0978 rad=12.0 tmin=555811201.0 tmax=556070401.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.77
user 3.39
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/487788/ft2_4FGL_J2126.3-4605_daily_bin1221.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/487788/ft2_4FGL_J2126.3-4605_daily_bin1221.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/487788/ft1_filteredMKT_4FGL_J2126.3-4605_daily_bin1221.fits evtable="EVENTS" outfile="/scratch/kocevski/487788/ft1_filtered_4FGL_J2126.3-4605_daily_bin1221.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.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/487788/ft1_filtered_4FGL_J2126.3-4605_daily_bin1221.fits" evtable="EVENTS" scfile=/scratch/kocevski/487788/ft2_4FGL_J2126.3-4605_daily_bin1221.fits sctable="SC_DATA" outfile=/scratch/kocevski/487788/ltcube_555811201_556070401_4FGL_J2126.3-4605_daily_bin1221.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/487788/ft2_4FGL_J2126.3-4605_daily_bin1221.fits
.....................!
real 14.94
user 14.52
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/487788/ft1_filtered_4FGL_J2126.3-4605_daily_bin1221.fits evtable="EVENTS" scfile=/scratch/kocevski/487788/ft2_4FGL_J2126.3-4605_daily_bin1221.fits sctable="SC_DATA" expcube=/scratch/kocevski/487788/ltcube_555811201_556070401_4FGL_J2126.3-4605_daily_bin1221.fits outfile=/scratch/kocevski/487788/expmap_555811201_556070401_4FGL_J2126.3-4605_daily_bin1221.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/487788/ltcube_555811201_556070401_4FGL_J2126.3-4605_daily_bin1221.fits
.....................!
real 195.35
user 189.10
sys 5.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
Added 167 point sources and 0 extended sources

Setting source of interest to:
4FGL J2126.3-4605 @ 321.595 -46.0978

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/487788/ft1_filtered_4FGL_J2126.3-4605_daily_bin1221.fits scfile=/scratch/kocevski/487788/ft2_4FGL_J2126.3-4605_daily_bin1221.fits outfile=/scratch/kocevski/487788/cmap_555811201_556070401_4FGL_J2126.3-4605_daily_bin1221.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=321.595 yref=-46.0978 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/487788/ft1_filtered_4FGL_J2126.3-4605_daily_bin1221.fits scfile=/scratch/kocevski/487788/ft2_4FGL_J2126.3-4605_daily_bin1221.fits outfile=/scratch/kocevski/487788/cmap_HighResolution_555811201_556070401_4FGL_J2126.3-4605_daily_bin1221.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=321.595 yref=-46.0978 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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/487788/ft1_filtered_4FGL_J2126.3-4605_daily_bin1221.fits evtable="EVENTS" scfile=/scratch/kocevski/487788/ft2_4FGL_J2126.3-4605_daily_bin1221.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/487788/Model_4FGL_J2126.3-4605_daily_bin1221.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/487788/ft1_filtered_4FGL_J2126.3-4605_daily_bin1221.fits.....................!
real 23.62
user 22.21
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/487788/ft1_filtered_4FGL_J2126.3-4605_daily_bin1221.fits', '/scratch/kocevski/487788/ft2_4FGL_J2126.3-4605_daily_bin1221.fits', expMap='/scratch/kocevski/487788/expmap_555811201_556070401_4FGL_J2126.3-4605_daily_bin1221.fits', expCube='/scratch/kocevski/487788/ltcube_555811201_556070401_4FGL_J2126.3-4605_daily_bin1221.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/487788/Model_4FGL_J2126.3-4605_daily_bin1221.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2126.3-4605'

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  5.352e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
281        Index:  2.554e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
282        Scale:  5.669e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/487788/ft1_filtered_4FGL_J2126.3-4605_daily_bin1221.fits
Spacecraft file(s): /scratch/kocevski/487788/ft2_4FGL_J2126.3-4605_daily_bin1221.fits
Exposure map: /scratch/kocevski/487788/expmap_555811201_556070401_4FGL_J2126.3-4605_daily_bin1221.fits
Exposure cube: /scratch/kocevski/487788/ltcube_555811201_556070401_4FGL_J2126.3-4605_daily_bin1221.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/487788/Model_4FGL_J2126.3-4605_daily_bin1221.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) = 1659.81065651

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10094E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    142.56       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.1903       1.0000         .10000E-03   10000.    
     8 'Prefactor '    91.374       1.0000         .10000E-03   10000.    
     9 'Prefactor '    67.887       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.8323       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10244E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .22380E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.8534       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    7.7736       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .57918       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.3645       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1659.791     FROM MIGRAD    STATUS=CONVERGED    104 CALLS     2390 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.6265        .41930E-05** at limit **
   2  norm          .10045E-03    11.242       -.19059E-05** at limit **
   3  Prefactor     .10180E-03    18.303       -.44602E-04** at limit **
   4  Prefactor     142.56        1.0713       -.24494E-06    .12499E-02
   5  Prefactor     .10000E-03    2.6268        .15240E-05** at limit **
   6  Prefactor     .10035E-03    26.424        .36859E-04** at limit **
   7  norm          2.1909        5.0651       -.12132E-04   -.25855E-03
   8  Prefactor     91.377        1.0976        .34569E-06   -.10205E-02
   9  Prefactor     67.887        1.0059        .96400E-07   -.22110E-03
  10  Prefactor     5.8285        1.0171       -.16404E-07    .46735E-04
  11  Prefactor     .10061E-03    15.496        .31239E-04** at limit **
  12  Prefactor     .10541E-03    26.253        .35750E-04** at limit **
  13  Prefactor     .10000E-03    13.909       -.32198E-04** at limit **
  14  norm          .10440E-03    127.46       -.92757E-04** at limit **
  15  Prefactor     1.8546        1.0523        .44457E-06    .37465E-04
  16  Prefactor     .10000E-03    9.6701        .10765E-04** at limit **
  17  Prefactor     .10047E-03    11.265       -.80906E-06** at limit **
  18  Prefactor     .10000E-03    6.5979       -.88868E-07** at limit **
  19  Prefactor     .10000E-03    4.8112       -.32267E-06** at limit **
  20  Prefactor     .10114E-03    26.685        .57183E-04** at limit **
  21  norm          .10000E-03    8.6882       -.89519E-05** at limit **
  22  Prefactor     7.7764        1.0640       -.49505E-06   -.16710E-03
  23  Prefactor     .10000E-03    13.092       -.39980E-05** at limit **
  24  Normalizat    .57880        .46163        .51047E-05    .12636E-04
  25  Prefactor     1.3646        .30484       -.13456E-05    .14473E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.000100449
  Prefactor  = 0.000101805
  Prefactor  = 142.563
  Prefactor  = 0.0001
  Prefactor  = 0.000100353
  norm       = 2.19095
  Prefactor  = 91.3768
  Prefactor  = 67.8871
  Prefactor  = 5.82855
  Prefactor  = 0.000100607
  Prefactor  = 0.000105406
  Prefactor  = 0.0001
  norm       = 0.000104405
  Prefactor  = 1.85461
  Prefactor  = 0.0001
  Prefactor  = 0.00010047
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000101141
  norm       = 0.0001
  Prefactor  = 7.77636
  Prefactor  = 0.000100001
  Normalizat = 0.578803
  Prefactor  = 1.36458
 **********
 **   18 **HESSE 
 **********

 FCN=   1659.791     FROM HESSE     STATUS=OK           477 CALLS     2867 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.5587        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10045E-03    48.758        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10180E-03    34.243        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     142.56        199.59        .84356E-03   -1.3314    
   5  Prefactor     .10000E-03    2.6259        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10035E-03    28.535        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.1909        5.1412        .69522E-02   -1.5412    
   8  Prefactor     91.377        71.965        .10510E-02   -1.3793    
   9  Prefactor     67.887        105.82        .12179E-02   -1.4058    
  10  Prefactor     5.8285        16.173        .41574E-02   -1.5225    
  11  Prefactor     .10061E-03    56.040        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10541E-03    91.176        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    15.564        .50549E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10440E-03    22.013        .63184E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.8546        22.625        .76551E-02   -1.5436    
  16  Prefactor     .10000E-03    9.6665        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10047E-03    49.133        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    6.5957        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.8001        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10114E-03    75.075        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    8.6924        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.7764        11.604        .35955E-02   -1.5150    
  23  Prefactor     .10000E-03    13.069        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .57880        .45711        .93017E-01   -1.0889    
  25  Prefactor     1.3646        .28848        .31570E-01   -.81407    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.24782e-07
Minuit parameter uncertainties:
  1  7.97353e-06
  2  0.00937035
  3  0.0157313
  4  200.543
  5  3.18395e-05
  6  0.00634778
  7  5.14228
  8  72.0334
  9  106.113
  10  16.1854
  11  0.0116712
  12  0.04447
  13  0.000137878
  14  0.0197013
  15  12.9611
  16  0.000136556
  17  0.00961786
  18  2.76279e-05
  19  6.27461e-05
  20  0.0185339
  21  0.000108318
  22  11.607
  23  0.000197897
  24  0.460138
  25  0.288818
Done.

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

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  5.829e+00  1.619e+01  1.000e-04  1.000e+04 ( 1.000e-12)
281        Index:  2.554e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
282        Scale:  5.669e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.365e+00  2.888e-01  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
547   Normalization:  5.788e-01  4.601e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.17
Ra Dec: 321.595 -46.098
Photon Flux Upper Limit: 3.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.35e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/487788/likelihoodResults_555811201_556070401_4FGL_J2126.3-4605_daily_bin1221.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) = 1659.79122701
delta logL = 1.00415195448e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1659.79122696
delta logL = 1.0530536656e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.8285       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5517       1.0000          .0000       10.000    
     3 'Normalizat'    .57881       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3646       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1659.791     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      237 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.8408        18.736        .83176E-03   -.61234E-05
   2  Index         2.5510        2.1027        .13772E-01    .85033E-05
   3  Normalizat    .57887        .46147        .41220E-03   -.92836E-04
   4  Prefactor     1.3645        .30532        .18367E-03   -.24634E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.84083
  Index      = 2.55096
  Normalizat = 0.578868
  Prefactor  = 1.36454
 **********
 **   18 **HESSE 
 **********

 FCN=   1659.791     FROM HESSE     STATUS=OK            27 CALLS      264 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.8408        17.863        .33270E-04   -1.5225    
   2  Index         2.5510        2.0124        .55086E-03   -.51187    
   3  Normalizat    .57887        .46160        .16488E-04   -1.0889    
   4  Prefactor     1.3645        .30532        .36733E-04   -.81408    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46191e-10
Minuit parameter uncertainties:
  1  17.8796
  2  2.09174
  3  0.464712
  4  0.305724
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/487788': 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) = 1659.79122671
delta logL = 1.30666830955e-06

Extracting fit parameters...

4FGL J2126.3-4605
   Spectrum: PowerLaw
280    Prefactor:  5.841e+00  1.788e+01  1.000e-04  1.000e+04 ( 1.000e-12)
281        Index:  2.551e+00  2.092e+00  0.000e+00  1.000e+01 (-1.000e+00)
282        Scale:  5.669e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.365e+00  3.057e-01  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
547   Normalization:  5.789e-01  4.647e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.17
Ra Dec: 321.595 -46.098

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/487788/cmap_HighResolution_555811201_556070401_4FGL_J2126.3-4605_daily_bin1221.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.35e-02', job_status='DONE', photon_flux_upper_limit='3.01e-07', time_completed='2021-09-26 13:35:01.393564', job_id='487788', GAL2='1.36', fit_tolerance='1e-08', EG2='0.58', EG='0.58', time_epoch_completed='1632688501.39', return_code2='0', ts='0.17', comment='SUCCESS', return_code='0', GAL='1.36', dlogl='1.31e-06', ts2='0.17', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1221' AND source_name='4FGL J2126.3-4605' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 13:35:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 487788: <4FGL_J2126.3-4605_daily_bin1221> in cluster <slac> Done

Job <4FGL_J2126.3-4605_daily_bin1221> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 26 13:25:36 2021
Job was executed on host(s) <bullet0078>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 13:26:40 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 13:26:40 2021
Terminated at Sun Sep 26 13:35:01 2021
Results reported at Sun Sep 26 13:35:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2126.3-4605_daily_bin1221 321.595 -46.0978 555811201 556070401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2126.3-4605 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   415.39 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             288.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   501 sec.
    Turnaround time :                            565 sec.

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

