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


Performing analysis on: 4FGL_J0725.5+0216_daily_bin1405
RA = 111.39, Dec = 2.2749
tmin = 603504001, tmax = 603763201
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='332881', job_status='RUN', time_executed='2021-08-27 06:18:01.321575', time_epoch_executed='1630070281.32' WHERE source_name='4FGL J0725.5+0216' and cadence='daily' and bin_id='1405'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/332881

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/332881/ft1_4FGL_J0725.5+0216_daily_bin1405.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/332881/ft2_4FGL_J0725.5+0216_daily_bin1405.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/332881/ft1_4FGL_J0725.5+0216_daily_bin1405.fits outfile=/scratch/kocevski/332881/ft1_filteredMKT_4FGL_J0725.5+0216_daily_bin1405.fits ra=111.39 dec=2.2749 rad=12.0 tmin=603504001.0 tmax=603763201.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 2.91
user 2.55
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/332881/ft2_4FGL_J0725.5+0216_daily_bin1405.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/332881/ft2_4FGL_J0725.5+0216_daily_bin1405.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/332881/ft1_filteredMKT_4FGL_J0725.5+0216_daily_bin1405.fits evtable="EVENTS" outfile="/scratch/kocevski/332881/ft1_filtered_4FGL_J0725.5+0216_daily_bin1405.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 0.53
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/332881/ft1_filtered_4FGL_J0725.5+0216_daily_bin1405.fits" evtable="EVENTS" scfile=/scratch/kocevski/332881/ft2_4FGL_J0725.5+0216_daily_bin1405.fits sctable="SC_DATA" outfile=/scratch/kocevski/332881/ltcube_603504001_603763201_4FGL_J0725.5+0216_daily_bin1405.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/332881/ft2_4FGL_J0725.5+0216_daily_bin1405.fits
.....................!
real 13.11
user 12.64
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/332881/ft1_filtered_4FGL_J0725.5+0216_daily_bin1405.fits evtable="EVENTS" scfile=/scratch/kocevski/332881/ft2_4FGL_J0725.5+0216_daily_bin1405.fits sctable="SC_DATA" expcube=/scratch/kocevski/332881/ltcube_603504001_603763201_4FGL_J0725.5+0216_daily_bin1405.fits outfile=/scratch/kocevski/332881/expmap_603504001_603763201_4FGL_J0725.5+0216_daily_bin1405.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/332881/ltcube_603504001_603763201_4FGL_J0725.5+0216_daily_bin1405.fits
.....................!
real 193.53
user 187.77
sys 4.90

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 Rosette in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/Rosette.fits is the correct path to the extended template.
Extended source Monoceros in ROI with RadialGaussian spatial model.
Added 154 point sources and 2 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 J0725.5+0216 @ 111.39 2.2749

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/332881/ft1_filtered_4FGL_J0725.5+0216_daily_bin1405.fits scfile=/scratch/kocevski/332881/ft2_4FGL_J0725.5+0216_daily_bin1405.fits outfile=/scratch/kocevski/332881/cmap_603504001_603763201_4FGL_J0725.5+0216_daily_bin1405.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=111.39 yref=2.2749 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 0.55
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/332881/ft1_filtered_4FGL_J0725.5+0216_daily_bin1405.fits scfile=/scratch/kocevski/332881/ft2_4FGL_J0725.5+0216_daily_bin1405.fits outfile=/scratch/kocevski/332881/cmap_HighResolution_603504001_603763201_4FGL_J0725.5+0216_daily_bin1405.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=111.39 yref=2.2749 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 0.57
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/332881/ft1_filtered_4FGL_J0725.5+0216_daily_bin1405.fits evtable="EVENTS" scfile=/scratch/kocevski/332881/ft2_4FGL_J0725.5+0216_daily_bin1405.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/332881/Model_4FGL_J0725.5+0216_daily_bin1405.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
adding source Monoceros
adding source Rosette
Working on...
/scratch/kocevski/332881/ft1_filtered_4FGL_J0725.5+0216_daily_bin1405.fits.....................!
real 102.13
user 92.81
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/332881/ft1_filtered_4FGL_J0725.5+0216_daily_bin1405.fits', '/scratch/kocevski/332881/ft2_4FGL_J0725.5+0216_daily_bin1405.fits', expMap='/scratch/kocevski/332881/expmap_603504001_603763201_4FGL_J0725.5+0216_daily_bin1405.fits', expCube='/scratch/kocevski/332881/ltcube_603504001_603763201_4FGL_J0725.5+0216_daily_bin1405.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/332881/Model_4FGL_J0725.5+0216_daily_bin1405.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0725.5+0216'

4FGL J0725.5+0216
   Spectrum: PowerLaw
206    Prefactor:  8.002e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
207        Index:  2.023e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
208        Scale:  2.628e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/332881/ft1_filtered_4FGL_J0725.5+0216_daily_bin1405.fits
Spacecraft file(s): /scratch/kocevski/332881/ft2_4FGL_J0725.5+0216_daily_bin1405.fits
Exposure map: /scratch/kocevski/332881/expmap_603504001_603763201_4FGL_J0725.5+0216_daily_bin1405.fits
Exposure cube: /scratch/kocevski/332881/ltcube_603504001_603763201_4FGL_J0725.5+0216_daily_bin1405.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/332881/Model_4FGL_J0725.5+0216_daily_bin1405.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) = 4971.8586414

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10352       1.0000         .10000E-03   10000.    
     2 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    35.219       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11056E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    15.526       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.756       1.0000         .10000E-03   10000.    
    14 'norm      '    .10218E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .16613E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    186.89       1.0000         .10000E-03   10000.    
    18 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .16011E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10122E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .56613       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .93741       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4971.827     FROM MIGRAD    STATUS=CONVERGED    470 CALLS     2332 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .20337        6.1637       -.17527E-05    .41245E-03
   2  norm          .10000E-03    30.031        .84541E-05** at limit **
   3  Prefactor     .10000E-03    53.519       -.80667E-05** at limit **
   4  norm          .10000E-03    1.8622        .47640E-07** at limit **
   5  norm          .10000E-03    1.9387       -.10754E-06** at limit **
   6  Prefactor     .10000E-03    52.013       -.11276E-04** at limit **
   7  Prefactor     35.203        23.356       -.10619E-05   -.10211E-03
   8  Prefactor     .10000E-03    80.993        .26971E-04** at limit **
   9  Prefactor     .10000E-03    52.992       -.91693E-05** at limit **
  10  norm          15.522        6.6415        .75713E-06   -.10863E-03
  11  Prefactor     .10000E-03    22.820       -.36087E-05** at limit **
  12  norm          .10000E-03    11.098       -.33466E-06** at limit **
  13  Prefactor     11.725        19.423        .10470E-05    .12369E-03
  14  norm          .10000E-03    65.573        .17767E-04** at limit **
  15  Prefactor     .10000E-03    118.68       -.57451E-04** at limit **
  16  Prefactor     .10000E-03    7.0807        .36241E-06** at limit **
  17  Prefactor     186.78        143.85       -.70588E-04    .11355E-04
  18  norm          .10000E-03    14.280        .63657E-06** at limit **
  19  norm          .10001E-03    99.749        .23584E-05** at limit **
  20  norm          .10000E-03    7.0905       -.51525E-08** at limit **
  21  Normalizat    .56727        .43089        .18082E-04    .30873E-04
  22  Prefactor     .93710        .80445E-01   -.13817E-05    .66511E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.203372
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 35.2031
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 15.5215
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 11.7249
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 186.784
  norm       = 0.0001
  norm       = 0.000100009
  norm       = 0.0001
  Normalizat = 0.567273
  Prefactor  = 0.937105
 **********
 **   18 **HESSE 
 **********

 FCN=   4971.827     FROM HESSE     STATUS=OK           332 CALLS     2664 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .20337        87.061        .32995E-02   -1.5618    
   2  norm          .10000E-03    30.105        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    53.548        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.8640        .93966E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.9578        .95802E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    52.034        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     35.203        23.252        .67527E-04   -1.4521    
   8  Prefactor     .10000E-03    81.662        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    53.032        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          15.522        6.6010        .10165E-03   -1.4920    
  11  Prefactor     .10000E-03    22.823        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    11.101        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.725        19.343        .11684E-03   -1.5023    
  14  norm          .10000E-03    65.631        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    118.79        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    7.0814        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     186.78        143.69        .14769E-03   -1.2966    
  18  norm          .10000E-03    14.295        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10001E-03    99.847        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    7.0920        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .56727        .40968        .80389E-03   -1.0939    
  22  Prefactor     .93710        .78330E-01    .12395E-03   -.94856    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.05314e-09
Minuit parameter uncertainties:
  1  8.42594
  2  1.49286e-05
  3  7.64592e-05
  4  1.59939e-06
  5  1.3961e-05
  6  5.05811e-05
  7  23.2577
  8  0.000859073
  9  6.01817e-05
  10  6.60133
  11  9.64242e-06
  12  9.86061e-06
  13  19.3532
  14  0.000130675
  15  0.000711722
  16  2.04404e-06
  17  143.958
  18  6.60815e-05
  19  0.00193451
  20  9.12417e-05
  21  0.411897
  22  0.0783394
Done.

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

Extracting fit parameters...

4FGL J0725.5+0216
   Spectrum: PowerLaw
206    Prefactor:  1.000e-04  5.058e-05  1.000e-04  1.000e+04 ( 1.000e-14)
207        Index:  2.023e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
208        Scale:  2.628e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  9.371e-01  7.834e-02  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  5.673e-01  4.119e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/332881/likelihoodResults_603504001_603763201_4FGL_J0725.5+0216_daily_bin1405.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) = 4971.82707891
delta logL = -9.14730235309e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4971.82698749
delta logL = -5.63077264815e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4971.827     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      244 TOTAL
                     EDM=   .63E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.308        .90712E-02** at limit **
   2  Index         2.4487        6.2154        .50000       -.42405E-06
   3  Normalizat    .56727        .66210E-02    .18080       -.13853E-04
   4  Prefactor     .93711        .12977E-02    .28046E-01   -.56997E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.44875
  Normalizat = 0.567269
  Prefactor  = 0.937105
 **********
 **   18 **HESSE 
 **********

 FCN=   4971.827     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      277 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    172.88        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4487        5.9606        .50000       -.53548    
   3  Normalizat    .56727        .22207E-01    .80386E-03   -1.0939    
   4  Prefactor     .93711        .43805E-02    .12395E-03   -.94856    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.19158e-10
Minuit parameter uncertainties:
  1  0.000755576
  2  195.575
  3  0.0222075
  4  0.00438049
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/332881': 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) = 4971.82698748
delta logL = -3.77194737666e-08

Extracting fit parameters...

4FGL J0725.5+0216
   Spectrum: PowerLaw
206    Prefactor:  1.000e-04  7.556e-04  1.000e-04  1.000e+04 ( 1.000e-14)
207        Index:  2.449e+00  1.956e+02  0.000e+00  1.000e+01 (-1.000e+00)
208        Scale:  2.628e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  9.371e-01  4.380e-03  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  5.673e-01  2.221e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 111.390 2.275

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/332881/cmap_HighResolution_603504001_603763201_4FGL_J0725.5+0216_daily_bin1405.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.24e-02', job_status='DONE', photon_flux_upper_limit='1.65e-07', time_completed='2021-08-27 06:28:02.253586', job_id='332881', GAL2='0.94', fit_tolerance='1e-08', EG2='0.57', EG='0.57', time_epoch_completed='1630070882.25', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='-3.77e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='1405' AND source_name='4FGL J0725.5+0216' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 06:28:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0048>
Subject: Job 332881: <4FGL_J0725.5+0216_daily_bin1405> in cluster <slac> Done

Job <4FGL_J0725.5+0216_daily_bin1405> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Aug 27 06:15:33 2021
Job was executed on host(s) <bullet0048>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 27 06:15:49 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 27 06:15:49 2021
Terminated at Fri Aug 27 06:28:03 2021
Results reported at Fri Aug 27 06:28:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0725.5+0216_daily_bin1405 111.39 2.2749 603504001 603763201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0725.5+0216 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   587.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             318.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   734 sec.
    Turnaround time :                            750 sec.

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

