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


Performing analysis on: 4FGL_J0126.8+2412_daily_bin1507
RA = 21.7036, Dec = 24.21
tmin = 629942401, tmax = 630201601
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='578948', job_status='RUN', time_executed='2021-08-14 01:00:24.990668', time_epoch_executed='1628928024.99' WHERE source_name='4FGL J0126.8+2412' and cadence='daily' and bin_id='1507'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/578948

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/578948/ft1_4FGL_J0126.8+2412_daily_bin1507.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/578948/ft2_4FGL_J0126.8+2412_daily_bin1507.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/578948/ft1_4FGL_J0126.8+2412_daily_bin1507.fits outfile=/scratch/kocevski/578948/ft1_filteredMKT_4FGL_J0126.8+2412_daily_bin1507.fits ra=21.7036 dec=24.21 rad=12.0 tmin=629942401.0 tmax=630201601.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 5.43
user 4.47
sys 0.92

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/578948/ft2_4FGL_J0126.8+2412_daily_bin1507.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/578948/ft2_4FGL_J0126.8+2412_daily_bin1507.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/578948/ft1_filteredMKT_4FGL_J0126.8+2412_daily_bin1507.fits evtable="EVENTS" outfile="/scratch/kocevski/578948/ft1_filtered_4FGL_J0126.8+2412_daily_bin1507.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 1.20
user 0.34
sys 0.85

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/578948/ft1_filtered_4FGL_J0126.8+2412_daily_bin1507.fits" evtable="EVENTS" scfile=/scratch/kocevski/578948/ft2_4FGL_J0126.8+2412_daily_bin1507.fits sctable="SC_DATA" outfile=/scratch/kocevski/578948/ltcube_629942401_630201601_4FGL_J0126.8+2412_daily_bin1507.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/578948/ft2_4FGL_J0126.8+2412_daily_bin1507.fits
.....................!
real 13.15
user 11.96
sys 1.14

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/578948/ft1_filtered_4FGL_J0126.8+2412_daily_bin1507.fits evtable="EVENTS" scfile=/scratch/kocevski/578948/ft2_4FGL_J0126.8+2412_daily_bin1507.fits sctable="SC_DATA" expcube=/scratch/kocevski/578948/ltcube_629942401_630201601_4FGL_J0126.8+2412_daily_bin1507.fits outfile=/scratch/kocevski/578948/expmap_629942401_630201601_4FGL_J0126.8+2412_daily_bin1507.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/578948/ltcube_629942401_630201601_4FGL_J0126.8+2412_daily_bin1507.fits
.....................!
real 192.29
user 185.93
sys 5.91

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

Setting source of interest to:
4FGL J0126.8+2412 @ 21.7036 24.21

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/578948/ft1_filtered_4FGL_J0126.8+2412_daily_bin1507.fits scfile=/scratch/kocevski/578948/ft2_4FGL_J0126.8+2412_daily_bin1507.fits outfile=/scratch/kocevski/578948/cmap_629942401_630201601_4FGL_J0126.8+2412_daily_bin1507.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=21.7036 yref=24.21 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 1.25
user 0.37
sys 0.86

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/578948/ft1_filtered_4FGL_J0126.8+2412_daily_bin1507.fits scfile=/scratch/kocevski/578948/ft2_4FGL_J0126.8+2412_daily_bin1507.fits outfile=/scratch/kocevski/578948/cmap_HighResolution_629942401_630201601_4FGL_J0126.8+2412_daily_bin1507.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=21.7036 yref=24.21 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 1.23
user 0.40
sys 0.82

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/578948/ft1_filtered_4FGL_J0126.8+2412_daily_bin1507.fits evtable="EVENTS" scfile=/scratch/kocevski/578948/ft2_4FGL_J0126.8+2412_daily_bin1507.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/578948/Model_4FGL_J0126.8+2412_daily_bin1507.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/578948/ft1_filtered_4FGL_J0126.8+2412_daily_bin1507.fits.....................!
real 65.43
user 63.21
sys 2.09

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/578948/ft1_filtered_4FGL_J0126.8+2412_daily_bin1507.fits', '/scratch/kocevski/578948/ft2_4FGL_J0126.8+2412_daily_bin1507.fits', expMap='/scratch/kocevski/578948/expmap_629942401_630201601_4FGL_J0126.8+2412_daily_bin1507.fits', expCube='/scratch/kocevski/578948/ltcube_629942401_630201601_4FGL_J0126.8+2412_daily_bin1507.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/578948/Model_4FGL_J0126.8+2412_daily_bin1507.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0126.8+2412'

4FGL J0126.8+2412
   Spectrum: PowerLaw
257    Prefactor:  2.716e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
258        Index:  2.760e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
259        Scale:  4.731e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/578948/ft1_filtered_4FGL_J0126.8+2412_daily_bin1507.fits
Spacecraft file(s): /scratch/kocevski/578948/ft2_4FGL_J0126.8+2412_daily_bin1507.fits
Exposure map: /scratch/kocevski/578948/expmap_629942401_630201601_4FGL_J0126.8+2412_daily_bin1507.fits
Exposure cube: /scratch/kocevski/578948/ltcube_629942401_630201601_4FGL_J0126.8+2412_daily_bin1507.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/578948/Model_4FGL_J0126.8+2412_daily_bin1507.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) = 6219.14212171

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13015E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.8108       1.0000         .10000E-03   10000.    
     4 'Prefactor '    27.469       1.0000         .10000E-03   10000.    
     5 'norm      '    3.9933       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    29.579       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.783       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.3597       1.0000         .10000E-03   10000.    
    12 'Prefactor '    67.685       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .31609       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.7994       1.0000         .10000E-03   10000.    
    18 'Prefactor '    44.402       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0760       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .83163       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6219.139     FROM MIGRAD    STATUS=CONVERGED    460 CALLS     2349 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10003E-03    20.496        .11607E-04** at limit **
   2  Prefactor     .10000E-03    6.1903        .57219E-07** at limit **
   3  Prefactor     8.8101        13.346        .36713E-07    .13512E-04
   4  Prefactor     27.466        33.321        .15183E-06    .45226E-04
   5  norm          3.9932        1.0630        .11190E-07    .28162E-03
   6  norm          .10000E-03    .36011       -.20666E-07** at limit **
   7  Prefactor     .10000E-03    15.256       -.53181E-07** at limit **
   8  Prefactor     29.545        52.913        .24258E-05    .14444E-03
   9  Prefactor     .10000E-03    3.8739        .13411E-06** at limit **
  10  Prefactor     10.782        8.1457        .47203E-07    .44660E-04
  11  Prefactor     3.3593        10.073       -.10685E-05    .30018E-03
  12  Prefactor     67.688        46.006       -.62970E-08    .73161E-05
  13  Prefactor     .10000E-03    29.233        .98844E-06** at limit **
  14  norm          .31614        .47160        .61993E-07    .85100E-03
  15  Prefactor     .10000E-03    9.8135       -.22753E-06** at limit **
  16  Prefactor     .10000E-03    13.958        .47450E-06** at limit **
  17  norm          4.7996        4.0552       -.33659E-07   -.19425E-04
  18  Prefactor     44.202        99.688        .13102E-04    .29588E-03
  19  Prefactor     .10000E-03    6.1707       -.45117E-07** at limit **
  20  Prefactor     .10000E-03    4.6772       -.94163E-07** at limit **
  21  Normalizat    1.0762        .20066       -.10278E-05   -.30125E-04
  22  Prefactor     .83152        .12204        .72057E-06    .18093E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100025
  Prefactor  = 0.0001
  Prefactor  = 8.81008
  Prefactor  = 27.4659
  norm       = 3.99315
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 29.5454
  Prefactor  = 0.0001
  Prefactor  = 10.7821
  Prefactor  = 3.35929
  Prefactor  = 67.6884
  Prefactor  = 0.000100001
  norm       = 0.316144
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.79964
  Prefactor  = 44.202
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.07621
  Prefactor  = 0.831516
 **********
 **   18 **HESSE 
 **********

 FCN=   6219.139     FROM HESSE     STATUS=OK           336 CALLS     2685 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10003E-03    21.771        .35834E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.2085        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.8101        13.343        .13504E-03   -1.5114    
   4  Prefactor     27.466        33.310        .76438E-04   -1.4659    
   5  norm          3.9932        1.0633        .20182E-04   -1.5308    
   6  norm          .10000E-03    .36294        .46178E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    15.460        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     29.545        53.057        .73667E-04   -1.4620    
   9  Prefactor     .10000E-03    3.8919        .15125E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     10.782        8.1556        .12201E-03   -1.5051    
  11  Prefactor     3.3593        10.162        .11039E-02   -1.5341    
  12  Prefactor     67.688        46.038        .48786E-04   -1.4061    
  13  Prefactor     .10000E-03    29.284        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .31614        .43043        .63925E-03   -1.5596    
  15  Prefactor     .10000E-03    9.9413        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    13.996        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.7996        4.0537        .14124E-03   -1.5270    
  18  Prefactor     44.202        106.78        .30083E-03   -1.4377    
  19  Prefactor     .10000E-03    6.2305        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.7564        .16652E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0762        .23357        .29362E-03   -.90519    
  22  Prefactor     .83152        .14168        .20098E-03   -.98577    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.09678e-09
Minuit parameter uncertainties:
  1  0.00148947
  2  4.99022e-06
  3  13.3479
  4  33.3322
  5  1.06332
  6  8.12972e-07
  7  9.37368e-06
  8  53.1417
  9  2.12397e-05
  10  8.15643
  11  10.1675
  12  46.062
  13  0.000309031
  14  0.430433
  15  5.5529e-05
  16  0.000107974
  17  4.05395
  18  107.248
  19  3.19148e-06
  20  2.60329e-05
  21  0.233797
  22  0.14174
Done.

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

Extracting fit parameters...

4FGL J0126.8+2412
   Spectrum: PowerLaw
257    Prefactor:  3.359e+00  1.017e+01  1.000e-04  1.000e+04 ( 1.000e-12)
258        Index:  2.760e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
259        Scale:  4.731e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
542    Prefactor:  8.315e-01  1.417e-01  0.000e+00  1.000e+01 ( 1.000e+00)
543        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
544        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
541   Normalization:  1.076e+00  2.338e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.13
Ra Dec: 21.704 24.210
Photon Flux Upper Limit: 1.29e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.02e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/578948/likelihoodResults_629942401_630201601_4FGL_J0126.8+2412_daily_bin1507.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) = 6218.89725975
delta logL = 0.24212150836

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6218.88724211
delta logL = 0.25213914966

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6218.887     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      212 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4393        7.3344        .47757E-02    .86782E-04
   2  Index         1.8459        .62301        .26749       -.57526E-04
   3  Normalizat    1.0869        .19574        .66091E-01   -.16782E-05
   4  Prefactor     .82508        .12000        .44043E-01    .61425E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.43928
  Index      = 1.84586
  Normalizat = 1.08692
  Prefactor  = 0.825082
 **********
 **   18 **HESSE 
 **********

 FCN=   6218.887     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.4393        8.3762        .19103E-03   -1.5287    
   2  Index         1.8459        .96296        .12337E-01   -.68262    
   3  Normalizat    1.0869        .22795        .29237E-03   -.90173    
   4  Prefactor     .82508        .13984        .20159E-03   -.98810    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.37321e-09
Minuit parameter uncertainties:
  1  8.37845
  2  0.973129
  3  0.22816
  4  0.139902
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/578948': 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) = 6218.88724091
delta logL = 0.252140345353

Extracting fit parameters...

4FGL J0126.8+2412
   Spectrum: PowerLaw
257    Prefactor:  4.439e+00  8.378e+00  1.000e-04  1.000e+04 ( 1.000e-12)
258        Index:  1.846e+00  9.731e-01  0.000e+00  1.000e+01 (-1.000e+00)
259        Scale:  4.731e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
542    Prefactor:  8.251e-01  1.399e-01  0.000e+00  1.000e+01 ( 1.000e+00)
543        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
544        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
541   Normalization:  1.087e+00  2.282e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.13
Ra Dec: 21.704 24.210

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/578948/cmap_HighResolution_629942401_630201601_4FGL_J0126.8+2412_daily_bin1507.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.02e-02', job_status='DONE', photon_flux_upper_limit='1.29e-07', time_completed='2021-08-14 01:11:14.431308', job_id='578948', GAL2='0.83', fit_tolerance='1e-08', EG2='1.09', EG='1.08', time_epoch_completed='1628928674.43', return_code2='0', ts='0.13', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='2.52e-01', ts2='0.64', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='1507' AND source_name='4FGL J0126.8+2412' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 01:11:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 578948: <4FGL_J0126.8+2412_daily_bin1507> in cluster <slac> Done

Job <4FGL_J0126.8+2412_daily_bin1507> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Aug 14 00:55:38 2021
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 00:58:21 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 00:58:21 2021
Terminated at Sat Aug 14 01:11:15 2021
Results reported at Sat Aug 14 01:11:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0126.8+2412_daily_bin1507 21.7036 24.21 629942401 630201601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0126.8+2412 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   651.00 sec.
    Max Memory :                                 1146 MB
    Average Memory :                             318.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   773 sec.
    Turnaround time :                            937 sec.

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

