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


Performing analysis on: 4FGL_J0626.4-4259_daily_bin731
RA = 96.6095, Dec = -42.9835
tmin = 428803201, tmax = 429062401
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='402363', job_status='RUN', time_executed='2021-08-25 03:08:28.093413', time_epoch_executed='1629886108.09' WHERE source_name='4FGL J0626.4-4259' and cadence='daily' and bin_id='731'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/402363

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/402363/ft1_4FGL_J0626.4-4259_daily_bin731.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/402363/ft2_4FGL_J0626.4-4259_daily_bin731.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/402363/ft1_4FGL_J0626.4-4259_daily_bin731.fits outfile=/scratch/kocevski/402363/ft1_filteredMKT_4FGL_J0626.4-4259_daily_bin731.fits ra=96.6095 dec=-42.9835 rad=12.0 tmin=428803201.0 tmax=429062401.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 10.60
user 6.40
sys 0.26

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/402363/ft2_4FGL_J0626.4-4259_daily_bin731.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/402363/ft2_4FGL_J0626.4-4259_daily_bin731.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/402363/ft1_filteredMKT_4FGL_J0626.4-4259_daily_bin731.fits evtable="EVENTS" outfile="/scratch/kocevski/402363/ft1_filtered_4FGL_J0626.4-4259_daily_bin731.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.44
user 0.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/402363/ft1_filtered_4FGL_J0626.4-4259_daily_bin731.fits" evtable="EVENTS" scfile=/scratch/kocevski/402363/ft2_4FGL_J0626.4-4259_daily_bin731.fits sctable="SC_DATA" outfile=/scratch/kocevski/402363/ltcube_428803201_429062401_4FGL_J0626.4-4259_daily_bin731.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/402363/ft2_4FGL_J0626.4-4259_daily_bin731.fits
.....................!
real 16.82
user 11.94
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/402363/ft1_filtered_4FGL_J0626.4-4259_daily_bin731.fits evtable="EVENTS" scfile=/scratch/kocevski/402363/ft2_4FGL_J0626.4-4259_daily_bin731.fits sctable="SC_DATA" expcube=/scratch/kocevski/402363/ltcube_428803201_429062401_4FGL_J0626.4-4259_daily_bin731.fits outfile=/scratch/kocevski/402363/expmap_428803201_429062401_4FGL_J0626.4-4259_daily_bin731.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/402363/ltcube_428803201_429062401_4FGL_J0626.4-4259_daily_bin731.fits
.....................!
real 191.73
user 185.19
sys 3.89

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
Extended source Puppis A in ROI with RadialDisk spatial model.
Added 204 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0626.4-4259 @ 96.6095 -42.9835

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/402363/ft1_filtered_4FGL_J0626.4-4259_daily_bin731.fits scfile=/scratch/kocevski/402363/ft2_4FGL_J0626.4-4259_daily_bin731.fits outfile=/scratch/kocevski/402363/cmap_428803201_429062401_4FGL_J0626.4-4259_daily_bin731.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=96.6095 yref=-42.9835 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.20
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/402363/ft1_filtered_4FGL_J0626.4-4259_daily_bin731.fits scfile=/scratch/kocevski/402363/ft2_4FGL_J0626.4-4259_daily_bin731.fits outfile=/scratch/kocevski/402363/cmap_HighResolution_428803201_429062401_4FGL_J0626.4-4259_daily_bin731.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=96.6095 yref=-42.9835 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.79
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/402363/ft1_filtered_4FGL_J0626.4-4259_daily_bin731.fits evtable="EVENTS" scfile=/scratch/kocevski/402363/ft2_4FGL_J0626.4-4259_daily_bin731.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/402363/Model_4FGL_J0626.4-4259_daily_bin731.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
adding source Puppis A
Working on...
/scratch/kocevski/402363/ft1_filtered_4FGL_J0626.4-4259_daily_bin731.fits.....................!
real 116.57
user 97.22
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/402363/ft1_filtered_4FGL_J0626.4-4259_daily_bin731.fits', '/scratch/kocevski/402363/ft2_4FGL_J0626.4-4259_daily_bin731.fits', expMap='/scratch/kocevski/402363/expmap_428803201_429062401_4FGL_J0626.4-4259_daily_bin731.fits', expCube='/scratch/kocevski/402363/ltcube_428803201_429062401_4FGL_J0626.4-4259_daily_bin731.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/402363/Model_4FGL_J0626.4-4259_daily_bin731.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0626.4-4259'

4FGL J0626.4-4259
   Spectrum: PowerLaw
343    Prefactor:  2.684e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
344        Index:  1.900e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
345        Scale:  3.364e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/402363/ft1_filtered_4FGL_J0626.4-4259_daily_bin731.fits
Spacecraft file(s): /scratch/kocevski/402363/ft2_4FGL_J0626.4-4259_daily_bin731.fits
Exposure map: /scratch/kocevski/402363/expmap_428803201_429062401_4FGL_J0626.4-4259_daily_bin731.fits
Exposure cube: /scratch/kocevski/402363/ltcube_428803201_429062401_4FGL_J0626.4-4259_daily_bin731.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/402363/Model_4FGL_J0626.4-4259_daily_bin731.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) = 8660.12290327

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11256E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10365E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.6089       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.4309       1.0000         .10000E-03   10000.    
     7 'norm      '    .10614E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10377E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .14149E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.0798       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12249E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10599E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .48696       1.0000         .10000E-03   10000.    
    15 'Prefactor '    28.365       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .46507E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .14165E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.9954       1.0000         .10000E-03   10000.    
    20 'norm      '    .64010E-02   1.0000         .10000E-03   10000.    
    21 'norm      '    .67117E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    18.244       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1622       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0526       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8660.059     FROM MIGRAD    STATUS=CONVERGED    551 CALLS     2293 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.7913        .98341E-08** at limit **
   2  norm          .10000E-03    1.8043        .11250E-07** at limit **
   3  Prefactor     .10000E-03    2.4601        .35857E-07** at limit **
   4  Prefactor     4.6152        8.6526       -.76666E-07    .19924E-04
   5  Prefactor     .10000E-03    11.532       -.28195E-06** at limit **
   6  norm          2.4322        .94609       -.17052E-07    .10039E-03
   7  norm          .10000E-03    10.393       -.34111E-07** at limit **
   8  Prefactor     .10000E-03    9.5791        .61632E-06** at limit **
   9  Prefactor     .10000E-03    6.8955        .42596E-07** at limit **
  10  Prefactor     .10000E-03    15.343        .59763E-06** at limit **
  11  Prefactor     4.0763        9.5374       -.25524E-05    .72872E-04
  12  Prefactor     .10000E-03    47.724       -.73057E-06** at limit **
  13  norm          .10000E-03    10.916       -.27727E-06** at limit **
  14  Prefactor     .51399        6.5340        .53246E-05    .30276E-03
  15  Prefactor     28.149        22.384       -.72965E-06   -.62593E-04
  16  Prefactor     .10000E-03    2.0194        .11200E-07** at limit **
  17  Prefactor     .10000E-03    98.291        .19664E-05** at limit **
  18  Prefactor     .10000E-03    8.2727       -.14263E-06** at limit **
  19  Prefactor     1.9945        4.2603        .33325E-07    .34396E-03
  20  norm          .10001E-03    56.744        .25492E-04** at limit **
  21  norm          .10000E-03    34.784       -.18724E-05** at limit **
  22  norm          18.247        10.266        .46925E-08    .35263E-04
  23  Normalizat    1.1623        .19559        .51100E-07    .35651E-03
  24  Prefactor     1.0524        .99226E-01    .76353E-06    .95884E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.61515
  Prefactor  = 0.0001
  norm       = 2.43217
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.07629
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.513994
  Prefactor  = 28.149
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.9945
  norm       = 0.000100012
  norm       = 0.0001
  norm       = 18.2471
  Normalizat = 1.16225
  Prefactor  = 1.05243
 **********
 **   18 **HESSE 
 **********

 FCN=   8660.059     FROM HESSE     STATUS=OK           395 CALLS     2688 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.8060        .12161E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.8513        .24405E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.4822        .14248E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.6152        8.6444        .18749E-03   -1.5278    
   5  Prefactor     .10000E-03    11.554        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.4322        .94744        .54246E-04   -1.5396    
   7  norm          .10000E-03    10.476        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.5881        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.9153        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    15.348        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.0763        9.5444        .99802E-03   -1.5304    
  12  Prefactor     .10000E-03    47.774        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    10.949        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .51399        26.810        .38624E-02   -1.5565    
  15  Prefactor     28.149        22.416        .37612E-03   -1.4646    
  16  Prefactor     .10000E-03    2.0246        .12914E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    98.377        .19301E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    8.2837        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.9945        4.2439        .26633E-03   -1.5426    
  20  norm          .10001E-03    59.819        .39200E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    34.868        .21003E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          18.247        10.247        .93770E-04   -1.4853    
  23  Normalizat    1.1623        .21824        .33872E-03   -.87777    
  24  Prefactor     1.0524        .11179        .18425E-03   -.91002    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.07953e-09
Minuit parameter uncertainties:
  1  2.56609e-07
  2  2.03476e-07
  3  3.42811e-06
  4  8.64677
  5  8.79024e-06
  6  0.947449
  7  1.11169e-05
  8  2.94723e-05
  9  2.14859e-05
  10  3.77471e-05
  11  9.54796
  12  6.48641e-05
  13  7.32595e-06
  14  7.42716
  15  22.4225
  16  1.28935e-06
  17  0.000324221
  18  5.31333e-06
  19  4.2445
  20  0.00170489
  21  0.000236505
  22  10.2484
  23  0.218408
  24  0.111818
Done.

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

Extracting fit parameters...

4FGL J0626.4-4259
   Spectrum: PowerLaw
343    Prefactor:  2.815e+01  2.242e+01  1.000e-04  1.000e+04 ( 1.000e-14)
344        Index:  1.900e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
345        Scale:  3.364e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
669    Prefactor:  1.052e+00  1.118e-01  0.000e+00  1.000e+01 ( 1.000e+00)
670        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
671        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
668   Normalization:  1.162e+00  2.184e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.98
Ra Dec: 96.609 -42.983
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 2.49e-08 +/- 1.98e-08
Energy Flux (Fixed Index): 2.23e-05 +/- 1.78e-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) = 8658.26650901
delta logL = 1.7927972627

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8658.00102861
delta logL = 2.05827766423

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    56.069       1.0000         .10000E-03   10000.    
     2 'Index     '    1.0385       1.0000          .0000       10.000    
     3 'Normalizat'    1.1624       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0546       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6760E+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=   8658.001     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      248 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     56.062        43.838        .26786E-03   -.29116E-04
   2  Index         1.0384        .40331        .98808E-02    .22991E-04
   3  Normalizat    1.1626        .21110        .33845E-03    .30950E-03
   4  Prefactor     1.0547        .11076        .18405E-03    .47418E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 56.0616
  Index      = 1.03841
  Normalizat = 1.16259
  Prefactor  = 1.05473
 **********
 **   18 **HESSE 
 **********

 FCN=   8658.001     FROM HESSE     STATUS=OK            25 CALLS      273 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     56.062        44.590        .10714E-04   -1.4209    
   2  Index         1.0384        .41023        .39523E-03   -.91460    
   3  Normalizat    1.1626        .21122        .13538E-04   -.87767    
   4  Prefactor     1.0547        .11083        .36811E-04   -.90927    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42151e-10
Minuit parameter uncertainties:
  1  44.617
  2  0.411479
  3  0.211374
  4  0.110851
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/402363': 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) = 8658.00102166
delta logL = 2.0582846208

Extracting fit parameters...

4FGL J0626.4-4259
   Spectrum: PowerLaw
343    Prefactor:  5.606e+01  4.462e+01  1.000e-04  1.000e+04 ( 1.000e-14)
344        Index:  1.038e+00  4.115e-01  0.000e+00  1.000e+01 (-1.000e+00)
345        Scale:  3.364e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
669    Prefactor:  1.055e+00  1.109e-01  0.000e+00  1.000e+01 ( 1.000e+00)
670        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
671        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
668   Normalization:  1.163e+00  2.114e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.10
Ra Dec: 96.609 -42.983
Photon Index (Free Index): 1.04 +/- 0.41
Photon Flux (Free Index): 1.31e-08 +/- 1.10e-08
Energy Flux (Free Index): 1.72e-04 +/- 1.61e-04

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/402363/cmap_HighResolution_428803201_429062401_4FGL_J0626.4-4259_daily_bin731.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.49e-08', energy_flux2='1.72e-04', photon_flux_error='1.98e-08', dlogl='2.06e+00', energy_flux='2.23e-05', photon_flux2='1.31e-08', job_status='DONE', time_completed='2021-08-25 03:23:06.012264', photon_index_error2='0.41', photon_index2='1.04', ts='8.98', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='1.61e-04', EG='1.16', time_epoch_completed='1629886986.01', return_code='0', job_id='402363', GAL2='1.05', EG2='1.16', return_code2='0', energy_flux_error='1.78e-05', photon_flux_error2='1.10e-08', ts2='13.10', photon_index='1.90' WHERE bin_id='731' AND source_name='4FGL J0626.4-4259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 25 03:23:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0123>
Subject: Job 402363: <4FGL_J0626.4-4259_daily_bin731> in cluster <slac> Done

Job <4FGL_J0626.4-4259_daily_bin731> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Aug 25 03:07:04 2021
Job was executed on host(s) <bullet0123>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Aug 25 03:07:07 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Aug 25 03:07:07 2021
Terminated at Wed Aug 25 03:23:06 2021
Results reported at Wed Aug 25 03:23:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0626.4-4259_daily_bin731 96.6095 -42.9835 428803201 429062401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0626.4-4259 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   795.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             280.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   960 sec.
    Turnaround time :                            962 sec.

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

