/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 106 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 = 7418
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0126.8+2412_daily_bin120
RA = 21.7036, Dec = 24.21
tmin = 270432001, tmax = 270691201
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='572433', job_status='RUN', time_executed='2021-08-14 00:39:46.688986', time_epoch_executed='1628926786.69' WHERE source_name='4FGL J0126.8+2412' and cadence='daily' and bin_id='120'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/572433

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/572433/ft1_4FGL_J0126.8+2412_daily_bin120.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/572433/ft2_4FGL_J0126.8+2412_daily_bin120.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/572433/ft1_4FGL_J0126.8+2412_daily_bin120.fits outfile=/scratch/kocevski/572433/ft1_filteredMKT_4FGL_J0126.8+2412_daily_bin120.fits ra=21.7036 dec=24.21 rad=12.0 tmin=270432001.0 tmax=270691201.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.34
user 1.49
sys 0.82

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/572433/ft2_4FGL_J0126.8+2412_daily_bin120.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/572433/ft1_filteredMKT_4FGL_J0126.8+2412_daily_bin120.fits evtable="EVENTS" outfile="/scratch/kocevski/572433/ft1_filtered_4FGL_J0126.8+2412_daily_bin120.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.17
user 0.32
sys 0.83

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/572433/ft1_filtered_4FGL_J0126.8+2412_daily_bin120.fits" evtable="EVENTS" scfile=/scratch/kocevski/572433/ft2_4FGL_J0126.8+2412_daily_bin120.fits sctable="SC_DATA" outfile=/scratch/kocevski/572433/ltcube_270432001_270691201_4FGL_J0126.8+2412_daily_bin120.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/572433/ft2_4FGL_J0126.8+2412_daily_bin120.fits
.....................!
real 13.25
user 12.10
sys 1.10

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/572433/ft1_filtered_4FGL_J0126.8+2412_daily_bin120.fits evtable="EVENTS" scfile=/scratch/kocevski/572433/ft2_4FGL_J0126.8+2412_daily_bin120.fits sctable="SC_DATA" expcube=/scratch/kocevski/572433/ltcube_270432001_270691201_4FGL_J0126.8+2412_daily_bin120.fits outfile=/scratch/kocevski/572433/expmap_270432001_270691201_4FGL_J0126.8+2412_daily_bin120.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/572433/ltcube_270432001_270691201_4FGL_J0126.8+2412_daily_bin120.fits
.....................!
real 192.60
user 185.43
sys 6.84

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/572433/ft1_filtered_4FGL_J0126.8+2412_daily_bin120.fits scfile=/scratch/kocevski/572433/ft2_4FGL_J0126.8+2412_daily_bin120.fits outfile=/scratch/kocevski/572433/cmap_270432001_270691201_4FGL_J0126.8+2412_daily_bin120.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.17
user 0.37
sys 0.79

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/572433/ft1_filtered_4FGL_J0126.8+2412_daily_bin120.fits scfile=/scratch/kocevski/572433/ft2_4FGL_J0126.8+2412_daily_bin120.fits outfile=/scratch/kocevski/572433/cmap_HighResolution_270432001_270691201_4FGL_J0126.8+2412_daily_bin120.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.19
user 0.38
sys 0.80

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.091       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .27097E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.6411       1.0000         .10000E-03   10000.    
     6 'norm      '    1.4027       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    26.994       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10482E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.0280       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10392E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .63714       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11057E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.3766       1.0000         .10000E-03   10000.    
    18 'Prefactor '    66.420       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.5030       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10159E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .82068       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1026       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=   6949.319     FROM MIGRAD    STATUS=CONVERGED    471 CALLS     2362 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.7547        .96179E-07** at limit **
   2  Prefactor     .10000E-03    8.5990        .42359E-06** at limit **
   3  Prefactor     10.091        12.173        .13582E-06   -.90446E-05
   4  Prefactor     .10000E-03    99.250       -.36702E-06** at limit **
   5  norm          2.6405        .78741        .41792E-07    .42061E-04
   6  norm          1.4028        1.1772       -.30194E-06   -.41399E-03
   7  Prefactor     .10000E-03    14.319        .12417E-05** at limit **
   8  Prefactor     26.975        29.320       -.12067E-05   -.11107E-03
   9  Prefactor     .10000E-03    1.9136       -.15182E-06** at limit **
  10  Prefactor     6.0255        7.8526        .47897E-05   -.64017E-03
  11  Prefactor     .10000E-03    6.8089        .15448E-06** at limit **
  12  Prefactor     .10000E-03    17.128       -.15967E-06** at limit **
  13  Prefactor     .10000E-03    64.862        .68657E-06** at limit **
  14  norm          .63718        .44436       -.42098E-07   -.18973E-03
  15  Prefactor     .10000E-03    12.691       -.73008E-06** at limit **
  16  Prefactor     .10000E-03    26.214       -.22000E-05** at limit **
  17  norm          1.3763        3.0563       -.24915E-05   -.67209E-03
  18  Prefactor     66.223        94.807       -.20800E-04   -.38262E-03
  19  Prefactor     3.5050        10.226        .13813E-04   -.46461E-03
  20  Prefactor     .10000E-03    2.7331       -.26799E-06** at limit **
  21  Normalizat    .82085        .19624       -.47981E-05    .68518E-04
  22  Prefactor     1.1024        .12395        .10677E-05   -.26679E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.0914
  Prefactor  = 0.0001
  norm       = 2.6405
  norm       = 1.40277
  Prefactor  = 0.0001
  Prefactor  = 26.9747
  Prefactor  = 0.0001
  Prefactor  = 6.02552
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.637183
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 1.3763
  Prefactor  = 66.2233
  Prefactor  = 3.50495
  Prefactor  = 0.0001
  Normalizat = 0.820849
  Prefactor  = 1.10242
 **********
 **   18 **HESSE 
 **********

 FCN=   6949.319     FROM HESSE     STATUS=OK           334 CALLS     2696 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.7645        .15776E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    8.6988        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     10.091        12.156        .12614E-03   -1.5073    
   4  Prefactor     .10000E-03    100.65        .21432E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.6405        .78660        .38772E-04   -1.5383    
   6  norm          1.4028        1.1593        .77567E-04   -1.5471    
   7  Prefactor     .10000E-03    14.511        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     26.975        29.337        .77107E-04   -1.4669    
   9  Prefactor     .10000E-03    1.9182        .11253E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.0255        7.8810        .81769E-03   -1.5217    
  11  Prefactor     .10000E-03    6.9123        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    17.185        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    64.955        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .63718        .43909        .44955E-04   -1.5548    
  15  Prefactor     .10000E-03    12.952        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    26.724        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.3763        2.9973        .19788E-03   -1.5473    
  18  Prefactor     66.223        99.794        .24623E-03   -1.4079    
  19  Prefactor     3.5050        10.339        .10801E-02   -1.5334    
  20  Prefactor     .10000E-03    2.7653        .13455E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .82085        .22562        .31771E-03   -.99300    
  22  Prefactor     1.1024        .14337        .18398E-03   -.89389    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.96454e-09
Minuit parameter uncertainties:
  1  2.76446e-06
  2  2.39588e-05
  3  12.1589
  4  0.000220847
  5  0.786601
  6  1.15927
  7  9.56895e-05
  8  29.3522
  9  4.99009e-06
  10  7.88239
  11  1.72098e-05
  12  1.96989e-05
  13  0.00015509
  14  0.439091
  15  8.90754e-05
  16  0.000510209
  17  2.99767
  18  100.047
  19  10.3445
  20  1.89437e-05
  21  0.225881
  22  0.143419
Done.

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

Extracting fit parameters...

4FGL J0126.8+2412
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  1.721e-05  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.102e+00  1.434e-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.208e-01  2.259e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 21.704 24.210
Photon Flux Upper Limit: 7.41e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.85e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/572433/likelihoodResults_270432001_270691201_4FGL_J0126.8+2412_daily_bin120.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): 102
logL (Free Index) = 6949.31988212
delta logL = -0.000689493873324

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6949.31919281
delta logL = -1.80514689418e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7581       1.0000          .0000       10.000    
     3 'Normalizat'    .82075       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1025       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=   6949.319     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      244 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10003E-03    204.88        .18142E-02** at limit **
   2  Index         2.7465        5.1700        .50000        .16334E-05
   3  Normalizat    .82085        .26771E-01    .31771E-03    .78724E-05
   4  Prefactor     1.1024        .17830E-01    .18398E-03    .12173E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100026
  Index      = 2.74653
  Normalizat = 0.820846
  Prefactor  = 1.10243
 **********
 **   18 **HESSE 
 **********

 FCN=   6949.319     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      273 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10003E-03    807.17        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7465        6.3679        .50000       -.46754    
   3  Normalizat    .82085        .61930E-01    .12708E-04   -.99300    
   4  Prefactor     1.1024        .41245E-01    .73592E-05   -.89389    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.19085e-09
Minuit parameter uncertainties:
  1  0.00920954
  2  1800.05
  3  0.0619349
  4  0.041246
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/572433': 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): 102
logL (Free Index) = 6949.31919262
delta logL = 4.08181222156e-09

Extracting fit parameters...

4FGL J0126.8+2412
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  9.210e-03  1.000e-04  1.000e+04 ( 1.000e-12)
258        Index:  2.747e+00  1.800e+03  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.102e+00  4.125e-02  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.208e-01  6.193e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 21.704 24.210

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/572433/cmap_HighResolution_270432001_270691201_4FGL_J0126.8+2412_daily_bin120.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.85e-03', job_status='DONE', photon_flux_upper_limit='7.41e-08', time_completed='2021-08-14 00:51:13.066737', job_id='572433', GAL2='1.10', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1628927473.07', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='4.08e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='120' AND source_name='4FGL J0126.8+2412' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 00:51:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 572433: <4FGL_J0126.8+2412_daily_bin120> in cluster <slac> Done

Job <4FGL_J0126.8+2412_daily_bin120> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Aug 14 00:35:56 2021
Job was executed on host(s) <bullet0227>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 00:37:40 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:37:40 2021
Terminated at Sat Aug 14 00:51:13 2021
Results reported at Sat Aug 14 00:51:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0126.8+2412_daily_bin120 21.7036 24.21 270432001 270691201 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 :                                   693.28 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             333.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   813 sec.
    Turnaround time :                            917 sec.

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

