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


Performing analysis on: 4FGL_J0625.3+4439_daily_bin487
RA = 96.3288, Dec = 44.6648
tmin = 365558401, tmax = 365817601
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='357030', job_status='RUN', time_executed='2021-08-25 00:31:15.505970', time_epoch_executed='1629876675.51' WHERE source_name='4FGL J0625.3+4439' and cadence='daily' and bin_id='487'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/357030

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/357030/ft1_4FGL_J0625.3+4439_daily_bin487.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/357030/ft2_4FGL_J0625.3+4439_daily_bin487.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/357030/ft1_4FGL_J0625.3+4439_daily_bin487.fits outfile=/scratch/kocevski/357030/ft1_filteredMKT_4FGL_J0625.3+4439_daily_bin487.fits ra=96.3288 dec=44.6648 rad=12.0 tmin=365558401.0 tmax=365817601.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 4.62
user 3.37
sys 1.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/357030/ft2_4FGL_J0625.3+4439_daily_bin487.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/357030/ft2_4FGL_J0625.3+4439_daily_bin487.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/357030/ft1_filteredMKT_4FGL_J0625.3+4439_daily_bin487.fits evtable="EVENTS" outfile="/scratch/kocevski/357030/ft1_filtered_4FGL_J0625.3+4439_daily_bin487.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 1.55
user 0.33
sys 1.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/357030/ft1_filtered_4FGL_J0625.3+4439_daily_bin487.fits" evtable="EVENTS" scfile=/scratch/kocevski/357030/ft2_4FGL_J0625.3+4439_daily_bin487.fits sctable="SC_DATA" outfile=/scratch/kocevski/357030/ltcube_365558401_365817601_4FGL_J0625.3+4439_daily_bin487.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/357030/ft2_4FGL_J0625.3+4439_daily_bin487.fits
.....................!
real 12.81
user 11.32
sys 1.45

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/357030/ft1_filtered_4FGL_J0625.3+4439_daily_bin487.fits evtable="EVENTS" scfile=/scratch/kocevski/357030/ft2_4FGL_J0625.3+4439_daily_bin487.fits sctable="SC_DATA" expcube=/scratch/kocevski/357030/ltcube_365558401_365817601_4FGL_J0625.3+4439_daily_bin487.fits outfile=/scratch/kocevski/357030/expmap_365558401_365817601_4FGL_J0625.3+4439_daily_bin487.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/357030/ltcube_365558401_365817601_4FGL_J0625.3+4439_daily_bin487.fits
.....................!
real 191.82
user 185.56
sys 5.87

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 HB 9 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/HB9.fits is the correct path to the extended template.
Extended source G150.3+4.5 in ROI with RadialDisk spatial model.
Extended source S 147 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/S147.fits is the correct path to the extended template.
Added 166 point sources and 3 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 J0625.3+4439 @ 96.3288 44.6648

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/357030/ft1_filtered_4FGL_J0625.3+4439_daily_bin487.fits scfile=/scratch/kocevski/357030/ft2_4FGL_J0625.3+4439_daily_bin487.fits outfile=/scratch/kocevski/357030/cmap_365558401_365817601_4FGL_J0625.3+4439_daily_bin487.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.3288 yref=44.6648 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 1.52
user 0.37
sys 1.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/357030/ft1_filtered_4FGL_J0625.3+4439_daily_bin487.fits scfile=/scratch/kocevski/357030/ft2_4FGL_J0625.3+4439_daily_bin487.fits outfile=/scratch/kocevski/357030/cmap_HighResolution_365558401_365817601_4FGL_J0625.3+4439_daily_bin487.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.3288 yref=44.6648 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 1.52
user 0.37
sys 1.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/357030/ft1_filtered_4FGL_J0625.3+4439_daily_bin487.fits evtable="EVENTS" scfile=/scratch/kocevski/357030/ft2_4FGL_J0625.3+4439_daily_bin487.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/357030/Model_4FGL_J0625.3+4439_daily_bin487.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 G150.3+4.5
adding source GAL_V02
adding source HB 9
adding source S 147
Working on...
/scratch/kocevski/357030/ft1_filtered_4FGL_J0625.3+4439_daily_bin487.fits.....................!
real 276.95
user 273.74
sys 2.62

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/357030/ft1_filtered_4FGL_J0625.3+4439_daily_bin487.fits', '/scratch/kocevski/357030/ft2_4FGL_J0625.3+4439_daily_bin487.fits', expMap='/scratch/kocevski/357030/expmap_365558401_365817601_4FGL_J0625.3+4439_daily_bin487.fits', expCube='/scratch/kocevski/357030/ltcube_365558401_365817601_4FGL_J0625.3+4439_daily_bin487.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/357030/Model_4FGL_J0625.3+4439_daily_bin487.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0625.3+4439'

4FGL J0625.3+4439
   Spectrum: PowerLaw
249    Prefactor:  2.347e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
250        Index:  2.093e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
251        Scale:  1.886e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/357030/ft1_filtered_4FGL_J0625.3+4439_daily_bin487.fits
Spacecraft file(s): /scratch/kocevski/357030/ft2_4FGL_J0625.3+4439_daily_bin487.fits
Exposure map: /scratch/kocevski/357030/expmap_365558401_365817601_4FGL_J0625.3+4439_daily_bin487.fits
Exposure cube: /scratch/kocevski/357030/ltcube_365558401_365817601_4FGL_J0625.3+4439_daily_bin487.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/357030/Model_4FGL_J0625.3+4439_daily_bin487.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) = 12030.444986

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1751       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.9968       1.0000         .10000E-03   10000.    
     3 'norm      '    1.1709       1.0000         .10000E-03   10000.    
     4 'Prefactor '    104.49       1.0000         .10000E-03   10000.    
     5 'norm      '    3.1722       1.0000         .10000E-03   10000.    
     6 'norm      '    6.1531       1.0000         .10000E-03   10000.    
     7 'norm      '    16.079       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    4.2265       1.0000         .10000E-03   10000.    
    10 'norm      '    1.7596       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.7449       1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.772       1.0000         .10000E-03   10000.    
    15 'norm      '    4.8139       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0888       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .93941       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5600E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12030.40     FROM MIGRAD    STATUS=CONVERGED    307 CALLS     1347 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1752        .96088        .21070E-07    .10184E-04
   2  Prefactor     3.9942        22.783        .27054E-06   -.23457E-04
   3  norm          1.1703        1.5446        .36541E-06   -.27997E-04
   4  Prefactor     104.45        51.808       -.62797E-06   -.29387E-03
   5  norm          3.1723        2.4421        .21098E-07   -.10710E-03
   6  norm          6.1531        3.1392        .15395E-07   -.34790E-04
   7  norm          16.079        6.3329        .30743E-07   -.51141E-05
   8  Prefactor     .10000E-03    3.8466        .88142E-07** at limit **
   9  norm          4.2272        3.5297        .10253E-06    .38253E-04
  10  norm          1.7592        2.3306        .10802E-06   -.61814E-04
  11  Prefactor     .10000E-03    7.4669        .38372E-07** at limit **
  12  norm          .10000E-03    3.2086        .74345E-07** at limit **
  13  Prefactor     3.7456        3.6793       -.19543E-06   -.70124E-05
  14  Prefactor     15.771        15.792        .15140E-07   -.24801E-04
  15  norm          4.8141        6.3152        .32100E-05   -.22903E-03
  16  Normalizat    1.0887        .19986       -.11300E-05   -.12248E-04
  17  Prefactor     .93943        .57749E-01    .56726E-07   -.10173E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.17517
  Prefactor  = 3.99417
  norm       = 1.1703
  Prefactor  = 104.446
  norm       = 3.17233
  norm       = 6.15313
  norm       = 16.0787
  Prefactor  = 0.0001
  norm       = 4.22717
  norm       = 1.75924
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.74558
  Prefactor  = 15.7707
  norm       = 4.8141
  Normalizat = 1.08872
  Prefactor  = 0.939426
 **********
 **   18 **HESSE 
 **********

 FCN=   12030.40     FROM HESSE     STATUS=OK           231 CALLS     1578 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1752        .96026        .68754E-04   -1.5413    
   2  Prefactor     3.9942        22.898        .20173E-03   -1.5308    
   3  norm          1.1703        1.5209        .14985E-03   -1.5492    
   4  Prefactor     104.45        51.700        .19669E-03   -1.3660    
   5  norm          3.1723        2.4414        .14579E-03   -1.5352    
   6  norm          6.1531        3.1380        .13468E-03   -1.5212    
   7  norm          16.079        6.3364        .99884E-04   -1.4906    
   8  Prefactor     .10000E-03    3.8724        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.2272        3.5264        .18224E-03   -1.5297    
  10  norm          1.7592        2.3144        .18696E-03   -1.5443    
  11  Prefactor     .10000E-03    7.4741        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    3.3177        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.7456        3.6805        .20014E-03   -1.5321    
  14  Prefactor     15.771        15.791        .10085E-03   -1.4914    
  15  norm          4.8141        6.3109        .91680E-03   -1.5269    
  16  Normalizat    1.0887        .21209        .45991E-03   -.90115    
  17  Prefactor     .93943        .61905E-01    .14071E-03   -.94777    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.77492e-10
Minuit parameter uncertainties:
  1  0.960262
  2  19.1378
  3  1.52095
  4  51.7227
  5  2.44146
  6  3.13807
  7  6.33662
  8  2.8178e-06
  9  3.52657
  10  2.31455
  11  3.88947e-07
  12  2.08408e-06
  13  3.68076
  14  15.7953
  15  6.3118
  16  0.212258
  17  0.0619094
Done.

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

Extracting fit parameters...

4FGL J0625.3+4439
   Spectrum: PowerLaw
249    Prefactor:  1.000e-04  2.818e-06  1.000e-04  1.000e+04 ( 1.000e-13)
250        Index:  2.093e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
251        Scale:  1.886e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  9.394e-01  6.191e-02  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.089e+00  2.123e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 96.329 44.665
Photon Flux Upper Limit: 6.26e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.73e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/357030/likelihoodResults_365558401_365817601_4FGL_J0625.3+4439_daily_bin487.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) = 12030.4008856
delta logL = -0.00123094935225

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12030.3996547
delta logL = -3.24980646838e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0808       1.0000          .0000       10.000    
     3 'Normalizat'    1.0887       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93945       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5600E+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=   12030.40     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      250 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10055E-03    38.189        .18142E-02** at limit **
   2  Index         2.0403        7.9977        .50000        .19969E-04
   3  Normalizat    1.0887        .18600E-01    .45991E-03   -.26202E-05
   4  Prefactor     .93943        .53720E-02    .14071E-03   -.75949E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010055
  Index      = 2.04028
  Normalizat = 1.08872
  Prefactor  = 0.939426
 **********
 **   18 **HESSE 
 **********

 FCN=   12030.40     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      279 TOTAL
                     EDM=   .44E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10055E-03    199.52        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0403        7.2318        .50000       -.63347    
   3  Normalizat    1.0887        .44730E-01    .18396E-04   -.90115    
   4  Prefactor     .93943        .12908E-01    .56282E-05   -.94777    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.39346e-08
Minuit parameter uncertainties:
  1  0.0210171
  2  568.392
  3  0.0447311
  4  0.0129079
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/357030': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12030.3996545
delta logL = 2.22757080337e-07

Extracting fit parameters...

4FGL J0625.3+4439
   Spectrum: PowerLaw
249    Prefactor:  1.005e-04  2.102e-02  1.000e-04  1.000e+04 ( 1.000e-13)
250        Index:  2.040e+00  5.684e+02  0.000e+00  1.000e+01 (-1.000e+00)
251        Scale:  1.886e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  9.394e-01  1.291e-02  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.089e+00  4.473e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 96.329 44.665

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/357030/cmap_HighResolution_365558401_365817601_4FGL_J0625.3+4439_daily_bin487.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.73e-03', job_status='DONE', photon_flux_upper_limit='6.26e-08', time_completed='2021-08-25 00:46:45.510247', job_id='357030', GAL2='0.94', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1629877605.51', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='2.23e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='487' AND source_name='4FGL J0625.3+4439' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 25 00:46:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 357030: <4FGL_J0625.3+4439_daily_bin487> in cluster <slac> Done

Job <4FGL_J0625.3+4439_daily_bin487> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Aug 25 00:30:44 2021
Job was executed on host(s) <bullet0269>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Aug 25 00:30:45 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Aug 25 00:30:45 2021
Terminated at Wed Aug 25 00:46:46 2021
Results reported at Wed Aug 25 00:46:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0625.3+4439_daily_bin487 96.3288 44.6648 365558401 365817601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0625.3+4439 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   944.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             370.60 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.

