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


Performing analysis on: 4FGL_J0105.1+3929_monthly_bin137
RA = 16.2913, Dec = 39.4963
tmin = 592099201, tmax = 594691201
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='460420', job_status='RUN', time_executed='2021-10-09 04:50:29.971535', time_epoch_executed='1633780229.97' WHERE source_name='4FGL J0105.1+3929' and cadence='monthly' and bin_id='137'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/460420

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

Retrieving the FT1 file...

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

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

Retrieving 458 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/460420/ft1_4FGL_J0105.1+3929_monthly_bin137.fits


Retrieving the FT1 file...

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

Retrieving 458 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/460420/ft2_4FGL_J0105.1+3929_monthly_bin137.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/460420/ft1_4FGL_J0105.1+3929_monthly_bin137.fits outfile=/scratch/kocevski/460420/ft1_filteredMKT_4FGL_J0105.1+3929_monthly_bin137.fits ra=16.2913 dec=39.4963 rad=12.0 tmin=592099201.0 tmax=594691201.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 34.60
user 33.47
sys 0.58

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/460420/ft2_4FGL_J0105.1+3929_monthly_bin137.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/460420/ft2_4FGL_J0105.1+3929_monthly_bin137.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/460420/ft1_filteredMKT_4FGL_J0105.1+3929_monthly_bin137.fits evtable="EVENTS" outfile="/scratch/kocevski/460420/ft1_filtered_4FGL_J0105.1+3929_monthly_bin137.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.84
user 0.65
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/460420/ft1_filtered_4FGL_J0105.1+3929_monthly_bin137.fits" evtable="EVENTS" scfile=/scratch/kocevski/460420/ft2_4FGL_J0105.1+3929_monthly_bin137.fits sctable="SC_DATA" outfile=/scratch/kocevski/460420/ltcube_592099201_594691201_4FGL_J0105.1+3929_monthly_bin137.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/460420/ft2_4FGL_J0105.1+3929_monthly_bin137.fits
.....................!
real 116.53
user 114.03
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/460420/ft1_filtered_4FGL_J0105.1+3929_monthly_bin137.fits evtable="EVENTS" scfile=/scratch/kocevski/460420/ft2_4FGL_J0105.1+3929_monthly_bin137.fits sctable="SC_DATA" expcube=/scratch/kocevski/460420/ltcube_592099201_594691201_4FGL_J0105.1+3929_monthly_bin137.fits outfile=/scratch/kocevski/460420/expmap_592099201_594691201_4FGL_J0105.1+3929_monthly_bin137.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/460420/ltcube_592099201_594691201_4FGL_J0105.1+3929_monthly_bin137.fits
.....................!
real 192.27
user 185.20
sys 6.21

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 170 point sources and 0 extended sources

Setting source of interest to:
4FGL J0105.1+3929 @ 16.2913 39.4963

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/460420/ft1_filtered_4FGL_J0105.1+3929_monthly_bin137.fits scfile=/scratch/kocevski/460420/ft2_4FGL_J0105.1+3929_monthly_bin137.fits outfile=/scratch/kocevski/460420/cmap_592099201_594691201_4FGL_J0105.1+3929_monthly_bin137.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=16.2913 yref=39.4963 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.78
user 0.60
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/460420/ft1_filtered_4FGL_J0105.1+3929_monthly_bin137.fits scfile=/scratch/kocevski/460420/ft2_4FGL_J0105.1+3929_monthly_bin137.fits outfile=/scratch/kocevski/460420/cmap_HighResolution_592099201_594691201_4FGL_J0105.1+3929_monthly_bin137.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=16.2913 yref=39.4963 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.79
user 0.60
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/460420/ft1_filtered_4FGL_J0105.1+3929_monthly_bin137.fits evtable="EVENTS" scfile=/scratch/kocevski/460420/ft2_4FGL_J0105.1+3929_monthly_bin137.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/460420/Model_4FGL_J0105.1+3929_monthly_bin137.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/460420/ft1_filtered_4FGL_J0105.1+3929_monthly_bin137.fits.....................!
real 714.81
user 712.36
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/460420/ft1_filtered_4FGL_J0105.1+3929_monthly_bin137.fits', '/scratch/kocevski/460420/ft2_4FGL_J0105.1+3929_monthly_bin137.fits', expMap='/scratch/kocevski/460420/expmap_592099201_594691201_4FGL_J0105.1+3929_monthly_bin137.fits', expCube='/scratch/kocevski/460420/ltcube_592099201_594691201_4FGL_J0105.1+3929_monthly_bin137.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/460420/Model_4FGL_J0105.1+3929_monthly_bin137.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0105.1+3929'

4FGL J0105.1+3929
   Spectrum: PowerLaw
194    Prefactor:  5.058e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
195        Index:  2.304e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
196        Scale:  1.083e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/460420/ft1_filtered_4FGL_J0105.1+3929_monthly_bin137.fits
Spacecraft file(s): /scratch/kocevski/460420/ft2_4FGL_J0105.1+3929_monthly_bin137.fits
Exposure map: /scratch/kocevski/460420/expmap_592099201_594691201_4FGL_J0105.1+3929_monthly_bin137.fits
Exposure cube: /scratch/kocevski/460420/ltcube_592099201_594691201_4FGL_J0105.1+3929_monthly_bin137.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/460420/Model_4FGL_J0105.1+3929_monthly_bin137.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) = 81427.0959756

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.7709       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .81920       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.2432       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.9244       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.428       1.0000         .10000E-03   10000.    
     7 'norm      '    .14777       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.3450       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10195E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.6153       1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.150       1.0000         .10000E-03   10000.    
    13 'norm      '    .99218       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .32496E-01   1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.3941       1.0000         .10000E-03   10000.    
    18 'norm      '    1.8593       1.0000         .10000E-03   10000.    
    19 'norm      '    .23950       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .66583E-01   1.0000         .10000E-03   10000.    
    22 'Prefactor '    13.407       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0750       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0374       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   81426.99     FROM MIGRAD    STATUS=CONVERGED    593 CALLS     2929 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.7707        4.2066       -.56320E-06   -.79409E-05
   2  Prefactor     .81964        .14565        .96080E-08   -.95778E-03
   3  Prefactor     1.2432        1.0159       -.55390E-06   -.16169E-02
   4  Prefactor     1.9262        4.6697        .33880E-05    .89775E-04
   5  Prefactor     .10000E-03    1.4609       -.17720E-07** at limit **
   6  Prefactor     14.433        9.7980        .53898E-05   -.19672E-04
   7  norm          .14886        .42026       -.98491E-08   -.11453E-03
   8  Prefactor     .10000E-03    .29349       -.56368E-07** at limit **
   9  Prefactor     3.3460        2.7905        .20874E-07   -.71153E-04
  10  Prefactor     .10000E-03    .53740        .32506E-06** at limit **
  11  Prefactor     7.6240        5.3431       -.23214E-06   -.16319E-03
  12  Prefactor     15.164        12.582       -.47648E-05   -.99482E-04
  13  norm          .99213        .40345       -.18948E-08   -.38229E-04
  14  norm          .10000E-03    .23433        .14913E-07** at limit **
  15  Prefactor     .10000E-03    1.0997       -.62464E-08** at limit **
  16  Prefactor     .12978        2.1641        .24394E-06   -.22795E-04
  17  Prefactor     4.3906        9.4706       -.11384E-04   -.25263E-04
  18  norm          1.8594        .40860        .55941E-08    .25539E-03
  19  norm          .23931        .17262        .60831E-07    .44229E-02
  20  Prefactor     .10000E-03    2.1889        .75893E-08** at limit **
  21  Prefactor     .58717E-01    .19349       -.14078E-06    .93750E-03
  22  Prefactor     13.407        15.359        .44333E-05    .54089E-04
  23  Normalizat    1.0752        .64140E-01    .77241E-07   -.21703E-03
  24  Prefactor     1.0373        .32809E-01   -.86935E-08   -.41121E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.77067
  Prefactor  = 0.819643
  Prefactor  = 1.24324
  Prefactor  = 1.92618
  Prefactor  = 0.0001
  Prefactor  = 14.4334
  norm       = 0.148859
  Prefactor  = 0.0001
  Prefactor  = 3.34602
  Prefactor  = 0.0001
  Prefactor  = 7.62397
  Prefactor  = 15.1636
  norm       = 0.992129
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.129782
  Prefactor  = 4.39055
  norm       = 1.85944
  norm       = 0.239311
  Prefactor  = 0.0001
  Prefactor  = 0.0587167
  Prefactor  = 13.4073
  Normalizat = 1.07515
  Prefactor  = 1.03727
 **********
 **   18 **HESSE 
 **********

 FCN=   81426.99     FROM HESSE     STATUS=OK           423 CALLS     3352 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.7707        4.2488        .20790E-03   -1.5320    
   2  Prefactor     .81964        1.6804        .25022E-02   -1.5527    
   3  Prefactor     1.2432        .98799        .23184E-03   -1.5485    
   4  Prefactor     1.9262        4.5761        .29949E-03   -1.5430    
   5  Prefactor     .10000E-03    1.4665        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     14.433        9.7749        .10544E-03   -1.4948    
   7  norm          .14886        .41064        .30070E-03   -1.5631    
   8  Prefactor     .10000E-03    .66162        .29932E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.3460        2.7864        .11065E-02   -1.5342    
  10  Prefactor     .10000E-03    3.3514        .39060E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.6240        5.3024        .14532E-03   -1.5156    
  12  Prefactor     15.164        12.492        .10290E-03   -1.4929    
  13  norm          .99213        .39477        .10925E-03   -1.5509    
  14  norm          .10000E-03    .24282        .26946E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.1385        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .12978        2.2326        .12181       -1.5636    
  17  Prefactor     4.3906        9.4489        .19213E-03   -1.5289    
  18  norm          1.8594        .40849        .83057E-04   -1.5435    
  19  norm          .23931        .13790        .93244E-03   -1.5610    
  20  Prefactor     .10000E-03    2.2334        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .58717E-01    4.1579        .21452E-02   -1.5660    
  22  Prefactor     13.407        15.390        .10939E-03   -1.4975    
  23  Normalizat    1.0752        .73555E-01    .32875E-03   -.90554    
  24  Prefactor     1.0373        .38125E-01    .17663E-03   -.91497    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.98172e-08
Minuit parameter uncertainties:
  1  4.24916
  2  1.68052
  3  0.988003
  4  4.57692
  5  1.35288e-06
  6  9.77595
  7  0.410649
  8  4.1519e-06
  9  2.78648
  10  3.47144e-05
  11  5.3027
  12  12.4942
  13  0.394767
  14  1.86395e-07
  15  1.68874e-07
  16  1.07621
  17  9.45213
  18  0.408487
  19  0.137896
  20  1.57376e-06
  21  0.987434
  22  15.3947
  23  0.0735623
  24  0.0381263
Done.

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

Extracting fit parameters...

4FGL J0105.1+3929
   Spectrum: PowerLaw
194    Prefactor:  7.624e+00  5.303e+00  1.000e-04  1.000e+04 ( 1.000e-13)
195        Index:  2.304e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
196        Scale:  1.083e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.037e+00  3.813e-02  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.075e+00  7.356e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.58
Ra Dec: 16.291 39.496
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 1.42e-08 +/- 9.84e-09
Energy Flux (Fixed Index): 5.32e-06 +/- 3.70e-06

TS (Fixed Index): 2.58
Ra Dec: 16.291 39.496
Photon Flux Upper Limit: 3.28e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.52e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/460420/likelihoodResults_592099201_594691201_4FGL_J0105.1+3929_monthly_bin137.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) = 81426.7171876
delta logL = 0.275415134674

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 81426.7110138
delta logL = 0.281588934493

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.6987       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6858       1.0000          .0000       10.000    
     3 'Normalizat'    1.0662       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0402       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   81426.71     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      296 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.6964        7.8289        .84132E-03    .99580E-03
   2  Index         2.6865        .81435        .12032E-01    .12056E-03
   3  Normalizat    1.0663        .72462E-01    .32998E-03   -.55124E-05
   4  Prefactor     1.0402        .37869E-01    .17641E-03   -.45370E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.69643
  Index      = 2.68654
  Normalizat = 1.06626
  Prefactor  = 1.04019
 **********
 **   18 **HESSE 
 **********

 FCN=   81426.71     FROM HESSE     STATUS=OK            27 CALLS      323 TOTAL
                     EDM=   .77E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.6964        5.3655        .16826E-03   -1.5231    
   2  Index         2.6865        .55912        .48128E-03   -.48103    
   3  Normalizat    1.0663        .72080E-01    .13199E-04   -.90843    
   4  Prefactor     1.0402        .37678E-01    .35282E-04   -.91402    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.72734e-13
Minuit parameter uncertainties:
  1  5.36596
  2  0.560612
  3  0.0720869
  4  0.0376789
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/460420': 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) = 81426.7110112
delta logL = 0.28159157047

Extracting fit parameters...

4FGL J0105.1+3929
   Spectrum: PowerLaw
194    Prefactor:  5.696e+00  5.366e+00  1.000e-04  1.000e+04 ( 1.000e-13)
195        Index:  2.687e+00  5.606e-01  0.000e+00  1.000e+01 (-1.000e+00)
196        Scale:  1.083e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.040e+00  3.768e-02  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.066e+00  7.209e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.18
Ra Dec: 16.291 39.496
Photon Index (Free Index): 2.69 +/- 0.56
Photon Flux (Free Index): 2.03e-08 +/- 1.39e-08
Energy Flux (Free Index): 4.95e-06 +/- 3.16e-06

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/460420/cmap_HighResolution_592099201_594691201_4FGL_J0105.1+3929_monthly_bin137.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.52e-03', comment='SUCCESS', photon_flux='1.42e-08', energy_flux2='4.95e-06', photon_flux_error='9.84e-09', dlogl='2.82e-01', energy_flux='5.32e-06', photon_flux2='2.03e-08', job_status='DONE', time_completed='2021-10-09 06:30:35.720844', photon_index_error2='0.56', photon_index2='2.69', ts='2.58', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='3.28e-08', energy_flux_error2='3.16e-06', EG='1.08', time_epoch_completed='1633786235.72', return_code='0', job_id='460420', GAL2='1.04', EG2='1.07', return_code2='0', energy_flux_error='3.70e-06', photon_flux_error2='1.39e-08', ts2='3.18', photon_index='2.30' WHERE bin_id='137' AND source_name='4FGL J0105.1+3929' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Sat Oct  9 06:30:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0087>
Subject: Job 460420: <4FGL_J0105.1+3929_monthly_bin137> in cluster <slac> Done

Job <4FGL_J0105.1+3929_monthly_bin137> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Oct  9 04:50:15 2021
Job was executed on host(s) <bullet0087>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Oct  9 04:50:17 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Oct  9 04:50:17 2021
Terminated at Sat Oct  9 06:30:36 2021
Results reported at Sat Oct  9 06:30:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0105.1+3929_monthly_bin137 16.2913 39.4963 592099201 594691201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0105.1+3929 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   5811.47 sec.
    Max Memory :                                 675 MB
    Average Memory :                             407.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2946 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   6019 sec.
    Turnaround time :                            6021 sec.

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

