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


Performing analysis on: 4FGL_J0626.4-4259_daily_bin1232
RA = 96.6095, Dec = -42.9835
tmin = 558662401, tmax = 558921601
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='406900', job_status='RUN', time_executed='2021-08-25 03:29:21.662668', time_epoch_executed='1629887361.66' WHERE source_name='4FGL J0626.4-4259' and cadence='daily' and bin_id='1232'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/406900

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/406900/ft1_4FGL_J0626.4-4259_daily_bin1232.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/406900/ft2_4FGL_J0626.4-4259_daily_bin1232.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/406900/ft1_4FGL_J0626.4-4259_daily_bin1232.fits outfile=/scratch/kocevski/406900/ft1_filteredMKT_4FGL_J0626.4-4259_daily_bin1232.fits ra=96.6095 dec=-42.9835 rad=12.0 tmin=558662401.0 tmax=558921601.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.74
user 3.42
sys 8.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/406900/ft2_4FGL_J0626.4-4259_daily_bin1232.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/406900/ft1_filteredMKT_4FGL_J0626.4-4259_daily_bin1232.fits evtable="EVENTS" outfile="/scratch/kocevski/406900/ft1_filtered_4FGL_J0626.4-4259_daily_bin1232.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 8.80
user 0.34
sys 8.26

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/406900/ft1_filtered_4FGL_J0626.4-4259_daily_bin1232.fits" evtable="EVENTS" scfile=/scratch/kocevski/406900/ft2_4FGL_J0626.4-4259_daily_bin1232.fits sctable="SC_DATA" outfile=/scratch/kocevski/406900/ltcube_558662401_558921601_4FGL_J0626.4-4259_daily_bin1232.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/406900/ft2_4FGL_J0626.4-4259_daily_bin1232.fits
.....................!
real 21.03
user 11.60
sys 9.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/406900/ft1_filtered_4FGL_J0626.4-4259_daily_bin1232.fits evtable="EVENTS" scfile=/scratch/kocevski/406900/ft2_4FGL_J0626.4-4259_daily_bin1232.fits sctable="SC_DATA" expcube=/scratch/kocevski/406900/ltcube_558662401_558921601_4FGL_J0626.4-4259_daily_bin1232.fits outfile=/scratch/kocevski/406900/expmap_558662401_558921601_4FGL_J0626.4-4259_daily_bin1232.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/406900/ltcube_558662401_558921601_4FGL_J0626.4-4259_daily_bin1232.fits
.....................!
real 200.82
user 185.04
sys 15.36

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/406900/ft1_filtered_4FGL_J0626.4-4259_daily_bin1232.fits scfile=/scratch/kocevski/406900/ft2_4FGL_J0626.4-4259_daily_bin1232.fits outfile=/scratch/kocevski/406900/cmap_558662401_558921601_4FGL_J0626.4-4259_daily_bin1232.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 7.61
user 0.36
sys 7.20

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/406900/ft1_filtered_4FGL_J0626.4-4259_daily_bin1232.fits scfile=/scratch/kocevski/406900/ft2_4FGL_J0626.4-4259_daily_bin1232.fits outfile=/scratch/kocevski/406900/cmap_HighResolution_558662401_558921601_4FGL_J0626.4-4259_daily_bin1232.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 8.47
user 0.38
sys 7.96

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/406900/ft1_filtered_4FGL_J0626.4-4259_daily_bin1232.fits evtable="EVENTS" scfile=/scratch/kocevski/406900/ft2_4FGL_J0626.4-4259_daily_bin1232.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/406900/Model_4FGL_J0626.4-4259_daily_bin1232.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/406900/ft1_filtered_4FGL_J0626.4-4259_daily_bin1232.fits........................!
real 28.80
user 17.98
sys 10.42

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/406900/ft1_filtered_4FGL_J0626.4-4259_daily_bin1232.fits', '/scratch/kocevski/406900/ft2_4FGL_J0626.4-4259_daily_bin1232.fits', expMap='/scratch/kocevski/406900/expmap_558662401_558921601_4FGL_J0626.4-4259_daily_bin1232.fits', expCube='/scratch/kocevski/406900/ltcube_558662401_558921601_4FGL_J0626.4-4259_daily_bin1232.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/406900/Model_4FGL_J0626.4-4259_daily_bin1232.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/406900/ft1_filtered_4FGL_J0626.4-4259_daily_bin1232.fits
Spacecraft file(s): /scratch/kocevski/406900/ft2_4FGL_J0626.4-4259_daily_bin1232.fits
Exposure map: /scratch/kocevski/406900/expmap_558662401_558921601_4FGL_J0626.4-4259_daily_bin1232.fits
Exposure cube: /scratch/kocevski/406900/ltcube_558662401_558921601_4FGL_J0626.4-4259_daily_bin1232.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/406900/Model_4FGL_J0626.4-4259_daily_bin1232.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 624.585416604

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 621.017815896

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .24685E-02   1.0000         .10000E-03   10000.    
     2 'norm      '    .48606E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .17344E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    15.627       1.0000         .10000E-03   10000.    
     5 'Prefactor '    124.48       1.0000         .10000E-03   10000.    
     6 'norm      '    9.1133       1.0000         .10000E-03   10000.    
     7 'norm      '    .25174E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.2022       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .21397       1.0000         .10000E-03   10000.    
    10 'Prefactor '    100.80       1.0000         .10000E-03   10000.    
    11 'Prefactor '    101.45       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.5071       1.0000         .10000E-03   10000.    
    13 'norm      '    .10425       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.3545       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.2235       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10113E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.8821       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.1443       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .18829E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .49466       1.0000         .10000E-03   10000.    
    21 'norm      '    .23048       1.0000         .10000E-03   10000.    
    22 'norm      '    3.6388       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .50498       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .73882       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   621.0016     FROM MIGRAD    STATUS=CONVERGED    234 CALLS      583 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    45.395        .10015E-01** at limit **
   2  norm          .10000E-03    31.052        .10586E-01** at limit **
   3  Prefactor     .10000E-03    24.660        .90712E-02** at limit **
   4  Prefactor     14.330        47.980        .25329E-02    .15927E-02
   5  Prefactor     125.59        113.28        .90194E-03    .58573E-02
   6  norm          9.0992        8.3471        .33191E-02    .39402E-01
   7  norm          .10000E-03    62.887        .10731E-01** at limit **
   8  Prefactor     .10001E-03    142.98        .56604E-02** at limit **
   9  Prefactor     .10000E-03    116.19        .10041E-01** at limit **
  10  Prefactor     105.60        162.03        .10011E-02   -.21434E-02
  11  Prefactor     102.08        97.593        .99790E-03    .18318E-01
  12  Prefactor     1.7293        9898.8        .64517E-02    .22074E-02
  13  norm          .10000E-03    84.067        .95315E-02** at limit **
  14  Prefactor     2.3545        1.0245         .0000         .0000    
  15  Prefactor     .13153E-03    .11881       -.19717E-05** at limit **
  16  Prefactor     .10000E-03    .20571       -.21388E-05** at limit **
  17  Prefactor     3.8821        1.0085         .0000         .0000    
  18  Prefactor     3.1443        1.0132         .0000         .0000    
  19  Prefactor     .10000E-03    .20571       -.15303E-05** at limit **
  20  norm          .10001E-03    .31634       -.67508E-05** at limit **
  21  norm          .10000E-03    .25583       -.38215E-05** at limit **
  22  norm          3.6388        1.0098         .0000         .0000    
  23  Normalizat    .51371        .84365       -.51967E-04   -.12160E-04
  24  Prefactor     .73656        1.0869        .57569E-05   -.31880E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.3295
  Prefactor  = 125.591
  norm       = 9.09915
  norm       = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  Prefactor  = 105.598
  Prefactor  = 102.083
  Prefactor  = 1.7293
  norm       = 0.0001
  Prefactor  = 2.3545
  Prefactor  = 0.00013153
  Prefactor  = 0.0001
  Prefactor  = 3.88205
  Prefactor  = 3.14431
  Prefactor  = 0.0001
  norm       = 0.000100007
  norm       = 0.0001
  norm       = 3.63878
  Normalizat = 0.513713
  Prefactor  = 0.736563
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   621.0016     FROM HESSE     STATUS=FAILED        35 CALLS      618 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    45.395        .10015E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    31.052        .10586E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    24.660        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     14.330        47.980        .25329E-02   -1.4951    
   5  Prefactor     125.59        113.28        .90194E-03   -1.3462    
   6  norm          9.0992        8.3471        .33191E-02   -1.5105    
   7  norm          .10000E-03    62.887        .10731E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10001E-03    142.98        .56604E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    116.19        .10041E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     105.60        162.03        .10011E-02   -1.3649    
  11  Prefactor     102.08        97.593        .99790E-03   -1.3684    
  12  Prefactor     1.7293        9898.8        .64517E-02   -1.5445    
  13  norm          .10000E-03    84.067        .95315E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     563.43        560.97         .0000       -1.5401    
  15  Prefactor     .13153E-03    .11881       -.19717E-05   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    .20571       -.21388E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.8821        1.0085         .0000       -1.5314    
  18  Prefactor     3.1443        1.0132         .0000       -1.5353    
  19  Prefactor     .10000E-03    .20571       -.15303E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10001E-03    .31634       -.67508E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    .25583       -.38215E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.6388        1.0098         .0000       -1.5326    
  23  Normalizat    .51371        .84365       -.51967E-04   -1.1178    
  24  Prefactor     .73656        1.0869        .57569E-05   -1.0211    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.51351e-10
Minuit parameter uncertainties:
  1  2.90933e-05
  2  3.51368e-06
  3  1.96767e-05
  4  48.1097
  5  113.479
  6  8.34818
  7  6.18646e-05
  8  0.00205846
  9  0.000228039
  10  162.715
  11  97.7466
  12  453.92
  13  8.31956e-05
  14  1.02454
  15  0.00387102
  16  8.64246e-07
  17  1.00854
  18  1.01324
  19  1.59776e-06
  20  9.35983e-05
  21  1.06851e-06
  22  1.00977
  23  0.866137
  24  1.121
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 621.001644183

Extracting fit parameters...

4FGL J0626.4-4259
   Spectrum: PowerLaw
343    Prefactor:  1.315e-04  3.871e-03  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:  7.366e-01  1.121e+00  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:  5.137e-01  8.661e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 96.609 -42.983
Photon Flux Upper Limit: 9.34e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.94e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/406900/likelihoodResults_558662401_558921601_4FGL_J0626.4-4259_daily_bin1232.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) = 621.001647125
delta logL = -2.94140090773e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 621.001647124
delta logL = -2.94125618439e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96361E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9003       1.0000          .0000       10.000    
     3 'Normalizat'    .51371       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73656       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=   620.8209     FROM MIGRAD    STATUS=CONVERGED    136 CALLS      283 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7018        561.36        .18142E-01    .27166E-04
   2  Index         3.4508        6.7193        .75426E-01    .21673E-04
   3  Normalizat    .42187        .22528        .47889E-02   -.23719E-05
   4  Prefactor     .74820        .10342        .18508E-03   -.55805E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.70181
  Index      = 3.45076
  Normalizat = 0.421869
  Prefactor  = 0.748203
 **********
 **   18 **HESSE 
 **********

 FCN=   620.8209     FROM HESSE     STATUS=OK            31 CALLS      314 TOTAL
                     EDM=   .95E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.7018        306.84        .11527E-03   -1.5190    
   2  Index         3.4508        6.6705        .28531E-02   -.31503    
   3  Normalizat    .42187        .78118        .19156E-03   -1.1619    
   4  Prefactor     .74820        .36637        .37017E-04   -1.0167    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.48519e-09
Minuit parameter uncertainties:
  1  91.1962
  2  4.9719
  3  0.802869
  4  0.367568
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/406900': 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) = 620.820933757
delta logL = 0.180710425978

Extracting fit parameters...

4FGL J0626.4-4259
   Spectrum: PowerLaw
343    Prefactor:  6.702e+00  9.120e+01  1.000e-04  1.000e+04 ( 1.000e-14)
344        Index:  3.451e+00  4.972e+00  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:  7.482e-01  3.676e-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:  4.219e-01  8.029e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 96.609 -42.983

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/406900/cmap_HighResolution_558662401_558921601_4FGL_J0626.4-4259_daily_bin1232.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.94e-02', job_status='DONE', photon_flux_upper_limit='9.34e-07', time_completed='2021-08-25 03:36:54.463091', job_id='406900', GAL2='0.75', fit_tolerance='1e-08', EG2='0.42', EG='0.51', time_epoch_completed='1629887814.46', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.74', dlogl='1.81e-01', ts2='0.39', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='1232' AND source_name='4FGL J0626.4-4259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 25 03:36:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0193>
Subject: Job 406900: <4FGL_J0626.4-4259_daily_bin1232> in cluster <slac> Done

Job <4FGL_J0626.4-4259_daily_bin1232> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Aug 25 03:21:55 2021
Job was executed on host(s) <bullet0193>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Aug 25 03:21:57 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:21:57 2021
Terminated at Wed Aug 25 03:36:56 2021
Results reported at Wed Aug 25 03:36:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0626.4-4259_daily_bin1232 96.6095 -42.9835 558662401 558921601 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 :                                   563.46 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             230.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   898 sec.
    Turnaround time :                            901 sec.

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

