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


Performing analysis on: 4FGL_J0125.3-2548_daily_bin1079
RA = 21.3474, Dec = -25.8074
tmin = 519004801, tmax = 519264001
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='561469', job_status='RUN', time_executed='2021-08-14 00:08:05.764304', time_epoch_executed='1628924885.76' WHERE source_name='4FGL J0125.3-2548' and cadence='daily' and bin_id='1079'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/561469

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/561469/ft1_4FGL_J0125.3-2548_daily_bin1079.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/561469/ft2_4FGL_J0125.3-2548_daily_bin1079.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/561469/ft1_4FGL_J0125.3-2548_daily_bin1079.fits outfile=/scratch/kocevski/561469/ft1_filteredMKT_4FGL_J0125.3-2548_daily_bin1079.fits ra=21.3474 dec=-25.8074 rad=12.0 tmin=519004801.0 tmax=519264001.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.54
user 3.31
sys 4.14

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/561469/ft2_4FGL_J0125.3-2548_daily_bin1079.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/561469/ft1_filteredMKT_4FGL_J0125.3-2548_daily_bin1079.fits evtable="EVENTS" outfile="/scratch/kocevski/561469/ft1_filtered_4FGL_J0125.3-2548_daily_bin1079.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 5.66
user 0.33
sys 4.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/561469/ft1_filtered_4FGL_J0125.3-2548_daily_bin1079.fits" evtable="EVENTS" scfile=/scratch/kocevski/561469/ft2_4FGL_J0125.3-2548_daily_bin1079.fits sctable="SC_DATA" outfile=/scratch/kocevski/561469/ltcube_519004801_519264001_4FGL_J0125.3-2548_daily_bin1079.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/561469/ft2_4FGL_J0125.3-2548_daily_bin1079.fits
.....................!
real 16.83
user 12.07
sys 4.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/561469/ft1_filtered_4FGL_J0125.3-2548_daily_bin1079.fits evtable="EVENTS" scfile=/scratch/kocevski/561469/ft2_4FGL_J0125.3-2548_daily_bin1079.fits sctable="SC_DATA" expcube=/scratch/kocevski/561469/ltcube_519004801_519264001_4FGL_J0125.3-2548_daily_bin1079.fits outfile=/scratch/kocevski/561469/expmap_519004801_519264001_4FGL_J0125.3-2548_daily_bin1079.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/561469/ltcube_519004801_519264001_4FGL_J0125.3-2548_daily_bin1079.fits
.....................!
real 198.68
user 188.16
sys 9.47

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/561469/ft1_filtered_4FGL_J0125.3-2548_daily_bin1079.fits scfile=/scratch/kocevski/561469/ft2_4FGL_J0125.3-2548_daily_bin1079.fits outfile=/scratch/kocevski/561469/cmap_519004801_519264001_4FGL_J0125.3-2548_daily_bin1079.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 4.45
user 0.38
sys 4.04

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/561469/ft1_filtered_4FGL_J0125.3-2548_daily_bin1079.fits scfile=/scratch/kocevski/561469/ft2_4FGL_J0125.3-2548_daily_bin1079.fits outfile=/scratch/kocevski/561469/cmap_HighResolution_519004801_519264001_4FGL_J0125.3-2548_daily_bin1079.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 4.55
user 0.37
sys 4.09

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/561469/ft1_filtered_4FGL_J0125.3-2548_daily_bin1079.fits evtable="EVENTS" scfile=/scratch/kocevski/561469/ft2_4FGL_J0125.3-2548_daily_bin1079.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/561469/Model_4FGL_J0125.3-2548_daily_bin1079.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/561469/ft1_filtered_4FGL_J0125.3-2548_daily_bin1079.fits.....................!
real 52.64
user 46.53
sys 5.84

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    23.677       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .40008E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.2703       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.193       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.8760       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .12817E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .30615       1.0000         .10000E-03   10000.    
    10 'norm      '    4.8776       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.5783       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    9.1627       1.0000         .10000E-03   10000.    
    14 'norm      '    .13553       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10131E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.677       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.3309       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .42965       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=   5385.929     FROM MIGRAD    STATUS=CONVERGED    433 CALLS     1867 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          23.676        9.5873        .12700E-06   -.38953E-04
   2  Prefactor     .10006E-03    125.00       -.52739E-05** at limit **
   3  norm          .10000E-03    4.0245       -.38653E-08** at limit **
   4  norm          3.2703        2.3563       -.50249E-06   -.12839E-02
   5  Prefactor     .10000E-03    2.3718        .30584E-07** at limit **
   6  Prefactor     17.173        11.534       -.35737E-07   -.33581E-04
   7  Prefactor     8.8760        3.9819        .93778E-07   -.35550E-04
   8  Prefactor     .10000E-03    13.241       -.11220E-05** at limit **
   9  norm          .30797        1.7092       -.66463E-06   -.15970E-03
  10  norm          4.8751        3.0078       -.23968E-06   -.53986E-03
  11  Prefactor     1.6388        40.087        .36792E-05    .50249E-04
  12  Prefactor     .10000E-03    1.8637       -.24146E-06** at limit **
  13  norm          9.1628        2.1206        .60775E-07   -.13122E-04
  14  norm          .13204        2.4540        .21862E-05   -.32871E-03
  15  Prefactor     .10000E-03    3.4029        .11755E-06** at limit **
  16  norm          .10026E-03    2.1607       -.15183E-05** at limit **
  17  Prefactor     .10000E-03    20.098        .60128E-06** at limit **
  18  Prefactor     13.681        11.180        .13334E-05    .51384E-03
  19  Normalizat    1.3309        .18425       -.12338E-05   -.29513E-03
  20  Prefactor     .42962        .20089       -.10951E-06   -.16717E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 23.6765
  Prefactor  = 0.000100059
  norm       = 0.0001
  norm       = 3.2703
  Prefactor  = 0.0001
  Prefactor  = 17.1728
  Prefactor  = 8.87598
  Prefactor  = 0.0001
  norm       = 0.307968
  norm       = 4.87511
  Prefactor  = 1.63879
  Prefactor  = 0.0001
  norm       = 9.16279
  norm       = 0.132036
  Prefactor  = 0.0001
  norm       = 0.000100259
  Prefactor  = 0.000100001
  Prefactor  = 13.6815
  Normalizat = 1.33089
  Prefactor  = 0.42962
 **********
 **   18 **HESSE 
 **********

 FCN=   5385.929     FROM HESSE     STATUS=OK           299 CALLS     2166 TOTAL
                     EDM=   .68E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          23.676        9.5971        .82320E-04   -1.4734    
   2  Prefactor     .10006E-03    130.49        .21264E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    4.0260        .14379E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.2703        2.3975        .47292E-03   -1.5346    
   5  Prefactor     .10000E-03    2.3792        .11036E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     17.173        11.533        .96594E-04   -1.4879    
   7  Prefactor     8.8760        3.9836        .94591E-04   -1.5112    
   8  Prefactor     .10000E-03    13.292        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .30797        2.7907        .17511E-02   -1.5597    
  10  norm          4.8751        2.9700        .88544E-04   -1.5266    
  11  Prefactor     1.6388        39.196        .33814E-03   -1.5452    
  12  Prefactor     .10000E-03    1.8767        .97705E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          9.1628        2.1227        .24571E-03   -1.5102    
  14  norm          .13204        3.3440        .16427E-02   -1.5635    
  15  Prefactor     .10000E-03    3.5218        .26435E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10026E-03    18.670        .15733E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    20.220        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     13.681        11.409        .54152E-03   -1.4968    
  19  Normalizat    1.3309        .19815        .19762E-03   -.82649    
  20  Prefactor     .42962        .21591        .37161E-03   -1.1532    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.8329e-08
Minuit parameter uncertainties:
  1  9.59777
  2  0.00557398
  3  1.85381e-06
  4  2.39759
  5  3.76928e-06
  6  11.5345
  7  3.98369
  8  9.71784e-05
  9  1.85394
  10  2.97012
  11  16.0405
  12  1.39468e-05
  13  2.12274
  14  1.32853
  15  1.53445e-05
  16  0.00440118
  17  0.000258503
  18  11.4111
  19  0.198266
  20  0.216325
Done.

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

Extracting fit parameters...

4FGL J0125.3-2548
   Spectrum: PowerLaw
264    Prefactor:  1.639e+00  1.604e+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:  4.296e-01  2.163e-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.331e+00  1.983e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/561469/likelihoodResults_519004801_519264001_4FGL_J0125.3-2548_daily_bin1079.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) = 5385.9280263
delta logL = 0.000821804381303

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5385.92794208
delta logL = 0.000906028812096

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5385.928     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      265 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5756        34.806        .16506E-02    .17773E-03
   2  Index         2.3344        2.5961        .80784E-02   -.78851E-05
   3  Normalizat    1.3303        .19266        .19766E-03   -.11446E-04
   4  Prefactor     .42995        .21513        .37147E-03   -.48356E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.57556
  Index      = 2.33441
  Normalizat = 1.33032
  Prefactor  = 0.429952
 **********
 **   18 **HESSE 
 **********

 FCN=   5385.928     FROM HESSE     STATUS=OK            25 CALLS      290 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5756        31.247        .33012E-03   -1.5457    
   2  Index         2.3344        2.4804        .32313E-03   -.56228    
   3  Normalizat    1.3303        .19279        .79063E-05   -.82666    
   4  Prefactor     .42995        .21517        .14859E-04   -1.1531    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.42106e-11
Minuit parameter uncertainties:
  1  14.0409
  2  2.65043
  3  0.192891
  4  0.215573
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/561469': 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) = 5385.92793019
delta logL = 0.000917912559089

Extracting fit parameters...

4FGL J0125.3-2548
   Spectrum: PowerLaw
264    Prefactor:  1.576e+00  1.404e+01  1.000e-04  1.000e+04 ( 1.000e-13)
265        Index:  2.334e+00  2.650e+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:  4.300e-01  2.156e-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.330e+00  1.929e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/561469/cmap_HighResolution_519004801_519264001_4FGL_J0125.3-2548_daily_bin1079.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.07e-03', job_status='DONE', photon_flux_upper_limit='7.95e-08', time_completed='2021-08-14 00:18:48.741551', job_id='561469', GAL2='0.43', fit_tolerance='1e-08', EG2='1.33', EG='1.33', time_epoch_completed='1628925528.74', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.43', dlogl='9.18e-04', ts2='0.01', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='1079' AND source_name='4FGL J0125.3-2548' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 00:18:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0144>
Subject: Job 561469: <4FGL_J0125.3-2548_daily_bin1079> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0125.3-2548_daily_bin1079 21.3474 -25.8074 519004801 519264001 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 :                                   679.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             296.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   728 sec.
    Turnaround time :                            789 sec.

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

