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


Performing analysis on: 4FGL_J0125.3-2548_daily_bin1110
RA = 21.3474, Dec = -25.8074
tmin = 527040001, tmax = 527299201
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='561514', job_status='RUN', time_executed='2021-08-14 00:11:38.273803', time_epoch_executed='1628925098.27' WHERE source_name='4FGL J0125.3-2548' and cadence='daily' and bin_id='1110'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/561514

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/561514/ft1_4FGL_J0125.3-2548_daily_bin1110.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/561514/ft2_4FGL_J0125.3-2548_daily_bin1110.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/561514/ft1_4FGL_J0125.3-2548_daily_bin1110.fits outfile=/scratch/kocevski/561514/ft1_filteredMKT_4FGL_J0125.3-2548_daily_bin1110.fits ra=21.3474 dec=-25.8074 rad=12.0 tmin=527040001.0 tmax=527299201.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 8.22
user 5.67
sys 2.50

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/561514/ft1_filtered_4FGL_J0125.3-2548_daily_bin1110.fits" evtable="EVENTS" scfile=/scratch/kocevski/561514/ft2_4FGL_J0125.3-2548_daily_bin1110.fits sctable="SC_DATA" outfile=/scratch/kocevski/561514/ltcube_527040001_527299201_4FGL_J0125.3-2548_daily_bin1110.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/561514/ft2_4FGL_J0125.3-2548_daily_bin1110.fits
.....................!
real 15.05
user 12.13
sys 2.79

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/561514/ft1_filtered_4FGL_J0125.3-2548_daily_bin1110.fits evtable="EVENTS" scfile=/scratch/kocevski/561514/ft2_4FGL_J0125.3-2548_daily_bin1110.fits sctable="SC_DATA" expcube=/scratch/kocevski/561514/ltcube_527040001_527299201_4FGL_J0125.3-2548_daily_bin1110.fits outfile=/scratch/kocevski/561514/expmap_527040001_527299201_4FGL_J0125.3-2548_daily_bin1110.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/561514/ltcube_527040001_527299201_4FGL_J0125.3-2548_daily_bin1110.fits
.....................!
real 194.01
user 185.18
sys 8.40

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/561514/ft1_filtered_4FGL_J0125.3-2548_daily_bin1110.fits scfile=/scratch/kocevski/561514/ft2_4FGL_J0125.3-2548_daily_bin1110.fits outfile=/scratch/kocevski/561514/cmap_527040001_527299201_4FGL_J0125.3-2548_daily_bin1110.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 2.75
user 0.39
sys 2.34

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/561514/ft1_filtered_4FGL_J0125.3-2548_daily_bin1110.fits scfile=/scratch/kocevski/561514/ft2_4FGL_J0125.3-2548_daily_bin1110.fits outfile=/scratch/kocevski/561514/cmap_HighResolution_527040001_527299201_4FGL_J0125.3-2548_daily_bin1110.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 2.73
user 0.40
sys 2.30

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/561514/ft1_filtered_4FGL_J0125.3-2548_daily_bin1110.fits evtable="EVENTS" scfile=/scratch/kocevski/561514/ft2_4FGL_J0125.3-2548_daily_bin1110.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/561514/Model_4FGL_J0125.3-2548_daily_bin1110.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/561514/ft1_filtered_4FGL_J0125.3-2548_daily_bin1110.fits......................!
real 27.89
user 23.68
sys 4.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/561514/ft1_filtered_4FGL_J0125.3-2548_daily_bin1110.fits', '/scratch/kocevski/561514/ft2_4FGL_J0125.3-2548_daily_bin1110.fits', expMap='/scratch/kocevski/561514/expmap_527040001_527299201_4FGL_J0125.3-2548_daily_bin1110.fits', expCube='/scratch/kocevski/561514/ltcube_527040001_527299201_4FGL_J0125.3-2548_daily_bin1110.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/561514/Model_4FGL_J0125.3-2548_daily_bin1110.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/561514/ft1_filtered_4FGL_J0125.3-2548_daily_bin1110.fits
Spacecraft file(s): /scratch/kocevski/561514/ft2_4FGL_J0125.3-2548_daily_bin1110.fits
Exposure map: /scratch/kocevski/561514/expmap_527040001_527299201_4FGL_J0125.3-2548_daily_bin1110.fits
Exposure cube: /scratch/kocevski/561514/ltcube_527040001_527299201_4FGL_J0125.3-2548_daily_bin1110.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/561514/Model_4FGL_J0125.3-2548_daily_bin1110.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) = 1727.14702442

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    47.930       1.0000         .10000E-03   10000.    
     2 'Prefactor '    169.30       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .36295       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.150       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    5.0855       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.1516       1.0000         .10000E-03   10000.    
    14 'norm      '    .19600       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.7462       1.0000         .10000E-03   10000.    
    17 'Prefactor '    100.04       1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.598       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.8005       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .57433E-09   1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1727.124     FROM MIGRAD    STATUS=CONVERGED     55 CALLS     1783 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          47.931        1.0073        .77809E-07   -.63329E-03
   2  Prefactor     169.30        1.0070       -.43198E-07    .16179E-02
   3  norm          .10001E-03    7.1379       -.21587E-04** at limit **
   4  norm          .31982        2.0611       -.80739E-06   -.46655E-03
   5  Prefactor     .10000E-03    4.9196       -.10456E-05** at limit **
   6  Prefactor     .10001E-03    3.8181       -.96899E-05** at limit **
   7  Prefactor     12.153        1.0635        .40689E-06   -.14041E-03
   8  Prefactor     .10000E-03    6.7816        .14067E-04** at limit **
   9  norm          .10000E-03    2.6122        .70131E-05** at limit **
  10  norm          5.0853        1.0662       -.76161E-06   -.18594E-02
  11  Prefactor     .10000E-03    21.450       -.20092E-04** at limit **
  12  Prefactor     .10000E-03    5.3566        .10306E-04** at limit **
  13  norm          2.1516        2.0417        .33899E-06   -.86549E-04
  14  norm          .19743        .46450       -.14039E-05    .63015E-04
  15  Prefactor     .10000E-03    7.1841        .14732E-05** at limit **
  16  norm          1.7456        1.0622       -.40075E-06   -.24752E-03
  17  Prefactor     100.03        1.8885       -.75828E-06    .16668E-01
  18  Prefactor     13.599        1.0037       -.91860E-07    .24696E-03
  19  Normalizat    1.8010        .18179        .26062E-05   -.31300E-04
  20  Prefactor     .13045E-12    .45300        .81704E-04** at limit **
                               ERR DEF=  .500    
Final values: 
  norm       = 47.9311
  Prefactor  = 169.297
  norm       = 0.000100013
  norm       = 0.31982
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 12.1533
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 5.08533
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  norm       = 2.15162
  norm       = 0.197425
  Prefactor  = 0.0001
  norm       = 1.74555
  Prefactor  = 100.031
  Prefactor  = 13.5989
  Normalizat = 1.80095
  Prefactor  = 1.30451e-13
 **********
 **   18 **HESSE 
 **********

 FCN=   1727.124     FROM HESSE     STATUS=OK           345 CALLS     2128 TOTAL
                     EDM=   .27E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          47.931        26.864        .14480E-02   -1.4322    
   2  Prefactor     169.30        171.79        .77515E-03   -1.3098    
   3  norm          .10001E-03    10.044        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .31982        7.2596        .59571E-01   -1.5595    
   5  Prefactor     .10000E-03    4.9177        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10001E-03    10.847        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     12.153        9.8029        .28731E-02   -1.5011    
   8  Prefactor     .10000E-03    12.836        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.5829        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.0853        4.5549        .44573E-02   -1.5257    
  11  Prefactor     .10000E-03    22.655        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    12.299        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.1516        2.0335        .70223E-02   -1.5415    
  14  norm          .19743        4.5408        .50364E-01   -1.5619    
  15  Prefactor     .10000E-03    7.1414        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.7456        6.1926        .79343E-02   -1.5444    
  17  Prefactor     100.03        95.666        .10049E-02   -1.3704    
  18  Prefactor     13.599        20.631        .27155E-02   -1.4970    
  19  Normalizat    1.8010        .24914        .43136E-01   -.69639    
  20  Prefactor     .13045E-12    .31544        .19598       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.66972e-06
Minuit parameter uncertainties:
  1  26.8707
  2  172.297
  3  0.000710019
  4  3.04742
  5  1.13613e-05
  6  0.000553455
  7  9.8042
  8  7.06577e-05
  9  4.42578e-06
  10  4.55521
  11  0.000106828
  12  0.000470201
  13  2.03361
  14  1.89332
  15  4.78188e-05
  16  6.19484
  17  95.8139
  18  20.6416
  19  0.24932
  20  4.08299e-07
Done.

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

Extracting fit parameters...

4FGL J0125.3-2548
   Spectrum: PowerLaw
264    Prefactor:  1.000e-04  1.068e-04  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:  1.305e-13  4.083e-07  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.801e+00  2.493e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 21.347 -25.807
Photon Flux Upper Limit: 1.62e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.24e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/561514/likelihoodResults_527040001_527299201_4FGL_J0125.3-2548_daily_bin1110.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) = 1727.12410499
delta logL = -0.000213635933733

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1727.12389156
delta logL = -1.9699814402e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1404       1.0000          .0000       10.000    
     3 'Normalizat'    1.8009       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77732E-07   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=   1727.124     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      252 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6987.6        .90712E-02** at limit **
   2  Index         2.1451        5.0056        .50000       -.18028E-05
   3  Normalizat    1.8010        .16833        .43136E-01    .63208E-05
   4  Prefactor     .77716E-14    .16456        .19598    ** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.14513
  Normalizat = 1.80095
  Prefactor  = 7.77156e-15
 **********
 **   18 **HESSE 
 **********

 FCN=   1727.124     FROM HESSE     STATUS=OK            33 CALLS      285 TOTAL
                     EDM=   .43E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    26.760        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1451        6.0495        .50000       -.60769    
   3  Normalizat    1.8010        .17997        .19064E-03   -.69639    
   4  Prefactor     .77716E-14    .38400        .11672E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.28452e-12
Minuit parameter uncertainties:
  1  3.83714e-06
  2  4.51114
  3  0.180036
  4  1.08928e-07
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/561514': 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) = 1727.12389139
delta logL = -3.15249053529e-08

Extracting fit parameters...

4FGL J0125.3-2548
   Spectrum: PowerLaw
264    Prefactor:  1.000e-04  3.837e-06  1.000e-04  1.000e+04 ( 1.000e-13)
265        Index:  2.145e+00  4.511e+00  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:  7.772e-15  1.089e-07  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.801e+00  1.800e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/561514/cmap_HighResolution_527040001_527299201_4FGL_J0125.3-2548_daily_bin1110.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.24e-02', job_status='DONE', photon_flux_upper_limit='1.62e-07', time_completed='2021-08-14 00:18:58.914520', job_id='561514', GAL2='0.00', fit_tolerance='1e-08', EG2='1.80', EG='1.80', time_epoch_completed='1628925538.91', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.00', dlogl='-3.15e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='1110' AND source_name='4FGL J0125.3-2548' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 00:18:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0123>
Subject: Job 561514: <4FGL_J0125.3-2548_daily_bin1110> in cluster <slac> Done

Job <4FGL_J0125.3-2548_daily_bin1110> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sat Aug 14 00:05:44 2021
Job was executed on host(s) <bullet0123>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 00:07:00 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:07:00 2021
Terminated at Sat Aug 14 00:18:59 2021
Results reported at Sat Aug 14 00:18:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0125.3-2548_daily_bin1110 21.3474 -25.8074 527040001 527299201 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 :                                   472.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             255.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   720 sec.
    Turnaround time :                            795 sec.

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

