/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 43 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 = 7670
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0126.8+2412_daily_bin175
RA = 21.7036, Dec = 24.21
tmin = 284688001, tmax = 284947201
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='572488', job_status='RUN', time_executed='2021-08-14 00:39:29.807365', time_epoch_executed='1628926769.81' WHERE source_name='4FGL J0126.8+2412' and cadence='daily' and bin_id='175'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/572488

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/572488/ft1_4FGL_J0126.8+2412_daily_bin175.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/572488/ft2_4FGL_J0126.8+2412_daily_bin175.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/572488/ft1_4FGL_J0126.8+2412_daily_bin175.fits outfile=/scratch/kocevski/572488/ft1_filteredMKT_4FGL_J0126.8+2412_daily_bin175.fits ra=21.7036 dec=24.21 rad=12.0 tmin=284688001.0 tmax=284947201.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 6.21
user 3.42
sys 2.68

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/572488/ft1_filtered_4FGL_J0126.8+2412_daily_bin175.fits" evtable="EVENTS" scfile=/scratch/kocevski/572488/ft2_4FGL_J0126.8+2412_daily_bin175.fits sctable="SC_DATA" outfile=/scratch/kocevski/572488/ltcube_284688001_284947201_4FGL_J0126.8+2412_daily_bin175.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/572488/ft2_4FGL_J0126.8+2412_daily_bin175.fits
.....................!
real 15.72
user 12.41
sys 3.10

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/572488/ft1_filtered_4FGL_J0126.8+2412_daily_bin175.fits evtable="EVENTS" scfile=/scratch/kocevski/572488/ft2_4FGL_J0126.8+2412_daily_bin175.fits sctable="SC_DATA" expcube=/scratch/kocevski/572488/ltcube_284688001_284947201_4FGL_J0126.8+2412_daily_bin175.fits outfile=/scratch/kocevski/572488/expmap_284688001_284947201_4FGL_J0126.8+2412_daily_bin175.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/572488/ltcube_284688001_284947201_4FGL_J0126.8+2412_daily_bin175.fits
.....................!
real 195.67
user 186.84
sys 8.45

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/572488/ft1_filtered_4FGL_J0126.8+2412_daily_bin175.fits scfile=/scratch/kocevski/572488/ft2_4FGL_J0126.8+2412_daily_bin175.fits outfile=/scratch/kocevski/572488/cmap_284688001_284947201_4FGL_J0126.8+2412_daily_bin175.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 2.93
user 0.38
sys 2.53

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/572488/ft1_filtered_4FGL_J0126.8+2412_daily_bin175.fits scfile=/scratch/kocevski/572488/ft2_4FGL_J0126.8+2412_daily_bin175.fits outfile=/scratch/kocevski/572488/cmap_HighResolution_284688001_284947201_4FGL_J0126.8+2412_daily_bin175.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 3.00
user 0.39
sys 2.51

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .31897E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.087       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.2986       1.0000         .10000E-03   10000.    
     6 'norm      '    3.3939       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.4630       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    18.087       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.9876       1.0000         .10000E-03   10000.    
    14 'norm      '    1.2651       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .90491       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.6493       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .89951       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1199       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=   8017.855     FROM MIGRAD    STATUS=CONVERGED    480 CALLS     2017 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.7568        .41579E-06** at limit **
   2  Prefactor     .10000E-03    63.339       -.46687E-04** at limit **
   3  Prefactor     15.086        12.816        .16722E-06   -.14328E-03
   4  Prefactor     .10000E-03    14.152       -.17206E-07** at limit **
   5  norm          1.2987        .54561       -.89670E-07   -.37122E-02
   6  norm          3.3939        1.2944       -.98924E-08   -.89117E-03
   7  Prefactor     .10000E-03    8.0098       -.17957E-06** at limit **
   8  Prefactor     .10000E-03    22.928        .14715E-05** at limit **
   9  Prefactor     .10000E-03    3.9722       -.30764E-06** at limit **
  10  Prefactor     2.4621        6.0130        .21603E-06   -.15267E-03
  11  Prefactor     .10000E-03    7.2882       -.53883E-07** at limit **
  12  Prefactor     18.087        17.767       -.88203E-07   -.10475E-03
  13  Prefactor     7.9793        157.99        .28671E-05   -.37039E-04
  14  norm          1.2651        .71832       -.35586E-07   -.20508E-02
  15  Prefactor     .10000E-03    4.3905       -.34192E-07** at limit **
  16  Prefactor     .90481        3.4918        .64766E-05   -.42390E-03
  17  norm          .10000E-03    1.7300        .36250E-06** at limit **
  18  Prefactor     .10000E-03    33.968       -.38418E-05** at limit **
  19  Prefactor     .10000E-03    5.0478        .55914E-06** at limit **
  20  Prefactor     4.6491        4.2973        .77775E-07    .72157E-04
  21  Normalizat    .89960        .18626       -.50077E-07   -.57974E-03
  22  Prefactor     1.1199        .11901       -.13261E-05   -.15085E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.0863
  Prefactor  = 0.0001
  norm       = 1.2987
  norm       = 3.39387
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.46209
  Prefactor  = 0.000100001
  Prefactor  = 18.0866
  Prefactor  = 7.97931
  norm       = 1.26511
  Prefactor  = 0.0001
  Prefactor  = 0.90481
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100002
  Prefactor  = 4.64908
  Normalizat = 0.899601
  Prefactor  = 1.11987
 **********
 **   18 **HESSE 
 **********

 FCN=   8017.855     FROM HESSE     STATUS=OK           338 CALLS     2355 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.7760        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    64.272        .48518E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     15.086        12.810        .51558E-03   -1.4931    
   4  Prefactor     .10000E-03    14.210        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.2987        .54567        .41505E-04   -1.5480    
   6  norm          3.3939        1.2892        .59466E-04   -1.5339    
   7  Prefactor     .10000E-03    8.0390        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    22.984        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.1202        .34837E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.4621        5.9842        .26059E-03   -1.5394    
  11  Prefactor     .10000E-03    7.3412        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     18.087        17.767        .47088E-03   -1.4857    
  13  Prefactor     7.9793        156.81        .14187E-03   -1.5143    
  14  norm          1.2651        .70602        .51924E-04   -1.5483    
  15  Prefactor     .10000E-03    4.4095        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .90481        29.834        .25651E-02   -1.5518    
  17  norm          .10000E-03    1.7692        .11509E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    34.054        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.1701        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.6491        4.2942        .17332E-03   -1.5277    
  21  Normalizat    .89960        .21219        .31617E-03   -.96474    
  22  Prefactor     1.1199        .13910        .18837E-03   -.88834    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.02159e-09
Minuit parameter uncertainties:
  1  1.64106e-05
  2  0.000159708
  3  12.8127
  4  3.4715e-05
  5  0.545671
  6  1.28925
  7  7.48666e-05
  8  0.000136301
  9  5.55922e-05
  10  5.98568
  11  0.000125086
  12  17.7725
  13  70.9598
  14  0.706022
  15  3.7365e-05
  16  10.3963
  17  4.24187e-05
  18  0.000574967
  19  0.000192104
  20  4.29445
  21  0.212388
  22  0.13914
Done.

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

Extracting fit parameters...

4FGL J0126.8+2412
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  1.251e-04  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.120e+00  1.391e-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.996e-01  2.124e-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: 8.47e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.69e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/572488/likelihoodResults_284688001_284947201_4FGL_J0126.8+2412_daily_bin175.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) = 8017.85557108
delta logL = -0.000649233091281

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8017.85492189
delta logL = -4.58267095382e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7547       1.0000          .0000       10.000    
     3 'Normalizat'    .89956       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1199       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=   8017.855     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      240 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10018E-03    220.69        .18142E-02** at limit **
   2  Index         2.7251        8.4695        .50000        .44006E-05
   3  Normalizat    .89960        .26000E-01    .31617E-03    .22761E-04
   4  Prefactor     1.1199        .17198E-01    .18837E-03    .33882E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100181
  Index      = 2.72514
  Normalizat = 0.899598
  Prefactor  = 1.11987
 **********
 **   18 **HESSE 
 **********

 FCN=   8017.855     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      269 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10018E-03    850.53        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7251        8.3336        .50000       -.47234    
   3  Normalizat    .89960        .59353E-01    .12647E-04   -.96474    
   4  Prefactor     1.1199        .39259E-01    .37674E-04   -.88834    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.11646e-09
Minuit parameter uncertainties:
  1  0.0252002
  2  1699.66
  3  0.0593578
  4  0.0392604
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/572488': 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) = 8017.85492182
delta logL = 3.03734850604e-08

Extracting fit parameters...

4FGL J0126.8+2412
   Spectrum: PowerLaw
257    Prefactor:  1.002e-04  2.520e-02  1.000e-04  1.000e+04 ( 1.000e-12)
258        Index:  2.725e+00  1.700e+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.120e+00  3.926e-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.996e-01  5.936e-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/572488/cmap_HighResolution_284688001_284947201_4FGL_J0126.8+2412_daily_bin175.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.69e-03', job_status='DONE', photon_flux_upper_limit='8.47e-08', time_completed='2021-08-14 00:52:01.535161', job_id='572488', GAL2='1.12', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1628927521.54', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='3.04e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='175' AND source_name='4FGL J0126.8+2412' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 00:52:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0295>
Subject: Job 572488: <4FGL_J0126.8+2412_daily_bin175> in cluster <slac> Done

Job <4FGL_J0126.8+2412_daily_bin175> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Aug 14 00:36:00 2021
Job was executed on host(s) <bullet0295>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 00:38:00 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:38:00 2021
Terminated at Sat Aug 14 00:52:02 2021
Results reported at Sat Aug 14 00:52:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0126.8+2412_daily_bin175 21.7036 24.21 284688001 284947201 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 :                                   784.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             289.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   842 sec.
    Turnaround time :                            962 sec.

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

