/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 74 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 provieDone.


Performing analysis on: 4FGL_J0043.8+3425_daily_bin1641
RA = 10.9717, Dec = 34.4316
tmin = 664675201, tmax = 664934401
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 soDone.


Performing analysis on: 4FGL_J0043.8+3425_daily_bin1641
RA = 10.9717, Dec = 34.4316
tmin = 664675201, tmax = 664934401
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='362843', job_status='RUN', time_executed='2022-01-27 00:11:46.675812', time_epoch_executed='1643271106.68' WHERE source_name='4FGL J0043.8+3425' and cadence='daily' and bin_id='1641'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/362843

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/362843/ft1_4FGL_J0043.8+3425_daily_bin1641.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/362843/ft2_4FGL_J0043.8+3425_daily_bin1641.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/362843/ft1_4FGL_J0043.8+3425_daily_bin1641.fits outfile=/scratch/kocevski/362843/ft1_filteredMKT_4FGL_J0043.8+3425_daily_bin1641.fits ra=10.9717 dec=34.4316 rad=12.0 tmin=664675201.0 tmax=664934401.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 5.26
user 3.44
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/362843/ft2_4FGL_J0043.8+3425_daily_bin1641.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/362843/ft2_4FGL_J0043.8+3425_daily_bin1641.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/362843/ft1_filteredMKT_4FGL_J0043.8+3425_daily_bin1641.fits evtable="EVENTS" outfile="/scratch/kocevski/362843/ft1_filtered_4FGL_J0043.8+3425_daily_bin1641.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.73
user 0.36
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/362843/ft1_filtered_4FGL_J0043.8+3425_daily_bin1641.fits" evtable="EVENTS" scfile=/scratch/kocevski/362843/ft2_4FGL_J0043.8+3425_daily_bin1641.fits sctable="SC_DATA" outfile=/scratch/kocevski/362843/ltcube_664675201_664934401_4FGL_J0043.8+3425_daily_bin1641.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/362843/ft2_4FGL_J0043.8+3425_daily_bin1641.fits
.....................!
real 16.66
user 13.42
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/362843/ft1_filtered_4FGL_J0043.8+3425_daily_bin1641.fits evtable="EVENTS" scfile=/scratch/kocevski/362843/ft2_4FGL_J0043.8+3425_daily_bin1641.fits sctable="SC_DATA" expcube=/scratch/kocevski/362843/ltcube_664675201_664934401_4FGL_J0043.8+3425_daily_bin1641.fits outfile=/scratch/kocevski/362843/expmap_664675201_664934401_4FGL_J0043.8+3425_daily_bin1641.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/362843/ltcube_664675201_664934401_4FGL_J0043.8+3425_daily_bin1641.fits
.....................!
real 200.46
user 187.48
sys 5.34

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

Setting source of interest to:
4FGL J0043.8+3425 @ 10.9717 34.4316

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/362843/ft1_filtered_4FGL_J0043.8+3425_daily_bin1641.fits scfile=/scratch/kocevski/362843/ft2_4FGL_J0043.8+3425_daily_bin1641.fits outfile=/scratch/kocevski/362843/cmap_664675201_664934401_4FGL_J0043.8+3425_daily_bin1641.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=10.9717 yref=34.4316 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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/362843/ft1_filtered_4FGL_J0043.8+3425_daily_bin1641.fits scfile=/scratch/kocevski/362843/ft2_4FGL_J0043.8+3425_daily_bin1641.fits outfile=/scratch/kocevski/362843/cmap_HighResolution_664675201_664934401_4FGL_J0043.8+3425_daily_bin1641.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=10.9717 yref=34.4316 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.64
user 0.37
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/362843/ft1_filtered_4FGL_J0043.8+3425_daily_bin1641.fits evtable="EVENTS" scfile=/scratch/kocevski/362843/ft2_4FGL_J0043.8+3425_daily_bin1641.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/362843/Model_4FGL_J0043.8+3425_daily_bin1641.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/362843/ft1_filtered_4FGL_J0043.8+3425_daily_bin1641.fits.....................!
real 77.04
user 75.17
sys 1.61

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/362843/ft1_filtered_4FGL_J0043.8+3425_daily_bin1641.fits', '/scratch/kocevski/362843/ft2_4FGL_J0043.8+3425_daily_bin1641.fits', expMap='/scratch/kocevski/362843/expmap_664675201_664934401_4FGL_J0043.8+3425_daily_bin1641.fits', expCube='/scratch/kocevski/362843/ltcube_664675201_664934401_4FGL_J0043.8+3425_daily_bin1641.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/362843/Model_4FGL_J0043.8+3425_daily_bin1641.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0043.8+3425'

4FGL J0043.8+3425
   Spectrum: LogParabola
148         norm:  1.786e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
149        alpha:  1.864e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
150         beta:  5.166e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
151           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/362843/ft1_filtered_4FGL_J0043.8+3425_daily_bin1641.fits
Spacecraft file(s): /scratch/kocevski/362843/ft2_4FGL_J0043.8+3425_daily_bin1641.fits
Exposure map: /scratch/kocevski/362843/expmap_664675201_664934401_4FGL_J0043.8+3425_daily_bin1641.fits
Exposure cube: /scratch/kocevski/362843/ltcube_664675201_664934401_4FGL_J0043.8+3425_daily_bin1641.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/362843/Model_4FGL_J0043.8+3425_daily_bin1641.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) = 7625.94331619

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.126       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .48741       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.786       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10667E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    6.4645       1.0000         .10000E-03   10000.    
     9 'Prefactor '    19.715       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .15621E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.4063       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.0345       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.3146       1.0000         .10000E-03   10000.    
    14 'Prefactor '    43.531       1.0000         .10000E-03   10000.    
    15 'Prefactor '    30.243       1.0000         .10000E-03   10000.    
    16 'norm      '    1.0228       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .28677E-01   1.0000         .10000E-03   10000.    
    20 'norm      '    .35172       1.0000         .10000E-03   10000.    
    21 'Prefactor '    14.789       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .23123E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1849       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .76988       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7625.902     FROM MIGRAD    STATUS=CONVERGED    577 CALLS     2506 TOTAL
                     EDM=   .93E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.121        10.879        .34377E-06    .37853E-04
   2  Prefactor     .10000E-03    2.7439       -.46267E-07** at limit **
   3  Prefactor     .10000E-03    1.0550        .23586E-07** at limit **
   4  Prefactor     .48515        2.8899        .10682E-05    .19552E-05
   5  Prefactor     .10000E-03    15.776       -.34854E-06** at limit **
   6  Prefactor     14.787        13.948        .24846E-07    .30729E-04
   7  Prefactor     .10000E-03    27.363       -.14212E-05** at limit **
   8  norm          6.4648        2.9187        .33261E-07    .31385E-04
   9  Prefactor     19.732        16.545        .64805E-07    .55161E-05
  10  Prefactor     .10000E-03    3.7179       -.14988E-05** at limit **
  11  Prefactor     7.4127        10.750        .12586E-05    .19390E-04
  12  Prefactor     4.0328        8.5773        .16967E-05   -.11299E-03
  13  Prefactor     1.3443        48.264        .26481E-04    .15086E-04
  14  Prefactor     43.529        34.559        .34611E-06   -.22069E-04
  15  Prefactor     30.217        34.777        .24896E-05   -.95911E-05
  16  norm          1.0233        .92688        .31408E-07    .56375E-04
  17  Prefactor     .10000E-03    22.904        .13557E-05** at limit **
  18  Prefactor     .10000E-03    1.7137       -.58503E-07** at limit **
  19  Prefactor     .28394E-01    3.9754       -.35447E-06    .82829E-04
  20  norm          .35115        .63880       -.62571E-07   -.74688E-03
  21  Prefactor     14.811        23.896       -.17362E-05    .17849E-04
  22  Prefactor     .10000E-03    42.999       -.30643E-06** at limit **
  23  Prefactor     .10000E-03    3.6255       -.31456E-07** at limit **
  24  Normalizat    1.1846        .17887       -.21075E-05    .14595E-03
  25  Prefactor     .77007        .10299        .11635E-06    .12925E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.1207
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.485147
  Prefactor  = 0.0001
  Prefactor  = 14.7869
  Prefactor  = 0.0001
  norm       = 6.46479
  Prefactor  = 19.7323
  Prefactor  = 0.000100001
  Prefactor  = 7.41271
  Prefactor  = 4.03283
  Prefactor  = 1.34432
  Prefactor  = 43.529
  Prefactor  = 30.2165
  norm       = 1.02331
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0283939
  norm       = 0.351151
  Prefactor  = 14.8114
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.18462
  Prefactor  = 0.770071
 **********
 **   18 **HESSE 
 **********

 FCN=   7625.902     FROM HESSE     STATUS=OK           443 CALLS     2949 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.121        10.868        .12011E-03   -1.5041    
   2  Prefactor     .10000E-03    2.7622        .14118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.0564        .87591E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .48515        2.9749        .28397E-03   -1.5569    
   5  Prefactor     .10000E-03    15.781        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     14.787        13.937        .10416E-03   -1.4939    
   7  Prefactor     .10000E-03    27.480        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.4648        2.9175        .95977E-04   -1.5199    
   9  Prefactor     19.732        16.596        .90205E-04   -1.4819    
  10  Prefactor     .10000E-03    11.687        .32153E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.4127        10.734        .73687E-03   -1.5163    
  12  Prefactor     4.0328        8.4625        .10038E-02   -1.5306    
  13  Prefactor     1.3443        48.467        .19212E-02   -1.5476    
  14  Prefactor     43.529        34.555        .60763E-04   -1.4387    
  15  Prefactor     30.217        34.769        .36428E-03   -1.4608    
  16  norm          1.0233        .92455        .75790E-04   -1.5506    
  17  Prefactor     .10000E-03    22.945        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    1.7212        .11163E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .28394E-01    4.4836        .49312E-01   -1.5674    
  20  norm          .35115        .47041        .91972E-03   -1.5589    
  21  Prefactor     14.811        23.895        .10415E-03   -1.4938    
  22  Prefactor     .10000E-03    43.549        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    3.6662        .16225E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.1846        .21205        .26073E-03   -.87080    
  25  Prefactor     .77007        .12243        .19155E-03   -1.0084    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.62078e-10
Minuit parameter uncertainties:
  1  10.8702
  2  3.63697e-06
  3  2.14685e-06
  4  2.40263
  5  6.24729e-06
  6  13.9402
  7  1.55222e-05
  8  2.91755
  9  16.5994
  10  0.00018442
  11  10.7365
  12  8.46504
  13  16.1573
  14  34.5707
  15  34.7923
  16  0.92456
  17  6.8673e-05
  18  4.05803e-06
  19  0.712399
  20  0.470412
  21  23.9102
  22  2.26278e-06
  23  3.85939e-06
  24  0.212209
  25  0.12247
Done.

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

Extracting fit parameters...

4FGL J0043.8+3425
   Spectrum: LogParabola
148         norm:  6.465e+00  2.918e+00  1.000e-04  1.000e+04 ( 1.000e-12)
149        alpha:  1.864e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
150         beta:  5.166e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
151           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  7.701e-01  1.225e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.185e+00  2.122e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 18.71
Ra Dec: 10.972 34.432
Photon Index (Fixed Index): 1.86 +/- 0.00
Photon Flux (Fixed Index): 6.62e-08 +/- 2.99e-08
Energy Flux (Fixed Index): 5.82e-05 +/- 2.62e-05

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) = 7625.75864222
delta logL = 0.143414689293

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7625.75062427
delta logL = 0.151432645232

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.2140       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6632       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1972       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76883       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7625.751     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      205 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.2140        3.8478        .40260E-02    .82237E-03
   2  alpha         1.6632        .39646        .28429       -.14940E-04
   3  Normalizat    1.1972        .17031        .58707E-01   -.17792E-04
   4  Prefactor     .76886        .10281        .43310E-01   -.36474E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.21396
  alpha      = 1.66322
  Normalizat = 1.19719
  Prefactor  = 0.76886
 **********
 **   18 **HESSE 
 **********

 FCN=   7625.751     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .95E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.2140        3.1788        .10110E-03   -1.5209    
   2  alpha         1.6632        .37306        .10933E-01   -.34130    
   3  Normalizat    1.1972        .19979        .25963E-03   -.86690    
   4  Prefactor     .76886        .12138        .19178E-03   -1.0089    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.49704e-11
Minuit parameter uncertainties:
  1  3.1789
  2  0.374641
  3  0.199915
  4  0.121426
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/362843': 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) = 7625.7506242
delta logL = 0.151432709567

Extracting fit parameters...

4FGL J0043.8+3425
   Spectrum: LogParabola
148         norm:  6.214e+00  3.179e+00  1.000e-04  1.000e+04 ( 1.000e-12)
149        alpha:  1.663e+00  3.746e-01  0.000e+00  5.000e+00 ( 1.000e+00)
150         beta:  5.166e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
151           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  7.689e-01  1.214e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.197e+00  1.999e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 19.00
Ra Dec: 10.972 34.432
Photon Index (Free Index): 1.66 +/- 0.37
Photon Flux (Free Index): 5.04e-08 +/- 3.71e-08
Energy Flux (Free Index): 7.43e-05 +/- 5.03e-05

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/362843/cmap_HighResolution_664675201_664934401_4FGL_J0043.8+3425_daily_bin1641.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.62e-08', energy_flux2='7.43e-05', photon_flux_error='2.99e-08', dlogl='1.51e-01', energy_flux='5.82e-05', photon_flux2='5.04e-08', job_status='DONE', time_completed='2022-01-27 00:23:35.395074', photon_index_error2='0.37', photon_index2='1.66', ts='18.71', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', energy_flux_error2='5.03e-05', EG='1.18', time_epoch_completed='1643271815.4', return_code='0', job_id='362843', GAL2='0.77', EG2='1.20', return_code2='0', energy_flux_error='2.62e-05', photon_flux_error2='3.71e-08', ts2='19.00', photon_index='1.86' WHERE bin_id='1641' AND source_name='4FGL J0043.8+3425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jan 27 00:23:35 PST 2022

er <slac> at Thu Jan 27 00:08:34 2022
Job was executed on host(s) <bullet0235>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jan 27 00:08:35 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jan 27 00:08:35 2022
Terminated at Thu Jan 27 00:21:10 2022
Results reported at Thu Jan 27 00:21:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0043.8+3425_daily_bin1641 10.9717 34.4316 664675201 664934401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0043.8+3425 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   673.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             360.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   755 sec.
    Turnaround time :                            756 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 362843: <4FGL_J0043.8+3425_daily_bin1641> in cluster <slac> Done

Job <4FGL_J0043.8+3425_daily_bin1641> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Thu Jan 27 00:08:36 2022
Job was executed on host(s) <bullet0207>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jan 27 00:08:38 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jan 27 00:08:38 2022
Terminated at Thu Jan 27 00:23:36 2022
Results reported at Thu Jan 27 00:23:36 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0043.8+3425_daily_bin1641 10.9717 34.4316 664675201 664934401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0043.8+3425 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   684.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             279.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   897 sec.
    Turnaround time :                            900 sec.

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

