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


Performing analysis on: 4FGL_J0126.8+2412_daily_bin748
RA = 21.7036, Dec = 24.21
tmin = 433209601, tmax = 433468801
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='575587', job_status='RUN', time_executed='2021-08-14 00:49:16.841548', time_epoch_executed='1628927356.84' WHERE source_name='4FGL J0126.8+2412' and cadence='daily' and bin_id='748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/575587

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/575587/ft1_4FGL_J0126.8+2412_daily_bin748.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/575587/ft2_4FGL_J0126.8+2412_daily_bin748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/575587/ft1_4FGL_J0126.8+2412_daily_bin748.fits outfile=/scratch/kocevski/575587/ft1_filteredMKT_4FGL_J0126.8+2412_daily_bin748.fits ra=21.7036 dec=24.21 rad=12.0 tmin=433209601.0 tmax=433468801.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 11.39
user 5.68
sys 5.48

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/575587/ft1_filtered_4FGL_J0126.8+2412_daily_bin748.fits" evtable="EVENTS" scfile=/scratch/kocevski/575587/ft2_4FGL_J0126.8+2412_daily_bin748.fits sctable="SC_DATA" outfile=/scratch/kocevski/575587/ltcube_433209601_433468801_4FGL_J0126.8+2412_daily_bin748.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/575587/ft2_4FGL_J0126.8+2412_daily_bin748.fits
.....................!
real 18.25
user 11.99
sys 6.16

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/575587/ft1_filtered_4FGL_J0126.8+2412_daily_bin748.fits evtable="EVENTS" scfile=/scratch/kocevski/575587/ft2_4FGL_J0126.8+2412_daily_bin748.fits sctable="SC_DATA" expcube=/scratch/kocevski/575587/ltcube_433209601_433468801_4FGL_J0126.8+2412_daily_bin748.fits outfile=/scratch/kocevski/575587/expmap_433209601_433468801_4FGL_J0126.8+2412_daily_bin748.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/575587/ltcube_433209601_433468801_4FGL_J0126.8+2412_daily_bin748.fits
.....................!
real 196.38
user 184.71
sys 10.93

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/575587/ft1_filtered_4FGL_J0126.8+2412_daily_bin748.fits scfile=/scratch/kocevski/575587/ft2_4FGL_J0126.8+2412_daily_bin748.fits outfile=/scratch/kocevski/575587/cmap_433209601_433468801_4FGL_J0126.8+2412_daily_bin748.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.64
user 0.37
sys 5.22

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/575587/ft1_filtered_4FGL_J0126.8+2412_daily_bin748.fits scfile=/scratch/kocevski/575587/ft2_4FGL_J0126.8+2412_daily_bin748.fits outfile=/scratch/kocevski/575587/cmap_HighResolution_433209601_433468801_4FGL_J0126.8+2412_daily_bin748.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.46
user 0.38
sys 5.02

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10205E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    55.495       1.0000         .10000E-03   10000.    
     5 'norm      '    2.5638       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.878       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.4447       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10154E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .30456       1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.836       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10272E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10172E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11636E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    25.668       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .49401       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3879       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .85609       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=   5607.635     FROM MIGRAD    STATUS=CONVERGED    496 CALLS     2387 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.1586        .90712E-02** at limit **
   2  Prefactor     .10000E-03    28.735        .90712E-02** at limit **
   3  Prefactor     .10006E-03    35.095        .90712E-02** at limit **
   4  Prefactor     55.493        47.031        .13462E-02    .35945E-03
   5  norm          2.5634        .93570        .63737E-02   -.60068E-06
   6  norm          .10000E-03    .93198        .25989E-01** at limit **
   7  Prefactor     15.879        14.004        .25128E-02    .18441E-04
   8  Prefactor     2.4375        103.72        .65413E-02    .95463E-04
   9  Prefactor     .10000E-03    3.5957        .90712E-02** at limit **
  10  Prefactor     .10000E-03    4.9275        .90712E-02** at limit **
  11  Prefactor     .10000E-03    13.134        .90712E-02** at limit **
  12  Prefactor     .10000E-03    10.631        .90712E-02** at limit **
  13  Prefactor     .10000E-03    57.324        .90712E-02** at limit **
  14  norm          .30456        .66080        .10445E-01    .17814E-02
  15  Prefactor     14.826        15.062        .25997E-02    .36688E-03
  16  Prefactor     .10008E-03    33.225        .90712E-02** at limit **
  17  norm          .10000E-03    3.8036        .90712E-02** at limit **
  18  Prefactor     .10000E-03    164.07        .90712E-02** at limit **
  19  Prefactor     25.681        14.597        .19767E-02   -.57377E-03
  20  Prefactor     .49291        6.0330        .11246E-01    .15441E-02
  21  Normalizat    1.3879        .23061        .65008E-01    .89350E-05
  22  Prefactor     .85607        .13781        .44443E-01    .10946E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.00010006
  Prefactor  = 55.4935
  norm       = 2.56337
  norm       = 0.0001
  Prefactor  = 15.8786
  Prefactor  = 2.43749
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 0.304563
  Prefactor  = 14.8263
  Prefactor  = 0.00010008
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 25.681
  Prefactor  = 0.492912
  Normalizat = 1.38792
  Prefactor  = 0.856071
 **********
 **   18 **HESSE 
 **********

 FCN=   5607.635     FROM HESSE     STATUS=OK           338 CALLS     2725 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.1685        .16611E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    29.080        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10006E-03    35.978        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     55.493        47.196        .53847E-04   -1.4217    
   5  norm          2.5634        .93935        .40881E-04   -1.5388    
   6  norm          .10000E-03    1.8619        .13974E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     15.879        14.011        .10051E-03   -1.4911    
   8  Prefactor     2.4375        103.81        .26165E-03   -1.5396    
   9  Prefactor     .10000E-03    3.6102        .13831E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.9596        .16227E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    13.390        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    10.633        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    57.353        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .30456        .64035        .85232E-04   -1.5598    
  15  Prefactor     14.826        15.082        .10399E-03   -1.4938    
  16  Prefactor     .10008E-03    33.292        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    3.8705        .14215E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    164.13        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     25.681        14.566        .79069E-04   -1.4694    
  20  Prefactor     .49291        6.1373        .35595E-03   -1.5568    
  21  Normalizat    1.3879        .26819        .28756E-03   -.80979    
  22  Prefactor     .85607        .16035        .21399E-03   -.97693    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.36568e-09
Minuit parameter uncertainties:
  1  9.46768e-07
  2  0.000691255
  3  0.00293383
  4  47.2283
  5  0.939356
  6  1.27398e-07
  7  14.0144
  8  31.8723
  9  2.1196e-07
  10  6.72379e-07
  11  1.29555e-06
  12  3.02587e-06
  13  0.000759978
  14  0.640363
  15  15.086
  16  0.00327517
  17  6.9371e-07
  18  0.000649898
  19  14.5683
  20  3.47867
  21  0.268466
  22  0.160436
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
542    Prefactor:  8.561e-01  1.604e-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.388e+00  2.685e-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: 1.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.25e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/575587/likelihoodResults_433209601_433468801_4FGL_J0126.8+2412_daily_bin748.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) = 5607.63507614
delta logL = -0.000355936160304

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5607.63471991
delta logL = 2.9967577575e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10300E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7070       1.0000          .0000       10.000    
     3 'Normalizat'    1.3879       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85606       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=   5607.635     FROM MIGRAD    STATUS=CONVERGED    122 CALLS      279 TOTAL
                     EDM=   .61E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.6983        .11524    ** at limit **
   2  Index         2.0765        6.0491        .50000       -.75897E-07
   3  Normalizat    1.3879        .48228E-02    .28756E-03   -.15525E-03
   4  Prefactor     .85607        .29162E-02    .21399E-03   -.22513E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.07649
  Normalizat = 1.38792
  Prefactor  = 0.85607
 **********
 **   18 **HESSE 
 **********

 FCN=   5607.635     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      310 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    615.53        .39772E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0765        7.9486        .50000       -.62451    
   3  Normalizat    1.3879        .20967E-01    .57511E-04   -.80979    
   4  Prefactor     .85607        .12678E-01    .42798E-04   -.97693    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.77907e-10
Minuit parameter uncertainties:
  1  0.00105025
  2  369.599
  3  0.0209667
  4  0.0126784
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/575587': 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) = 5607.6347174
delta logL = 2.80845051748e-06

Extracting fit parameters...

4FGL J0126.8+2412
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  1.050e-03  1.000e-04  1.000e+04 ( 1.000e-12)
258        Index:  2.076e+00  3.696e+02  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.561e-01  1.268e-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:  1.388e+00  2.097e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/575587/cmap_HighResolution_433209601_433468801_4FGL_J0126.8+2412_daily_bin748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.25e-03', job_status='DONE', photon_flux_upper_limit='1.04e-07', time_completed='2021-08-14 01:00:50.250669', job_id='575587', GAL2='0.86', fit_tolerance='1e-08', EG2='1.39', EG='1.39', time_epoch_completed='1628928050.25', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='2.81e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='748' AND source_name='4FGL J0126.8+2412' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 01:00:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 575587: <4FGL_J0126.8+2412_daily_bin748> in cluster <slac> Done

Job <4FGL_J0126.8+2412_daily_bin748> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 14 00:45:35 2021
Job was executed on host(s) <bullet0055>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 00:46:16 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:46:16 2021
Terminated at Sat Aug 14 01:00:51 2021
Results reported at Sat Aug 14 01:00:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0126.8+2412_daily_bin748 21.7036 24.21 433209601 433468801 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 :                                   770.11 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             259.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   875 sec.
    Turnaround time :                            916 sec.

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

