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


Performing analysis on: 4FGL_J0753.9+0923_daily_bin380
RA = 118.491, Dec = 9.3904
tmin = 337824001, tmax = 338083201
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='992394', job_status='RUN', time_executed='2021-08-28 18:48:23.007509', time_epoch_executed='1630201703.01' WHERE source_name='4FGL J0753.9+0923' and cadence='daily' and bin_id='380'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/992394

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/992394/ft1_4FGL_J0753.9+0923_daily_bin380.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/992394/ft2_4FGL_J0753.9+0923_daily_bin380.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/992394/ft1_4FGL_J0753.9+0923_daily_bin380.fits outfile=/scratch/kocevski/992394/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin380.fits ra=118.491 dec=9.3904 rad=12.0 tmin=337824001.0 tmax=338083201.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 3.65
user 3.24
sys 0.38

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/992394/ft1_filtered_4FGL_J0753.9+0923_daily_bin380.fits evtable="EVENTS" scfile=/scratch/kocevski/992394/ft2_4FGL_J0753.9+0923_daily_bin380.fits sctable="SC_DATA" expcube=/scratch/kocevski/992394/ltcube_337824001_338083201_4FGL_J0753.9+0923_daily_bin380.fits outfile=/scratch/kocevski/992394/expmap_337824001_338083201_4FGL_J0753.9+0923_daily_bin380.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/992394/ltcube_337824001_338083201_4FGL_J0753.9+0923_daily_bin380.fits
.....................!
real 190.91
user 185.23
sys 5.18

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/992394/ft1_filtered_4FGL_J0753.9+0923_daily_bin380.fits scfile=/scratch/kocevski/992394/ft2_4FGL_J0753.9+0923_daily_bin380.fits outfile=/scratch/kocevski/992394/cmap_337824001_338083201_4FGL_J0753.9+0923_daily_bin380.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.71
user 0.37
sys 0.32

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/992394/ft1_filtered_4FGL_J0753.9+0923_daily_bin380.fits scfile=/scratch/kocevski/992394/ft2_4FGL_J0753.9+0923_daily_bin380.fits outfile=/scratch/kocevski/992394/cmap_HighResolution_337824001_338083201_4FGL_J0753.9+0923_daily_bin380.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.72
user 0.37
sys 0.34

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10249E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.4511       1.0000         .10000E-03   10000.    
     4 'Prefactor '    19.920       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10351E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    6.4403       1.0000         .10000E-03   10000.    
     7 'norm      '    1.6926       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .29875       1.0000         .10000E-03   10000.    
     9 'Prefactor '    26.998       1.0000         .10000E-03   10000.    
    10 'Prefactor '    22.893       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .88304       1.0000         .10000E-03   10000.    
    12 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11084E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .11643E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    17.898       1.0000         .10000E-03   10000.    
    17 'norm      '    52.409       1.0000         .10000E-03   10000.    
    18 'norm      '    .14602E-02   1.0000         .10000E-03   10000.    
    19 'norm      '    3.9558       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.6871       1.0000         .10000E-03   10000.    
    21 'Prefactor '    12.799       1.0000         .10000E-03   10000.    
    22 'norm      '    1.5605       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .75340       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2181       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=   6990.710     FROM MIGRAD    STATUS=CONVERGED    569 CALLS     3356 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    38.396       -.19639E-05** at limit **
   2  norm          .10000E-03    1.1919        .23591E-06** at limit **
   3  norm          2.4513        1.2136        .32199E-07    .41751E-03
   4  Prefactor     19.910        44.421       -.60313E-05   -.16053E-04
   5  Prefactor     .10000E-03    18.083        .32189E-08** at limit **
   6  norm          6.4626        2.5469        .98316E-07    .26521E-02
   7  norm          1.6921        1.5703        .36642E-07   -.33595E-03
   8  Prefactor     .13162        8.9126       -.18482E-05    .23283E-03
   9  Prefactor     26.972        31.501        .21914E-05    .10865E-05
  10  Prefactor     22.904        25.186        .10770E-04    .11746E-03
  11  Prefactor     .87750        2.9239       -.76262E-06   -.57938E-03
  12  norm          .10000E-03    7.2444        .99724E-08** at limit **
  13  Prefactor     .10000E-03    5.4164        .10889E-08** at limit **
  14  Prefactor     .10000E-03    48.425        .18445E-04** at limit **
  15  norm          .10000E-03    52.416       -.16835E-04** at limit **
  16  Prefactor     17.882        34.271       -.97418E-05    .23413E-04
  17  norm          52.407        17.064        .42076E-06    .75935E-05
  18  norm          .10000E-03    91.355       -.14630E-04** at limit **
  19  norm          3.9559        3.6610        .16918E-06   -.14736E-03
  20  Prefactor     1.6082        121.74        .61180E-04   -.44319E-05
  21  Prefactor     12.788        15.214       -.21723E-05   -.14596E-03
  22  norm          1.5600        1.0107       -.39200E-07   -.39716E-03
  23  Normalizat    .75408        .22675       -.30816E-05    .18747E-03
  24  Prefactor     1.2179        .13329        .10391E-05    .66665E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.4513
  Prefactor  = 19.9098
  Prefactor  = 0.0001
  norm       = 6.46255
  norm       = 1.69214
  Prefactor  = 0.131618
  Prefactor  = 26.9718
  Prefactor  = 22.9036
  Prefactor  = 0.8775
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 17.8823
  norm       = 52.4068
  norm       = 0.000100001
  norm       = 3.95591
  Prefactor  = 1.60817
  Prefactor  = 12.7879
  norm       = 1.56004
  Normalizat = 0.754082
  Prefactor  = 1.21792
 **********
 **   18 **HESSE 
 **********

 FCN=   6990.710     FROM HESSE     STATUS=OK           409 CALLS     3765 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    38.420        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.3848        .17352E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.4513        1.2132        .62194E-04   -1.5395    
   4  Prefactor     19.910        44.234        .89739E-04   -1.4815    
   5  Prefactor     .10000E-03    18.134        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          6.4626        3.6947        .64393E-04   -1.5199    
   7  norm          1.6921        1.5580        .96577E-04   -1.5448    
   8  Prefactor     .13162        54.985        .55206E-01   -1.5635    
   9  Prefactor     26.972        31.491        .77101E-04   -1.4669    
  10  Prefactor     22.904        25.596        .83716E-04   -1.4750    
  11  Prefactor     .87750        3.8072        .22905E-02   -1.5521    
  12  norm          .10000E-03    7.2504        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.4252        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    48.381        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    52.395        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     17.882        34.111        .94670E-04   -1.4862    
  17  norm          52.407        17.057        .55401E-04   -1.4259    
  18  norm          .10000E-03    93.034        .40984E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.9559        3.6503        .14765E-03   -1.5310    
  20  Prefactor     1.6082        118.89        .32416E-03   -1.5454    
  21  Prefactor     12.788        15.327        .11196E-03   -1.4993    
  22  norm          1.5600        1.0091        .65282E-04   -1.5458    
  23  Normalizat    .75408        .25365        .35525E-03   -1.0180    
  24  Prefactor     1.2179        .14949        .19052E-03   -.85782    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.13609e-09
Minuit parameter uncertainties:
  1  5.78747e-06
  2  3.62495e-05
  3  1.21326
  4  44.307
  5  2.3122e-05
  6  3.6948
  7  1.55805
  8  5.38327
  9  31.5106
  10  25.6084
  11  3.65576
  12  3.66788e-06
  13  1.26458e-06
  14  7.09199e-06
  15  4.16707e-06
  16  34.1484
  17  17.0587
  18  0.000468105
  19  3.65048
  20  27.7111
  21  15.3313
  22  1.00915
  23  0.254046
  24  0.149544
Done.

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

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  1.000e-04  3.668e-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.218e+00  1.495e-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.541e-01  2.540e-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.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.10e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/992394/likelihoodResults_337824001_338083201_4FGL_J0753.9+0923_daily_bin380.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) = 6990.7110613
delta logL = -0.00065560830717

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6990.71040587
delta logL = -1.79773451237e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10117E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4678       1.0000          .0000       5.0000    
     3 'Normalizat'    .75399       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2180       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=   6990.710     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      199 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    8.1833        .90712E-02** at limit **
   2  alpha         2.4716        3.5854        .41156       -.26689E-05
   3  Normalizat    .75408        .19128        .80236E-01    .18163E-03
   4  Prefactor     1.2179        .12807        .34219E-01   -.12461E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  alpha      = 2.47156
  Normalizat = 0.754083
  Prefactor  = 1.21792
 **********
 **   18 **HESSE 
 **********

 FCN=   6990.710     FROM HESSE     STATUS=OK            31 CALLS      230 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.3198        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.4716        3.5490        .50000       -.11375E-01
   3  Normalizat    .75408        .21016        .35525E-03   -1.0180    
   4  Prefactor     1.2179        .14107        .19052E-03   -.85782    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.88171e-10
Minuit parameter uncertainties:
  1  0.00020826
  2  2.51403
  3  0.210389
  4  0.141116
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/992394': 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) = 6990.71040569
delta logL = 7.46967998566e-09

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  1.000e-04  2.083e-04  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  2.472e+00  2.514e+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.218e+00  1.411e-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.541e-01  2.104e-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/992394/cmap_HighResolution_337824001_338083201_4FGL_J0753.9+0923_daily_bin380.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.10e-05', job_status='DONE', photon_flux_upper_limit='4.54e-08', time_completed='2021-08-28 19:01:37.533152', job_id='992394', GAL2='1.22', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1630202497.53', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='7.47e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='380' AND source_name='4FGL J0753.9+0923' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 19:01:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 992394: <4FGL_J0753.9+0923_daily_bin380> in cluster <slac> Done

Job <4FGL_J0753.9+0923_daily_bin380> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 28 18:45:26 2021
Job was executed on host(s) <bullet0269>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 18:45:27 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:45:27 2021
Terminated at Sat Aug 28 19:01:38 2021
Results reported at Sat Aug 28 19:01:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0753.9+0923_daily_bin380 118.491 9.3904 337824001 338083201 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 :                                   795.22 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             276.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   970 sec.
    Turnaround time :                            972 sec.

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

