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


Performing analysis on: 4FGL_J1725.0+1152_daily_bin1319
RA = 261.271, Dec = 11.8748
tmin = 581212801, tmax = 581472001
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='687231', job_status='RUN', time_executed='2021-09-17 09:42:22.731258', time_epoch_executed='1631896942.73' WHERE source_name='4FGL J1725.0+1152' and cadence='daily' and bin_id='1319'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/687231

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/687231/ft1_4FGL_J1725.0+1152_daily_bin1319.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/687231/ft2_4FGL_J1725.0+1152_daily_bin1319.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/687231/ft1_4FGL_J1725.0+1152_daily_bin1319.fits outfile=/scratch/kocevski/687231/ft1_filteredMKT_4FGL_J1725.0+1152_daily_bin1319.fits ra=261.271 dec=11.8748 rad=12.0 tmin=581212801.0 tmax=581472001.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.96
user 2.73
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/687231/ft2_4FGL_J1725.0+1152_daily_bin1319.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/687231/ft2_4FGL_J1725.0+1152_daily_bin1319.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/687231/ft1_filteredMKT_4FGL_J1725.0+1152_daily_bin1319.fits evtable="EVENTS" outfile="/scratch/kocevski/687231/ft1_filtered_4FGL_J1725.0+1152_daily_bin1319.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.52
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/687231/ft1_filtered_4FGL_J1725.0+1152_daily_bin1319.fits" evtable="EVENTS" scfile=/scratch/kocevski/687231/ft2_4FGL_J1725.0+1152_daily_bin1319.fits sctable="SC_DATA" outfile=/scratch/kocevski/687231/ltcube_581212801_581472001_4FGL_J1725.0+1152_daily_bin1319.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/687231/ft2_4FGL_J1725.0+1152_daily_bin1319.fits
.....................!
real 12.05
user 11.67
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/687231/ft1_filtered_4FGL_J1725.0+1152_daily_bin1319.fits evtable="EVENTS" scfile=/scratch/kocevski/687231/ft2_4FGL_J1725.0+1152_daily_bin1319.fits sctable="SC_DATA" expcube=/scratch/kocevski/687231/ltcube_581212801_581472001_4FGL_J1725.0+1152_daily_bin1319.fits outfile=/scratch/kocevski/687231/expmap_581212801_581472001_4FGL_J1725.0+1152_daily_bin1319.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/687231/ltcube_581212801_581472001_4FGL_J1725.0+1152_daily_bin1319.fits
.....................!
real 190.79
user 184.45
sys 5.99

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 FHES J1723.5-0501 in ROI with RadialGaussian spatial model.
Added 179 point sources and 1 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 J1725.0+1152 @ 261.271 11.8748

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/687231/ft1_filtered_4FGL_J1725.0+1152_daily_bin1319.fits scfile=/scratch/kocevski/687231/ft2_4FGL_J1725.0+1152_daily_bin1319.fits outfile=/scratch/kocevski/687231/cmap_581212801_581472001_4FGL_J1725.0+1152_daily_bin1319.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=261.271 yref=11.8748 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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/687231/ft1_filtered_4FGL_J1725.0+1152_daily_bin1319.fits scfile=/scratch/kocevski/687231/ft2_4FGL_J1725.0+1152_daily_bin1319.fits outfile=/scratch/kocevski/687231/cmap_HighResolution_581212801_581472001_4FGL_J1725.0+1152_daily_bin1319.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=261.271 yref=11.8748 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.54
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/687231/ft1_filtered_4FGL_J1725.0+1152_daily_bin1319.fits evtable="EVENTS" scfile=/scratch/kocevski/687231/ft2_4FGL_J1725.0+1152_daily_bin1319.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/687231/Model_4FGL_J1725.0+1152_daily_bin1319.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 FHES J1723.5-0501
adding source GAL_V02
Working on...
/scratch/kocevski/687231/ft1_filtered_4FGL_J1725.0+1152_daily_bin1319.fits.....................!
real 58.99
user 57.61
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/687231/ft1_filtered_4FGL_J1725.0+1152_daily_bin1319.fits', '/scratch/kocevski/687231/ft2_4FGL_J1725.0+1152_daily_bin1319.fits', expMap='/scratch/kocevski/687231/expmap_581212801_581472001_4FGL_J1725.0+1152_daily_bin1319.fits', expCube='/scratch/kocevski/687231/ltcube_581212801_581472001_4FGL_J1725.0+1152_daily_bin1319.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/687231/Model_4FGL_J1725.0+1152_daily_bin1319.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1725.0+1152'

4FGL J1725.0+1152
   Spectrum: LogParabola
268         norm:  8.675e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
269        alpha:  1.766e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
270         beta:  5.873e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
271           Eb:  2.148e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/687231/ft1_filtered_4FGL_J1725.0+1152_daily_bin1319.fits
Spacecraft file(s): /scratch/kocevski/687231/ft2_4FGL_J1725.0+1152_daily_bin1319.fits
Exposure map: /scratch/kocevski/687231/expmap_581212801_581472001_4FGL_J1725.0+1152_daily_bin1319.fits
Exposure cube: /scratch/kocevski/687231/ltcube_581212801_581472001_4FGL_J1725.0+1152_daily_bin1319.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/687231/Model_4FGL_J1725.0+1152_daily_bin1319.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) = 5778.5771956

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    36.013       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.7790       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .29629       1.0000         .10000E-03   10000.    
     4 'Prefactor '    132.43       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.1000       1.0000         .10000E-03   10000.    
     9 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    80.140       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.3122       1.0000         .10000E-03   10000.    
    12 'norm      '    .10657E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    10.220       1.0000         .10000E-03   10000.    
    14 'norm      '    .62778E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    25.316       1.0000         .10000E-03   10000.    
    16 'norm      '    2.4485       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10657E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.2679       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .81985       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5778.545     FROM MIGRAD    STATUS=CONVERGED    409 CALLS     2212 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     35.984        44.807        .42246E-06    .10485E-03
   2  Prefactor     7.7810        17.135        .39626E-06    .16327E-04
   3  Prefactor     .12926E-03    50.728       -.10924E-05** at limit **
   4  Prefactor     132.49        110.94        .10764E-06    .19440E-04
   5  Prefactor     .10000E-03    7.0276        .48532E-07** at limit **
   6  Prefactor     .10000E-03    6.5783        .13213E-06** at limit **
   7  norm          .10000E-03    1.1936        .75263E-07** at limit **
   8  Prefactor     8.0928        21.155       -.42441E-06    .86763E-04
   9  norm          .10000E-03    12.930        .10136E-05** at limit **
  10  Prefactor     79.685        178.48        .34245E-05    .43793E-04
  11  Prefactor     2.3117        4.2658        .54555E-06    .65216E-04
  12  norm          .10000E-03    64.287       -.84975E-05** at limit **
  13  norm          10.215        14.049        .31384E-06    .15234E-03
  14  norm          .10000E-03    73.776       -.34301E-04** at limit **
  15  norm          25.389        91.214        .14816E-06   -.21868E-05
  16  norm          2.4471        1.6206        .12239E-07    .19101E-03
  17  Prefactor     .10000E-03    24.688        .78024E-07** at limit **
  18  Normalizat    1.2675        .34023       -.91510E-06    .10800E-03
  19  Prefactor     .82002        .96852E-01    .55931E-07    .37669E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 35.9841
  Prefactor  = 7.78099
  Prefactor  = 0.000129255
  Prefactor  = 132.495
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.0928
  norm       = 0.0001
  Prefactor  = 79.6852
  Prefactor  = 2.31166
  norm       = 0.0001
  norm       = 10.2145
  norm       = 0.0001
  norm       = 25.3888
  norm       = 2.44711
  Prefactor  = 0.0001
  Normalizat = 1.26751
  Prefactor  = 0.820016
 **********
 **   18 **HESSE 
 **********

 FCN=   5778.545     FROM HESSE     STATUS=OK           278 CALLS     2490 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     35.984        44.761        .66782E-04   -1.4508    
   2  Prefactor     7.7810        17.125        .14377E-03   -1.5150    
   3  Prefactor     .12926E-03    53.088        .13367       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     132.49        110.95        .17496E-03   -1.3401    
   5  Prefactor     .10000E-03    7.0366        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.5923        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.1998        .81091E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.0928        21.095        .14087E-03   -1.5139    
   9  norm          .10000E-03    12.943        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     79.685        179.58        .22432E-03   -1.3920    
  11  Prefactor     2.3117        4.2357        .20015E-03   -1.5404    
  12  norm          .10000E-03    65.138        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          10.215        14.080        .12534E-03   -1.5069    
  14  norm          .10000E-03    73.476        .42080E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          25.389        91.352        .79615E-04   -1.4700    
  16  norm          2.4471        1.6238        .73850E-04   -1.5395    
  17  Prefactor     .10000E-03    24.700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2675        .40270        .44676E-03   -.84542    
  19  Prefactor     .82002        .11586        .15407E-03   -.98995    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.33273e-10
Minuit parameter uncertainties:
  1  44.803
  2  17.1355
  3  0.0788887
  4  111.122
  5  5.66146e-07
  6  3.02705e-06
  7  6.59199e-07
  8  21.1148
  9  1.31488e-07
  10  180.827
  11  4.23621
  12  5.82902e-05
  13  14.0846
  14  8.16538e-05
  15  91.8608
  16  1.62378
  17  3.63625e-06
  18  0.403695
  19  0.115893
Done.

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

Extracting fit parameters...

4FGL J1725.0+1152
   Spectrum: LogParabola
268         norm:  1.000e-04  1.315e-07  1.000e-04  1.000e+04 ( 1.000e-13)
269        alpha:  1.766e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
270         beta:  5.873e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
271           Eb:  2.148e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  8.200e-01  1.159e-01  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.268e+00  4.037e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 261.271 11.875
Photon Flux Upper Limit: 9.71e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.28e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/687231/likelihoodResults_581212801_581472001_4FGL_J1725.0+1152_daily_bin1319.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) = 5778.54523925
delta logL = -0.000368225058082

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5778.54487105
delta logL = -2.2857420845e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10056E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7738       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2676       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82001       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+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=   5778.545     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      244 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    359.19        .18142E-02** at limit **
   2  alpha         1.8539        2.7863        .50000       -.26582E-06
   3  Normalizat    1.2675        .48127E-01    .44676E-03    .13499E-02
   4  Prefactor     .82002        .13776E-01    .15407E-03    .34475E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100007
  alpha      = 1.85387
  Normalizat = 1.26752
  Prefactor  = 0.820016
 **********
 **   18 **HESSE 
 **********

 FCN=   5778.545     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      273 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    1425.1        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8539        2.9798        .50000       -.26142    
   3  Normalizat    1.2675        .11147        .89351E-04   -.84541    
   4  Prefactor     .82002        .31911E-01    .30813E-04   -.98995    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.11977e-09
Minuit parameter uncertainties:
  1  0.00645995
  2  1911.02
  3  0.111489
  4  0.0319117
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/687231': 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) = 5778.54487097
delta logL = 5.52972778678e-08

Extracting fit parameters...

4FGL J1725.0+1152
   Spectrum: LogParabola
268         norm:  1.000e-04  6.460e-03  1.000e-04  1.000e+04 ( 1.000e-13)
269        alpha:  1.854e+00  1.911e+03  0.000e+00  5.000e+00 ( 1.000e+00)
270         beta:  5.873e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
271           Eb:  2.148e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  8.200e-01  3.191e-02  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.268e+00  1.115e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 261.271 11.875

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/687231/cmap_HighResolution_581212801_581472001_4FGL_J1725.0+1152_daily_bin1319.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.28e-04', job_status='DONE', photon_flux_upper_limit='9.71e-08', time_completed='2021-09-17 09:52:13.424478', job_id='687231', GAL2='0.82', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1631897533.42', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='5.53e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.77' WHERE bin_id='1319' AND source_name='4FGL J1725.0+1152' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 17 09:52:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 687231: <4FGL_J1725.0+1152_daily_bin1319> in cluster <slac> Done

Job <4FGL_J1725.0+1152_daily_bin1319> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 17 09:40:19 2021
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 17 09:40:21 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 17 09:40:21 2021
Terminated at Fri Sep 17 09:52:14 2021
Results reported at Fri Sep 17 09:52:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1725.0+1152_daily_bin1319 261.271 11.8748 581212801 581472001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1725.0+1152 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   577.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             286.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   712 sec.
    Turnaround time :                            715 sec.

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

