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


Performing analysis on: 4FGL_J0126.8+2412_daily_bin733
RA = 21.7036, Dec = 24.21
tmin = 429321601, tmax = 429580801
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='575565', job_status='RUN', time_executed='2021-08-14 00:47:49.474952', time_epoch_executed='1628927269.47' WHERE source_name='4FGL J0126.8+2412' and cadence='daily' and bin_id='733'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/575565

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/575565/ft1_4FGL_J0126.8+2412_daily_bin733.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/575565/ft2_4FGL_J0126.8+2412_daily_bin733.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/575565/ft1_4FGL_J0126.8+2412_daily_bin733.fits outfile=/scratch/kocevski/575565/ft1_filteredMKT_4FGL_J0126.8+2412_daily_bin733.fits ra=21.7036 dec=24.21 rad=12.0 tmin=429321601.0 tmax=429580801.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 12.03
user 6.18
sys 5.79

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/575565/ft2_4FGL_J0126.8+2412_daily_bin733.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/575565/ft1_filteredMKT_4FGL_J0126.8+2412_daily_bin733.fits evtable="EVENTS" outfile="/scratch/kocevski/575565/ft1_filtered_4FGL_J0126.8+2412_daily_bin733.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 6.06
user 0.33
sys 5.70

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/575565/ft1_filtered_4FGL_J0126.8+2412_daily_bin733.fits" evtable="EVENTS" scfile=/scratch/kocevski/575565/ft2_4FGL_J0126.8+2412_daily_bin733.fits sctable="SC_DATA" outfile=/scratch/kocevski/575565/ltcube_429321601_429580801_4FGL_J0126.8+2412_daily_bin733.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/575565/ft2_4FGL_J0126.8+2412_daily_bin733.fits
.....................!
real 18.81
user 12.16
sys 6.58

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/575565/ft1_filtered_4FGL_J0126.8+2412_daily_bin733.fits evtable="EVENTS" scfile=/scratch/kocevski/575565/ft2_4FGL_J0126.8+2412_daily_bin733.fits sctable="SC_DATA" expcube=/scratch/kocevski/575565/ltcube_429321601_429580801_4FGL_J0126.8+2412_daily_bin733.fits outfile=/scratch/kocevski/575565/expmap_429321601_429580801_4FGL_J0126.8+2412_daily_bin733.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/575565/ltcube_429321601_429580801_4FGL_J0126.8+2412_daily_bin733.fits
.....................!
real 198.71
user 186.04
sys 12.22

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/575565/ft1_filtered_4FGL_J0126.8+2412_daily_bin733.fits scfile=/scratch/kocevski/575565/ft2_4FGL_J0126.8+2412_daily_bin733.fits outfile=/scratch/kocevski/575565/cmap_429321601_429580801_4FGL_J0126.8+2412_daily_bin733.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 5.96
user 0.37
sys 5.53

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/575565/ft1_filtered_4FGL_J0126.8+2412_daily_bin733.fits scfile=/scratch/kocevski/575565/ft2_4FGL_J0126.8+2412_daily_bin733.fits outfile=/scratch/kocevski/575565/cmap_HighResolution_429321601_429580801_4FGL_J0126.8+2412_daily_bin733.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 5.45
user 0.38
sys 5.05

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.995       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10564E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10534E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    3.3859       1.0000         .10000E-03   10000.    
     6 'norm      '    1.4381       1.0000         .10000E-03   10000.    
     7 'Prefactor '    17.968       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10928E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.720       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.9316       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11340E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .14551E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.6952       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.3795       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    5.8685       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .68793E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    24.803       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .52652       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2003       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=   4913.790     FROM MIGRAD    STATUS=CONVERGED    472 CALLS     1997 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.003        12.435       -.65406E-06    .12111E-04
   2  Prefactor     .10000E-03    6.4031        .63402E-07** at limit **
   3  Prefactor     .10000E-03    11.564       -.30451E-06** at limit **
   4  Prefactor     .10000E-03    21.621       -.25214E-05** at limit **
   5  norm          3.3861        1.0291        .84750E-08    .45772E-03
   6  norm          1.4381        1.4027       -.14460E-06   -.15587E-03
   7  Prefactor     17.974        15.766       -.59259E-07    .29260E-05
   8  Prefactor     .10000E-03    47.381       -.42594E-04** at limit **
   9  Prefactor     .10000E-03    3.1448        .21373E-09** at limit **
  10  Prefactor     13.726        10.118        .24204E-06   -.94431E-05
  11  Prefactor     5.9460        17.080       -.10355E-05   -.63904E-04
  12  Prefactor     .10000E-03    33.799        .19989E-04** at limit **
  13  Prefactor     .10000E-03    111.16        .86067E-04** at limit **
  14  norm          1.6948        .96099       -.10661E-06   -.40345E-03
  15  Prefactor     8.3697        13.752       -.86959E-07    .16138E-03
  16  Prefactor     .10000E-03    12.326        .11034E-05** at limit **
  17  norm          5.8688        5.8269        .37397E-06   -.11591E-03
  18  Prefactor     .10006E-03    655.41       -.98081E-03** at limit **
  19  Prefactor     24.806        14.162        .83339E-07    .27144E-04
  20  Prefactor     .10000E-03    2.2093       -.35803E-07** at limit **
  21  Normalizat    .52642        .26533       -.85340E-06    .29025E-03
  22  Prefactor     1.2002        .16101        .13836E-05    .90327E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 15.0031
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.38614
  norm       = 1.43813
  Prefactor  = 17.9741
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.7256
  Prefactor  = 5.94599
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.69476
  Prefactor  = 8.3697
  Prefactor  = 0.0001
  norm       = 5.86879
  Prefactor  = 0.000100058
  Prefactor  = 24.8064
  Prefactor  = 0.0001
  Normalizat = 0.526419
  Prefactor  = 1.20021
 **********
 **   18 **HESSE 
 **********

 FCN=   4913.790     FROM HESSE     STATUS=OK           340 CALLS     2337 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.003        12.432        .10343E-03   -1.4933    
   2  Prefactor     .10000E-03    6.4098        .17322E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    11.623        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    21.639        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.3861        1.0281        .21989E-04   -1.5340    
   6  norm          1.4381        1.3867        .78272E-04   -1.5468    
   7  Prefactor     17.974        15.762        .94486E-04   -1.4860    
   8  Prefactor     .10000E-03    47.511        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    3.1562        .12135E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     13.726        10.093        .10814E-03   -1.4967    
  11  Prefactor     5.9460        16.999        .16488E-03   -1.5220    
  12  Prefactor     .10000E-03    33.824        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    111.24        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.6948        .95810        .49228E-04   -1.5448    
  15  Prefactor     8.3697        13.717        .13849E-03   -1.5129    
  16  Prefactor     .10000E-03    12.328        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          5.8688        5.8205        .15344E-03   -1.5223    
  18  Prefactor     .10006E-03    655.67        .18728E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     24.806        14.149        .80434E-04   -1.4711    
  20  Prefactor     .10000E-03    2.2154        .10175E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .52642        .28243        .41182E-03   -1.1121    
  22  Prefactor     1.2002        .17464        .18232E-03   -.86325    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.38211e-10
Minuit parameter uncertainties:
  1  12.4346
  2  1.48521e-06
  3  6.85972e-06
  4  5.41657e-06
  5  1.02812
  6  1.38674
  7  15.7659
  8  6.34092e-05
  9  4.66011e-06
  10  10.0943
  11  17.0133
  12  1.26302e-05
  13  1.94952e-05
  14  0.958107
  15  13.7219
  16  5.87313e-06
  17  5.82101
  18  0.0124766
  19  14.1508
  20  7.9354e-06
  21  0.283207
  22  0.174719
Done.

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

Extracting fit parameters...

4FGL J0126.8+2412
   Spectrum: PowerLaw
257    Prefactor:  5.946e+00  1.701e+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:  1.200e+00  1.747e-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:  5.264e-01  2.832e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/575565/likelihoodResults_429321601_429580801_4FGL_J0126.8+2412_daily_bin733.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) = 4913.28075289
delta logL = 0.508983891088

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4913.27408883
delta logL = 0.515647952106

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.2255       1.0000         .10000E-03   10000.    
     2 'Index     '    4.3942       1.0000          .0000       10.000    
     3 'Normalizat'    .45684       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2260       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=   4913.274     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      244 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.2333        72.006        .56389E-02    .41551E-03
   2  Index         4.3910        7.0544        .20294        .72614E-04
   3  Normalizat    .45718        .67952E-01    .99251E-01    .35829E-04
   4  Prefactor     1.2261        .44180E-01    .34043E-01   -.18065E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.23326
  Index      = 4.39099
  Normalizat = 0.457176
  Prefactor  = 1.22606
 **********
 **   18 **HESSE 
 **********

 FCN=   4913.274     FROM HESSE     STATUS=OK            33 CALLS      277 TOTAL
                     EDM=   .78E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.2333        31.695        .11772E-03   -1.5348    
   2  Index         4.3910        4.0383        .76940E-02   -.12211    
   3  Normalizat    .45718        .27547        .43990E-03   -1.1444    
   4  Prefactor     1.2261        .17617        .18049E-03   -.85533    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.79008e-08
Minuit parameter uncertainties:
  1  20.2601
  2  4.71726
  3  0.276291
  4  0.176252
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/575565': 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) = 4913.27408213
delta logL = 0.515654651821

Extracting fit parameters...

4FGL J0126.8+2412
   Spectrum: PowerLaw
257    Prefactor:  3.233e+00  2.026e+01  1.000e-04  1.000e+04 ( 1.000e-12)
258        Index:  4.391e+00  4.717e+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:  1.226e+00  1.763e-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:  4.572e-01  2.763e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.27
Ra Dec: 21.704 24.210
Photon Index (Free Index): 4.39 +/- 4.72
Photon Flux (Free Index): 8.81e-08 +/- 9.17e-08
Energy Flux (Free Index): 1.25e-05 +/- 1.63e-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/575565/cmap_HighResolution_429321601_429580801_4FGL_J0126.8+2412_daily_bin733.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.38e-02', comment='SUCCESS', energy_flux2='1.25e-05', dlogl='5.16e-01', photon_flux2='8.81e-08', job_status='DONE', time_completed='2021-08-14 00:58:30.928632', photon_index_error2='4.72', photon_index2='4.39', ts='0.14', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', photon_flux_upper_limit='1.75e-07', energy_flux_error2='1.63e-05', EG='0.53', time_epoch_completed='1628927910.93', return_code='0', job_id='575565', GAL2='1.23', EG2='0.46', return_code2='0', photon_flux_error2='9.17e-08', ts2='1.27', photon_index='2.76' WHERE bin_id='733' AND source_name='4FGL J0126.8+2412' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 00:58:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 575565: <4FGL_J0126.8+2412_daily_bin733> in cluster <slac> Done

Job <4FGL_J0126.8+2412_daily_bin733> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 14 00:45:34 2021
Job was executed on host(s) <bullet0111>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 00:45:56 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:45:56 2021
Terminated at Sat Aug 14 00:58:32 2021
Results reported at Sat Aug 14 00:58:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0126.8+2412_daily_bin733 21.7036 24.21 429321601 429580801 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 :                                   716.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             288.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   755 sec.
    Turnaround time :                            778 sec.

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

