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


Performing analysis on: 4FGL_J0126.8+2412_daily_bin1620
RA = 21.7036, Dec = 24.21
tmin = 659232001, tmax = 659491201
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='139545', job_status='RUN', time_executed='2021-12-07 12:09:25.318960', time_epoch_executed='1638907765.32' WHERE source_name='4FGL J0126.8+2412' and cadence='daily' and bin_id='1620'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/139545

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/139545/ft1_4FGL_J0126.8+2412_daily_bin1620.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/139545/ft2_4FGL_J0126.8+2412_daily_bin1620.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/139545/ft1_4FGL_J0126.8+2412_daily_bin1620.fits outfile=/scratch/kocevski/139545/ft1_filteredMKT_4FGL_J0126.8+2412_daily_bin1620.fits ra=21.7036 dec=24.21 rad=12.0 tmin=659232001.0 tmax=659491201.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.84
user 2.62
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/139545/ft2_4FGL_J0126.8+2412_daily_bin1620.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/139545/ft1_filteredMKT_4FGL_J0126.8+2412_daily_bin1620.fits evtable="EVENTS" outfile="/scratch/kocevski/139545/ft1_filtered_4FGL_J0126.8+2412_daily_bin1620.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.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/139545/ft1_filtered_4FGL_J0126.8+2412_daily_bin1620.fits" evtable="EVENTS" scfile=/scratch/kocevski/139545/ft2_4FGL_J0126.8+2412_daily_bin1620.fits sctable="SC_DATA" outfile=/scratch/kocevski/139545/ltcube_659232001_659491201_4FGL_J0126.8+2412_daily_bin1620.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/139545/ft2_4FGL_J0126.8+2412_daily_bin1620.fits
.....................!
real 14.27
user 13.89
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/139545/ft1_filtered_4FGL_J0126.8+2412_daily_bin1620.fits evtable="EVENTS" scfile=/scratch/kocevski/139545/ft2_4FGL_J0126.8+2412_daily_bin1620.fits sctable="SC_DATA" expcube=/scratch/kocevski/139545/ltcube_659232001_659491201_4FGL_J0126.8+2412_daily_bin1620.fits outfile=/scratch/kocevski/139545/expmap_659232001_659491201_4FGL_J0126.8+2412_daily_bin1620.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/139545/ltcube_659232001_659491201_4FGL_J0126.8+2412_daily_bin1620.fits
.....................!
real 193.28
user 187.29
sys 5.44

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/139545/ft1_filtered_4FGL_J0126.8+2412_daily_bin1620.fits scfile=/scratch/kocevski/139545/ft2_4FGL_J0126.8+2412_daily_bin1620.fits outfile=/scratch/kocevski/139545/cmap_659232001_659491201_4FGL_J0126.8+2412_daily_bin1620.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 0.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/139545/ft1_filtered_4FGL_J0126.8+2412_daily_bin1620.fits scfile=/scratch/kocevski/139545/ft2_4FGL_J0126.8+2412_daily_bin1620.fits outfile=/scratch/kocevski/139545/cmap_HighResolution_659232001_659491201_4FGL_J0126.8+2412_daily_bin1620.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 0.55
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/139545/ft1_filtered_4FGL_J0126.8+2412_daily_bin1620.fits', '/scratch/kocevski/139545/ft2_4FGL_J0126.8+2412_daily_bin1620.fits', expMap='/scratch/kocevski/139545/expmap_659232001_659491201_4FGL_J0126.8+2412_daily_bin1620.fits', expCube='/scratch/kocevski/139545/ltcube_659232001_659491201_4FGL_J0126.8+2412_daily_bin1620.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/139545/Model_4FGL_J0126.8+2412_daily_bin1620.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/139545/ft1_filtered_4FGL_J0126.8+2412_daily_bin1620.fits
Spacecraft file(s): /scratch/kocevski/139545/ft2_4FGL_J0126.8+2412_daily_bin1620.fits
Exposure map: /scratch/kocevski/139545/expmap_659232001_659491201_4FGL_J0126.8+2412_daily_bin1620.fits
Exposure cube: /scratch/kocevski/139545/ltcube_659232001_659491201_4FGL_J0126.8+2412_daily_bin1620.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/139545/Model_4FGL_J0126.8+2412_daily_bin1620.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) = 1868.83196947

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.5523       1.0000         .10000E-03   10000.    
     6 'norm      '    5.6266       1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.653       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.6065       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    33.739       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .14972E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10123E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .57644       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .16557E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .12874E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    125.00       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1107       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .79686       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=   1868.784     FROM MIGRAD    STATUS=CONVERGED    467 CALLS     2369 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6.4853        .32984E-07** at limit **
   2  Prefactor     .10000E-03    8.8804        .19398E-06** at limit **
   3  Prefactor     .10000E-03    8.9562       -.15623E-06** at limit **
   4  Prefactor     .10000E-03    35.620        .35737E-05** at limit **
   5  norm          1.5522        1.1889       -.27384E-07   -.84921E-06
   6  norm          5.6266        3.4521       -.35368E-06   -.18250E-02
   7  Prefactor     10.656        32.024       -.10796E-05   -.16050E-04
   8  Prefactor     .10000E-03    68.218       -.44904E-04** at limit **
   9  Prefactor     7.6072        7.9952        .12878E-05    .21892E-03
  10  Prefactor     .10000E-03    14.227        .29519E-06** at limit **
  11  Prefactor     33.737        41.305        .11750E-06   -.27805E-04
  12  Prefactor     .10000E-03    289.19       -.21085E-03** at limit **
  13  Prefactor     .10000E-03    215.61        .44600E-04** at limit **
  14  norm          .57748        1.5149       -.12854E-06   -.45486E-03
  15  Prefactor     .10000E-03    172.34        .17990E-03** at limit **
  16  Prefactor     .10000E-03    75.285        .16814E-04** at limit **
  17  norm          .10000E-03    30.162       -.13533E-04** at limit **
  18  Prefactor     .10000E-03    993.99       -.12635E-02** at limit **
  19  Prefactor     124.99        86.328       -.55547E-05    .29561E-04
  20  Prefactor     .10000E-03    32.483        .16441E-04** at limit **
  21  Normalizat    1.1107        .38835       -.51373E-06   -.74674E-04
  22  Prefactor     .79685        .23836        .82092E-06   -.33721E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.5522
  norm       = 5.62658
  Prefactor  = 10.6562
  Prefactor  = 0.0001
  Prefactor  = 7.60716
  Prefactor  = 0.0001
  Prefactor  = 33.7366
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.577483
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 124.989
  Prefactor  = 0.0001
  Normalizat = 1.11073
  Prefactor  = 0.796846
 **********
 **   18 **HESSE 
 **********

 FCN=   1868.784     FROM HESSE     STATUS=OK           334 CALLS     2703 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.4952        .10753E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    8.8916        .12582E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.9722        .12636E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    35.646        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.5522        1.1869        .39334E-04   -1.5459    
   6  norm          5.6266        3.4536        .29356E-03   -1.5234    
   7  Prefactor     10.656        32.045        .12276E-03   -1.5055    
   8  Prefactor     .10000E-03    68.365        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.6072        7.9914        .12112E-03   -1.5156    
  10  Prefactor     .10000E-03    14.286        .15916E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     33.737        41.450        .68988E-04   -1.4546    
  12  Prefactor     .10000E-03    289.89        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    215.67        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .57748        1.3280        .82864E-03   -1.5556    
  15  Prefactor     .10000E-03    173.79        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    75.290        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    30.203        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    994.47        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     124.99        86.196        .18002E-03   -1.3467    
  20  Prefactor     .10000E-03    32.487        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1107        .45792        .29525E-03   -.89408    
  22  Prefactor     .79685        .28069        .21606E-03   -.99845    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.383e-10
Minuit parameter uncertainties:
  1  1.13111e-06
  2  1.60376e-06
  3  6.59363e-06
  4  9.59864e-06
  5  1.1869
  6  3.45375
  7  32.0969
  8  5.5143e-05
  9  7.9925
  10  3.37492e-05
  11  41.4858
  12  0.0003603
  13  2.67464e-06
  14  1.32807
  15  0.00158221
  16  0.000103701
  17  0.000207157
  18  0.000169724
  19  86.2829
  20  7.41911e-06
  21  0.459576
  22  0.281193
Done.

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

Extracting fit parameters...

4FGL J0126.8+2412
   Spectrum: PowerLaw
257    Prefactor:  3.374e+01  4.149e+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:  7.968e-01  2.812e-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.111e+00  4.596e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/139545/likelihoodResults_659232001_659491201_4FGL_J0126.8+2412_daily_bin1620.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) = 1867.62994667
delta logL = 1.15373672977

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1867.61440331
delta logL = 1.16928009535

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.6132       1.0000         .10000E-03   10000.    
     2 'Index     '    4.7367       1.0000          .0000       10.000    
     3 'Normalizat'    .89260       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89186       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1867.614     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      282 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.6089        32.802        .80587E-04    .14933E-03
   2  Index         4.7370        2.5406        .38986E-02    .17056E-04
   3  Normalizat    .89260        .46527        .32294E-03   -.31693E-03
   4  Prefactor     .89187        .28888        .20500E-03   -.48331E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.60893
  Index      = 4.73704
  Normalizat = 0.892596
  Prefactor  = 0.891865
 **********
 **   18 **HESSE 
 **********

 FCN=   1867.614     FROM HESSE     STATUS=OK            25 CALLS      307 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.6089        20.489        .32235E-05   -1.5088    
   2  Index         4.7370        1.6312        .15594E-03   -.52617E-01
   3  Normalizat    .89260        .46549        .64587E-04   -.96721    
   4  Prefactor     .89187        .28747        .41000E-04   -.96426    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.83385e-10
Minuit parameter uncertainties:
  1  20.5038
  2  1.66171
  3  0.467606
  4  0.287964
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/139545': 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) = 1867.61440328
delta logL = 1.16928012082

Extracting fit parameters...

4FGL J0126.8+2412
   Spectrum: PowerLaw
257    Prefactor:  9.609e+00  2.050e+01  1.000e-04  1.000e+04 ( 1.000e-12)
258        Index:  4.737e+00  1.662e+00  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.919e-01  2.880e-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:  8.926e-01  4.676e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.56
Ra Dec: 21.704 24.210
Photon Index (Free Index): 4.74 +/- 1.66
Photon Flux (Free Index): 4.07e-07 +/- 2.74e-07
Energy Flux (Free Index): 5.55e-05 +/- 3.70e-05

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/139545/cmap_HighResolution_659232001_659491201_4FGL_J0126.8+2412_daily_bin1620.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.91e-02', comment='SUCCESS', energy_flux2='5.55e-05', dlogl='1.17e+00', photon_flux2='4.07e-07', job_status='DONE', time_completed='2021-12-07 12:16:13.776288', photon_index_error2='1.66', photon_index2='4.74', ts='0.84', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', photon_flux_upper_limit='4.95e-07', energy_flux_error2='3.70e-05', EG='1.11', time_epoch_completed='1638908173.78', return_code='0', job_id='139545', GAL2='0.89', EG2='0.89', return_code2='0', photon_flux_error2='2.74e-07', ts2='3.56', photon_index='2.76' WHERE bin_id='1620' AND source_name='4FGL J0126.8+2412' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec  7 12:16:13 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0008>
Subject: Job 139545: <4FGL_J0126.8+2412_daily_bin1620> in cluster <slac> Done

Job <4FGL_J0126.8+2412_daily_bin1620> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Dec  7 12:05:25 2021
Job was executed on host(s) <bullet0008>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec  7 12:06:55 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec  7 12:06:55 2021
Terminated at Tue Dec  7 12:16:14 2021
Results reported at Tue Dec  7 12:16:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0126.8+2412_daily_bin1620 21.7036 24.21 659232001 659491201 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 :                                   408.11 sec.
    Max Memory :                                 1128 MB
    Average Memory :                             269.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   559 sec.
    Turnaround time :                            649 sec.

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

