/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 21 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 = 7397
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0753.9+0923_daily_bin28
RA = 118.491, Dec = 9.3904
tmin = 246585601, tmax = 246844801
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='989320', job_status='RUN', time_executed='2021-08-28 18:36:08.663680', time_epoch_executed='1630200968.66' WHERE source_name='4FGL J0753.9+0923' and cadence='daily' and bin_id='28'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/989320

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/989320/ft1_4FGL_J0753.9+0923_daily_bin28.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/989320/ft2_4FGL_J0753.9+0923_daily_bin28.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/989320/ft1_4FGL_J0753.9+0923_daily_bin28.fits outfile=/scratch/kocevski/989320/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin28.fits ra=118.491 dec=9.3904 rad=12.0 tmin=246585601.0 tmax=246844801.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 1.70
user 1.24
sys 0.43

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/989320/ft2_4FGL_J0753.9+0923_daily_bin28.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/989320/ft2_4FGL_J0753.9+0923_daily_bin28.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/989320/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin28.fits evtable="EVENTS" outfile="/scratch/kocevski/989320/ft1_filtered_4FGL_J0753.9+0923_daily_bin28.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.76
user 0.33
sys 0.41

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/989320/ft1_filtered_4FGL_J0753.9+0923_daily_bin28.fits" evtable="EVENTS" scfile=/scratch/kocevski/989320/ft2_4FGL_J0753.9+0923_daily_bin28.fits sctable="SC_DATA" outfile=/scratch/kocevski/989320/ltcube_246585601_246844801_4FGL_J0753.9+0923_daily_bin28.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/989320/ft2_4FGL_J0753.9+0923_daily_bin28.fits
.....................!
real 13.48
user 12.88
sys 0.56

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/989320/ft1_filtered_4FGL_J0753.9+0923_daily_bin28.fits evtable="EVENTS" scfile=/scratch/kocevski/989320/ft2_4FGL_J0753.9+0923_daily_bin28.fits sctable="SC_DATA" expcube=/scratch/kocevski/989320/ltcube_246585601_246844801_4FGL_J0753.9+0923_daily_bin28.fits outfile=/scratch/kocevski/989320/expmap_246585601_246844801_4FGL_J0753.9+0923_daily_bin28.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/989320/ltcube_246585601_246844801_4FGL_J0753.9+0923_daily_bin28.fits
.....................!
real 190.62
user 185.08
sys 5.15

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 166 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 J0753.9+0923 @ 118.491 9.3904

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/989320/ft1_filtered_4FGL_J0753.9+0923_daily_bin28.fits scfile=/scratch/kocevski/989320/ft2_4FGL_J0753.9+0923_daily_bin28.fits outfile=/scratch/kocevski/989320/cmap_246585601_246844801_4FGL_J0753.9+0923_daily_bin28.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=118.491 yref=9.3904 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.80
user 0.38
sys 0.40

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/989320/ft1_filtered_4FGL_J0753.9+0923_daily_bin28.fits scfile=/scratch/kocevski/989320/ft2_4FGL_J0753.9+0923_daily_bin28.fits outfile=/scratch/kocevski/989320/cmap_HighResolution_246585601_246844801_4FGL_J0753.9+0923_daily_bin28.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=118.491 yref=9.3904 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.79
user 0.38
sys 0.40

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/989320/ft1_filtered_4FGL_J0753.9+0923_daily_bin28.fits evtable="EVENTS" scfile=/scratch/kocevski/989320/ft2_4FGL_J0753.9+0923_daily_bin28.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/989320/Model_4FGL_J0753.9+0923_daily_bin28.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/989320/ft1_filtered_4FGL_J0753.9+0923_daily_bin28.fits.....................!
real 115.51
user 113.56
sys 1.51

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/989320/ft1_filtered_4FGL_J0753.9+0923_daily_bin28.fits', '/scratch/kocevski/989320/ft2_4FGL_J0753.9+0923_daily_bin28.fits', expMap='/scratch/kocevski/989320/expmap_246585601_246844801_4FGL_J0753.9+0923_daily_bin28.fits', expCube='/scratch/kocevski/989320/ltcube_246585601_246844801_4FGL_J0753.9+0923_daily_bin28.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/989320/Model_4FGL_J0753.9+0923_daily_bin28.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0753.9+0923'

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  2.323e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  2.464e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
261         beta:  3.240e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
262           Eb:  1.320e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/989320/ft1_filtered_4FGL_J0753.9+0923_daily_bin28.fits
Spacecraft file(s): /scratch/kocevski/989320/ft2_4FGL_J0753.9+0923_daily_bin28.fits
Exposure map: /scratch/kocevski/989320/expmap_246585601_246844801_4FGL_J0753.9+0923_daily_bin28.fits
Exposure cube: /scratch/kocevski/989320/ltcube_246585601_246844801_4FGL_J0753.9+0923_daily_bin28.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/989320/Model_4FGL_J0753.9+0923_daily_bin28.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) = 8905.44118174

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .11315       1.0000         .10000E-03   10000.    
     3 'norm      '    1.9227       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    55.752       1.0000         .10000E-03   10000.    
     6 'norm      '    1.4655       1.0000         .10000E-03   10000.    
     7 'norm      '    3.6195       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    53.598       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .88114       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.1783       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    71.571       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.2119       1.0000         .10000E-03   10000.    
    18 'norm      '    31.395       1.0000         .10000E-03   10000.    
    19 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    22.084       1.0000         .10000E-03   10000.    
    22 'norm      '    1.2891       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2951       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .76859       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8905.417     FROM MIGRAD    STATUS=CONVERGED    534 CALLS     2712 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.3461        .50727E-07** at limit **
   2  norm          .12156        .66711        .22094E-06   -.91417E-04
   3  norm          1.9227        1.1750        .10746E-06   -.71663E-04
   4  Prefactor     .10000E-03    42.921        .21265E-06** at limit **
   5  Prefactor     55.746        33.479       -.74454E-06   -.17293E-03
   6  norm          1.4657        1.2189        .10192E-06   -.14882E-04
   7  norm          3.6194        1.9385        .13875E-06   -.22199E-03
   8  Prefactor     .10000E-03    3.9170        .15392E-07** at limit **
   9  Prefactor     .10000E-03    11.476       -.15235E-06** at limit **
  10  Prefactor     53.596        35.773        .33862E-06   -.47614E-04
  11  Prefactor     .10000E-03    1.1465        .37095E-07** at limit **
  12  norm          .89896        9.8061        .46547E-05   -.97147E-03
  13  Prefactor     3.1753        5.2915       -.27260E-05   -.56550E-03
  14  Prefactor     .10000E-03    26.680        .14318E-06** at limit **
  15  norm          71.473        100.89       -.99782E-05   -.17311E-03
  16  Prefactor     .10000E-03    11.346        .22836E-06** at limit **
  17  norm          4.2119        6.9413        .43972E-06   -.12503E-04
  18  norm          31.389        19.369       -.15157E-06   -.12302E-03
  19  norm          .10000E-03    1.1002        .68442E-07** at limit **
  20  Prefactor     .10000E-03    42.579        .38931E-06** at limit **
  21  Prefactor     22.083        11.387        .87299E-07   -.82965E-04
  22  norm          1.2891        .86283        .11349E-06    .32617E-04
  23  Normalizat    1.2951        .16796       -.17787E-05   -.51789E-03
  24  Prefactor     .76858        .10332       -.36348E-06   -.68855E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.121564
  norm       = 1.92269
  Prefactor  = 0.0001
  Prefactor  = 55.746
  norm       = 1.46571
  norm       = 3.61935
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 53.5962
  Prefactor  = 0.0001
  norm       = 0.898964
  Prefactor  = 3.1753
  Prefactor  = 0.0001
  norm       = 71.4726
  Prefactor  = 0.0001
  norm       = 4.21194
  norm       = 31.3888
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.0826
  norm       = 1.28908
  Normalizat = 1.29508
  Prefactor  = 0.768583
 **********
 **   18 **HESSE 
 **********

 FCN=   8905.417     FROM HESSE     STATUS=OK           403 CALLS     3115 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.3468        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .12156        4.6713        .14258E-02   -1.5638    
   3  norm          1.9227        1.1709        .76125E-04   -1.5431    
   4  Prefactor     .10000E-03    43.066        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     55.746        33.423        .53723E-04   -1.4213    
   6  norm          1.4657        1.2015        .91397E-04   -1.5466    
   7  norm          3.6194        1.9360        .89495E-04   -1.5327    
   8  Prefactor     .10000E-03    3.9354        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    11.479        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     53.596        35.834        .54786E-04   -1.4242    
  11  Prefactor     .10000E-03    1.1839        .19726E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .89896        7.2369        .14693       -1.5518    
  13  Prefactor     3.1753        5.2941        .22731E-03   -1.5352    
  14  Prefactor     .10000E-03    26.685        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          71.473        102.76        .23726E-03   -1.4015    
  16  Prefactor     .10000E-03    11.363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.2119        6.9356        .19636E-03   -1.5297    
  18  norm          31.389        19.420        .71511E-04   -1.4587    
  19  norm          .10000E-03    1.1114        .96655E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    42.975        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     22.083        11.430        .85234E-04   -1.4768    
  22  norm          1.2891        .85380        .68850E-04   -1.5481    
  23  Normalizat    1.2951        .19240        .27113E-03   -.83713    
  24  Prefactor     .76858        .11955        .21302E-03   -1.0090    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30835e-08
Minuit parameter uncertainties:
  1  4.19732e-06
  2  1.50664
  3  1.17095
  4  5.50743e-05
  5  33.4344
  6  1.20156
  7  1.93608
  8  4.89566e-06
  9  1.10754e-05
  10  35.8487
  11  5.13175e-06
  12  5.10183
  13  5.2949
  14  2.21709e-05
  15  103.017
  16  3.16312e-05
  17  6.93694
  18  19.4238
  19  2.63979e-06
  20  0.000154814
  21  11.4308
  22  0.853808
  23  0.192505
  24  0.119589
Done.

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

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  8.990e-01  5.102e+00  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  2.464e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
261         beta:  3.240e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
262           Eb:  1.320e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
545    Prefactor:  7.686e-01  1.196e-01  0.000e+00  1.000e+01 ( 1.000e+00)
546        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
547        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.295e+00  1.925e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 118.491 9.390
Photon Flux Upper Limit: 4.80e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.22e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/989320/likelihoodResults_246585601_246844801_4FGL_J0753.9+0923_daily_bin28.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) = 8905.41681101
delta logL = 8.42883491714e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8905.41665065
delta logL = 0.000168780568856

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .90037       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2952       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76857       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8905.417     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      227 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .99011        146.14        .12809        .33433E-03
   2  alpha         2.3960        3.7798        .41193        .44864E-04
   3  Normalizat    1.2951        .18957E-01    .61301E-01    .24807E-04
   4  Prefactor     .76855        .11869E-01    .43307E-01    .10379E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.990114
  alpha      = 2.39598
  Normalizat = 1.29512
  Prefactor  = 0.768546
 **********
 **   18 **HESSE 
 **********

 FCN=   8905.417     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      262 TOTAL
                     EDM=   .74E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .99011        8705.1        .52857E-02   -1.5509    
   2  alpha         2.3960        3.5269        .10597       -.41621E-01
   3  Normalizat    1.2951        .14519        .27113E-03   -.83712    
   4  Prefactor     .76855        .10169        .21302E-03   -1.0090    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.44184e-07
Minuit parameter uncertainties:
  1  208.334
  2  49.5805
  3  0.14524
  4  0.101718
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/989320': 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) = 8905.4166313
delta logL = 0.00018813319366

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  9.901e-01  2.083e+02  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  2.396e+00  4.958e+01  0.000e+00  5.000e+00 ( 1.000e+00)
261         beta:  3.240e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
262           Eb:  1.320e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
545    Prefactor:  7.685e-01  1.017e-01  0.000e+00  1.000e+01 ( 1.000e+00)
546        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
547        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.295e+00  1.452e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 118.491 9.390

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/989320/cmap_HighResolution_246585601_246844801_4FGL_J0753.9+0923_daily_bin28.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.22e-05', job_status='DONE', photon_flux_upper_limit='4.80e-08', time_completed='2021-08-28 18:50:27.446703', job_id='989320', GAL2='0.77', fit_tolerance='1e-08', EG2='1.30', EG='1.30', time_epoch_completed='1630201827.45', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='1.88e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='28' AND source_name='4FGL J0753.9+0923' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 18:50:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 989320: <4FGL_J0753.9+0923_daily_bin28> in cluster <slac> Done

Job <4FGL_J0753.9+0923_daily_bin28> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Aug 28 18:35:33 2021
Job was executed on host(s) <bullet0203>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 18:35:34 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 18:35:34 2021
Terminated at Sat Aug 28 18:50:28 2021
Results reported at Sat Aug 28 18:50:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0753.9+0923_daily_bin28 118.491 9.3904 246585601 246844801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0753.9+0923 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   860.44 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             324.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   893 sec.
    Turnaround time :                            895 sec.

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

