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


Performing analysis on: 4FGL_J0125.3-2548_daily_bin1042
RA = 21.3474, Dec = -25.8074
tmin = 509414401, tmax = 509673601
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='561415', job_status='RUN', time_executed='2021-08-14 00:09:47.479522', time_epoch_executed='1628924987.48' WHERE source_name='4FGL J0125.3-2548' and cadence='daily' and bin_id='1042'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/561415

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/561415/ft1_4FGL_J0125.3-2548_daily_bin1042.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/561415/ft2_4FGL_J0125.3-2548_daily_bin1042.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/561415/ft1_4FGL_J0125.3-2548_daily_bin1042.fits outfile=/scratch/kocevski/561415/ft1_filteredMKT_4FGL_J0125.3-2548_daily_bin1042.fits ra=21.3474 dec=-25.8074 rad=12.0 tmin=509414401.0 tmax=509673601.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 12.96
user 3.49
sys 9.33

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/561415/ft2_4FGL_J0125.3-2548_daily_bin1042.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/561415/ft2_4FGL_J0125.3-2548_daily_bin1042.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/561415/ft1_filteredMKT_4FGL_J0125.3-2548_daily_bin1042.fits evtable="EVENTS" outfile="/scratch/kocevski/561415/ft1_filtered_4FGL_J0125.3-2548_daily_bin1042.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 10.48
user 0.34
sys 10.08

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/561415/ft1_filtered_4FGL_J0125.3-2548_daily_bin1042.fits" evtable="EVENTS" scfile=/scratch/kocevski/561415/ft2_4FGL_J0125.3-2548_daily_bin1042.fits sctable="SC_DATA" outfile=/scratch/kocevski/561415/ltcube_509414401_509673601_4FGL_J0125.3-2548_daily_bin1042.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/561415/ft2_4FGL_J0125.3-2548_daily_bin1042.fits
.....................!
real 24.59
user 14.01
sys 10.44

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/561415/ft1_filtered_4FGL_J0125.3-2548_daily_bin1042.fits evtable="EVENTS" scfile=/scratch/kocevski/561415/ft2_4FGL_J0125.3-2548_daily_bin1042.fits sctable="SC_DATA" expcube=/scratch/kocevski/561415/ltcube_509414401_509673601_4FGL_J0125.3-2548_daily_bin1042.fits outfile=/scratch/kocevski/561415/expmap_509414401_509673601_4FGL_J0125.3-2548_daily_bin1042.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/561415/ltcube_509414401_509673601_4FGL_J0125.3-2548_daily_bin1042.fits
.....................!
real 207.94
user 188.24
sys 17.50

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 180 point sources and 0 extended sources

Setting source of interest to:
4FGL J0125.3-2548 @ 21.3474 -25.8074

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/561415/ft1_filtered_4FGL_J0125.3-2548_daily_bin1042.fits scfile=/scratch/kocevski/561415/ft2_4FGL_J0125.3-2548_daily_bin1042.fits outfile=/scratch/kocevski/561415/cmap_509414401_509673601_4FGL_J0125.3-2548_daily_bin1042.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=21.3474 yref=-25.8074 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 9.46
user 0.39
sys 9.00

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/561415/ft1_filtered_4FGL_J0125.3-2548_daily_bin1042.fits scfile=/scratch/kocevski/561415/ft2_4FGL_J0125.3-2548_daily_bin1042.fits outfile=/scratch/kocevski/561415/cmap_HighResolution_509414401_509673601_4FGL_J0125.3-2548_daily_bin1042.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=21.3474 yref=-25.8074 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 9.38
user 0.38
sys 8.97

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/561415/ft1_filtered_4FGL_J0125.3-2548_daily_bin1042.fits evtable="EVENTS" scfile=/scratch/kocevski/561415/ft2_4FGL_J0125.3-2548_daily_bin1042.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/561415/Model_4FGL_J0125.3-2548_daily_bin1042.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/561415/ft1_filtered_4FGL_J0125.3-2548_daily_bin1042.fits.....................!
real 52.61
user 38.93
sys 12.97

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/561415/ft1_filtered_4FGL_J0125.3-2548_daily_bin1042.fits', '/scratch/kocevski/561415/ft2_4FGL_J0125.3-2548_daily_bin1042.fits', expMap='/scratch/kocevski/561415/expmap_509414401_509673601_4FGL_J0125.3-2548_daily_bin1042.fits', expCube='/scratch/kocevski/561415/ltcube_509414401_509673601_4FGL_J0125.3-2548_daily_bin1042.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/561415/Model_4FGL_J0125.3-2548_daily_bin1042.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0125.3-2548'

4FGL J0125.3-2548
   Spectrum: PowerLaw
264    Prefactor:  4.298e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
265        Index:  2.224e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
266        Scale:  1.184e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/561415/ft1_filtered_4FGL_J0125.3-2548_daily_bin1042.fits
Spacecraft file(s): /scratch/kocevski/561415/ft2_4FGL_J0125.3-2548_daily_bin1042.fits
Exposure map: /scratch/kocevski/561415/expmap_509414401_509673601_4FGL_J0125.3-2548_daily_bin1042.fits
Exposure cube: /scratch/kocevski/561415/ltcube_509414401_509673601_4FGL_J0125.3-2548_daily_bin1042.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/561415/Model_4FGL_J0125.3-2548_daily_bin1042.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) = 4479.81327234

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    28.822       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    12.605       1.0000         .10000E-03   10000.    
     4 'norm      '    8.9938       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.2037       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.635       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.9469       1.0000         .10000E-03   10000.    
     9 'norm      '    .10140E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.1174       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.7247       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12246E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .49291       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.3695       1.0000         .10000E-03   10000.    
    16 'norm      '    2.1572       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.0325       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0903       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .70643       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4479.707     FROM MIGRAD    STATUS=CONVERGED    415 CALLS     1781 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          28.821        10.004        .31562E-06   -.48204E-05
   2  Prefactor     .10000E-03    44.101       -.66811E-06** at limit **
   3  norm          12.605        13.383        .28416E-06   -.32854E-05
   4  norm          8.9933        5.4305        .40632E-06   -.11065E-04
   5  Prefactor     1.2039        .77315       -.89367E-07   -.30268E-03
   6  Prefactor     .10000E-03    6.5844        .29622E-07** at limit **
   7  Prefactor     15.635        5.9276        .25928E-08   -.21782E-04
   8  Prefactor     2.9515        6.4072        .53110E-05    .98043E-04
   9  norm          .10000E-03    1.3244       -.39879E-06** at limit **
  10  norm          2.1174        1.9315        .36311E-07   -.40935E-05
  11  Prefactor     3.7286        14.742       -.26286E-06   -.73397E-06
  12  Prefactor     .10000E-03    2.4940       -.25851E-06** at limit **
  13  norm          .10000E-03    .45160        .38864E-08** at limit **
  14  norm          .49321        1.4541        .64091E-07   -.22142E-04
  15  Prefactor     5.3693        4.5273        .16633E-05   -.15433E-05
  16  norm          2.1572        2.4436        .85962E-07   -.22554E-04
  17  Prefactor     .10000E-03    11.741        .44257E-06** at limit **
  18  Prefactor     6.0304        9.6801        .14799E-05   -.39062E-05
  19  Normalizat    1.0904        .18676       -.86428E-06    .23187E-04
  20  Prefactor     .70642        .21074       -.85611E-06    .10139E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 28.8211
  Prefactor  = 0.0001
  norm       = 12.6051
  norm       = 8.99332
  Prefactor  = 1.20385
  Prefactor  = 0.0001
  Prefactor  = 15.6348
  Prefactor  = 2.9515
  norm       = 0.0001
  norm       = 2.11737
  Prefactor  = 3.72855
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.493205
  Prefactor  = 5.36926
  norm       = 2.15715
  Prefactor  = 0.0001
  Prefactor  = 6.03045
  Normalizat = 1.09038
  Prefactor  = 0.706421
 **********
 **   18 **HESSE 
 **********

 FCN=   4479.707     FROM HESSE     STATUS=OK           299 CALLS     2080 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          28.821        10.005        .74626E-04   -1.4634    
   2  Prefactor     .10000E-03    44.106        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          12.605        13.404        .11282E-03   -1.4998    
   4  norm          8.9933        5.4295        .11587E-03   -1.5108    
   5  Prefactor     1.2039        14.149        .20666E-02   -1.5489    
   6  Prefactor     .10000E-03    6.6007        .16771E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     15.635        5.9340        .96552E-04   -1.4917    
   8  Prefactor     2.9515        6.4275        .23658E-03   -1.5364    
   9  norm          .10000E-03    1.3996        .15121E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.1174        1.9252        .85695E-04   -1.5417    
  11  Prefactor     3.7286        14.623        .20923E-03   -1.5322    
  12  Prefactor     .10000E-03    4.5499        .20327E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    .45950        .43882E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .49321        1.4284        .13065E-03   -1.5568    
  15  Prefactor     5.3693        4.5055        .12584E-03   -1.5244    
  16  norm          2.1572        2.4275        .10692E-03   -1.5414    
  17  Prefactor     .10000E-03    11.741        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.0304        9.6723        .16348E-03   -1.5217    
  19  Normalizat    1.0904        .22128        .21334E-03   -.90061    
  20  Prefactor     .70642        .24688        .29491E-03   -1.0328    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.44889e-10
Minuit parameter uncertainties:
  1  10.0057
  2  2.31979e-07
  3  13.4069
  4  5.4298
  5  8.25638
  6  3.97303e-07
  7  5.93423
  8  6.42904
  9  4.5381e-05
  10  1.92527
  11  14.6368
  12  3.81007e-05
  13  2.86429e-07
  14  1.4285
  15  4.50577
  16  2.42761
  17  1.81052e-06
  18  9.67481
  19  0.221469
  20  0.247264
Done.

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

Extracting fit parameters...

4FGL J0125.3-2548
   Spectrum: PowerLaw
264    Prefactor:  3.729e+00  1.464e+01  1.000e-04  1.000e+04 ( 1.000e-13)
265        Index:  2.224e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
266        Scale:  1.184e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  7.064e-01  2.473e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  1.090e+00  2.215e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.07
Ra Dec: 21.347 -25.807
Photon Flux Upper Limit: 8.32e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.35e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/561415/likelihoodResults_509414401_509673601_4FGL_J0125.3-2548_daily_bin1042.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): 0
logL (Free Index) = 4479.34263205
delta logL = 0.364573573779

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4479.34245603
delta logL = 0.364749591831

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.515       1.0000         .10000E-03   10000.    
     2 'Index     '    1.3919       1.0000          .0000       10.000    
     3 'Normalizat'    1.0993       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68855       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4479.342     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      244 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.709        22.414        .27238E-02    .38495E-03
   2  Index         1.3937        .58318        .25508       -.43417E-04
   3  Normalizat    1.0992        .18324        .38029E-01    .23411E-05
   4  Prefactor     .68847        .20975        .67378E-01    .16944E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.7095
  Index      = 1.39372
  Normalizat = 1.09919
  Prefactor  = 0.688472
 **********
 **   18 **HESSE 
 **********

 FCN=   4479.342     FROM HESSE     STATUS=OK            33 CALLS      277 TOTAL
                     EDM=   .24E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.709        18.891        .54477E-03   -1.4967    
   2  Index         1.3937        .61956        .89557E-02   -.80561    
   3  Normalizat    1.0992        .21422        .21251E-03   -.89778    
   4  Prefactor     .68847        .24455        .29815E-03   -1.0398    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.42751e-12
Minuit parameter uncertainties:
  1  18.8995
  2  0.622914
  3  0.214387
  4  0.244937
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/561415': 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) = 4479.34240404
delta logL = 0.364801582237

Extracting fit parameters...

4FGL J0125.3-2548
   Spectrum: PowerLaw
264    Prefactor:  1.371e+01  1.890e+01  1.000e-04  1.000e+04 ( 1.000e-13)
265        Index:  1.394e+00  6.229e-01  0.000e+00  1.000e+01 (-1.000e+00)
266        Scale:  1.184e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  6.885e-01  2.449e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  1.099e+00  2.144e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.07
Ra Dec: 21.347 -25.807

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/561415/cmap_HighResolution_509414401_509673601_4FGL_J0125.3-2548_daily_bin1042.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.35e-03', job_status='DONE', photon_flux_upper_limit='8.32e-08', time_completed='2021-08-14 00:20:51.886264', job_id='561415', GAL2='0.69', fit_tolerance='1e-08', EG2='1.10', EG='1.09', time_epoch_completed='1628925651.89', return_code2='0', ts='0.07', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='3.65e-01', ts2='0.81', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='1042' AND source_name='4FGL J0125.3-2548' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 00:20:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0115>
Subject: Job 561415: <4FGL_J0125.3-2548_daily_bin1042> in cluster <slac> Done

Job <4FGL_J0125.3-2548_daily_bin1042> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sat Aug 14 00:05:38 2021
Job was executed on host(s) <bullet0115>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 00:06:25 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 00:06:25 2021
Terminated at Sat Aug 14 00:20:54 2021
Results reported at Sat Aug 14 00:20:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0125.3-2548_daily_bin1042 21.3474 -25.8074 509414401 509673601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0125.3-2548 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   786.05 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             233.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   869 sec.
    Turnaround time :                            916 sec.

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

