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


Performing analysis on: 4FGL_J2250.0+3825_daily_bin73
RA = 342.514, Dec = 38.4247
tmin = 258249601, tmax = 258508801
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='491280', job_status='RUN', time_executed='2021-09-28 21:36:17.342381', time_epoch_executed='1632890177.34' WHERE source_name='4FGL J2250.0+3825' and cadence='daily' and bin_id='73'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/491280

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

Retrieving the FT1 file...

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

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

Retrieving 33 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/491280/ft1_4FGL_J2250.0+3825_daily_bin73.fits


Retrieving the FT1 file...

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

Retrieving 33 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/491280/ft2_4FGL_J2250.0+3825_daily_bin73.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/491280/ft1_4FGL_J2250.0+3825_daily_bin73.fits outfile=/scratch/kocevski/491280/ft1_filteredMKT_4FGL_J2250.0+3825_daily_bin73.fits ra=342.514 dec=38.4247 rad=12.0 tmin=258249601.0 tmax=258508801.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.17
user 0.97
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/491280/ft2_4FGL_J2250.0+3825_daily_bin73.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/491280/ft2_4FGL_J2250.0+3825_daily_bin73.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/491280/ft1_filteredMKT_4FGL_J2250.0+3825_daily_bin73.fits evtable="EVENTS" outfile="/scratch/kocevski/491280/ft1_filtered_4FGL_J2250.0+3825_daily_bin73.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.49
user 0.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/491280/ft1_filtered_4FGL_J2250.0+3825_daily_bin73.fits" evtable="EVENTS" scfile=/scratch/kocevski/491280/ft2_4FGL_J2250.0+3825_daily_bin73.fits sctable="SC_DATA" outfile=/scratch/kocevski/491280/ltcube_258249601_258508801_4FGL_J2250.0+3825_daily_bin73.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/491280/ft2_4FGL_J2250.0+3825_daily_bin73.fits
.....................!
real 9.29
user 8.93
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/491280/ft1_filtered_4FGL_J2250.0+3825_daily_bin73.fits evtable="EVENTS" scfile=/scratch/kocevski/491280/ft2_4FGL_J2250.0+3825_daily_bin73.fits sctable="SC_DATA" expcube=/scratch/kocevski/491280/ltcube_258249601_258508801_4FGL_J2250.0+3825_daily_bin73.fits outfile=/scratch/kocevski/491280/expmap_258249601_258508801_4FGL_J2250.0+3825_daily_bin73.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/491280/ltcube_258249601_258508801_4FGL_J2250.0+3825_daily_bin73.fits
.....................!
real 190.18
user 184.55
sys 5.33

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 J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 163 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 J2250.0+3825 @ 342.514 38.4247

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/491280/ft1_filtered_4FGL_J2250.0+3825_daily_bin73.fits scfile=/scratch/kocevski/491280/ft2_4FGL_J2250.0+3825_daily_bin73.fits outfile=/scratch/kocevski/491280/cmap_258249601_258508801_4FGL_J2250.0+3825_daily_bin73.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=342.514 yref=38.4247 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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/491280/ft1_filtered_4FGL_J2250.0+3825_daily_bin73.fits scfile=/scratch/kocevski/491280/ft2_4FGL_J2250.0+3825_daily_bin73.fits outfile=/scratch/kocevski/491280/cmap_HighResolution_258249601_258508801_4FGL_J2250.0+3825_daily_bin73.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=342.514 yref=38.4247 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.57
user 0.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/491280/ft1_filtered_4FGL_J2250.0+3825_daily_bin73.fits evtable="EVENTS" scfile=/scratch/kocevski/491280/ft2_4FGL_J2250.0+3825_daily_bin73.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/491280/Model_4FGL_J2250.0+3825_daily_bin73.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 CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/scratch/kocevski/491280/ft1_filtered_4FGL_J2250.0+3825_daily_bin73.fits.....................!
real 120.31
user 118.90
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/491280/ft1_filtered_4FGL_J2250.0+3825_daily_bin73.fits', '/scratch/kocevski/491280/ft2_4FGL_J2250.0+3825_daily_bin73.fits', expMap='/scratch/kocevski/491280/expmap_258249601_258508801_4FGL_J2250.0+3825_daily_bin73.fits', expCube='/scratch/kocevski/491280/ltcube_258249601_258508801_4FGL_J2250.0+3825_daily_bin73.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/491280/Model_4FGL_J2250.0+3825_daily_bin73.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2250.0+3825'

4FGL J2250.0+3825
   Spectrum: PowerLaw
363    Prefactor:  3.066e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
364        Index:  1.733e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
365        Scale:  5.055e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/491280/ft1_filtered_4FGL_J2250.0+3825_daily_bin73.fits
Spacecraft file(s): /scratch/kocevski/491280/ft2_4FGL_J2250.0+3825_daily_bin73.fits
Exposure map: /scratch/kocevski/491280/expmap_258249601_258508801_4FGL_J2250.0+3825_daily_bin73.fits
Exposure cube: /scratch/kocevski/491280/ltcube_258249601_258508801_4FGL_J2250.0+3825_daily_bin73.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/491280/Model_4FGL_J2250.0+3825_daily_bin73.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 10277.4470797

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6786       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10824E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.492       1.0000         .10000E-03   10000.    
     4 'norm      '    1.6909       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.0100       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .19037       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .14865E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .95046       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.3434       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.0266       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0554       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .99485       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10277.40     FROM MIGRAD    STATUS=CONVERGED    458 CALLS     1936 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6790        .79521        .14231E-07   -.17895E-03
   2  Prefactor     .10000E-03    9.8108        .20822E-05** at limit **
   3  Prefactor     19.484        16.392        .63314E-07   -.35482E-04
   4  norm          1.6908        1.1824        .56006E-07   -.21045E-03
   5  Prefactor     .10000E-03    56.211        .57971E-06** at limit **
   6  Prefactor     2.0158        8.1145        .22167E-05    .30408E-03
   7  Prefactor     .10000E-03    7.9753       -.23190E-06** at limit **
   8  norm          .19212        3.2346       -.10118E-05    .16817E-03
   9  Prefactor     .10000E-03    11.799       -.12074E-06** at limit **
  10  Prefactor     .10000E-03    2.1743       -.28393E-08** at limit **
  11  Prefactor     .10000E-03    10.045       -.19315E-05** at limit **
  12  norm          .95037        1.1129        .46569E-06   -.19890E-02
  13  Prefactor     .10000E-03    4.6200        .78850E-06** at limit **
  14  Prefactor     .10000E-03    6.4877        .37008E-07** at limit **
  15  norm          1.3435        2.1416        .43934E-07   -.12582E-03
  16  norm          .10000E-03    3.7844       -.59852E-08** at limit **
  17  Prefactor     .10000E-03    4.6525       -.86619E-06** at limit **
  18  norm          1.0269        2.2192        .37023E-06   -.48728E-03
  19  Prefactor     .10000E-03    5.3296        .73170E-07** at limit **
  20  Normalizat    1.0555        .21886       -.68811E-06    .58304E-04
  21  Prefactor     .99478        .76916E-01   -.11955E-06    .19932E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.67903
  Prefactor  = 0.000100001
  Prefactor  = 19.4845
  norm       = 1.69085
  Prefactor  = 0.0001
  Prefactor  = 2.01582
  Prefactor  = 0.0001
  norm       = 0.192124
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.950374
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.3435
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.02688
  Prefactor  = 0.0001
  Normalizat = 1.05553
  Prefactor  = 0.994784
 **********
 **   18 **HESSE 
 **********

 FCN=   10277.40     FROM HESSE     STATUS=OK           319 CALLS     2255 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6790        .79091        .58082E-04   -1.5449    
   2  Prefactor     .10000E-03    10.077        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     19.484        16.360        .90720E-04   -1.4825    
   4  norm          1.6908        1.1768        .88393E-04   -1.5448    
   5  Prefactor     .10000E-03    56.276        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.0158        8.7850        .29201E-03   -1.5424    
   7  Prefactor     .10000E-03    7.9977        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .19212        11.072        .28483E-02   -1.5620    
   9  Prefactor     .10000E-03    85.506        .67280E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.1801        .14593E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    10.270        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .95037        1.3326        .25979E-03   -1.5513    
  13  Prefactor     .10000E-03    4.6780        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.4918        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.3435        2.1032        .18251E-03   -1.5476    
  16  norm          .10000E-03    3.7923        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    4.7002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.0269        2.2406        .22104E-03   -1.5505    
  19  Prefactor     .10000E-03    5.3320        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0555        .24598        .41988E-03   -.91193    
  21  Prefactor     .99478        .86837E-01    .15198E-03   -.92904    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58042e-09
Minuit parameter uncertainties:
  1  0.790912
  2  0.000180183
  3  16.364
  4  1.17677
  5  0.000121231
  6  8.41829
  7  1.69736e-05
  8  2.91683
  9  0.00115396
  10  1.25088e-07
  11  0.000167087
  12  1.33261
  13  4.63568e-05
  14  3.21978e-06
  15  2.10327
  16  4.5016e-08
  17  4.99485e-05
  18  2.24077
  19  4.95616e-06
  20  0.246241
  21  0.0868494
Done.

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

Extracting fit parameters...

4FGL J2250.0+3825
   Spectrum: PowerLaw
363    Prefactor:  1.000e-04  1.154e-03  1.000e-04  1.000e+04 ( 1.000e-14)
364        Index:  1.733e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
365        Scale:  5.055e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
550    Prefactor:  9.948e-01  8.685e-02  0.000e+00  1.000e+01 ( 1.000e+00)
551        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
552        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.056e+00  2.462e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 342.514 38.425
Photon Flux Upper Limit: 5.90e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.32e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/491280/likelihoodResults_258249601_258508801_4FGL_J2250.0+3825_daily_bin73.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) = 10277.4022305
delta logL = -5.39701104572e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10277.4022305
delta logL = -5.39662378287e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96364E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    1.7325       1.0000          .0000       10.000    
     3 'Normalizat'    1.0555       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99478       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10276.94     FROM MIGRAD    STATUS=CONVERGED    127 CALLS      302 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40233        6.5875        .90712E-02    .27154E-02
   2  Index         3.2273        1.6405        .85983E-01    .34850E-03
   3  Normalizat    .99800        .45987E-01    .97160E-01    .30175E-04
   4  Prefactor     1.0021        .16220E-01    .34276E-01   -.96439E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.402328
  Index      = 3.22729
  Normalizat = 0.997996
  Prefactor  = 1.00213
 **********
 **   18 **HESSE 
 **********

 FCN=   10276.94     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      335 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40233        23.273        .68729E-04   -1.5581    
   2  Index         3.2273        3.8377        .47987E-02   -.36242    
   3  Normalizat    .99800        .20882        .43050E-03   -.93098    
   4  Prefactor     1.0021        .71300E-01    .15146E-03   -.92659    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.84889e-06
Minuit parameter uncertainties:
  1  6.12165
  2  4.50181
  3  0.208995
  4  0.0713071
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/491280': 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) = 10276.9383955
delta logL = 0.463780985627

Extracting fit parameters...

4FGL J2250.0+3825
   Spectrum: PowerLaw
363    Prefactor:  4.023e-01  6.122e+00  1.000e-04  1.000e+04 ( 1.000e-14)
364        Index:  3.227e+00  4.502e+00  0.000e+00  1.000e+01 (-1.000e+00)
365        Scale:  5.055e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
550    Prefactor:  1.002e+00  7.131e-02  0.000e+00  1.000e+01 ( 1.000e+00)
551        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
552        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  9.980e-01  2.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 342.514 38.425

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/491280/cmap_HighResolution_258249601_258508801_4FGL_J2250.0+3825_daily_bin73.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.32e-03', job_status='DONE', photon_flux_upper_limit='5.90e-08', time_completed='2021-09-28 21:49:24.153143', job_id='491280', GAL2='1.00', fit_tolerance='1e-08', EG2='1.00', EG='1.06', time_epoch_completed='1632890964.15', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='4.64e-01', ts2='0.99', photon_index_error='0.00', photon_index='1.73' WHERE bin_id='73' AND source_name='4FGL J2250.0+3825' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 21:49:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 491280: <4FGL_J2250.0+3825_daily_bin73> in cluster <slac> Done

Job <4FGL_J2250.0+3825_daily_bin73> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 21:36:01 2021
Job was executed on host(s) <bullet0055>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 21:36:03 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 21:36:03 2021
Terminated at Tue Sep 28 21:49:24 2021
Results reported at Tue Sep 28 21:49:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.0+3825_daily_bin73 342.514 38.4247 258249601 258508801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2250.0+3825 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   786.44 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             372.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   801 sec.
    Turnaround time :                            803 sec.

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

