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


Performing analysis on: 4FGL_J0753.9+0923_daily_bin944
RA = 118.491, Dec = 9.3904
tmin = 484012801, tmax = 484272001
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='996149', job_status='RUN', time_executed='2021-08-28 19:00:18.170512', time_epoch_executed='1630202418.17' WHERE source_name='4FGL J0753.9+0923' and cadence='daily' and bin_id='944'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/996149

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/996149/ft1_4FGL_J0753.9+0923_daily_bin944.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/996149/ft2_4FGL_J0753.9+0923_daily_bin944.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/996149/ft1_4FGL_J0753.9+0923_daily_bin944.fits outfile=/scratch/kocevski/996149/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin944.fits ra=118.491 dec=9.3904 rad=12.0 tmin=484012801.0 tmax=484272001.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 4.57
user 3.16
sys 1.30

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/996149/ft1_filtered_4FGL_J0753.9+0923_daily_bin944.fits evtable="EVENTS" scfile=/scratch/kocevski/996149/ft2_4FGL_J0753.9+0923_daily_bin944.fits sctable="SC_DATA" expcube=/scratch/kocevski/996149/ltcube_484012801_484272001_4FGL_J0753.9+0923_daily_bin944.fits outfile=/scratch/kocevski/996149/expmap_484012801_484272001_4FGL_J0753.9+0923_daily_bin944.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/996149/ltcube_484012801_484272001_4FGL_J0753.9+0923_daily_bin944.fits
.....................!
real 192.51
user 186.09
sys 5.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 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/996149/ft1_filtered_4FGL_J0753.9+0923_daily_bin944.fits scfile=/scratch/kocevski/996149/ft2_4FGL_J0753.9+0923_daily_bin944.fits outfile=/scratch/kocevski/996149/cmap_484012801_484272001_4FGL_J0753.9+0923_daily_bin944.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 1.66
user 0.38
sys 1.19

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/996149/ft1_filtered_4FGL_J0753.9+0923_daily_bin944.fits scfile=/scratch/kocevski/996149/ft2_4FGL_J0753.9+0923_daily_bin944.fits outfile=/scratch/kocevski/996149/cmap_HighResolution_484012801_484272001_4FGL_J0753.9+0923_daily_bin944.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 1.62
user 0.40
sys 1.18

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/996149/ft1_filtered_4FGL_J0753.9+0923_daily_bin944.fits', '/scratch/kocevski/996149/ft2_4FGL_J0753.9+0923_daily_bin944.fits', expMap='/scratch/kocevski/996149/expmap_484012801_484272001_4FGL_J0753.9+0923_daily_bin944.fits', expCube='/scratch/kocevski/996149/ltcube_484012801_484272001_4FGL_J0753.9+0923_daily_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/996149/Model_4FGL_J0753.9+0923_daily_bin944.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/996149/ft1_filtered_4FGL_J0753.9+0923_daily_bin944.fits
Spacecraft file(s): /scratch/kocevski/996149/ft2_4FGL_J0753.9+0923_daily_bin944.fits
Exposure map: /scratch/kocevski/996149/expmap_484012801_484272001_4FGL_J0753.9+0923_daily_bin944.fits
Exposure cube: /scratch/kocevski/996149/ltcube_484012801_484272001_4FGL_J0753.9+0923_daily_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/996149/Model_4FGL_J0753.9+0923_daily_bin944.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) = 6010.6482932

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .44830E-01   1.0000         .10000E-03   10000.    
     3 'norm      '    2.1263       1.0000         .10000E-03   10000.    
     4 'Prefactor '    43.665       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.3525       1.0000         .10000E-03   10000.    
     6 'norm      '    .56057       1.0000         .10000E-03   10000.    
     7 'norm      '    2.2358       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.4985       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .63734       1.0000         .10000E-03   10000.    
    12 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10179E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    26.445       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    10.461       1.0000         .10000E-03   10000.    
    19 'norm      '    10.921       1.0000         .10000E-03   10000.    
    20 'Prefactor '    19.076       1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.3891       1.0000         .10000E-03   10000.    
    22 'norm      '    1.0165       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .70000       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1088       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=   6010.645     FROM MIGRAD    STATUS=CONVERGED    539 CALLS     2790 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    30.730       -.20685E-04** at limit **
   2  norm          .41528E-01    .89418       -.70384E-06    .22292E-03
   3  norm          2.1262        1.2784       -.13446E-06   -.12605E-03
   4  Prefactor     43.675        51.464        .11080E-04    .89358E-04
   5  Prefactor     7.3529        27.951       -.16326E-06    .40480E-04
   6  norm          .56059        .64432       -.10132E-07    .26724E-03
   7  norm          2.2358        1.8291       -.51567E-07    .73921E-04
   8  Prefactor     .10000E-03    1.8484       -.23143E-07** at limit **
   9  Prefactor     4.4695        83.903       -.80321E-04   -.25631E-05
  10  Prefactor     .10000E-03    37.179       -.53925E-05** at limit **
  11  Prefactor     .63816        2.5156       -.20846E-05   -.15996E-02
  12  norm          .10000E-03    9.6393       -.56384E-07** at limit **
  13  Prefactor     .10000E-03    26.201        .11341E-04** at limit **
  14  Prefactor     .10000E-03    68.080       -.16244E-04** at limit **
  15  norm          .10000E-03    46.396        .29467E-04** at limit **
  16  Prefactor     26.440        34.370       -.35505E-05    .76356E-05
  17  norm          .10000E-03    4.3419        .52343E-07** at limit **
  18  norm          10.458        23.855        .43426E-05    .65692E-05
  19  norm          10.921        4.9776       -.21344E-06   -.54365E-05
  20  Prefactor     19.063        44.007       -.17021E-04   -.85094E-05
  21  Prefactor     7.3852        16.685        .15754E-05   -.13411E-04
  22  norm          1.0162        1.0217       -.60113E-07   -.47506E-03
  23  Normalizat    .70010        .19864        .37307E-05    .13340E-03
  24  Prefactor     1.1088        .12539        .26148E-06    .51113E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0415279
  norm       = 2.12625
  Prefactor  = 43.6747
  Prefactor  = 7.35289
  norm       = 0.56059
  norm       = 2.23577
  Prefactor  = 0.0001
  Prefactor  = 4.46948
  Prefactor  = 0.0001
  Prefactor  = 0.638163
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 26.4397
  norm       = 0.0001
  norm       = 10.4576
  norm       = 10.921
  Prefactor  = 19.0635
  Prefactor  = 7.3852
  norm       = 1.0162
  Normalizat = 0.700102
  Prefactor  = 1.10878
 **********
 **   18 **HESSE 
 **********

 FCN=   6010.645     FROM HESSE     STATUS=OK           405 CALLS     3195 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    30.693        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .41528E-01    29.674        .13554E-02   -1.5667    
   3  norm          2.1262        1.2760        .64829E-04   -1.5416    
   4  Prefactor     43.675        52.241        .60669E-04   -1.4385    
   5  Prefactor     7.3529        27.934        .14792E-03   -1.5166    
   6  norm          .56059        .63345        .64996E-04   -1.5558    
   7  norm          2.2358        1.8220        .90344E-04   -1.5409    
   8  Prefactor     .10000E-03    1.8510        .10293E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.4695        84.197        .18983E-03   -1.5285    
  10  Prefactor     .10000E-03    37.387        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .63816        2.5187        .22962E-03   -1.5548    
  12  norm          .10000E-03    9.6598        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    27.123        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    68.043        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    46.258        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     26.440        34.322        .77901E-04   -1.4679    
  17  norm          .10000E-03    4.3593        .15777E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          10.458        23.735        .12388E-03   -1.5061    
  19  norm          10.921        4.9763        .11265E-03   -1.5047    
  20  Prefactor     19.063        44.026        .91703E-04   -1.4834    
  21  Prefactor     7.3852        16.720        .14755E-03   -1.5164    
  22  norm          1.0162        .97889        .75643E-03   -1.5506    
  23  Normalizat    .70010        .22009        .32954E-03   -1.0389    
  24  Prefactor     1.1088        .14358        .17918E-03   -.89186    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.29818e-09
Minuit parameter uncertainties:
  1  8.51197e-06
  2  2.21862
  3  1.27604
  4  52.2956
  5  27.9832
  6  0.633455
  7  1.82203
  8  2.42945e-06
  9  38.8608
  10  7.54977e-05
  11  2.51915
  12  9.51674e-06
  13  9.94011e-05
  14  1.54596e-05
  15  2.47924e-05
  16  34.348
  17  7.68604e-06
  18  23.7565
  19  4.97651
  20  44.1006
  21  16.7305
  22  0.978904
  23  0.220367
  24  0.143629
Done.

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

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  1.000e-04  9.517e-06  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:  1.109e+00  1.436e-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:  7.001e-01  2.204e-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.97e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.30e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/996149/likelihoodResults_484012801_484272001_4FGL_J0753.9+0923_daily_bin944.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6010.6455051
delta logL = -0.000493071095661

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6010.64501232
delta logL = -2.96196049021e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10076E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4662       1.0000          .0000       5.0000    
     3 'Normalizat'    .70024       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1087       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=   6010.645     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      198 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    9.6328        .90712E-02** at limit **
   2  alpha         2.4682        3.5454        .41156       -.10617E-05
   3  Normalizat    .70010        .17738        .74443E-01    .99632E-04
   4  Prefactor     1.1088        .11968        .37265E-01    .10365E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.46824
  Normalizat = 0.700104
  Prefactor  = 1.10878
 **********
 **   18 **HESSE 
 **********

 FCN=   6010.645     FROM HESSE     STATUS=OK            31 CALLS      229 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    9.6289        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.4682        3.5446        .50000       -.12704E-01
   3  Normalizat    .70010        .19511        .32954E-03   -1.0389    
   4  Prefactor     1.1088        .13196        .17918E-03   -.89186    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18507e-11
Minuit parameter uncertainties:
  1  1.16898e-05
  2  2.50021
  3  0.195308
  4  0.131995
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/996149': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6010.64501203
delta logL = 1.79261405719e-09

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  1.000e-04  1.169e-05  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  2.468e+00  2.500e+00  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:  1.109e+00  1.320e-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:  7.001e-01  1.953e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/996149/cmap_HighResolution_484012801_484272001_4FGL_J0753.9+0923_daily_bin944.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.30e-05', job_status='DONE', photon_flux_upper_limit='4.97e-08', time_completed='2021-08-28 19:11:52.587685', job_id='996149', GAL2='1.11', fit_tolerance='1e-08', EG2='0.70', EG='0.70', time_epoch_completed='1630203112.59', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='1.79e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='944' AND source_name='4FGL J0753.9+0923' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 19:11:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0291>
Subject: Job 996149: <4FGL_J0753.9+0923_daily_bin944> in cluster <slac> Done

Job <4FGL_J0753.9+0923_daily_bin944> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Aug 28 18:55:43 2021
Job was executed on host(s) <bullet0291>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 18:55:44 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:55:44 2021
Terminated at Sat Aug 28 19:11:53 2021
Results reported at Sat Aug 28 19:11:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0753.9+0923_daily_bin944 118.491 9.3904 484012801 484272001 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 :                                   707.13 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             258.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   968 sec.
    Turnaround time :                            970 sec.

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

