/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 119 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 = 7425
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0725.5+0216_daily_bin358
RA = 111.39, Dec = 2.2749
tmin = 332121601, tmax = 332380801
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='324572', job_status='RUN', time_executed='2021-08-27 05:52:39.724215', time_epoch_executed='1630068759.72' WHERE source_name='4FGL J0725.5+0216' and cadence='daily' and bin_id='358'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/324572

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/324572/ft1_4FGL_J0725.5+0216_daily_bin358.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/324572/ft2_4FGL_J0725.5+0216_daily_bin358.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/324572/ft1_4FGL_J0725.5+0216_daily_bin358.fits outfile=/scratch/kocevski/324572/ft1_filteredMKT_4FGL_J0725.5+0216_daily_bin358.fits ra=111.39 dec=2.2749 rad=12.0 tmin=332121601.0 tmax=332380801.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.52
user 2.26
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/324572/ft2_4FGL_J0725.5+0216_daily_bin358.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/324572/ft1_filteredMKT_4FGL_J0725.5+0216_daily_bin358.fits evtable="EVENTS" outfile="/scratch/kocevski/324572/ft1_filtered_4FGL_J0725.5+0216_daily_bin358.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.45
user 0.24
sys 0.19

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/324572/ft1_filtered_4FGL_J0725.5+0216_daily_bin358.fits" evtable="EVENTS" scfile=/scratch/kocevski/324572/ft2_4FGL_J0725.5+0216_daily_bin358.fits sctable="SC_DATA" outfile=/scratch/kocevski/324572/ltcube_332121601_332380801_4FGL_J0725.5+0216_daily_bin358.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/324572/ft2_4FGL_J0725.5+0216_daily_bin358.fits
.....................!
real 8.78
user 8.43
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/324572/ft1_filtered_4FGL_J0725.5+0216_daily_bin358.fits evtable="EVENTS" scfile=/scratch/kocevski/324572/ft2_4FGL_J0725.5+0216_daily_bin358.fits sctable="SC_DATA" expcube=/scratch/kocevski/324572/ltcube_332121601_332380801_4FGL_J0725.5+0216_daily_bin358.fits outfile=/scratch/kocevski/324572/expmap_332121601_332380801_4FGL_J0725.5+0216_daily_bin358.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/324572/ltcube_332121601_332380801_4FGL_J0725.5+0216_daily_bin358.fits
.....................!
real 143.25
user 138.12
sys 3.66

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/324572/ft1_filtered_4FGL_J0725.5+0216_daily_bin358.fits scfile=/scratch/kocevski/324572/ft2_4FGL_J0725.5+0216_daily_bin358.fits outfile=/scratch/kocevski/324572/cmap_332121601_332380801_4FGL_J0725.5+0216_daily_bin358.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.73
user 0.31
sys 0.20

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/324572/ft1_filtered_4FGL_J0725.5+0216_daily_bin358.fits scfile=/scratch/kocevski/324572/ft2_4FGL_J0725.5+0216_daily_bin358.fits outfile=/scratch/kocevski/324572/cmap_HighResolution_332121601_332380801_4FGL_J0725.5+0216_daily_bin358.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.52
user 0.30
sys 0.20

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/324572/ft1_filtered_4FGL_J0725.5+0216_daily_bin358.fits evtable="EVENTS" scfile=/scratch/kocevski/324572/ft2_4FGL_J0725.5+0216_daily_bin358.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/324572/Model_4FGL_J0725.5+0216_daily_bin358.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/324572/ft1_filtered_4FGL_J0725.5+0216_daily_bin358.fits.....................!
real 164.42
user 161.59
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/324572/ft1_filtered_4FGL_J0725.5+0216_daily_bin358.fits', '/scratch/kocevski/324572/ft2_4FGL_J0725.5+0216_daily_bin358.fits', expMap='/scratch/kocevski/324572/expmap_332121601_332380801_4FGL_J0725.5+0216_daily_bin358.fits', expCube='/scratch/kocevski/324572/ltcube_332121601_332380801_4FGL_J0725.5+0216_daily_bin358.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/324572/Model_4FGL_J0725.5+0216_daily_bin358.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/324572/ft1_filtered_4FGL_J0725.5+0216_daily_bin358.fits
Spacecraft file(s): /scratch/kocevski/324572/ft2_4FGL_J0725.5+0216_daily_bin358.fits
Exposure map: /scratch/kocevski/324572/expmap_332121601_332380801_4FGL_J0725.5+0216_daily_bin358.fits
Exposure cube: /scratch/kocevski/324572/ltcube_332121601_332380801_4FGL_J0725.5+0216_daily_bin358.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/324572/Model_4FGL_J0725.5+0216_daily_bin358.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) = 13461.3759816

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10438E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .35483E-01   1.0000         .10000E-03   10000.    
     4 'norm      '    5.9689       1.0000         .10000E-03   10000.    
     5 'norm      '    1.9122       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .23581E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.8885       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10362E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    6.8101       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    26.259       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    42.135       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    18.766       1.0000         .10000E-03   10000.    
    17 'Prefactor '    29.026       1.0000         .10000E-03   10000.    
    18 'norm      '    18.398       1.0000         .10000E-03   10000.    
    19 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    13.061       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .62919       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1445       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13461.29     FROM MIGRAD    STATUS=CONVERGED    882 CALLS     2463 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10004E-03    22.981        .46885E-02** at limit **
   2  norm          .10000E-03    7.0492        .18142E-02** at limit **
   3  Prefactor     .10000E-03    57.504        .22664    ** at limit **
   4  norm          5.9684        4.9759        .82178E-03   -.19509E-03
   5  norm          1.9107        2.5470        .19369E-03    .78029E-03
   6  Prefactor     .10000E-03    32.476        .21190    ** at limit **
   7  Prefactor     7.8896        9.0509        .14276E-03    .12168E-03
   8  Prefactor     .10000E-03    6.0620        .18142E-02** at limit **
   9  Prefactor     .10000E-03    46.620        .18142E-02** at limit **
  10  norm          6.8104        2.6952        .11090E-03    .35511E-03
  11  Prefactor     .10000E-03    32.080        .18142E-02** at limit **
  12  norm          26.266        17.842        .78175E-04    .34902E-04
  13  Prefactor     .10000E-03    1.6135        .14366E-02** at limit **
  14  norm          42.142        21.324        .30879E-03   -.37480E-04
  15  Prefactor     .10000E-03    5.4970        .18142E-02** at limit **
  16  Prefactor     18.766        12.667        .92456E-04    .26806E-04
  17  Prefactor     29.034        28.421        .74364E-04   -.58094E-05
  18  norm          18.401        13.867        .93376E-04    .13636E-04
  19  norm          .10000E-03    10.321        .18142E-02** at limit **
  20  norm          13.061        5.8571        .11084E-03   -.15591E-04
  21  Normalizat    .62912        .23342        .71327E-03    .22356E-03
  22  Prefactor     1.1445        .54376E-01    .13886E-03    .68735E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100042
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 5.96837
  norm       = 1.91069
  Prefactor  = 0.000100002
  Prefactor  = 7.88958
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.81037
  Prefactor  = 0.0001
  norm       = 26.2659
  Prefactor  = 0.0001
  norm       = 42.1415
  Prefactor  = 0.000100001
  Prefactor  = 18.7665
  Prefactor  = 29.0339
  norm       = 18.401
  norm       = 0.000100001
  norm       = 13.061
  Normalizat = 0.629121
  Prefactor  = 1.14447
 **********
 **   18 **HESSE 
 **********

 FCN=   13461.29     FROM HESSE     STATUS=OK           340 CALLS     2803 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10004E-03    23.301        .93770E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    7.0493        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    58.435        .22429       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.9684        4.9749        .32871E-04   -1.5219    
   5  norm          1.9107        2.5458        .77477E-05   -1.5432    
   6  Prefactor     .10000E-03    32.831        .20975       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.8896        9.0503        .57105E-05   -1.5146    
   8  Prefactor     .10000E-03    6.0625        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    46.627        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          6.8104        2.6950        .44359E-05   -1.5186    
  11  Prefactor     .10000E-03    32.090        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          26.266        17.843        .31270E-05   -1.4683    
  13  Prefactor     .10000E-03    1.6136        .28732E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          42.142        21.324        .12351E-04   -1.4409    
  15  Prefactor     .10000E-03    5.4974        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     18.766        12.668        .36982E-05   -1.4841    
  17  Prefactor     29.034        28.416        .29746E-05   -1.4630    
  18  norm          18.401        13.867        .37350E-05   -1.4850    
  19  norm          .10000E-03    10.322        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          13.061        5.8570        .44334E-05   -1.4985    
  21  Normalizat    .62912        .23333        .28531E-04   -1.0676    
  22  Prefactor     1.1445        .54335E-01    .27772E-04   -.88058    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.46718e-09
Minuit parameter uncertainties:
  1  0.00197477
  2  1.62498e-06
  3  0.000173152
  4  4.97527
  5  2.54595
  6  0.000518018
  7  9.05189
  8  5.73759e-06
  9  0.000284824
  10  2.69506
  11  5.47809e-05
  12  17.8467
  13  1.74316e-05
  14  21.3274
  15  0.0001422
  16  12.6695
  17  28.4293
  18  13.8696
  19  0.000178481
  20  5.8573
  21  0.233693
  22  0.054338
Done.

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

Extracting fit parameters...

4FGL J0725.5+0216
   Spectrum: PowerLaw
206    Prefactor:  1.000e-04  5.180e-04  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:  1.144e+00  5.434e-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:  6.291e-01  2.337e-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: 9.20e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.91e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/324572/likelihoodResults_332121601_332380801_4FGL_J0725.5+0216_daily_bin358.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) = 13461.2854838
delta logL = -8.70048461366e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13461.2854838
delta logL = -8.70038456924e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96367E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0227       1.0000          .0000       10.000    
     3 'Normalizat'    .62912       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1445       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=   13461.29     FROM MIGRAD    STATUS=CONVERGED     74 CALLS      261 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .23276E-03    7.8853        .21190    ** at limit **
   2  Index         1.8902        1.7935        .50000        .87767E-05
   3  Normalizat    .62912        .32185E-02    .16037       -.11196E-03
   4  Prefactor     1.1445        .82978E-03    .36098E-01   -.14446E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000232756
  Index      = 1.89023
  Normalizat = 0.629119
  Prefactor  = 1.14447
 **********
 **   18 **HESSE 
 **********

 FCN=   13461.29     FROM HESSE     STATUS=NOT POSDEF    41 CALLS      302 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .23276E-03    6.9815        .22655       -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8902        1.7531        .50000       -.67124    
   3  Normalizat    .62912        .31190E-02    .71325E-03   -1.0676    
   4  Prefactor     1.1445        .80959E-03    .13886E-03   -.88058    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.49054e-10
Minuit parameter uncertainties:
  1  0.0608954
  2  1.81769
  3  0.00311902
  4  0.000809589
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/324572': 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) = 13461.285475
delta logL = 1.22494384414e-07

Extracting fit parameters...

4FGL J0725.5+0216
   Spectrum: PowerLaw
206    Prefactor:  2.328e-04  6.090e-02  1.000e-04  1.000e+04 ( 1.000e-14)
207        Index:  1.890e+00  1.818e+00  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:  1.144e+00  8.096e-04  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:  6.291e-01  3.119e-03  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/324572/cmap_HighResolution_332121601_332380801_4FGL_J0725.5+0216_daily_bin358.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.91e-03', job_status='DONE', photon_flux_upper_limit='9.20e-08', time_completed='2021-08-27 06:06:14.381690', job_id='324572', GAL2='1.14', fit_tolerance='1e-08', EG2='0.63', EG='0.63', time_epoch_completed='1630069574.38', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='1.22e-07', ts2='0.00', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='358' AND source_name='4FGL J0725.5+0216' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 06:06:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0135>
Subject: Job 324572: <4FGL_J0725.5+0216_daily_bin358> in cluster <slac> Done

Job <4FGL_J0725.5+0216_daily_bin358> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 27 05:50:32 2021
Job was executed on host(s) <bullet0135>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 27 05:50:34 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 27 05:50:34 2021
Terminated at Fri Aug 27 06:06:15 2021
Results reported at Fri Aug 27 06:06:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0725.5+0216_daily_bin358 111.39 2.2749 332121601 332380801 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 :                                   804.24 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             341.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   940 sec.
    Turnaround time :                            943 sec.

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

