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


Performing analysis on: 4FGL_J0625.3+4439_daily_bin1202
RA = 96.3288, Dec = 44.6648
tmin = 550886401, tmax = 551145601
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='361396', job_status='RUN', time_executed='2021-08-25 00:48:50.788525', time_epoch_executed='1629877730.79' WHERE source_name='4FGL J0625.3+4439' and cadence='daily' and bin_id='1202'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/361396

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/361396/ft1_4FGL_J0625.3+4439_daily_bin1202.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/361396/ft2_4FGL_J0625.3+4439_daily_bin1202.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/361396/ft1_4FGL_J0625.3+4439_daily_bin1202.fits outfile=/scratch/kocevski/361396/ft1_filteredMKT_4FGL_J0625.3+4439_daily_bin1202.fits ra=96.3288 dec=44.6648 rad=12.0 tmin=550886401.0 tmax=551145601.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 7.10
user 3.58
sys 3.46

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/361396/ft2_4FGL_J0625.3+4439_daily_bin1202.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/361396/ft1_filteredMKT_4FGL_J0625.3+4439_daily_bin1202.fits evtable="EVENTS" outfile="/scratch/kocevski/361396/ft1_filtered_4FGL_J0625.3+4439_daily_bin1202.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 3.74
user 0.36
sys 3.36

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/361396/ft1_filtered_4FGL_J0625.3+4439_daily_bin1202.fits" evtable="EVENTS" scfile=/scratch/kocevski/361396/ft2_4FGL_J0625.3+4439_daily_bin1202.fits sctable="SC_DATA" outfile=/scratch/kocevski/361396/ltcube_550886401_551145601_4FGL_J0625.3+4439_daily_bin1202.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/361396/ft2_4FGL_J0625.3+4439_daily_bin1202.fits
.....................!
real 18.69
user 14.62
sys 3.95

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/361396/ft1_filtered_4FGL_J0625.3+4439_daily_bin1202.fits evtable="EVENTS" scfile=/scratch/kocevski/361396/ft2_4FGL_J0625.3+4439_daily_bin1202.fits sctable="SC_DATA" expcube=/scratch/kocevski/361396/ltcube_550886401_551145601_4FGL_J0625.3+4439_daily_bin1202.fits outfile=/scratch/kocevski/361396/expmap_550886401_551145601_4FGL_J0625.3+4439_daily_bin1202.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/361396/ltcube_550886401_551145601_4FGL_J0625.3+4439_daily_bin1202.fits
.....................!
real 199.49
user 189.80
sys 8.92

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/361396/ft1_filtered_4FGL_J0625.3+4439_daily_bin1202.fits scfile=/scratch/kocevski/361396/ft2_4FGL_J0625.3+4439_daily_bin1202.fits outfile=/scratch/kocevski/361396/cmap_550886401_551145601_4FGL_J0625.3+4439_daily_bin1202.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 3.74
user 0.40
sys 3.30

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/361396/ft1_filtered_4FGL_J0625.3+4439_daily_bin1202.fits scfile=/scratch/kocevski/361396/ft2_4FGL_J0625.3+4439_daily_bin1202.fits outfile=/scratch/kocevski/361396/cmap_HighResolution_550886401_551145601_4FGL_J0625.3+4439_daily_bin1202.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 3.75
user 0.42
sys 3.30

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/361396/ft1_filtered_4FGL_J0625.3+4439_daily_bin1202.fits evtable="EVENTS" scfile=/scratch/kocevski/361396/ft2_4FGL_J0625.3+4439_daily_bin1202.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/361396/Model_4FGL_J0625.3+4439_daily_bin1202.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/361396/ft1_filtered_4FGL_J0625.3+4439_daily_bin1202.fits.....................!
real 144.11
user 138.19
sys 5.51

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/361396/ft1_filtered_4FGL_J0625.3+4439_daily_bin1202.fits', '/scratch/kocevski/361396/ft2_4FGL_J0625.3+4439_daily_bin1202.fits', expMap='/scratch/kocevski/361396/expmap_550886401_551145601_4FGL_J0625.3+4439_daily_bin1202.fits', expCube='/scratch/kocevski/361396/ltcube_550886401_551145601_4FGL_J0625.3+4439_daily_bin1202.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/361396/Model_4FGL_J0625.3+4439_daily_bin1202.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/361396/ft1_filtered_4FGL_J0625.3+4439_daily_bin1202.fits
Spacecraft file(s): /scratch/kocevski/361396/ft2_4FGL_J0625.3+4439_daily_bin1202.fits
Exposure map: /scratch/kocevski/361396/expmap_550886401_551145601_4FGL_J0625.3+4439_daily_bin1202.fits
Exposure cube: /scratch/kocevski/361396/ltcube_550886401_551145601_4FGL_J0625.3+4439_daily_bin1202.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/361396/Model_4FGL_J0625.3+4439_daily_bin1202.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) = 5845.20889684

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.3414       1.0000         .10000E-03   10000.    
     2 'Prefactor '    25.707       1.0000         .10000E-03   10000.    
     3 'norm      '    5.3430       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.0806       1.0000         .10000E-03   10000.    
     5 'norm      '    .11016E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    9.8454       1.0000         .10000E-03   10000.    
     7 'norm      '    5.3782       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10399E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.1491       1.0000         .10000E-03   10000.    
    10 'norm      '    .10053E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10161E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.3497       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .96699       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=   5845.208     FROM MIGRAD    STATUS=CONVERGED    325 CALLS     1590 TOTAL
                     EDM=   .57E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.3415        2.3138        .36585E-07    .71115E-05
   2  Prefactor     25.705        40.293        .66512E-06   -.41228E-05
   3  norm          5.3421        4.3874        .33613E-06   -.43074E-04
   4  Prefactor     1.8504        1292.8       -.12742E-03   -.72882E-05
   5  norm          .10000E-03    3.9528        .11716E-05** at limit **
   6  norm          9.8453        5.4350        .47557E-07   -.28751E-04
   7  norm          5.3777        5.0984        .80760E-06   -.31599E-04
   8  Prefactor     .10000E-03    27.110        .15676E-05** at limit **
   9  norm          3.1482        6.8747        .90593E-05   -.88463E-04
  10  norm          .10000E-03    3.3632        .32747E-06** at limit **
  11  Prefactor     .10000E-03    12.538        .14797E-06** at limit **
  12  norm          .10000E-03    4.4727        .10716E-07** at limit **
  13  Prefactor     .10000E-03    5.7123        .31736E-06** at limit **
  14  Prefactor     .10000E-03    13.498        .15514E-06** at limit **
  15  norm          .10000E-03    11.751        .56231E-06** at limit **
  16  Normalizat    1.3499        .32717       -.20393E-05   -.13816E-04
  17  Prefactor     .96701        .88552E-01   -.65710E-06   -.66343E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.34147
  Prefactor  = 25.7051
  norm       = 5.34213
  Prefactor  = 1.8504
  norm       = 0.000100002
  norm       = 9.84528
  norm       = 5.37772
  Prefactor  = 0.0001
  norm       = 3.14821
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.34989
  Prefactor  = 0.967007
 **********
 **   18 **HESSE 
 **********

 FCN=   5845.208     FROM HESSE     STATUS=OK           227 CALLS     1817 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.3415        2.3127        .81701E-04   -1.5291    
   2  Prefactor     25.705        40.460        .79010E-04   -1.4694    
   3  norm          5.3421        4.3843        .13569E-03   -1.5246    
   4  Prefactor     1.8504        1440.1        .28629E-02   -1.5436    
   5  norm          .10000E-03    10.327        .29386E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          9.8453        5.4351        .12771E-03   -1.5080    
   7  norm          5.3777        5.1033        .81676E-03   -1.5244    
   8  Prefactor     .10000E-03    27.530        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.1482        7.0624        .11421E-02   -1.5353    
  10  norm          .10000E-03    3.3827        .13692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    12.541        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    4.4904        .15789E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.7392        .17842E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    13.504        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    11.833        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.3499        .35038        .49021E-03   -.82089    
  17  Prefactor     .96701        .95832E-01    .15053E-03   -.93838    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.02592e-10
Minuit parameter uncertainties:
  1  2.31271
  2  40.503
  3  4.38458
  4  105.905
  5  0.000256098
  6  5.43539
  7  5.10373
  8  7.89534e-05
  9  7.06428
  10  1.67006e-06
  11  9.23193e-06
  12  2.49363e-05
  13  1.19451e-05
  14  8.96045e-06
  15  1.55163e-05
  16  0.350997
  17  0.0958492
Done.

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

Extracting fit parameters...

4FGL J0625.3+4439
   Spectrum: PowerLaw
249    Prefactor:  1.000e-04  7.895e-05  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.670e-01  9.585e-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.350e+00  3.510e-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: 1.75e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.32e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/361396/likelihoodResults_550886401_551145601_4FGL_J0625.3+4439_daily_bin1202.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) = 5845.20810178
delta logL = -0.000173061192982

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5845.1511847
delta logL = 0.0567440130308

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40559       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4928       1.0000          .0000       10.000    
     3 'Normalizat'    1.3124       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97046       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.

 FCN=   5845.151     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      364 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40996        27.868        .10879E-01    .17530E-02
   2  Index         3.4884        3.4703        .14164        .10287E-03
   3  Normalizat    1.3122        .61015E-01    .11188        .22357E-04
   4  Prefactor     .97051        .16268E-01    .34009E-01    .36563E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.409959
  Index      = 3.4884
  Normalizat = 1.31222
  Prefactor  = 0.970514
 **********
 **   18 **HESSE 
 **********

 FCN=   5845.151     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      399 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40996        156.77        .13421E-02   -1.5580    
   2  Index         3.4884        6.7348        .10362E-01   -.30712    
   3  Normalizat    1.3122        .23268        .49604E-03   -.83202    
   4  Prefactor     .97051        .61964E-01    .15028E-03   -.93719    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.94998e-07
Minuit parameter uncertainties:
  1  16.0742
  2  15.4268
  3  0.232869
  4  0.0619688
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/361396': 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) = 5845.15118352
delta logL = 0.0567451938432

Extracting fit parameters...

4FGL J0625.3+4439
   Spectrum: PowerLaw
249    Prefactor:  4.100e-01  1.607e+01  1.000e-04  1.000e+04 ( 1.000e-13)
250        Index:  3.488e+00  1.543e+01  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.705e-01  6.197e-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.312e+00  2.329e-01  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/361396/cmap_HighResolution_550886401_551145601_4FGL_J0625.3+4439_daily_bin1202.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.32e-02', job_status='DONE', photon_flux_upper_limit='1.75e-07', time_completed='2021-08-25 01:00:40.342565', job_id='361396', GAL2='0.97', fit_tolerance='1e-08', EG2='1.31', EG='1.35', time_epoch_completed='1629878440.34', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='5.67e-02', ts2='0.12', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='1202' AND source_name='4FGL J0625.3+4439' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 25 01:00:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 361396: <4FGL_J0625.3+4439_daily_bin1202> in cluster <slac> Done

Job <4FGL_J0625.3+4439_daily_bin1202> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Aug 25 00:45:39 2021
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Aug 25 00:45:41 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:45:41 2021
Terminated at Wed Aug 25 01:00:41 2021
Results reported at Wed Aug 25 01:00:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0625.3+4439_daily_bin1202 96.3288 44.6648 550886401 551145601 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 :                                   734.04 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             259.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   914 sec.
    Turnaround time :                            902 sec.

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

